FTTR-based smart home management method and device, medium and equipment

By pre-allocating bandwidth according to the online devices on the optical fiber terminal and their usage status in the FTTR smart home management system, and migrating the equipment to other optical fiber terminals when the bandwidth is insufficient, the problem of poor bandwidth resource allocation after the optical fiber terminal is connected to the device is solved, and more efficient bandwidth allocation and device usage experience is achieved.

CN120075161AInactive Publication Date: 2025-05-30SICHUAN TIANYI COMHEART TELECOM
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510523002.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-05-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing FTTR-based smart home management, the bandwidth resource allocation effect after fiber optic terminals are connected to the device is poor, especially when the number of devices is large, it is easy to cause network congestion and equipment lag.

Method used

By connecting to the target fiber terminal in response to the target device, bandwidth allocation instructions are generated, and bandwidth pre-allocated according to the online device and its usage status. When bandwidth resources are insufficient, connect an online device other than the target device to a non-target fiber terminal to migrate the device to meet bandwidth pre-allocation requirements.

Benefits of technology

It effectively improves the bandwidth resource allocation effect after fiber optic terminals are connected to the equipment, avoids network congestion and equipment lag, and ensures a good user experience of online equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075161A_ABST
    Figure CN120075161A_ABST
Patent Text Reader

Abstract

The invention discloses a smart home management method and device based on FTTR, a medium and equipment, and relates to the technical field of communication. Bandwidth distribution is triggered through access equipment, firstly, pre-distribution is carried out according to online equipment on an optical fiber terminal and the use state of the online equipment, and the access equipment is connected with the medium; whether the result of direct allocation is within the bandwidth resource range of the optical fiber terminal is judged, if the result does not meet the requirement, it is indicated that direct allocation will cause network congestion, so that other optical fiber terminals are considered to be utilized, and other online devices are migrated to other optical fiber terminals while new connected devices are reserved; and the pre-allocation condition of the online equipment is updated in real time, so that the final bandwidth allocation is ensured to be within the bandwidth resource range of the optical fiber terminal, the bandwidth resource allocation effect after the optical fiber terminal is accessed to the equipment is improved, and the online equipment is ensured to have a good use effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a smart home management method, device, medium, and equipment based on FTTR. Background Art

[0002] FTTR (Fiber to the Room) extends optical fibers from a communication base station all the way to every corner of a home interior, thereby providing home users with extremely high-speed Internet access services. The smart home management method based on FTTR mainly relies on the high-speed, high-bandwidth, stable, and flexible deployment characteristics of FTTR technology, combined with the interconnection and remote control functions of smart home devices, to achieve efficient and convenient home network management and intelligent device control, and the whole house coverage is achieved through optical fiber terminals extended to each room in the home environment.

[0003] Each optical fiber terminal has the ability to connect multiple devices. When multiple devices are online at the same time, FTTR can intelligently allocate bandwidth to avoid network congestion and lag. However, the existing bandwidth resource allocation method is too simple, only increasing or decreasing the allocation according to the number of online devices. The impact is not obvious when the number of connected devices is small, but with the development of smart homes, more and more devices can be connected. Facing more connected devices, in the case of limited bandwidth resources, this direct increase or decrease allocation method will cause network congestion, making all connected devices lag and affecting the use. Summary of the Invention

[0004] The main purpose of this application is to provide a smart home management method, device, medium, and equipment based on FTTR, aiming to solve the problem of poor bandwidth resource allocation effect after a target device is connected to an optical fiber terminal in the existing smart home management based on FTTR.

[0005] To achieve the above object, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, an embodiment of this application provides a smart home management method based on FTTR, including the following steps: Respond to a target device accessing a target optical fiber terminal, and generate a bandwidth allocation instruction; Obtain the online devices of the target optical fiber terminal and their usage status according to the bandwidth allocation instruction; Perform bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status; In the case where the bandwidth resources of the target optical fiber terminal do not meet the bandwidth pre-allocation, connect one online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, and return to the step of performing bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status until the bandwidth resources of the target optical fiber terminal meet the bandwidth pre-allocation; Perform bandwidth allocation for the online devices of the target optical fiber terminal according to the result of bandwidth pre-allocation.

