CN117135056A - Permission configuration method and device applied to FTTR - Google Patents

Permission configuration method and device applied to FTTR Download PDF

Info

Publication number
CN117135056A
CN117135056A CN202311369284.7A CN202311369284A CN117135056A CN 117135056 A CN117135056 A CN 117135056A CN 202311369284 A CN202311369284 A CN 202311369284A CN 117135056 A CN117135056 A CN 117135056A
Authority
CN
China
Prior art keywords
application
equipment
online
preference
network speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311369284.7A
Other languages
Chinese (zh)
Other versions
CN117135056B (en
Inventor
尹建明
张超
钟山
苏维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Superelectron Technology Co ltd
Original Assignee
Shenzhen Superelectron Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Superelectron Technology Co ltd filed Critical Shenzhen Superelectron Technology Co ltd
Priority to CN202311369284.7A priority Critical patent/CN117135056B/en
Publication of CN117135056A publication Critical patent/CN117135056A/en
Application granted granted Critical
Publication of CN117135056B publication Critical patent/CN117135056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/107Network architectures or network communication protocols for network security for controlling access to devices or network resources wherein the security policies are location-dependent, e.g. entities privileges depend on current location or allowing specific operations only from locally connected terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a permission configuration method and device applied to FTTR, comprising the following steps: detecting current online equipment at intervals of preset time length, acquiring grid intervals in which the online equipment is located, and distributing the grid intervals to the total network speed corresponding to each grid interval based on authority configuration data and the number of the online equipment in each current grid interval; acquiring the use preference of each online device in any grid interval; and collecting the current time, and distributing the current time to each device maximum network speed threshold and the using time according to the using preference and the permission configuration data. The bandwidth can be dynamically balanced, and the situation that one party is too idle and the other party is too congested is avoided; the method comprises the steps of counting the use preference of each online device, carrying out real-time bandwidth configuration and management on the online devices in different gateway intervals by combining the use preference, authority configuration data and other conditions, effectively scheduling a network, and realizing reasonable configuration of network bandwidth.

Description

Permission configuration method and device applied to FTTR
Technical Field
The invention relates to the technical field of computer networks, in particular to an authority configuration method and device applied to FTTR.
Background
Currently, FTTR (Fiber to the Room) refers to deployment of all-optical gateways and sub-equipment in a home based on FTTH (Fiber to the Home), and fiber communication coverage to a user room is achieved through PON (Passive Optical Network) technology. In the FTTR scenario, the ONT device to which the in-home optical fiber is first connected is an FTTR home all-optical gateway, which is further connected by optical fibers to a plurality of FTTR sub-devices of the next stage (i.e. point-to-multipoint), which are typically placed in different rooms, so-called "fiber in-rooms". In the related art, when there are more members in a fiber to the home (Fiber to The Room, FTTR) home networking, and the traffic required by the application scenario accessed by each entity Optical Network Unit (ONU) needs to be controlled and balanced in the actual application scenario, the problem of how to allocate the bandwidth or manage the traffic congestion of the ONUs is faced.
Disclosure of Invention
Aiming at the defects, the embodiment of the invention discloses a permission configuration method and device applied to FTTR, which are used for reasonably configuring bandwidth by combining the current actual access condition of home optical fibers and flexibly solving the problems of network congestion and the like.
The first aspect of the embodiment of the invention discloses a permission configuration method applied to FTTR, which comprises the following steps:
detecting current online equipment at intervals of preset time length, acquiring grid intervals in which the online equipment is located, and distributing the grid intervals to the total network speed corresponding to each grid interval based on authority configuration data and the number of the online equipment in each current grid interval;
acquiring the use preference of each online device in any grid interval;
and collecting the current time, and distributing the current time to a maximum network speed threshold and a using duration of each device according to the using preference and the permission configuration data, wherein the maximum network speed threshold is smaller than the total network speed.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
and responding to the access request of the equipment, judging whether the equipment is legal equipment according to the access request, if so, connecting the equipment to the equipment so as to enable the equipment to be online equipment, otherwise, detecting whether the equipment meets the temporary access standard, and when the equipment meets the temporary access standard, distributing the equipment temporary key to connect the equipment, and when the equipment does not meet the temporary access standard, refusing the access request of the equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the detecting whether the device meets the temporary access criterion includes:
judging whether the access request carries a temporary access code or not, and judging whether the temporary access code is legal or not when the temporary access code is carried;
and when the temporary access code is not carried, acquiring the current position of the equipment, and judging whether the equipment is positioned in the target grid interval according to the current position.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, obtaining a usage preference of each online device in any grid interval includes:
acquiring a single historical online time period, application use frequency, application single use duration and single online use application type of each online device in any grid interval;
calculating the preference of each application based on the application use frequency and the application single use time length, and selecting the application with the highest preference as a first application;
acquiring an application with highest use frequency in the same time period as a second application according to the single historical online time period and the single online application type;
when the first application is the same as the second application, defining the first application/the second application as a target application, and collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name and a first application use time period;
when the first application is different from the second application, defining the first application and the second application as target applications, and respectively collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name, a first application use time period, a second application name and a second application use time period.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, obtaining a usage preference of each online device in any grid interval includes:
message information of each online device is sent to any grid interval, wherein the message information comprises preference options;
and receiving a preference selection instruction fed back by the online equipment based on the message information, and forming the use preference of the online equipment according to the preference selection instruction, wherein the use preference comprises a target application name and a target application use time period.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the collecting the current time and allocating the usage preference and the permission configuration data to each device maximum network speed threshold and the usage duration includes:
collecting the current time, judging whether the current time is in a target application use time period corresponding to the use preference based on the use preference,
if yes, distributing the maximum network speed threshold and the maximum using duration to the equipment according to the target application name and the permission configuration data;
otherwise, the maximum network speed threshold and the using duration are allocated to the equipment according to the permission configuration data.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
and acquiring the permission use time period of the current online equipment based on the permission configuration data, and disconnecting the online equipment when the current time exceeds the permission use time period.
A second aspect of an embodiment of the present invention discloses a rights configuration apparatus applied to FTTR, including:
network speed distribution module: the method comprises the steps of detecting current online equipment at intervals of preset time, acquiring grid intervals in which the online equipment is located, and distributing the current online equipment quantity of each grid interval to the corresponding total network speed of the grid interval based on permission configuration data;
preference acquisition module: the method comprises the steps of acquiring the use preference of each online device in any grid interval;
and the permission configuration module is used for: and collecting the current time, and distributing the current time to a maximum network speed threshold and a using duration of each device according to the using preference and the permission configuration data, wherein the maximum network speed threshold is smaller than the total network speed.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
and responding to the access request of the equipment, judging whether the equipment is legal equipment according to the access request, if so, connecting the equipment to the equipment so as to enable the equipment to be online equipment, otherwise, detecting whether the equipment meets the temporary access standard, and when the equipment meets the temporary access standard, distributing the equipment temporary key to connect the equipment, and when the equipment does not meet the temporary access standard, refusing the access request of the equipment.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the detecting whether the device meets the temporary access criterion includes:
judging whether the access request carries a temporary access code or not, and judging whether the temporary access code is legal or not when the temporary access code is carried;
and when the temporary access code is not carried, acquiring the current position of the equipment, and judging whether the equipment is positioned in the target grid interval according to the current position.
In a second aspect of the embodiment of the present invention, the obtaining the usage preference of each online device in any grid section includes:
acquiring a single historical online time period, application use frequency, application single use duration and single online use application type of each online device in any grid interval;
calculating the preference of each application based on the application use frequency and the application single use time length, and selecting the application with the highest preference as a first application;
acquiring an application with highest use frequency in the same time period as a second application according to the single historical online time period and the single online application type;
when the first application is the same as the second application, defining the first application/the second application as a target application, and collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name and a first application use time period;
when the first application is different from the second application, defining the first application and the second application as target applications, and respectively collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name, a first application use time period, a second application name and a second application use time period.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, obtaining a usage preference of each online device in any grid interval includes:
message information of each online device is sent to any grid interval, wherein the message information comprises preference options;
and receiving a preference selection instruction fed back by the online equipment based on the message information, and forming the use preference of the online equipment according to the preference selection instruction, wherein the use preference comprises a target application name and a target application use time period.
In a second aspect of the embodiment of the present invention, the collecting the current time and allocating the usage preference and the permission configuration data to each device according to the maximum network speed threshold and the usage duration includes:
collecting the current time, judging whether the current time is in a target application use time period corresponding to the use preference based on the use preference,
if yes, distributing the maximum network speed threshold and the maximum using duration to the equipment according to the target application name and the permission configuration data;
otherwise, the maximum network speed threshold and the using duration are allocated to the equipment according to the permission configuration data.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
and acquiring the permission use time period of the current online equipment based on the permission configuration data, and disconnecting the online equipment when the current time exceeds the permission use time period.
A third aspect of an embodiment of the present invention discloses an electronic device, including: a memory storing executable program code; a processor coupled to the memory; the processor invokes the executable program code stored in the memory to execute the permission configuration method applied to FTTR disclosed in the first aspect of the embodiment of the present invention.
A fourth aspect of the embodiment of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute the rights configuration method for FTTR disclosed in the first aspect of the embodiment of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, all online equipment which is online simultaneously is counted according to different grid intervals, and the network speeds corresponding to the different grid intervals are allocated to meet the requirement of using the online equipment in the grid intervals, so that the bandwidth can be dynamically balanced, and the situation that one party is too idle and the other party is too congested is avoided; the method comprises the steps of counting the use preference of each online device, carrying out real-time bandwidth configuration and management on the online devices in different gateway intervals by combining the use preference, authority configuration data and other conditions, effectively scheduling a network, and realizing reasonable configuration of network bandwidth.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a rights configuration method applied to FTTR according to an embodiment of the present invention;
FIG. 2 is a flow chart of another rights configuration method applied to FTTR disclosed in the embodiment of the present invention;
fig. 3 is a schematic structural diagram of an authority configuration device applied to FTTR according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present invention are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a permission configuration method, a permission configuration device, electronic equipment and a storage medium applied to FTTR, wherein in the embodiment, all online equipment which is online simultaneously is counted according to different grid intervals, and network speeds corresponding to different grid intervals are allocated to meet the use of the online equipment in the grid intervals, so that the bandwidth can be dynamically balanced, and the situation that one party is too idle and the other party is too congested is avoided; the method comprises the steps of counting the use preference of each online device, carrying out real-time bandwidth configuration and management on the online devices in different gateway intervals by combining the use preference, authority configuration data and other conditions, effectively scheduling a network, and realizing reasonable configuration of network bandwidth.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of an authority configuration method applied to FTTR according to an embodiment of the present invention. The execution main body of the method described in the embodiment of the invention is an execution main body composed of software or/and hardware, and the execution main body can receive related information in a wired or/and wireless mode and can send a certain instruction. Of course, it may also have certain processing and storage functions. The execution body may control a plurality of devices, such as a remote physical server or cloud server and related software, or may be a local host or server and related software that performs related operations on a device that is located somewhere, etc. In some scenarios, multiple storage devices may also be controlled, which may be located in the same location or in different locations than the devices. As shown in fig. 1, the authority configuration method applied to FTTR includes the following steps:
101. detecting current online equipment at intervals of preset time length, acquiring grid intervals in which the online equipment is located, and distributing the grid intervals to the total network speed corresponding to each grid interval based on authority configuration data and the number of the current online equipment in each grid interval.
The embodiment is applied to the scene from the optical fiber to each room, and the optical fiber is accessed in one family section by taking one family as a unit, and then the family section comprises a plurality of different spaces, wherein each space is defined as a grid section, and each grid section also needs to be accessed to the optical fiber accessed in the family section. A bus is connected to the home zone and distributed to each grid zone through wiring.
In order to dynamically and purposefully allocate the network speed to each grid interval, the embodiment fully considers the current actual number of on-line devices in each grid interval, and allocates different total bandwidths to different grid intervals according to different on-line device numbers. Typically, when the number of online devices is large, the bandwidth allocated to the grid interval is larger, and correspondingly when the number of online devices is small, the bandwidth allocated to the grid interval is smaller, so that dynamic balance is achieved.
The permission configuration data includes permission usage of each online device, for example, the usage time of the device a is 3 pm to 10 pm, the usage time of the device b is 24 hours a day, and may also include permission of different grid intervals, for example, the usage time of the grid interval 1 is 8 am to 6 pm, and the usage time of the grid interval 2 is 6 pm to 12 pm.
102. The usage preference of each online device in any one grid section is obtained.
Usage preferences generally refer to devices that are more avid to browse pages, watch videos, chat online, handle meetings, etc. when online, i.e., more avid to which application is used, or longer duration when a certain application is used. By counting usage preferences, the combined enthusiastic applications may allocate different bandwidths, e.g., more preferred for chat applications, less high network speeds are required, and higher network speeds are preferred for online networking game applications.
The embodiment specifically obtains a single historical online time period, an application use frequency, an application single use duration and a single online use application type of each online device in any grid interval; calculating the preference of each application based on the application use frequency and the application single use time length, and selecting the application with the highest preference as a first application; acquiring an application with highest use frequency in the same time period as a second application according to the single historical online time period and the single online application type; when the first application is the same as the second application, defining the first application/the second application as a target application, and collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name and a first application use time period; when the first application is different from the second application, defining the first application and the second application as target applications, and respectively collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name, a first application use time period, a second application name and a second application use time period.
In this embodiment, the preference of the online device is calculated by considering the application frequency, the application single use duration, and the like of the device, firstly calculating the preference of each application based on the application frequency and the application single use duration, where the preference can be allocated to a weight ratio of different application frequency and different application single use duration, for example, the preference is calculated by allocating the preference to the application frequency to be 0.6, allocating the preference to the application single use duration to be 0.4, allocating the preference to a value corresponding to a different application frequency interval, allocating the interval value of the corresponding application frequency to be a value corresponding to a different application single use duration interval, multiplying the interval value of the corresponding application frequency by the weight ratio, multiplying the interval value of the corresponding single use duration by the weight ratio, and adding the two values obtained after multiplication to calculate the final preference. And secondly, acquiring the application with the highest use frequency in the same time period as the second application according to the single historical online time period and the single online use application type, wherein the online time period is, for example, three pm to five pm in one day, the total is two hours, the application used in the online time period is provided with a chat tool a and short video software b, the application used in the other online time period is three pm to five pm in the other day, the application used in the other online time period is short video software b, and therefore the use frequency of the short video software b is higher than that of the chat tool a, and the short video software b is defined as the second application.
103. And collecting the current time, and distributing the current time to a maximum network speed threshold and a using duration of each device according to the using preference and the permission configuration data, wherein the maximum network speed threshold is smaller than the total network speed.
The method comprises the steps of collecting current time, judging whether the current time is in a target application use time period corresponding to the use preference based on the use preference, if yes, distributing the current time to the maximum network speed threshold and the maximum use duration of the equipment according to the target application name and the permission configuration data; otherwise, the maximum network speed threshold and the using duration are allocated to the equipment according to the permission configuration data.
Example two
Referring to fig. 2, fig. 2 is a flow chart of another authority configuration method applied to FTTR according to an embodiment of the present invention. As shown in fig. 2, the authority configuration method applied to FTTR includes:
201. and responding to the access request of the equipment, and judging whether the equipment is legal equipment according to the access request.
If yes, connecting to the equipment to enable the equipment to be online equipment, otherwise, detecting whether the equipment meets the temporary access standard, distributing the equipment temporary key to connect the equipment when the equipment meets the temporary access standard, and refusing the access request of the equipment when the equipment does not meet the temporary access standard.
In this step, when the device needs to access the optical fiber, first, a verification of the authority is performed on the device. The legitimate device of an embodiment typically indicates that the device has been connected to the fiber in the past, either a device labeled as a regular device, or a device labeled as a whitelist. When not a legitimate device, it is then necessary to further ascertain whether the current device is to be accessed. By verifying the validity of the accessed device, the accessed device can be ensured to be safe.
In the above, detecting whether the device meets the temporary access standard includes: judging whether the access request carries a temporary access code or not, and judging whether the temporary access code is legal or not when the temporary access code is carried; and when the temporary access code is not carried, acquiring the current position of the equipment, and judging whether the equipment is positioned in the target grid interval according to the current position.
202. Detecting current online equipment at intervals of preset time length, acquiring grid intervals in which the online equipment is located, and distributing the grid intervals to the total network speed corresponding to each grid interval based on authority configuration data and the number of the current online equipment in each grid interval.
203. The usage preference of each online device in any one grid section is obtained.
In this step, the manner of obtaining the usage preference is by interacting with the device, and the device is used by man, for example, the device is a smart phone, and the user using the smart phone is usually the object for interaction. And sending interactive information for preference selection to the smart phone, and selecting and feeding back corresponding options after receiving the interactive information by a user, so that the use preference of the equipment can be counted. Specifically, the message information of each online device is sent to any grid interval, and the message information contains preference options;
and receiving a preference selection instruction fed back by the online equipment based on the message information, and forming the use preference of the online equipment according to the preference selection instruction, wherein the use preference comprises a target application name and a target application use time period.
204. And collecting the current time, and distributing the current time to a maximum network speed threshold and a using duration of each device according to the using preference and the permission configuration data, wherein the maximum network speed threshold is smaller than the total network speed.
According to the embodiment, different network speeds and using time durations are distributed according to actual requirements of different devices, for example, the current online device is a learning machine, learning of online videos is favored, the required network speed is a mega/second in terms of historical data, the using time duration is limited to 2 hours, and the network speed of a mega/second is smaller than the total network speed for distributing the corresponding grid interval. The same grid interval assumes that another online device is a smart phone, prefers to play online interactive games, requires a network speed of b megabits/second, b is greater than a, and the use time is limited to 1.5 hours. The use time limit of the smart phone can be actively set by a user in advance, so that the user can be prevented from being excessively addicted to an application.
205. And acquiring the permission use time period of the current online equipment based on the permission configuration data, and disconnecting the online equipment when the current time exceeds the permission use time period.
The embodiment has different use time limits for different devices, such as a learning machine for students, the time for accessing the optical fiber is limited to be from four and a half pm to seven pm, and the optical fiber cannot be accessed in the time, so that the use is limited. According to the actual demand conditions of different devices, access conditions can be arranged more reasonably and individually, and further distribution of network bandwidth can be optimized according to use limits of different devices.
Example III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an authority configuration device applied to FTTR according to an embodiment of the present invention. As shown in fig. 3, the authority configuration apparatus applied to FTTR may include: a network speed allocation module 301, a preference acquisition module 302, and a permission configuration module 303, wherein the network speed allocation module 301: the method comprises the steps of detecting current online equipment at intervals of preset time, acquiring grid intervals in which the online equipment is located, and distributing the current online equipment quantity of each grid interval to the corresponding total network speed of the grid interval based on permission configuration data; preference acquisition module 302: the method comprises the steps of acquiring the use preference of each online device in any grid interval; rights configuration module 303: and collecting the current time, and distributing the current time to a maximum network speed threshold and a using duration of each device according to the using preference and the permission configuration data, wherein the maximum network speed threshold is smaller than the total network speed.
In the preference obtaining module 302, a single historical online time period, an application use frequency, an application single use duration, and a single online use application type of each online device in any grid interval are obtained by way of example; calculating the preference of each application based on the application use frequency and the application single use time length, and selecting the application with the highest preference as a first application; acquiring an application with highest use frequency in the same time period as a second application according to the single historical online time period and the single online application type; when the first application is the same as the second application, defining the first application/the second application as a target application, and collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name and a first application use time period; when the first application is different from the second application, defining the first application and the second application as target applications, and respectively collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name, a first application use time period, a second application name and a second application use time period.
In another example, the preference obtaining module 302 may also be message information of each online device sent to any grid interval, where the message information includes preference options;
and receiving a preference selection instruction fed back by the online equipment based on the message information, and forming the use preference of the online equipment according to the preference selection instruction, wherein the use preference comprises a target application name and a target application use time period.
In the permission configuration module 303, the embodiment collects the current time, determines whether the current time is within a target application use time period corresponding to the use preference based on the use preference, if yes, allocates the current time to the maximum network speed threshold and the use duration of the device according to the target application name and the permission configuration data; otherwise, the maximum network speed threshold and the using duration are allocated to the equipment according to the permission configuration data.
Embodiments may also include a device disconnection module configured to disconnect from the online device when a current time exceeds a rights usage period of the current online device when the rights usage period is acquired based on the rights configuration data.
In addition, the embodiment further comprises a device request module, which is used for responding to the access request of the device, judging whether the device is legal according to the access request, if so, connecting to the device to enable the device to be an online device, otherwise, detecting whether the device meets the temporary access standard, if so, distributing the temporary key of the device to connect to the device, and if not, refusing the access request of the device. Based on the above, detecting whether the device meets the temporary access criteria includes: judging whether the access request carries a temporary access code or not, and judging whether the temporary access code is legal or not when the temporary access code is carried; and when the temporary access code is not carried, acquiring the current position of the equipment, and judging whether the equipment is positioned in the target grid interval according to the current position.
Example IV
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the invention. The electronic device may be a computer, a server, or the like, and of course, may also be an intelligent device such as a mobile phone, a tablet computer, a monitor terminal, or the like, and an image acquisition device having a processing function. As shown in fig. 4, the electronic device may include:
a memory 401 storing executable program codes;
a processor 402 coupled with the memory 401;
wherein the processor 402 invokes executable program code stored in the memory 401 to perform some or all of the steps of the authority configuration method applied to FTTR in the first embodiment.
The embodiment of the invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute part or all of the steps in a permission configuration method applied to FTTR in the first embodiment.
The embodiment of the invention also discloses a computer program product, wherein the computer program product enables the computer to execute part or all of the steps of the authority configuration method applied to the FTTR in the first embodiment when running on the computer.
The embodiment of the invention also discloses an application release platform, wherein the application release platform is used for releasing the computer program product, and the computer is caused to execute part or all of the steps in the authority configuration method applied to the FTTR in the embodiment I when the computer program product runs on the computer.
In various embodiments of the present invention, it should be understood that the size of the sequence numbers of the processes does not mean that the execution sequence of the processes is necessarily sequential, and the execution sequence of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a memory, comprising several requests for a computer device (which may be a personal computer, a server or a network device, etc., in particular may be a processor in a computer device) to execute some or all of the steps of the method according to the embodiments of the present invention.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a, from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information.
Those of ordinary skill in the art will appreciate that some or all of the steps of the various methods of the described embodiments may be implemented by hardware associated with a program that may be stored in a computer-readable storage medium, including Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium capable of being used to carry or store data that is readable by a computer.
The above describes in detail a permission configuration method, apparatus, electronic device and storage medium applied to FTTR disclosed in the embodiments of the present invention, and specific examples are applied to illustrate the principles and embodiments of the present invention, where the above description of the embodiments is only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A rights configuration method applied to FTTR, comprising:
detecting current online equipment at intervals of preset time length, acquiring grid intervals in which the online equipment is located, and distributing the grid intervals to the total network speed corresponding to each grid interval based on authority configuration data and the number of the online equipment in each current grid interval;
acquiring the use preference of each online device in any grid interval;
and collecting the current time, and distributing the current time to a maximum network speed threshold and a using duration of each device according to the using preference and the permission configuration data, wherein the maximum network speed threshold is smaller than the total network speed.
2. The authority configuration method according to claim 1, further comprising:
and responding to the access request of the equipment, judging whether the equipment is legal equipment according to the access request, if so, connecting the equipment to the equipment so as to enable the equipment to be online equipment, otherwise, detecting whether the equipment meets the temporary access standard, and when the equipment meets the temporary access standard, distributing the equipment temporary key to connect the equipment, and when the equipment does not meet the temporary access standard, refusing the access request of the equipment.
3. The rights configuration method of claim 2, wherein the detecting whether the device meets temporary access criteria comprises:
judging whether the access request carries a temporary access code or not, and judging whether the temporary access code is legal or not when the temporary access code is carried;
and when the temporary access code is not carried, acquiring the current position of the equipment, and judging whether the equipment is positioned in the target grid interval according to the current position.
4. The rights configuration method of claim 1, wherein obtaining usage preferences for each online device in any one grid section comprises:
acquiring a single historical online time period, application use frequency, application single use duration and single online use application type of each online device in any grid interval;
calculating the preference of each application based on the application use frequency and the application single use time length, and selecting the application with the highest preference as a first application;
acquiring an application with highest use frequency in the same time period as a second application according to the single historical online time period and the single online application type;
when the first application is the same as the second application, defining the first application/the second application as a target application, and collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name and a first application use time period;
when the first application is different from the second application, defining the first application and the second application as target applications, and respectively collecting target application information as the use preference of the online equipment, wherein the target application information comprises a first application name, a first application use time period, a second application name and a second application use time period.
5. The rights configuration method of claim 1, wherein obtaining usage preferences for each online device in any one grid section comprises:
message information of each online device is sent to any grid interval, wherein the message information comprises preference options;
and receiving a preference selection instruction fed back by the online equipment based on the message information, and forming the use preference of the online equipment according to the preference selection instruction, wherein the use preference comprises a target application name and a target application use time period.
6. The rights configuration method according to claim 4 or 5, wherein collecting the current time and assigning to each device a maximum network speed threshold and a usage duration according to the usage preference and rights configuration data comprises:
collecting the current time, judging whether the current time is in a target application use time period corresponding to the use preference based on the use preference,
if yes, distributing the maximum network speed threshold and the maximum using duration to the equipment according to the target application name and the permission configuration data;
otherwise, the maximum network speed threshold and the using duration are allocated to the equipment according to the permission configuration data.
7. The authority configuration method according to claim 1, further comprising:
and acquiring the permission use time period of the current online equipment based on the permission configuration data, and disconnecting the online equipment when the current time exceeds the permission use time period.
8. A rights configuration apparatus for FTTR, comprising:
network speed distribution module: the method comprises the steps of detecting current online equipment at intervals of preset time, acquiring grid intervals in which the online equipment is located, and distributing the current online equipment quantity of each grid interval to the corresponding total network speed of the grid interval based on permission configuration data;
preference acquisition module: the method comprises the steps of acquiring the use preference of each online device in any grid interval;
and the permission configuration module is used for: and collecting the current time, and distributing the current time to a maximum network speed threshold and a using duration of each device according to the using preference and the permission configuration data, wherein the maximum network speed threshold is smaller than the total network speed.
9. An electronic device, comprising: a memory storing executable program code; a processor coupled to the memory; the processor invokes the executable program code stored in the memory for performing the rights configuration method of any one of claims 1 to 7 applied to FTTR.
10. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the authority configuration method applied to FTTR as set forth in any one of claims 1 to 7.
CN202311369284.7A 2023-10-23 2023-10-23 Permission configuration method and device applied to FTTR Active CN117135056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311369284.7A CN117135056B (en) 2023-10-23 2023-10-23 Permission configuration method and device applied to FTTR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311369284.7A CN117135056B (en) 2023-10-23 2023-10-23 Permission configuration method and device applied to FTTR

Publications (2)

Publication Number Publication Date
CN117135056A true CN117135056A (en) 2023-11-28
CN117135056B CN117135056B (en) 2023-12-26

Family

ID=88851064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311369284.7A Active CN117135056B (en) 2023-10-23 2023-10-23 Permission configuration method and device applied to FTTR

Country Status (1)

Country Link
CN (1) CN117135056B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997791A (en) * 2014-06-13 2014-08-20 重庆大学 Wireless network resource distribution method and system based on use preference of user terminal resources
CN106453149A (en) * 2016-09-30 2017-02-22 上海斐讯数据通信技术有限公司 Wireless WIFI router and method for automatically allocating bandwidths based on user applications
CN114189770A (en) * 2021-12-01 2022-03-15 深圳市西迪特科技股份有限公司 ONU intelligent flow distribution method based on infrared sensor
CN114629796A (en) * 2022-03-11 2022-06-14 杭州纷委科技有限公司 Bandwidth allocation method and system for mother router in router system
CN116132852A (en) * 2021-11-15 2023-05-16 中兴通讯股份有限公司 All-optical network bandwidth allocation method, optical gateway and computer readable storage medium
WO2023164066A1 (en) * 2022-02-23 2023-08-31 Arris Enterprises Llc System and method for automating and enhancing broadband qoe

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997791A (en) * 2014-06-13 2014-08-20 重庆大学 Wireless network resource distribution method and system based on use preference of user terminal resources
CN106453149A (en) * 2016-09-30 2017-02-22 上海斐讯数据通信技术有限公司 Wireless WIFI router and method for automatically allocating bandwidths based on user applications
CN116132852A (en) * 2021-11-15 2023-05-16 中兴通讯股份有限公司 All-optical network bandwidth allocation method, optical gateway and computer readable storage medium
CN114189770A (en) * 2021-12-01 2022-03-15 深圳市西迪特科技股份有限公司 ONU intelligent flow distribution method based on infrared sensor
WO2023164066A1 (en) * 2022-02-23 2023-08-31 Arris Enterprises Llc System and method for automating and enhancing broadband qoe
CN114629796A (en) * 2022-03-11 2022-06-14 杭州纷委科技有限公司 Bandwidth allocation method and system for mother router in router system

Also Published As

Publication number Publication date
CN117135056B (en) 2023-12-26

Similar Documents

Publication Publication Date Title
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
CN108924221B (en) Method and device for allocating resources
CN102655503B (en) Use the Resourse Distribute in shared resource pond
US20190166192A1 (en) Method and Device for Storage Resource Allocation for Video Cloud Storage
EP2913978A1 (en) Business scheduling method and apparatus and convergence device
CN105554142B (en) The method, apparatus and system of message push
CN108123866B (en) Method for message transmission and device
CN113938435B (en) Data transmission method, device, electronic equipment, storage medium and program product
CN108449606B (en) Barrage limiting method, device, server and medium
CN109558446A (en) Job request method, apparatus, electronic equipment and storage medium
CN110460879B (en) Video request scheduling method, device, server and storage medium
CN102868770A (en) Method, equipment and system for distributing interface
CN106506475A (en) Group management and device
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
WO2009131387A2 (en) Discontinuous access management method using waiting ticket for resource allocation control, waiting ticket management method, and resource allocation control method
EP3306965A1 (en) Charging method, communication platform, and communication system
CN117135056B (en) Permission configuration method and device applied to FTTR
US10784982B2 (en) Method and system for allocating wavelength channels in passive optical network, and optical line terminal
CN106790354A (en) A kind of communication means and its device of anti-data congestion
CN117319851B (en) PON-based FTTR bandwidth management method and device
CN114173396B (en) Method and device for determining terminal networking time, electronic equipment and storage medium
CN109831467A (en) Data transmission method, equipment and system
CN111935832A (en) Network resource allocation method and device and computer equipment
CN108737223B (en) Health consultation method, device, platform and storage medium based on load balancing
CN104899247A (en) Information subscription method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant