CN114286420B - PON technology-based gateway locking method, device, server and medium - Google Patents

PON technology-based gateway locking method, device, server and medium Download PDF

Info

Publication number
CN114286420B
CN114286420B CN202111576336.9A CN202111576336A CN114286420B CN 114286420 B CN114286420 B CN 114286420B CN 202111576336 A CN202111576336 A CN 202111576336A CN 114286420 B CN114286420 B CN 114286420B
Authority
CN
China
Prior art keywords
address information
network address
gateway
target gateway
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111576336.9A
Other languages
Chinese (zh)
Other versions
CN114286420A (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 Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN202111576336.9A priority Critical patent/CN114286420B/en
Publication of CN114286420A publication Critical patent/CN114286420A/en
Priority to PCT/CN2022/136999 priority patent/WO2023116424A1/en
Application granted granted Critical
Publication of CN114286420B publication Critical patent/CN114286420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • 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/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The application discloses a gateway locking method based on a PON technology, which is used for a server, wherein the server is connected with a target gateway through the PON technology, and the method comprises the following steps: when binding request information sent by the target gateway is received, binding reply information is obtained based on the binding request information; sending the binding reply information to the target gateway so that the target gateway returns the exit network address information based on the binding reply information; and when the exit network address information does not meet the preset condition, locking the target gateway so as to prohibit the target gateway from accessing the Internet. The application also discloses a gateway locking device, a server and a storage medium based on the PON technology. By using the method of the application, manual locking is not needed by a user, thus greatly reducing the manual locking time and improving the locking efficiency.

Description

PON technology-based gateway locking method, device, server and medium
Technical Field
The present application relates to the field of network connection technologies, and in particular, to a method, an apparatus, a server, and a storage medium for locking a gateway based on PON technology.
Background
To attract new users, operators may give away or sell home gateway products at a low price when they transact network entry. Typically, in order to bind a new user, the operator prevents the new user from losing, and when the new user accesses the gateway to other operator networks, the operator to which the gateway belongs performs a locking operation on the gateway.
In the related art, a locking scheme is disclosed, wherein preset network address information corresponding to a locking operation is directly pre-stored in a gateway, and when the gateway adopts the preset network address information, the locking operation of the gateway is performed.
However, with the existing method, after each update of the server of the operator, the locking operation needs to be performed manually on the gateway which is not satisfactory, so that the efficiency of the locking operation is low.
Disclosure of Invention
The application mainly aims to provide a method, a device, a server and a storage medium for locking a gateway based on PON technology, and aims to solve the technical problem that in the prior art, locking operation is performed on a gateway which does not meet requirements manually, so that the efficiency of the locking operation is high.
In order to achieve the above object, the present application provides a method for locking a gateway based on PON technology, for a server, where the server is connected to the target gateway through PON technology, the method includes the following steps:
when binding request information sent by the target gateway is received, binding reply information is obtained based on the binding request information;
sending the binding reply information to the target gateway so that the target gateway returns the exit network address information based on the binding reply information;
and when the exit network address information does not meet the preset condition, locking the target gateway so as to prohibit the target gateway from accessing the Internet.
Optionally, the step of obtaining binding reply information based on the binding request information includes:
acquiring the transmitting network address information corresponding to the binding request information;
and obtaining the binding reply information according to the sending network address information.
Optionally, the step of sending the binding reply message to the target gateway, so that the target gateway returns the egress network address information based on the binding reply message includes:
and sending the binding reply information to the target gateway so that the target gateway obtains the sending network address information based on the binding reply information, obtains an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, and returns the outlet network address information based on the address information conversion identifier.
Optionally, the step of sending the binding reply information to the target gateway, so that the target gateway obtains the sending network address information based on the binding reply information, obtains an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, and returns the egress network address information based on the address information conversion identifier includes:
the binding reply information is sent to the target gateway, so that the target gateway obtains the sending network address information based on the binding reply information, an address information conversion identifier is obtained according to the target network address information of the target gateway and the sending network address information, when the address information conversion identifier is a first preset value, the target network address information is determined to be the outlet network address information, and the outlet network address information is returned; or alternatively, the first and second heat exchangers may be,
and sending the binding reply information to the target gateway so that the target gateway obtains the sending network address information based on the binding reply information, obtains an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, determines the sending network address information as the outlet network address information when the address information conversion identifier is a second preset value, and returns the outlet network address information.
Optionally, the step of performing a locking operation on the target gateway when the egress network address information does not meet a preset condition includes:
when the outlet network address information does not meet the preset condition, acquiring a target identifier of the target gateway;
and if the target identifier is not matched with the preset identifier, locking the target gateway.
Optionally, after the step of performing the locking operation on the target gateway when the egress network address information does not meet the preset condition, the method further includes:
receiving an unlocking instruction aiming at the target gateway;
and according to the unlocking instruction, performing unlocking operation on the target gateway so as to allow the target gateway to access the Internet.
Optionally, the preset condition includes:
and presetting legal network address information which is matched with the outlet network address information to be concentrated.
In addition, in order to achieve the above object, the present application also provides a locking device of a gateway based on PON technology, for a server, where the server is connected to the target gateway through PON technology, the device includes:
the receiving module is used for obtaining binding reply information based on the binding request information when receiving the binding request information sent by the target gateway;
the sending module is used for sending the binding reply information to the target gateway so that the target gateway returns the outlet network address information based on the binding reply information;
and the locking module is used for locking the target gateway when the outlet network address information does not meet the preset condition so as to prohibit the target gateway from accessing the Internet.
In addition, to achieve the above object, the present application also proposes a server including: a memory, a processor and a locking program of a PON technology-based gateway stored on the memory and running on the processor, the locking program of the PON technology-based gateway implementing the steps of the PON technology-based gateway locking method according to any one of the above-described steps when executed by the processor.
In addition, in order to achieve the above object, the present application also proposes a storage medium having stored thereon a locking program of a PON technology-based gateway, which when executed by a processor, implements the steps of the PON technology-based gateway locking method according to any one of the above.
The technical scheme of the application provides a gateway locking method based on a PON technology, which is characterized by being used for a server, wherein the server is connected with a target gateway through the PON technology, and the method comprises the following steps: when binding request information sent by the target gateway is received, binding reply information is obtained based on the binding request information; sending the binding reply information to the target gateway so that the target gateway returns the exit network address information based on the binding reply information; and when the exit network address information does not meet the preset condition, locking the target gateway so as to prohibit the target gateway from accessing the Internet.
By using the method of the application, the server automatically returns the binding reply information, so that the target gateway obtains the outlet network address information based on the binding reply information, and when the outlet network address information does not meet the preset condition, the target gateway is determined to be out of compliance, and the target gateway is automatically locked, so that the target gateway is prevented from accessing the Internet, and the manual locking of a user is not needed, thereby greatly reducing the manual locking time and improving the locking efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a server architecture of a hardware operating environment according to an embodiment of the present application;
fig. 2 is a flow chart of a first embodiment of a method for locking a gateway based on PON technology according to the present application;
fig. 3 is a block diagram of a first embodiment of a locking device for a PON technology-based gateway according to the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a schematic diagram of a server structure of a hardware running environment according to an embodiment of the present application.
In general, a server includes: at least one processor 301, a memory 302 and a locking program of a PON technology based gateway stored on said memory and operable on said processor, said locking program of a PON technology based gateway being configured to implement the steps of the method of locking a PON technology based gateway as described above.
Processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 301 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central ProcessingUnit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 301 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. The processor 301 may also include an AI (Artificial Intelligence ) processor for handling locking method operations with respect to PON technology based gateways such that a PON technology based gateway locking method model may autonomously train learning, improving efficiency and accuracy.
Memory 302 may include one or more storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the PON technology-based gateway locking method provided by an embodiment of a method of the present application.
In some embodiments, the terminal may further optionally include: a communication interface 303, and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. The respective peripheral devices may be connected to the communication interface 303 through a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power supply 306.
The communication interface 303 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 301, the memory 302, and the communication interface 303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 304 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 304 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 304 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 304 may also include NFC (Near Field Communication ) related circuitry, which is not limiting of the application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 305 is a touch screen, the display 305 also has the ability to collect touch signals at or above the surface of the display 305. The touch signal may be input as a control signal to the processor 301 for processing. At this point, the display 305 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 305 may be one, the front panel of an electronic device; in other embodiments, the display screen 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display 305 may be a flexible display disposed on a curved surface or a folded surface of the electronic device. Even more, the display screen 305 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 305 may be made of LCD (LiquidCrystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The power supply 306 is used to power the various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is not limiting and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
In addition, the embodiment of the application also provides a storage medium, wherein the storage medium stores a locking program of the gateway based on the PON technology, and the locking program of the gateway based on the PON technology realizes the steps of the locking method of the gateway based on the PON technology when being executed by a processor. Therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the storage medium according to the present application, please refer to the description of the method embodiments of the present application. As an example, the program instructions may be deployed to be executed on one server or on multiple servers located at one site or on multiple server devices distributed across multiple sites and interconnected by a communication network.
Those skilled in the art will appreciate that all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware, and the above-described program may be stored in a storage medium, and the program may include the steps of the above-described embodiments of the methods when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random access Memory (Random AccessMemory, RAM), or the like.
Based on the above hardware structure, an embodiment of the present application of a method for locking a gateway based on PON technology is presented.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a method for locking a gateway based on PON technology according to the present application, where the method includes the following steps:
step S11: and when the binding request information sent by the target gateway is received, binding reply information is obtained based on the binding request information.
The execution subject of the present application is a server, and the server is provided with a locking program of a gateway based on PON technology, and when the server executes the locking program of the gateway based on PON technology, the steps of the method for locking a gateway based on PON technology of the present application are realized. In general, the server and the target gateway are connected by PON technology, that is, the connection mode between the server and the target gateway is PON.
PON is a single-fiber bi-directional optical access network employing a point-to-multipoint (P2 MP) architecture. The PON system consists of an Optical Line Terminal (OLT) at a local side, an Optical Distribution Network (ODN) and an Optical Network Unit (ONU) at a user side, and is a single-fiber bidirectional system. In the downstream direction (OLT to ONU), the OLT transmitted signal reaches each ONU through the ODN. In the upstream direction (ONU to OLT), the ONU sends a signal that only reaches the OLT and not the other ONUs. In order to avoid data collision and improve network efficiency, the uplink direction adopts a TDMA multiple access mode, and data transmission of each ONU is managed. The ODN provides an optical channel between the OLT and the ONUs.
The target gateway is any type of gateway to be subjected to the method for locking a PON technology-based gateway of the present application, and the target gateway may be a plurality of target gateways, each of which performs the steps of the method for locking a PON technology-based gateway according to the method of the present application. The target gateway may be directly connected to the server, and the target gateway may also access the server through a multi-level gateway, for example, the target gateway may access a secondary gateway (a further private network) through a primary gateway (a private network), and the secondary gateway may be connected to the server (access to a public network).
In the present application, the Server may be an administration system (ACS/STUN Server), where the Server and the target gateway device are connected by TR069 protocol, and the gateway identifies the egress network address information (including the egress network address and the corresponding transmitting port) based on TR111 STUN protocol (rfc 5389) in the TR069 protocol.
The target gateway firstly needs to send binding request information, the server receives the binding request information, and then obtains binding reply information according to the binding request information.
Specifically, the step of obtaining binding reply information based on the binding request information includes: acquiring the transmitting network address information corresponding to the binding request information; and obtaining the binding reply information according to the sending network address information. The binding reply message includes sending network address information, and the binding reply message may also include server network address information of a server.
In the present application, the transmission network address information includes a transmission network address and a corresponding transmission port, and the server network address information includes a server network address and a corresponding transmission port. The sending of the network address information refers to sending of the binding request information to the exit network address information of the server.
When the target gateway can be directly connected with the server, the sending network address information is the own network address information of the target gateway, namely the target network address information in the text (the outlet network address information is the own information of the target gateway), and when the target gateway can also be accessed to the server through the multi-stage gateway, the sending network address information is the network address information of the access gateway of the last stage of access server. The access gateway refers to the gateway of the last access public network (connected with the server) in the multi-level gateway.
Step S12: and sending the binding reply information to the target gateway so that the target gateway returns the outlet network address information based on the binding reply information.
Based on the above, the target gateway obtains the egress network address information based on the server network address information and the sending network address information in the binding reply message.
Specifically, the step of sending the binding reply message to the target gateway, so that the target gateway returns the exit network address information based on the binding reply message includes: and sending the binding reply information to the target gateway so that the target gateway obtains the sending network address information based on the binding reply information, obtains an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, and returns the outlet network address information based on the address information conversion identifier.
The step of sending the binding reply information to the target gateway, so that the target gateway obtains the sending network address information based on the binding reply information, obtains an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, and returns the exit network address information based on the address information conversion identifier, includes: the binding reply information is sent to the target gateway, so that the target gateway obtains the sending network address information based on the binding reply information, an address information conversion identifier is obtained according to the target network address information of the target gateway and the sending network address information, when the address information conversion identifier is a first preset value, the target network address information is determined to be the outlet network address information, and the outlet network address information is returned; or sending the binding reply information to the target gateway, so that the target gateway obtains the sending network address information based on the binding reply information, obtains an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, determines the sending network address information as the outlet network address information when the address information conversion identifier is a second preset value, and returns the outlet network address information. The egress network address information includes an egress network address and a corresponding transmit port.
In the application, when the first preset value is 0 and the second preset value is 1, the network address information of the target gateway is directly accessed to the public network and is directly connected with the server when the transmitted network address information is the same as the target network address information, the network address information of the target gateway (target network address information) is the outlet network address information, the corresponding address conversion mark is 0, and the network address information of the target gateway is not subjected to address conversion operation, namely the network address is modified by the Nat technology.
When the sending network address information is different from the target network address information, namely, the target gateway is not directly connected to the public network, namely, is connected with the server through other access gateways, the network address information (target network address information) of the target gateway is not the outlet network address information, and then the sending network address information of the access gateway is the outlet network address information. The corresponding address translation identifier is 1, which indicates that the network address information of the target gateway is subjected to address translation operation.
Step S13: and when the exit network address information does not meet the preset condition, locking the target gateway so as to prohibit the target gateway from accessing the Internet.
Wherein, in the present application, the preset conditions include: and presetting legal network address information which is matched with the outlet network address information to be concentrated. Different servers of different operators can set different legal network address information, and a set of summarized legal network address information is a preset legal network address information set. The legal network address information includes legal network addresses and corresponding transmitting ports.
When legal network address information matched with the export network address information exists in the preset legal network address information set, the export network address information is the network address information allowed by the server, and the export network address information meets the preset condition, and the target gateway is not required to be locked.
When the legal network address information matched with the export network address information does not exist in the preset legal network address information set, which means that the export network address information does not belong to the network address information allowed by the server, the export network address information does not meet the preset condition, and the target gateway needs to be locked to prohibit the target gateway from accessing the Internet.
In general, the preset legal network address information set by the server of one operator includes legal network address information of the operator, and does not include legal network address information of other operators.
To accommodate the most common NAT gateway, the control ports and control addresses used by the server to lock and unlock the target gateway may be the same as the communication addresses and communication ports used by the server to communicate with the target gateway.
In some embodiments, the step of performing a locking operation on the target gateway when the egress network address information does not meet a preset condition includes: when the outlet network address information does not meet the preset condition, acquiring a target identifier of the target gateway; and if the target identifier is not matched with the preset identifier, locking the target gateway.
For the gateway which does not meet the preset condition, some gateways are allowed to be used, preset identifiers are set for the gateways, the preset identifiers are stored in the server, so that the server can acquire the target identifiers of the target gateway, and when the target identifiers are matched with the preset identifiers (generally, the target identifiers are the same), the outlet network address information of the target gateway is allowed to perform network service without locking operation although the outlet network address information does not meet the preset condition.
If the target identifier is matched with the preset identifier, the outlet network address information indicating the target gateway does not meet the preset condition, and is not allowed to perform network service.
The specific locking operation is as follows:
the corresponding target gateway can automatically or manually prohibit all (or part of) network services when the exit network address does not meet the preset condition; the corresponding target gateway may automatically or manually prohibit all (or part of) the network traffic for the egress network address satisfying the preset condition.
For the target gateway which is locked, after the step of locking the target gateway when the exit network address information does not meet the preset condition, the method further comprises: receiving an unlocking instruction aiming at the target gateway; and according to the unlocking instruction, performing unlocking operation on the target gateway so as to allow the target gateway to access the Internet.
The unlocking operation of all or part of the network services can be performed on the target gateway based on the unlocking instruction of the user.
The technical scheme of the application provides a gateway locking method based on a PON technology, which is characterized by being used for a server, wherein the server is connected with a target gateway through the PON technology, and the method comprises the following steps: when binding request information sent by the target gateway is received, binding reply information is obtained based on the binding request information; sending the binding reply information to the target gateway so that the target gateway returns the exit network address information based on the binding reply information; and when the exit network address information does not meet the preset condition, locking the target gateway so as to prohibit the target gateway from accessing the Internet.
By using the method of the application, the server automatically returns the binding reply information, so that the target gateway obtains the outlet network address information based on the binding reply information, and when the outlet network address information does not meet the preset condition, the target gateway is determined to be out of compliance, and the target gateway is automatically locked, so that the target gateway is prevented from accessing the Internet, and the manual locking of a user is not needed, thereby greatly reducing the manual locking time and improving the locking efficiency.
Referring to fig. 3, fig. 3 is a block diagram showing a first embodiment of a locking apparatus of a PON technology-based gateway of the present application, which is used for a server, and which includes, based on the same inventive concept as the previous embodiment:
a reading module 10, configured to read a target scheduling message of the first message queue;
a judging module 20, configured to judge a service state of the configured scheduling service instance; the service state of the scheduling service instance is configured by receiving service state information broadcast by a second message queue;
and the determining module 30 is configured to determine, in the local memory, a selected execution script corresponding to the target scheduling message for executing the scheduling task if the service state is that the service is started.
It should be noted that, since the steps executed by the apparatus of this embodiment are the same as those of the foregoing method embodiment, specific implementation manners and technical effects that can be achieved of the apparatus of this embodiment may refer to the foregoing embodiment, and will not be repeated herein.
The foregoing description is only of the optional embodiments of the present application, and is not intended to limit the scope of the application, and all the equivalent structural changes made by the description of the present application and the accompanying drawings or the direct/indirect application in other related technical fields are included in the scope of the application.

Claims (9)

1. A method for locking a gateway based on PON technology, which is used for a server, the server and a target gateway are connected through PON technology, the method comprising the steps of:
when binding request information sent by the target gateway is received, binding reply information is obtained based on the binding request information;
sending the binding reply information to the target gateway so that the target gateway returns the exit network address information based on the binding reply information;
when the outlet network address information does not meet the preset condition, locking the target gateway so as to prohibit the target gateway from accessing the Internet;
the step of obtaining binding reply information based on the binding request information comprises the following steps:
acquiring the transmitting network address information corresponding to the binding request information; if the target gateway is directly connected with the server, determining that the sending network address information is the network address information of the target gateway; if the target gateway accesses the server through the multi-stage gateway, determining that the network address information is the network address information of the access gateway of the last stage access server, wherein the access gateway of the last stage access server is the gateway of the last access server in the multi-stage gateway;
and obtaining the binding reply information according to the sending network address information.
2. The method of claim 1, wherein the step of sending the binding reply message to the target gateway to cause the target gateway to return egress network address information based on the binding reply message comprises:
and sending the binding reply information to the target gateway so that the target gateway obtains the sending network address information based on the binding reply information, obtains an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, and returns the outlet network address information based on the address information conversion identifier.
3. The method of claim 2, wherein the step of sending the binding reply message to the target gateway to cause the target gateway to obtain the sending network address information based on the binding reply message, obtain an address information translation identifier based on the target network address information of the target gateway and the sending network address information, and return the egress network address information based on the address information translation identifier comprises:
the binding reply information is sent to the target gateway, so that the target gateway obtains the sending network address information based on the binding reply information, an address information conversion identifier is obtained according to the target network address information of the target gateway and the sending network address information, when the address information conversion identifier is a first preset value, the target network address information is determined to be the outlet network address information, and the outlet network address information is returned; or alternatively, the first and second heat exchangers may be,
and sending the binding reply information to the target gateway so that the target gateway obtains the sending network address information based on the binding reply information, obtains an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, determines the sending network address information as the outlet network address information when the address information conversion identifier is a second preset value, and returns the outlet network address information.
4. The method of claim 1, wherein the step of performing a locking operation on the target gateway when the egress network address information does not satisfy a preset condition comprises:
when the outlet network address information does not meet the preset condition, acquiring a target identifier of the target gateway;
and if the target identifier is not matched with the preset identifier, locking the target gateway.
5. The method of claim 1, wherein after the step of performing a locking operation on the target gateway when the egress network address information does not satisfy a preset condition, the method further comprises:
receiving an unlocking instruction aiming at the target gateway;
and according to the unlocking instruction, performing unlocking operation on the target gateway so as to allow the target gateway to access the Internet.
6. The method of any one of claims 1-5, wherein the preset conditions include:
and presetting legal network address information which is matched with the outlet network address information to be concentrated.
7. A device for locking a gateway based on PON technology, for a server, the server being connected to a target gateway through PON technology, the device comprising:
the receiving module is used for obtaining binding reply information based on the binding request information when receiving the binding request information sent by the target gateway;
the sending module is used for sending the binding reply information to the target gateway so that the target gateway returns the outlet network address information based on the binding reply information;
the locking module is used for locking the target gateway when the outlet network address information does not meet the preset condition so as to prohibit the target gateway from accessing the Internet;
the receiving module is further configured to obtain sending network address information corresponding to the binding request information; if the target gateway is directly connected with the server, determining that the sending network address information is the network address information of the target gateway; if the target gateway accesses the server through the multi-stage gateway, determining that the network address information is the network address information of the access gateway of the last stage access server, wherein the access gateway of the last stage access server is the gateway of the last access server in the multi-stage gateway; and obtaining the binding reply information according to the sending network address information.
8. A server, the server comprising: memory, a processor and a locking program stored on the memory and running on the processor a PON technology based gateway, which when executed by the processor implements the steps of the PON technology based gateway locking method according to any one of claims 1 to 6.
9. A storage medium, wherein a PON technology-based gateway locking program is stored on the storage medium, and wherein the PON technology-based gateway locking program, when executed by a processor, implements the steps of the PON technology-based gateway locking method according to any one of claims 1 to 6.
CN202111576336.9A 2021-12-21 2021-12-21 PON technology-based gateway locking method, device, server and medium Active CN114286420B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111576336.9A CN114286420B (en) 2021-12-21 2021-12-21 PON technology-based gateway locking method, device, server and medium
PCT/CN2022/136999 WO2023116424A1 (en) 2021-12-21 2022-12-06 Gateway locking method and apparatus based on pon technology, and server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111576336.9A CN114286420B (en) 2021-12-21 2021-12-21 PON technology-based gateway locking method, device, server and medium

Publications (2)

Publication Number Publication Date
CN114286420A CN114286420A (en) 2022-04-05
CN114286420B true CN114286420B (en) 2023-09-05

Family

ID=80873794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111576336.9A Active CN114286420B (en) 2021-12-21 2021-12-21 PON technology-based gateway locking method, device, server and medium

Country Status (2)

Country Link
CN (1) CN114286420B (en)
WO (1) WO2023116424A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286420B (en) * 2021-12-21 2023-09-05 深圳创维数字技术有限公司 PON technology-based gateway locking method, device, server and medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267304A (en) * 2007-03-13 2008-09-17 华为技术有限公司 A network access privilege control method, device and system
CN101860771A (en) * 2010-06-02 2010-10-13 中兴通讯股份有限公司 Home gateway identifying and networking method and system
CN102025769A (en) * 2010-09-10 2011-04-20 香港城市大学深圳研究院 Access method of distributed internet
CN102571353A (en) * 2012-01-09 2012-07-11 深圳市共进电子股份有限公司 Method for verifying legitimacy of home gateway in passive optical network
CN102801477A (en) * 2012-08-20 2012-11-28 深圳市共进电子股份有限公司 Method for automatically accessing communication equipment on optical network unit
CN103501351A (en) * 2013-10-22 2014-01-08 广东睿江科技有限公司 Monitoring method and monitoring device of network export
CN105516064A (en) * 2014-09-26 2016-04-20 中国移动通信集团浙江有限公司 Dialing device bandwidth access method, dialing device bandwidth access device, and server
CN107104872A (en) * 2016-02-23 2017-08-29 华为技术有限公司 Connection control method, apparatus and system
CN107920004A (en) * 2016-10-11 2018-04-17 中兴通讯股份有限公司 A kind of method for connecting network of gateway, apparatus and system
CN107959654A (en) * 2016-10-14 2018-04-24 北京金山云网络技术有限公司 A kind of data transmission method, device and mixing cloud system
CN108307694A (en) * 2015-11-23 2018-07-20 华为技术有限公司 A kind of network connection information acquisition methods and router
CN110061993A (en) * 2019-04-23 2019-07-26 新华三技术有限公司 A kind of log generation method, device and access device comprising public network exit address
CN113038594A (en) * 2021-04-14 2021-06-25 深圳市共进电子股份有限公司 Network management registration method and device for MESH extended equipment
CN113595891A (en) * 2021-08-18 2021-11-02 北京金山云网络技术有限公司 Data communication method and device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080232804A1 (en) * 2007-03-19 2008-09-25 Luc Absillis Pon with protected cross-connect forwarding
CN101110731A (en) * 2007-06-20 2008-01-23 中兴通讯股份有限公司 Method and apparatus for preventing network intermedium from accessing into control address
CN101820383B (en) * 2010-01-27 2014-12-10 中兴通讯股份有限公司 Method and device for restricting remote access of switcher
CN103078827B (en) * 2011-10-25 2017-05-31 腾讯数码(天津)有限公司 Open platform system and implementation method that third-party application is called
CN114286420B (en) * 2021-12-21 2023-09-05 深圳创维数字技术有限公司 PON technology-based gateway locking method, device, server and medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267304A (en) * 2007-03-13 2008-09-17 华为技术有限公司 A network access privilege control method, device and system
CN101860771A (en) * 2010-06-02 2010-10-13 中兴通讯股份有限公司 Home gateway identifying and networking method and system
CN102025769A (en) * 2010-09-10 2011-04-20 香港城市大学深圳研究院 Access method of distributed internet
CN102571353A (en) * 2012-01-09 2012-07-11 深圳市共进电子股份有限公司 Method for verifying legitimacy of home gateway in passive optical network
CN102801477A (en) * 2012-08-20 2012-11-28 深圳市共进电子股份有限公司 Method for automatically accessing communication equipment on optical network unit
CN103501351A (en) * 2013-10-22 2014-01-08 广东睿江科技有限公司 Monitoring method and monitoring device of network export
CN105516064A (en) * 2014-09-26 2016-04-20 中国移动通信集团浙江有限公司 Dialing device bandwidth access method, dialing device bandwidth access device, and server
CN108307694A (en) * 2015-11-23 2018-07-20 华为技术有限公司 A kind of network connection information acquisition methods and router
CN107104872A (en) * 2016-02-23 2017-08-29 华为技术有限公司 Connection control method, apparatus and system
WO2017143903A1 (en) * 2016-02-23 2017-08-31 华为技术有限公司 Method, device and system for access control
CN107920004A (en) * 2016-10-11 2018-04-17 中兴通讯股份有限公司 A kind of method for connecting network of gateway, apparatus and system
CN107959654A (en) * 2016-10-14 2018-04-24 北京金山云网络技术有限公司 A kind of data transmission method, device and mixing cloud system
CN110061993A (en) * 2019-04-23 2019-07-26 新华三技术有限公司 A kind of log generation method, device and access device comprising public network exit address
CN113038594A (en) * 2021-04-14 2021-06-25 深圳市共进电子股份有限公司 Network management registration method and device for MESH extended equipment
CN113595891A (en) * 2021-08-18 2021-11-02 北京金山云网络技术有限公司 Data communication method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于网关的ZigBee网络与Internet互联框架;李佳;谢琦;王庆华;;计算机工程与设计(第09期);全文 *

Also Published As

Publication number Publication date
WO2023116424A1 (en) 2023-06-29
CN114286420A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US10374952B2 (en) Method for increasing layer-3 longest prefix match scale
CN110061871B (en) Base station opening method and device, computer storage medium and equipment
CN109391502B (en) Information configuration method and management unit
CN108845897A (en) Serial communication adjustment method, device and storage medium
US9985893B2 (en) Load sharing method and apparatus, and board
CN108629594A (en) Method of payment, device, server and storage medium
CN102202132B (en) Method, system and equipment for initializing networking equipment
CN112436985A (en) Network distribution method, device, terminal equipment and storage medium
CN114286420B (en) PON technology-based gateway locking method, device, server and medium
US20130067094A1 (en) Directly transfering data between devices
CN110213147A (en) A kind of cloud network interoperability methods, device, storage medium and terminal device
CN113014452A (en) Network flow testing method, device, testing end and storage medium
CN112073997B (en) Communication method and device
CN112689172B (en) Program playing method and device, set top box and storage medium
CN104426816A (en) Virtual machine communication method and device
US11265807B2 (en) Method for network sharing on a terminal, apparatus, air conditioner and storage medium
CN113727298B (en) Layer two identification determining method, device and terminal
US9642096B2 (en) Wireless communication device and method for transmission of services with different security levels
CN110049503A (en) A kind of method and apparatus obtaining data
CN112583907A (en) Connection method and device, smart home equipment and computer readable storage medium
CN105208548A (en) Data processing method, apparatus and terminal
WO2022127546A1 (en) Gateway service processing method, gateway, receiving terminal, gateway service processing system, and storage medium
CN109429215B (en) Data transmission method, related device and computer readable storage medium
CN205453848U (en) System is grouied busy to pronunciation
CN211908855U (en) Cloud control remote cluster networking device 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