[0006] In a possible implementation manner of the first aspect, before connecting an online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, the method further includes: Obtain the bandwidth resource usage of other optical fiber terminals other than the target optical fiber terminal; Determine a non-target optical fiber terminal among other optical fiber terminals according to the bandwidth resource usage of other optical fiber terminals and the signal strength of other optical fiber terminals relative to the target optical fiber terminal.

[0007] In a possible implementation manner of the first aspect, determining a non-target optical fiber terminal among other optical fiber terminals according to the bandwidth resource usage of other optical fiber terminals and the signal strength of other optical fiber terminals relative to the target optical fiber terminal includes: Obtain a first optical fiber terminal according to the bandwidth resource usage of other optical fiber terminals; wherein, the first optical fiber terminal is another optical fiber terminal that meets the bandwidth requirements of the migrating device, and the migrating device is an online device disconnected from the target optical fiber terminal; Determine a non-target optical fiber terminal among the first optical fiber terminals according to the signal strength of the first optical fiber terminal relative to the target optical fiber terminal.

[0008] In a possible implementation manner of the first aspect, before connecting an online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, the method further includes: Define a disconnection level according to the device category and its usage status; Connecting an online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal includes: Connect the online device with the lowest disconnection level among those other than the target device of the target optical fiber terminal to the non-target optical fiber terminal.

[0009] In a possible implementation manner of the first aspect, defining a disconnection level according to the device category and its usage status includes: Define a first disconnection level according to the device category; Among devices of the same category, define a second disconnection level according to the usage status of the device; wherein, the priority of the first disconnection level is higher than that of the second disconnection level.

[0010] In a possible implementation manner of the first aspect, before connecting the online device with the lowest disconnection level among those other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, the method further includes: Determine the device to be disconnected according to the category of the online device; where the device to be disconnected is the online device with the lowest first disconnection level. In the case where there are multiple devices to be disconnected, determine the device to be disconnected with the lowest second disconnection level according to the usage status of the device to be disconnected, as the online device with the lowest disconnection level.

[0011] In a possible implementation manner of the first aspect, after determining the device to be disconnected with the lowest second disconnection level according to the usage status of the device to be disconnected, the method further includes: In the case where there are multiple devices to be disconnected with the lowest second disconnection level, determine the device to be disconnected with the longest standby time according to the usage of the device to be disconnected within the target historical time period.

[0012] In a second aspect, an embodiment of the present application provides a smart home management device based on FTTR, including: An instruction generation module, which is used to generate a bandwidth allocation instruction in response to a target device accessing a target optical fiber terminal; A device acquisition module, which is used to acquire the online devices of the target optical fiber terminal and their usage status according to the bandwidth allocation instruction; A pre-allocation module, which is used to perform bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status; A migration loop module, which is used to connect an online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal in the case where the bandwidth resources of the target optical fiber terminal do not meet the bandwidth pre-allocation, and return to perform bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status until the bandwidth resources of the target optical fiber terminal meet the bandwidth pre-allocation; A bandwidth allocation module, which is used to allocate bandwidth to the online devices of the target optical fiber terminal according to the result of the bandwidth pre-allocation.

[0013] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, storing a computer program, which when loaded and executed by a processor, implements the smart home management method based on FTTR provided in any one of the above first aspects.

[0014] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where The memory is used to store a computer program; The processor is used to load and execute the computer program so that the electronic device executes the smart home management method based on FTTR provided in any one of the above first aspects.

[0015] Compared with the prior art, the beneficial effects of the present application are: A smart home management method, device, medium and equipment based on FTTR proposed in an embodiment of the present application. The method includes: generating a bandwidth allocation instruction in response to a target device accessing a target optical fiber terminal; obtaining the online devices of the target optical fiber terminal and their usage status according to the bandwidth allocation instruction; performing bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status; in the case where the bandwidth resources of the target optical fiber terminal do not meet the bandwidth pre-allocation, connecting an online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, and returning to the step of performing bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status until the bandwidth resources of the target optical fiber terminal meet the bandwidth pre-allocation; performing bandwidth allocation on the online devices of the target optical fiber terminal according to the result of the bandwidth pre-allocation. The present application triggers the allocation of bandwidth by accessing devices. First, pre-allocation is performed according to the online devices on the optical fiber terminal and their usage status, and it is judged whether the result of direct allocation is within the bandwidth resources of the optical fiber terminal. If it does not meet the requirements, it means that direct allocation will cause network congestion. Therefore, the present application considers using other optical fiber terminals, retaining the newly connected device while migrating other online devices to other optical fiber terminals, and updating the pre-allocation situation of the online devices in real time to ensure that the final bandwidth allocation is within the bandwidth resources of the optical fiber terminal, improving the effect of bandwidth resource allocation after the optical fiber terminal accesses devices, and ensuring good usage effects of online devices. Description of the Drawings

[0016] Figure 1 Schematic diagram of the electronic device structure of the hardware operating environment involved in the embodiment of the present application; Figure 2 Schematic flowchart of the smart home management method based on FTTR provided by the embodiment of the present application; Figure 3 Schematic diagram of the modules of the smart home management device based on FTTR provided by the embodiment of the present application; Reference numerals in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. Detailed Embodiment

[0017] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0018] Refer to the attached Figure 1 attachment Figure 1Schematic diagram of the electronic device structure of the hardware operating environment involved in the solution of the embodiment of the present application. The electronic device may include: a processor 101, such as a Central Processing Unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen (Display), an input unit such as a keyboard (Keyboard). Optionally, the user interface 104 may further include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (WI-FI) interface). The memory 105 may optionally be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed Random Access Memory (RAM) memory or a stable Non-Volatile Memory (NVM), such as at least one disk memory; the processor 101 may be a general-purpose processor, including a central processor, a network processor, etc., or may also be a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0019] Those skilled in the art can understand that the structure shown in the appendix Figure 1 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine some components, or have different component arrangements.

[0020] As shown in the appendix Figure 1 The memory 105, as a storage medium, may include an operating system, a network communication module, a user interface module, and a smart home management device based on FTTR.

[0021] In the electronic device shown in the appendix Figure 1 the network interface 103 is mainly used for data communication with a network server; the user interface 104 is mainly used for data interaction with a user; the processor 101 and the memory 105 in the present application may be set in the electronic device. The electronic device calls the smart home management device based on FTTR stored in the memory 105 through the processor 101 and executes the smart home management method based on FTTR provided by the embodiment of the present application.

[0022] Referring to the appendix Figure 2 Based on the hardware device of the foregoing embodiment, an embodiment of the present application provides a smart home management method based on FTTR, including the following steps: S10: Generate a bandwidth allocation instruction in response to the access of a target device to a target optical fiber terminal.

[0023] In the specific implementation process, the devices accessing the optical fiber terminal can be mobile phones, computers, TVs, etc. The optical fiber terminal is the ONT, which is responsible for converting optical signals into electrical signals for the user's access devices in the FTTR technology. The ONT device also has a routing function and can support multiple devices to be connected simultaneously. The target device is the device that the user currently accesses the optical fiber terminal, and the target optical fiber terminal is the optical fiber terminal accessed by the target device. Taking the device access as the trigger operation for bandwidth allocation, and then generating a bandwidth allocation instruction to let the target optical fiber terminal start allocating bandwidth.

[0024] S20: Obtain the online devices of the target optical fiber terminal and their usage status according to the bandwidth allocation instruction.

[0025] In the specific implementation process, start allocating bandwidth according to the bandwidth allocation instruction. First, obtain the online devices on the target optical fiber terminal, including the already connected devices and the newly connected target device. The usage status of these online devices includes normal use, high-demand use, standby, etc. Normal use is like a TV playing general programs or a mobile phone browsing the Internet generally; high-demand use is like a TV playing programs in high-definition 4K quality or a mobile phone or computer having a large data transmission requirement; in the standby situation, the device is not in use and only needs to maintain an online connection through lower bandwidth resources.

[0026] S30: Perform bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status.

[0027] In the specific implementation process, perform bandwidth pre-allocation by comprehensively considering the usage status of all online devices of the target optical fiber terminal, that is, determine the expected bandwidth for each online device, but do not allocate it temporarily. For example, after introducing a new device, the new device needs to be allocated a certain amount of bandwidth resources according to its usage status. The other online devices can appropriately reduce the bandwidth resources to balance the allocation while maintaining a good usage status.

[0028] S40: In the case where the bandwidth resources of the target optical fiber terminal do not meet the bandwidth pre-allocation, connect one of the online devices of the target optical fiber terminal other than the target device to a non-target optical fiber terminal, and return to the step of performing bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status until the bandwidth resources of the target optical fiber terminal meet the bandwidth pre-allocation.

[0029] In the specific implementation process, under the traditional allocation method, each device requires a certain amount of bandwidth resources. When too many devices are connected, further reduction of bandwidth resources will affect the usage effect of existing devices. Therefore, in the case of pre-allocation, it is allocated according to the ideal situation without overly compressing the bandwidth allocation space of existing devices. It is judged whether the bandwidth resources of the target optical fiber terminal meet the requirements according to the pre-allocation situation. If they meet, it can be directly allocated according to the pre-allocation result. If not, that is, the required bandwidth resources for pre-allocation are higher than the bandwidth resources of the target optical fiber terminal, obviously direct allocation will cause network congestion and device lag.

[0030] Therefore, this application considers using other optical fiber terminals in the FTTR system set in the home environment, that is, non-target optical fiber terminals, to migrate an online device of the target optical fiber terminal to connect to a non-target optical fiber terminal. According to the actual situation, when a user actively connects a device to an optical fiber terminal in the home environment, it is obvious that this optical fiber terminal is the best choice. When migrating, this device should be retained, and a device to be migrated is selected from the online devices other than this device. For example, when a user uses a device in Room A to connect to the A optical fiber terminal set in Room A, obviously keeping its device on the A optical fiber terminal all the time has the best usage effect. After migrating an online device, re-pre-allocate and confirm whether each online device can be used within the bandwidth resources of the target optical fiber terminal in a good state.

[0031] In one embodiment, before connecting an online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, the method further includes: Obtaining the bandwidth resource usage situation of other optical fiber terminals other than the target optical fiber terminal; Determining a non-target optical fiber terminal among other optical fiber terminals according to the bandwidth resource usage situation of other optical fiber terminals and the signal strength situation of other optical fiber terminals relative to the target optical fiber terminal.

[0032] In the specific implementation process, to enable the migrated device to have a good usage environment, a better non-target optical fiber terminal is determined for it. According to the bandwidth resource usage situation of other optical fiber terminals and the signal strength situation relative to the target optical fiber terminal, an optical fiber terminal that can accommodate the migrated connection of the device and has sufficient signal strength is determined. Specifically: determining a non-target optical fiber terminal among other optical fiber terminals according to the bandwidth resource usage situation of other optical fiber terminals and the signal strength situation of other optical fiber terminals relative to the target optical fiber terminal includes: Obtaining a first optical fiber terminal according to the bandwidth resource usage situation of other optical fiber terminals; wherein, the first optical fiber terminal is an other optical fiber terminal that meets the bandwidth requirements of the migrated device, and the migrated device is an online device disconnected from the target optical fiber terminal; Determine a non-target optical fiber terminal in the first optical fiber terminal according to the signal strength of the first optical fiber terminal relative to the target optical fiber terminal.

[0033] In a specific implementation process, during the determination process, first, according to the bandwidth resource usage of other optical fiber terminals, determine the optical fiber terminals that meet the bandwidth requirements of the migration device, which are the first optical fiber terminals. There may be multiple such optical fiber terminals. At this time, it is necessary to determine according to the signal strength. Since the migration device starts from the target optical fiber terminal, the target optical fiber terminal can be regarded as a point, and other first optical fiber terminals can also be regarded as points respectively. The first optical fiber terminal corresponding to the point with the shortest straight-line distance from the target optical fiber terminal is regarded as the optical fiber terminal with the highest signal strength, that is, it is determined as the non-target optical fiber terminal.

[0034] In one embodiment, before connecting an online device other than the target device of the target optical fiber terminal to the non-target optical fiber terminal, the method further includes: Define a disconnection level according to the device category and its usage status; Connecting an online device other than the target device of the target optical fiber terminal to the non-target optical fiber terminal includes: Connect the online device with the lowest disconnection level among those other than the target device of the target optical fiber terminal to the non-target optical fiber terminal.

[0035] In a specific implementation process, to ensure that the migrated online device has a small impact on the original optical fiber terminal, the migration strategy is optimized to determine the migrated device. Define the disconnection level for all accessible devices according to the device category and usage status, that is, determine a priority. When migrating the device, directly migrate the device with the lowest priority. Since there are different categories of devices and a device has multiple usage states, the disconnection level can be divided into the first disconnection level and the second disconnection level, that is: Define the disconnection level according to the device category and its usage status, including: Define the first disconnection level according to the device category; Among devices of the same category, define the second disconnection level according to the usage status of the device; where the priority of the first disconnection level is higher than that of the second disconnection level.

[0036] In the specific implementation process, the first disconnection level is determined according to the category. For example, the first disconnection level of a TV is high because it often has the need to play high-definition videos. The first disconnection level of a computer is medium as it has some requirements for large data transmission. The first disconnection level of a mobile phone is low because the occurrence of the above-mentioned requirements is rare for it, and the bandwidth resources required when there is a need are not much. Among devices of the same category, the usage status of the device determines the second disconnection level. For example, the high-demand usage, normal usage, standby, etc. described in the foregoing embodiments correspond to high, medium, and low second disconnection levels respectively. In actual use, the priority of the first disconnection level is higher than that of the second disconnection level. That is, when determining which device to migrate out, it is necessary to first confirm the device category, and the second disconnection level will be used for judgment only when there are multiple devices of the determined category.

[0037] Specifically, before connecting the online device with the lowest disconnection level among those other than the target device of the target optical fiber terminal to the non-target optical fiber terminal, the method further includes: Determine the device to be disconnected according to the category of the online device; wherein, the device to be disconnected is the online device with the lowest first disconnection level; When there are multiple devices to be disconnected, determine the device to be disconnected with the lowest second disconnection level according to the usage status of the devices to be disconnected, and use it as the online device with the lowest disconnection level.

[0038] In the specific implementation process, for example, currently there are online devices that can be migrated out, such as a TV, a computer, and a mobile phone. According to their categories, it can be judged that the online device with the lowest first disconnection level is the mobile phone, which is first recorded as the device to be disconnected. If there are multiple mobile phones, that is, there are multiple devices to be disconnected, then determine the second disconnection levels of each device to be disconnected according to its usage status. For example, some mobile phones are in normal use and some are in the standby state of maintaining the connection, then the second disconnection level of the latter is the lowest, and it is used as the online device with the lowest disconnection level for migration.

[0039] In the current situation where there are more and more smart home and electronic products, after the above two rounds of judgments, there may still be a situation where there are multiple devices with the lowest second disconnection level. In this case, the usage conditions of these devices in a certain period of time before, that is, the target historical time period, can be checked. The length of this period can be determined according to the actual situation and the type of the device. Finally, the device with the longest standby time is used as the online device with the lowest disconnection level for migration. For example, if the lowest second disconnection level is low and two mobile phones are in the standby state, then it can be checked which mobile phone has a longer standby time in the previous hour; another example is that if the lowest second disconnection level is medium and two tablet computers are both in normal use, then it can be checked which tablet has a longer standby time in the previous hour and migrate it out. If the continuous usage time of the device is relatively long, it can be appropriately extended, such as checking the usage conditions in the previous two or three hours for judgment.

[0040] S50: Perform bandwidth allocation for the online devices of the target optical fiber terminal according to the result of bandwidth pre-allocation.

[0041] In the specific implementation process, through the cyclic adjustment of the foregoing steps, the devices on the target optical fiber terminal all maintain a good bandwidth usage state, and the total bandwidth requirement is within the bandwidth resources of the target optical fiber terminal. In this case, the result of the bandwidth pre-allocation can be used as the basis for direct allocation, which not only improves the effect of bandwidth resource allocation after the optical fiber terminal accesses the device, but also ensures that the online devices have a good usage effect.

[0042] In this embodiment, the allocation of bandwidth is triggered by the access device. First, pre-allocation is performed according to the online devices on the optical fiber terminal and their usage states, and it is judged whether the result of direct allocation is within the bandwidth resources of the optical fiber terminal. If it is not satisfied, it means that direct allocation will cause network congestion. Therefore, this application considers using other optical fiber terminals, retaining the newly connected devices while migrating other online devices to other optical fiber terminals, and updating the pre-allocation situation of the online devices in real time to ensure that the final bandwidth allocation is within the bandwidth resources of the optical fiber terminal, improving the effect of bandwidth resource allocation after the optical fiber terminal accesses the device, and ensuring that the online devices have a good usage effect.

[0043] Refer to the appendix Figure 3 , based on the same inventive concept as in the foregoing embodiment, the embodiment of the present application also provides a smart home management device based on FTTR, including: An instruction generation module, which is used to generate a bandwidth allocation instruction in response to a target device accessing a target optical fiber terminal; A device acquisition module, which is used to acquire the online devices of the target optical fiber terminal and their usage states according to the bandwidth allocation instruction; A pre-allocation module, which is used to perform bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status; A migration loop module, which is used to connect an online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal when the bandwidth resources of the target optical fiber terminal do not meet the bandwidth pre-allocation, and return to perform bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status until the bandwidth resources of the target optical fiber terminal meet the bandwidth pre-allocation; A bandwidth allocation module, which is used to allocate bandwidth to the online devices of the target optical fiber terminal according to the result of the bandwidth pre-allocation.

[0044] Those skilled in the art should understand that the division of each module in the embodiment is only a division of logical functions. In actual application, it can be fully or partially integrated into one or more actual carriers, and these modules can all be implemented in the form of software called by a processing unit, or all in the form of hardware, or in the form of a combination of software and hardware. It should be noted that each module in the smart home management device based on FTTR in this embodiment corresponds one by one to each step in the smart home management method based on FTTR in the foregoing embodiment. Therefore, the specific implementation manner of this embodiment can refer to the implementation manner of the foregoing smart home management method based on FTTR, and will not be elaborated here.

[0045] Based on the same inventive concept as in the foregoing embodiment, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, which when loaded and executed by a processor, implements the smart home management method based on FTTR provided by the embodiment of the present application.

[0046] Based on the same inventive concept as in the foregoing embodiment, an embodiment of the present application also provides an electronic device, including a processor and a memory, wherein, The memory is used to store a computer program; The processor is used to load and execute the computer program so that the electronic device executes the smart home management method based on FTTR provided by the embodiment of the present application.

[0047] In some embodiments, the computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disc, or CD-ROM; it can also be various devices including one or any combination of the above memories. The computer can be various computing devices including smart terminals and servers.

[0048] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0049] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0050] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0051] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0052] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0053] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0054] In summary, a smart home management method, device, medium, and equipment based on FTTR provided by an embodiment of the present application include: generating a bandwidth allocation instruction in response to a target device accessing a target optical fiber terminal; obtaining online devices of the target optical fiber terminal and their usage status according to the bandwidth allocation instruction; performing bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status; in the case where the bandwidth resources of the target optical fiber terminal do not meet the bandwidth pre-allocation, connecting one online device other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, and returning to the step of performing bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status until the bandwidth resources of the target optical fiber terminal meet the bandwidth pre-allocation; performing bandwidth allocation for the online devices of the target optical fiber terminal according to the result of the bandwidth pre-allocation. The present application triggers the allocation of bandwidth by accessing devices. First, pre-allocation is performed according to the online devices on the optical fiber terminal and their usage status, and it is judged whether the result of direct allocation is within the bandwidth resources of the optical fiber terminal. If it does not meet the requirements, it means that direct allocation will cause network congestion. Therefore, the present application considers using other optical fiber terminals, retaining the newly connected devices while migrating other online devices to other optical fiber terminals, and updating the pre-allocation of online devices in real time to ensure that the final bandwidth allocation is within the bandwidth resources of the optical fiber terminal, improving the effect of bandwidth resource allocation after the optical fiber terminal accesses devices, and ensuring that online devices have good usage effects.

[0055] The foregoing are only the preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A smart home management method based on FTTR, characterized in that: The following steps are involved: In response to the target device accessing the target optical fiber terminal, generating a bandwidth allocation instruction; According to the bandwidth allocation instruction, obtaining the online device and the usage status of the target optical fiber terminal; Pre-allocating bandwidth according to the online device of the target optical fiber terminal and its usage status; In the case where the bandwidth resources of the target optical fiber terminal do not satisfy the bandwidth pre-allocation, one of the online devices of the target optical fiber terminal other than the target device is connected to a non-target optical fiber terminal, and the step of performing bandwidth pre-allocation according to the online devices of the target optical fiber terminal and their usage status is returned until the bandwidth resources of the target optical fiber terminal satisfy the bandwidth pre-allocation; According to the result of the bandwidth pre-allocation, bandwidth is allocated to the online device of the target optical fiber terminal.

2. The FTTR-based smart home management method according to claim 1, characterized in that: Before connecting one of the online devices other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, the method further comprises: Obtaining bandwidth resource usage of other optical fiber terminals except the target optical fiber terminal; The non-target optical fiber terminal is determined among the other optical fiber terminals according to the bandwidth resource usage of the other optical fiber terminals and the signal strength of the other optical fiber terminals relative to the target optical fiber terminal.

3. The FTTR-based smart home management method according to claim 2, characterized in that: The determining the non-target optical fiber terminal in the other optical fiber terminals according to the bandwidth resource usage of the other optical fiber terminals and the signal strength of the other optical fiber terminals relative to the target optical fiber terminal comprises: According to the bandwidth resource usage of the other optical fiber terminals, a first optical fiber terminal is obtained; wherein the first optical fiber terminal is the other optical fiber terminal that meets the bandwidth demand of the migration device, and the migration device is the online device disconnected from the target optical fiber terminal; The non-target optical fiber terminal is determined in the first optical fiber terminal according to the signal strength of the first optical fiber terminal relative to the target optical fiber terminal.

4. The FTTR-based smart home management method according to claim 1, characterized in that: Before connecting one of the online devices other than the target device of the target optical fiber terminal to a non-target optical fiber terminal, the method further comprises: Define disconnection levels based on equipment category and its usage status; The step of connecting one of the online devices other than the target device of the target optical fiber terminal to a non-target optical fiber terminal comprises: Connecting one of the online devices of the target optical fiber terminal, other than the target device and having the lowest disconnection level, to a non-target optical fiber terminal.

5. The FTTR-based smart home management method according to claim 4, characterized in that: The disconnection level is defined according to the equipment category and its usage status, including: Defining a first disconnection level according to the device category; Among devices of the same category, a second disconnection level is defined according to the use status of the device; wherein the priority of the first disconnection level is higher than that of the second disconnection level.

6. The FTTR-based smart home management method according to claim 5, characterized in that: Before connecting the online device of the target optical fiber terminal other than the target device and having the lowest disconnection level to the non-target optical fiber terminal, the method further comprises: Determine the device to be disconnected according to the category of the online device; wherein the device to be disconnected is the online device with the lowest first disconnection level; In the case that there are multiple devices to be disconnected, the device to be disconnected with the lowest second disconnection level is determined according to the use status of the devices to be disconnected as the online device with the lowest disconnection level.

7. The FTTR-based smart home management method according to claim 6, characterized in that: After determining the device to be disconnected having the lowest second disconnection level according to the usage status of the device to be disconnected, the method further includes: When there are multiple devices to be disconnected with the lowest second disconnection level, the device to be disconnected with the longest standby time is determined according to usage of the devices to be disconnected in a target historical time period.

8. A smart home management device based on FTTR, characterized in that: include: An instruction generation module, the instruction generation module is used to generate a bandwidth allocation instruction in response to the target device accessing the target optical fiber terminal; A device acquisition module, the device acquisition module is used to obtain the online device of the target optical fiber terminal and its usage status according to the bandwidth allocation instruction; A pre-allocation module, the pre-allocation module is used to pre-allocate bandwidth according to the online device of the target optical fiber terminal and its usage status; A migration cycle module, wherein the migration cycle module is used to connect one of the online devices of the target optical fiber terminal other than the target device to a non-target optical fiber terminal when the bandwidth resources of the target optical fiber terminal do not meet the bandwidth pre-allocation, and return to the online device of the target optical fiber terminal and its usage status to perform bandwidth pre-allocation until the bandwidth resources of the target optical fiber terminal meet the bandwidth pre-allocation; A bandwidth allocation module is used to allocate bandwidth to the online device of the target optical fiber terminal according to the result of the bandwidth pre-allocation.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by the processor, the FTTR-based smart home management method as described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device executes the FTTR-based smart home management method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Method, system and device for controlling access of user equipment

    CN101651975A

  • Roaming switching control method and central control unit

    CN106304225A

  • Network access method, device and system

    CN113891428A

  • Equipment migration method and device, computer equipment and storage medium

    CN114827199A

  • Communication recovery method, communication apparatus and communication system

    WO2023138328A1