WO2023116424A1 - Gateway locking method and apparatus based on pon technology, and server and medium - Google Patents

Gateway locking method and apparatus based on pon technology, and server and medium Download PDF

Info

Publication number
WO2023116424A1
WO2023116424A1 PCT/CN2022/136999 CN2022136999W WO2023116424A1 WO 2023116424 A1 WO2023116424 A1 WO 2023116424A1 CN 2022136999 W CN2022136999 W CN 2022136999W WO 2023116424 A1 WO2023116424 A1 WO 2023116424A1
Authority
WO
WIPO (PCT)
Prior art keywords
address information
network address
gateway
target gateway
target
Prior art date
Application number
PCT/CN2022/136999
Other languages
French (fr)
Chinese (zh)
Inventor
向浩
陈杰
Original Assignee
深圳创维数字技术有限公司
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 深圳创维数字技术有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2023116424A1 publication Critical patent/WO2023116424A1/en

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

Definitions

  • the present application relates to the technical field of network connection, in particular to a PON technology-based gateway locking method, device, server and storage medium.
  • a locking scheme in which the gateway directly stores preset network address information corresponding to the locking operation, and when the gateway adopts the preset network address information, the gateway locking operation is performed.
  • the main purpose of this application is to provide a locking method, device, server and storage medium for gateways based on PON technology, aiming to solve the problem of manually locking gateways that do not meet the requirements in the prior art, resulting in low efficiency of locking operations technical problem.
  • the present application proposes a gateway locking method based on PON technology for a server, the server is connected to the target gateway through PON technology, and the method includes the following steps:
  • a locking operation is performed on the target gateway to prohibit the target gateway from accessing the Internet.
  • the step of obtaining binding reply information based on the binding request information includes:
  • the step of sending the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information includes:
  • the network address information is obtained by obtaining an address information conversion identifier, and returning the egress network address information based on the address information conversion identifier.
  • the 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, and according to the The target network address information and the sending network address information, obtaining the address information conversion identifier, and based on the address information conversion identifier, the step of returning the egress network address information includes:
  • the target gateway obtains the sending network address information based on the binding reply information, and according to the target network address information of the target gateway and the sending For network address information, obtain an address information conversion identifier, and when the address information conversion identifier is a first preset value, determine the target network address information as the egress network address information, and return the egress network address information; or,
  • the target gateway obtains the sending network address information based on the binding reply information, and according to the target network address information of the target gateway and the sending For network address information, obtain an address information conversion identifier, and when the address information conversion identifier is a second preset value, determine the sending network address information as the egress network address information, and return the egress network address information.
  • the step of locking the target gateway when the egress network address information does not meet the preset conditions includes:
  • the method further includes:
  • an unlocking operation is performed on the target gateway to allow the target gateway to access the Internet.
  • the preset conditions include:
  • this application also proposes a gateway locking device based on PON technology, which is used for a server, and the server is connected to the target gateway through PON technology, and the device includes:
  • a receiving module configured to obtain binding reply information based on the binding request information when receiving the binding request information sent by the target gateway;
  • a sending module configured to send the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information;
  • a locking module configured to perform a locking operation on the target gateway when the egress network address information does not meet a preset condition, so as to prohibit the target gateway from accessing the Internet.
  • the present application also proposes a server, the server includes: a memory, a processor, and a locking program stored in the memory and running on the processor based on the PON technology gateway, so When the locking program of the gateway based on PON technology is executed by the processor, the steps of the locking method of the gateway based on PON technology described in any one of the above are implemented.
  • the present application also proposes a storage medium, on which a locking program of a gateway based on PON technology is stored, and when the locking program of a gateway based on PON technology is executed by a processor, the following The steps of the locking method of the gateway based on PON technology described in any one of the above.
  • the technical solution of the present application proposes a gateway locking method based on PON technology, wherein, for a server, the server is connected to the target gateway through PON technology, and the method includes the following steps: after receiving the target gateway When sending the binding request information, obtain binding reply information based on the binding request information; send the binding reply information to the target gateway, so that the target gateway, based on the binding reply information, Returning the egress network address information; when the egress network address information does not meet the preset condition, perform a locking operation on the target gateway to prohibit the target gateway from accessing the Internet.
  • the server automatically returns the binding reply information, so that the target gateway obtains the egress network address information based on the binding reply information, and when the egress network address information does not meet the preset conditions, it is determined that the target gateway does not meet the requirements,
  • the target gateway is automatically locked to prohibit the target gateway from accessing the Internet without manual locking by the user, which greatly reduces the manual locking time and improves the locking efficiency.
  • Fig. 1 is a schematic diagram of the server structure of the hardware operating environment involved in the solution of the embodiment of the present application;
  • Fig. 2 is a schematic flow chart of the first embodiment of the locking method of the gateway based on the PON technology of the present application;
  • FIG. 3 is a structural block diagram of a first embodiment of a locking device for a gateway based on the PON technology of the present application.
  • FIG. 1 is a schematic diagram of the server structure of the hardware operating environment involved in the solution of the embodiment of the present application.
  • the server includes: at least one processor 301, a memory 302, and a locking program of a gateway based on PON technology that is stored on the memory and can run on the processor, and the locking program of the gateway based on PON technology configures Steps for realizing the locking method of the gateway based on the PON technology as described above.
  • the 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 can adopt at least one hardware form in digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) accomplish.
  • the processor 301 may also include a main processor and a coprocessor, the main processor is a processor for processing data in the wake-up state, and is also called a central processing unit (Central Processing Unit, CPU); the coprocessor is used to Low-power processor for processing data in standby state.
  • CPU Central Processing Unit
  • the processor 301 can be integrated with a graphics processor (Graphics Processing Unit, GPU), the GPU is used to render and draw the content that needs to be displayed on the display screen.
  • Processor 301 can also include artificial intelligence (Artificial Intelligence, AI) processor, this AI processor is used for processing the locking method operation about the gateway based on PON technology, makes the locking method model of the gateway based on PON technology can self-training learning, improves efficiency and accuracy.
  • AI Artificial Intelligence
  • Memory 302 may include one or more storage media, which may be non-transitory.
  • the memory 302 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory storage medium in the memory 302 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 301 to implement the gateway based on PON technology provided by the method embodiments in this application the locking method.
  • the terminal may optionally further 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 through a bus or a signal line.
  • Each peripheral device can be connected to the communication interface 303 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 304 , a display screen 305 and a power supply 306 .
  • the communication interface 303 may be used to connect at least one peripheral device related to input/output (Input/Output, I/O) to the processor 301 and the memory 302 .
  • the processor 301, the memory 302 and the communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 301, the memory 302 and the communication interface 303 It can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 304 is used for receiving and transmitting radio frequency (Radio Frequency, RF) signal, also known as electromagnetic signal.
  • the radio frequency circuit 304 communicates with the communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 304 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and/or a wireless fidelity (Wireless Fidelity, WiFi) network.
  • the radio frequency circuit 304 may also include circuits related to Near Field Communication (NFC), which is not limited in this application.
  • NFC Near Field Communication
  • the display screen 305 is used to display the user interface (User Interface, UI).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • the display screen 305 also has the ability to collect touch signals on or above the surface of the display screen 305 .
  • the touch signal can be input to the processor 301 as a control signal for processing.
  • the display screen 305 can also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • there can be one display screen 305 which is the front panel of the electronic device; in other embodiments, there can be at least two display screens 305, which are respectively arranged on different surfaces of the electronic device or in a folded design;
  • the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even, the display screen 305 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • Display screen 305 can adopt liquid crystal display screen (LiquidCrystal Display, LCD), organic light emitting diode (Organic Light-Emitting Diode, OLED) and other materials.
  • the power supply 306 is used to supply power to various components in the electronic device.
  • Power source 306 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
  • the rechargeable battery can support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • FIG. 1 is not limited to the server, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
  • the embodiment of the present application also proposes a storage medium, on which a locking program of a gateway based on PON technology is stored, and when the locking program of a gateway based on PON technology is executed by a processor, the above-mentioned The steps of the locking method of the gateway based on the PON technology. Therefore, details will not be repeated here. In addition, the description of the beneficial effect of adopting the same method will not be repeated here.
  • program instructions may be deployed to execute on one server, or on multiple servers at one site, or, alternatively, on multiple servers distributed across multiple sites and interconnected by a communication network. .
  • the above-mentioned program can be stored in a storage medium. When the program is executed, It may include the processes of the embodiments of the above-mentioned methods.
  • the above-mentioned storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random storage memory (Random AccessMemory, RAM), etc.
  • Fig. 2 is a schematic flow chart of the first embodiment of the locking method of the gateway based on PON technology in the present application, and the method includes the following steps:
  • Step S11 Obtain binding reply information based on the binding request information when receiving the binding request information sent by the target gateway.
  • the execution subject of the present application is a server, and the server is installed with a locking program of a gateway based on PON technology.
  • the server executes the locking program of a gateway based on PON technology
  • the locking method of a gateway based on PON technology of this application is realized step.
  • the server and the target gateway are connected through PON technology, that is, the connection mode between the server and the target gateway is PON.
  • PON is a single-fiber bidirectional optical access network using a point-to-multipoint (P2MP) structure.
  • the PON system consists of an optical line terminal (OLT) at the central office, an optical distribution network (ODN) and an optical network unit (ONU) at the user side, and is a single-fiber bidirectional system.
  • OLT optical line terminal
  • ODN optical distribution network
  • ONU optical network unit
  • the uplink adopts TDMA multiple access mode, and manages the data transmission of each ONU.
  • the ODN provides an optical channel between the OLT and the ONU.
  • the target gateway is any type of gateway to be carried out in the locking method of the gateway based on PON technology of the present application, and the target gateway can be a plurality of target gateways, and each target gateway is locked based on the gateway of the PON technology according to the method of the present application method steps.
  • the target gateway can be directly connected to the server, and the target gateway can also access the server through a multi-level gateway. Connect (connect to the public network).
  • the server can be a network management operation system (ACS/STUN Server), the server and the target gateway device are connected through the TR069 protocol, and the gateway identifies the egress network address information (including the egress network address) based on the TR111 STUN protocol (rfc5389) in the TR069 protocol and the corresponding send port).
  • ACS/STUN Server network management operation system
  • the gateway identifies the egress network address information (including the egress network address) based on the TR111 STUN protocol (rfc5389) in the TR069 protocol and the corresponding send port).
  • the target gateway first 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.
  • the step of obtaining binding reply information based on the binding request information includes: obtaining sending network address information corresponding to the binding request information; obtaining the binding to reply to the message.
  • the binding reply information includes sending network address information
  • the binding reply information may also include server network address information of the server.
  • the sending network address information includes the sending network address and the corresponding sending port
  • the server network address information includes the server network address and the corresponding sending port.
  • Sending the network address information refers to sending the binding request information to the egress network address information of the server.
  • the sending network address information is the target gateway’s own network address information—the target network address information in the text (the export network address information is the target gateway’s own information), when the target gateway can also pass
  • the sending network address information is the network address information of the access gateway accessing the server at the last level.
  • the access gateway refers to the last gateway that accesses the public network (connected to the server) among the multi-level gateways.
  • Step S12 Send the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information.
  • the target gateway actually obtains the egress network address information based on the server network address information and the sending network address information in the binding reply information.
  • the step of sending the binding reply information to the target gateway so that the target gateway returns egress network address information based on the binding reply information includes: 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, and obtains an address information conversion identifier according to 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 conversion identifier.
  • the 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, and according to the target network address information of the target gateway and the step of sending the network address information, obtaining the address information conversion identifier, and returning the egress network address information based on the address information conversion identifier, comprising: sending the binding reply information to the target gateway to make the target gateway obtain the sending network address information based on the binding reply information, obtain an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, and When the information conversion flag is the first preset value, determine the target network address information as the egress network address information, and return the egress network address information; or, send 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 When the address information conversion flag is the second preset value, determine the
  • the first default value is 0, and the second default value is 1.
  • the sending network address information is the same as the target network address information, it means that the target gateway is directly connected to the public network—directly connected to the server, and the target The network address information of the gateway (target network address information) is the egress network address information, and the corresponding address translation flag is 0, indicating that the network address information of the target gateway has not undergone address translation operations—Nat technology modifies the network address.
  • the sending network address information is not the same as the target network address information, it means that the target gateway is not directly connected to the public network—connected to the server through other access gateways, and the network address information of the target gateway (target network address information) is not the exit If there is no network address information, then the sending network address information of the access gateway at this time is indeed the egress network address information.
  • the corresponding address translation flag is 1, indicating that the network address information of the target gateway has undergone an address translation operation.
  • Step S13 When the egress network address information does not meet the preset condition, perform a locking operation on the target gateway to prohibit the target gateway from accessing the Internet.
  • the preset condition includes: legal network address information matching the egress network address information exists in the preset legal network address information set.
  • the servers of different operators may be set with multiple legal network address information, and the aggregated set of multiple legal network address information is the preset legal network address information set.
  • the legal network address information includes a legal network address and a corresponding sending port.
  • the target gateway When there is legal network address information matching the egress network address information in the preset legal network address information set, it means that the egress network address information belongs to the network address information allowed by the server, and the egress network address information satisfies the preset condition and no further processing is required.
  • the target gateway performs a lock operation.
  • the target gateway needs to be locked to prevent the target gateway from accessing the Internet.
  • the preset legal network address information set by an operator's server includes the operator's own legal network address information, and does not include other operators' legal network address information.
  • control port and control address used may be the same as the communication address and communication port used for communication between the server and the target gateway.
  • the step of locking the target gateway when the egress network address information does not meet the preset condition includes: obtaining the The target identifier of the target gateway; if the target identifier does not match the preset identifier, the target gateway is locked.
  • some gateways that do not meet the preset conditions some of them may be allowed to be used, then set a preset identifier for it, and store the preset identifier in the server, so that the server can obtain the target identifier of the target gateway.
  • ID matches generally refers to the same ID
  • the target identifier matches the preset identifier, it means that although the egress network address information of the target gateway does not meet the preset condition, it is no longer allowed to conduct network services.
  • the corresponding target gateway can automatically or manually ban all (or part of) network services; for egress network addresses that meet the preset conditions, the corresponding target gateway can automatically or manually ban all (or part of) network services. part) network business.
  • the method further includes: receiving an unlocking action for the target gateway An instruction; according to the unlocking instruction, perform an unlocking operation on the target gateway, so as to allow the target gateway to access the Internet.
  • an unlocking operation of all or part of the network services may be performed on the target gateway.
  • the technical solution of the present application proposes a gateway locking method based on PON technology, wherein, for a server, the server is connected to the target gateway through PON technology, and the method includes the following steps: after receiving the target gateway When sending the binding request information, obtain binding reply information based on the binding request information; send the binding reply information to the target gateway, so that the target gateway, based on the binding reply information, Returning the egress network address information; when the egress network address information does not meet the preset condition, perform a locking operation on the target gateway to prohibit the target gateway from accessing the Internet.
  • the server automatically returns the binding reply information, so that the target gateway obtains the egress network address information based on the binding reply information, and when the egress network address information does not meet the preset conditions, it is determined that the target gateway does not meet the requirements,
  • the target gateway is automatically locked to prohibit the target gateway from accessing the Internet without manual locking by the user, which greatly reduces the manual locking time and improves the locking efficiency.
  • Fig. 3 is a structural block diagram of the first embodiment of the locking device of the gateway based on PON technology in the present application, the device is used for the server, based on the same inventive concept as the previous embodiment, the device includes:
  • a reading module 10 configured to read the target scheduling message of the first message queue
  • the judging module 20 is configured to judge the configured service state of the dispatching service instance; wherein, the service state of the dispatching service instance is configured by receiving service state information broadcast by the second message queue;
  • the determining module 30 is configured to determine, in the local storage, a selected execution script corresponding to the target scheduling message for executing the scheduled task if the service status is service enabled.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed in the present application is a gateway locking method based on PON technology. The method is applied to a server, wherein the server is connected to a target gateway by means of PON technology. The method comprises the following steps: upon receiving binding request information sent by a target gateway, obtaining binding reply information on the basis of the binding request information; sending the binding reply information to the target gateway, such that the target gateway returns egress network address information on the basis of the binding reply information; and when the egress network address information does not meet a preset condition, performing a locking operation on the target gateway, so as to prohibit the target gateway from accessing the Internet.

Description

基于PON技术的网关的锁定方法、装置、服务器以及介质Locking method, device, server and medium of gateway based on PON technology
本申请要求于2021年12月21日申请的、申请号为202111576336.9的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202111576336.9 filed on December 21, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及网络连接技术领域,特别涉及一种基于PON技术的网关的锁定方法、装置、服务器以及存储介质。The present application relates to the technical field of network connection, in particular to a PON technology-based gateway locking method, device, server and storage medium.
背景技术Background technique
运营商为了吸引新用户,当用户办理入网手续时,可能赠送或者低价出售家用网关产品。通常,运营商为了绑定新用户,防止新用户流失,当该新用户将网关接入其他运营商网络时,该网关所属的运营商会对该网关进行锁定操作。In order to attract new users, operators may give away or sell home gateway products at low prices when users go through the network registration procedures. Usually, in order to bind new users and prevent loss of new users, when the new user connects the gateway to the network of other operators, the operator to which the gateway belongs will lock the gateway.
相关技术中,公布了一种锁定方案,对网关直接预存锁定操作对应的预设网络地址信息,当网关采用预设网络地址信息时,即进行网关的锁定操作。In the related art, a locking scheme is disclosed, in which the gateway directly stores preset network address information corresponding to the locking operation, and when the gateway adopts the preset network address information, the gateway locking operation is performed.
但是,采用现有的方式,运营商的服务器每次更新之后,均需要手动对不符合要求的网关进行锁定操作,导致锁定操作的效率较低。However, with the existing method, after each update of the server of the operator, the gateway that does not meet the requirements needs to be manually locked, resulting in low efficiency of the locking operation.
技术问题technical problem
本申请的主要目的是提供一种基于PON技术的网关的锁定方法、装置、服务器以及存储介质,旨在解决现有技术中手动对不符合要求的网关进行锁定操作,导致锁定操作的效率较的技术问题。The main purpose of this application is to provide a locking method, device, server and storage medium for gateways based on PON technology, aiming to solve the problem of manually locking gateways that do not meet the requirements in the prior art, resulting in low efficiency of locking operations technical problem.
技术解决方案technical solution
为实现上述目的,本申请提出一种基于PON技术的网关的锁定方法,用于服务器,所述服务器与所述目标网关通过PON技术连接,所述方法包括以下步骤:In order to achieve the above object, the present application proposes a gateway locking method based on PON technology for a server, the server is connected to the target gateway through PON technology, and the method includes the following steps:
在接收到所述目标网关发送的绑定请求信息时,基于所述绑定请求信息,获得绑定回复信息;Obtain binding reply information based on the binding request information when receiving the binding request information sent by the target gateway;
将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息;sending the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information;
在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作,以禁止所述目标网关接入互联网。When the egress network address information does not meet the preset condition, a locking operation is performed on the target gateway to prohibit the target gateway from accessing the Internet.
在一实施例中,所述基于所述绑定请求信息,获得绑定回复信息的步骤,包括:In an embodiment, the step of obtaining binding reply information based on the binding request information includes:
获取与所述绑定请求信息对应的发送网络地址信息;Acquiring sending network address information corresponding to the binding request information;
根据所述发送网络地址信息,获得所述绑定回复信息。Obtain the binding reply information according to the sending network address information.
在一实施例中,将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息的步骤,包括:In an embodiment, the step of sending the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information, includes:
将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并基于所述地址信息转换标识,返回所述出口网络地址信息。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, and according to the target network address information of the target gateway and the sending The network address information is obtained by obtaining an address information conversion identifier, and returning the egress network address information based on the address information conversion identifier.
在一实施例中,所述将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并基于所述地址信息转换标识,返回所述出口网络地址信息的步骤,包括:In an embodiment, the 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, and according to the The target network address information and the sending network address information, obtaining the address information conversion identifier, and based on the address information conversion identifier, the step of returning the egress network address information includes:
将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并在所述地址信息转换标识为第一预设值时,将所述目标网络地址信息确定为所述出口网络地址信息,返回所述出口网络地址信息;或,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, and according to the target network address information of the target gateway and the sending For network address information, obtain an address information conversion identifier, and when the address information conversion identifier is a first preset value, determine the target network address information as the egress network address information, and return the egress network address information; 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, and according to the target network address information of the target gateway and the sending For network address information, obtain an address information conversion identifier, and when the address information conversion identifier is a second preset value, determine the sending network address information as the egress network address information, and return the egress network address information.
在一实施例中,所述在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作的步骤,包括:In one embodiment, the step of locking the target gateway when the egress network address information does not meet the preset conditions includes:
在所述出口网络地址信息不满足预设条件时,获取所述目标网关的目标标识;Acquiring the target identifier of the target gateway when the egress network address information does not meet the preset condition;
若所述目标标识与预设标识不匹配,则对所述目标网关进行锁定操作。If the target identifier does not match the preset identifier, a locking operation is performed on the target gateway.
在一实施例中,所述在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作的步骤之后,所述方法还包括:In an embodiment, after the step of locking the target gateway when the egress network address information does not meet the preset condition, the method further includes:
接收针对所述目标网关的解锁指令;receiving an unlocking instruction for the target gateway;
根据所述解锁指令,对所述目标网关进行解锁操作,以允许所述目标网关接入互联网。According to the unlocking instruction, an unlocking operation is performed on the target gateway to allow the target gateway to access the Internet.
在一实施例中,所述预设条件包括:In one embodiment, the preset conditions include:
预设合法网络地址信息集中存在与所述出口网络地址信息匹配的合法网络地址信息。Legal network address information matching the egress network address information exists in the preset legal network address information set.
此外,为实现上述目的,本申请还提出了一种基于PON技术的网关的锁定装置,用于服务器,所述服务器与所述目标网关通过PON技术连接,所述装置包括:In addition, in order to achieve the above purpose, this application also proposes a gateway locking device based on PON technology, which is used for a server, and the server is connected to the target gateway through PON technology, and the device includes:
接收模块,用于在接收到所述目标网关发送的绑定请求信息时,基于所述绑定请求信息,获得绑定回复信息;A receiving module, configured to obtain binding reply information based on the binding request information when receiving the binding request information sent by the target gateway;
发送模块,用于将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息;A sending module, configured to send the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information;
锁定模块,用于在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作,以禁止所述目标网关接入互联网。A locking module, configured to perform a locking operation on the target gateway when the egress network address information does not meet a preset condition, so as to prohibit the target gateway from accessing the Internet.
此外,为实现上述目的,本申请还提出了一种服务器,所述服务器包括:存储器、处理器及存储在所述存储器上并在所述处理器上运行基于PON技术的网关的锁定程序,所述基于PON技术的网关的锁定程序被所述处理器执行时实现如上述任一项所述的基于PON技术的网关的锁定方法的步骤。In addition, in order to achieve the above object, the present application also proposes a server, the server includes: a memory, a processor, and a locking program stored in the memory and running on the processor based on the PON technology gateway, so When the locking program of the gateway based on PON technology is executed by the processor, the steps of the locking method of the gateway based on PON technology described in any one of the above are implemented.
此外,为实现上述目的,本申请还提出了一种存储介质,所述存储介质上存储有基于PON技术的网关的锁定程序,所述基于PON技术的网关的锁定程序被处理器执行时实现如上述任一项所述的基于PON技术的网关的锁定方法的步骤。In addition, in order to achieve the above purpose, the present application also proposes a storage medium, on which a locking program of a gateway based on PON technology is stored, and when the locking program of a gateway based on PON technology is executed by a processor, the following The steps of the locking method of the gateway based on PON technology described in any one of the above.
本申请技术方案提出了一种基于PON技术的网关的锁定方法,其中,用于服务器,所述服务器与所述目标网关通过PON技术连接,所述方法包括以下步骤:在接收到所述目标网关发送的绑定请求信息时,基于所述绑定请求信息,获得绑定回复信息;将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息;在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作,以禁止所述目标网关接入互联网。The technical solution of the present application proposes a gateway locking method based on PON technology, wherein, for a server, the server is connected to the target gateway through PON technology, and the method includes the following steps: after receiving the target gateway When sending the binding request information, obtain binding reply information based on the binding request information; send the binding reply information to the target gateway, so that the target gateway, based on the binding reply information, Returning the egress network address information; when the egress network address information does not meet the preset condition, perform a locking operation on the target gateway to prohibit the target gateway from accessing the Internet.
有益效果Beneficial effect
利用本申请的方法,服务器自动返回绑定回复信息,以使目标网关基于绑定回复信息,获得出口网络地址信息,并在出口网络地址信息不满足预设条件,确定出目标网关不符合要求,自动对目标网关进行锁定操作,以禁止所述目标网关接入互联网,并不需要用户手动锁定,大大减少了手动锁定时间,提高了锁定效率。Using the method of this application, the server automatically returns the binding reply information, so that the target gateway obtains the egress network address information based on the binding reply information, and when the egress network address information does not meet the preset conditions, it is determined that the target gateway does not meet the requirements, The target gateway is automatically locked to prohibit the target gateway from accessing the Internet without manual locking by the user, which greatly reduces the manual locking time and improves the locking efficiency.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to the structures shown in these drawings without creative effort.
图1为本申请实施例方案涉及的硬件运行环境的服务器结构示意图;Fig. 1 is a schematic diagram of the server structure of the hardware operating environment involved in the solution of the embodiment of the present application;
图2为本申请基于PON技术的网关的锁定方法第一实施例的流程示意图;Fig. 2 is a schematic flow chart of the first embodiment of the locking method of the gateway based on the PON technology of the present application;
图3为本申请基于PON技术的网关的锁定装置第一实施例的结构框图。FIG. 3 is a structural block diagram of a first embodiment of a locking device for a gateway based on the PON technology of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的实施方式Embodiments of the present invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
参照图1,图1为本申请实施例方案涉及的硬件运行环境的服务器结构示意图。Referring to FIG. 1 , FIG. 1 is a schematic diagram of the server structure of the hardware operating environment involved in the solution of the embodiment of the present application.
通常,服务器包括:至少一个处理器301、存储器302以及存储在所述存储器上并可在所述处理器上运行的基于PON技术的网关的锁定程序,所述基于PON技术的网关的锁定程序配置为实现如前所述的基于PON技术的网关的锁定方法的步骤。Generally, the server includes: at least one processor 301, a memory 302, and a locking program of a gateway based on PON technology that is stored on the memory and can run on the processor, and the locking program of the gateway based on PON technology configures Steps for realizing the locking method of the gateway based on the PON technology as described above.
处理器301可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器301可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器301也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(Central ProcessingUnit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器301可以在集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。处理器301还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关基于PON技术的网关的锁定方法操作,使得基于PON技术的网关的锁定方法模型可以自主训练学习,提高效率和准确度。The 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 can adopt at least one hardware form in digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) accomplish. The processor 301 may also include a main processor and a coprocessor, the main processor is a processor for processing data in the wake-up state, and is also called a central processing unit (Central Processing Unit, CPU); the coprocessor is used to Low-power processor for processing data in standby state. In some embodiments, the processor 301 can be integrated with a graphics processor (Graphics Processing Unit, GPU), the GPU is used to render and draw the content that needs to be displayed on the display screen. Processor 301 can also include artificial intelligence (Artificial Intelligence, AI) processor, this AI processor is used for processing the locking method operation about the gateway based on PON technology, makes the locking method model of the gateway based on PON technology can self-training learning, improves efficiency and accuracy.
存储器302可以包括一个或多个存储介质,该存储介质可以是非暂态的。存储器302还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器302中的非暂态的存储介质用于存储至少一个指令,该至少一个指令用于被处理器301所执行以实现本申请中方法实施例提供的基于PON技术的网关的锁定方法。Memory 302 may include one or more storage media, which may be non-transitory. The memory 302 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In some embodiments, the non-transitory storage medium in the memory 302 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 301 to implement the gateway based on PON technology provided by the method embodiments in this application the locking method.
在一些实施例中,终端还可选包括有:通信接口303和至少一个外围设备。处理器301、存储器302和通信接口303之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与通信接口303相连。具体地,外围设备包括:射频电路304、显示屏305和电源306中的至少一种。In some embodiments, the terminal may optionally further 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 through a bus or a signal line. Each peripheral device can be connected to the communication interface 303 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 304 , a display screen 305 and a power supply 306 .
通信接口303可被用于将输入/输出(Input/Output,I/O)相关的至少一个外围设备连接到处理器301和存储器302。在一些实施例中,处理器301、存储器302和通信接口303被集成在同一芯片或电路板上;在一些其他实施例中,处理器301、存储器302和通信接口303中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The communication interface 303 may be used to connect at least one peripheral device related to input/output (Input/Output, I/O) to the processor 301 and the memory 302 . In some embodiments, the processor 301, the memory 302 and the communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 301, the memory 302 and the communication interface 303 It can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
射频电路304用于接收和发射射频(Radio Frequency,RF)信号,也称电磁信号。射频电路304通过电磁信号与通信网络以及其他通信设备进行通信。射频电路304将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。在一实施例中,射频电路304包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路304可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或无线保真(Wireless Fidelity,WiFi)网络。在一些实施例中,射频电路304还可以包括近距离无线通信(Near Field Communication,NFC)有关的电路,本申请对此不加以限定。The radio frequency circuit 304 is used for receiving and transmitting radio frequency (Radio Frequency, RF) signal, also known as electromagnetic signal. The radio frequency circuit 304 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. In one embodiment, the radio frequency circuit 304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 304 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and/or a wireless fidelity (Wireless Fidelity, WiFi) network. In some embodiments, the radio frequency circuit 304 may also include circuits related to Near Field Communication (NFC), which is not limited in this application.
显示屏305用于显示用户界面(User Interface,UI)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏305是触摸显示屏时,显示屏305还具有采集在显示屏305的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器301进行处理。此时,显示屏305还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏305可以为一个,电子设备的前面板;在另一些实施例中,显示屏305可以为至少两个,分别设置在电子设备的不同表面或呈折叠设计;在再一些实施例中,显示屏305可以是柔性显示屏,设置在电子设备的弯曲表面上或折叠面上。甚至,显示屏305还可以设置成非矩形的不规则图形,也即异形屏。显示屏305可以采用液晶显示屏(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等材质制备。The display screen 305 is used to display the user interface (User Interface, UI). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to collect touch signals on or above the surface of the display screen 305 . The touch signal can be input to the processor 301 as a control signal for processing. At this time, the display screen 305 can also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards. In some embodiments, there can be one display screen 305, which is the front panel of the electronic device; in other embodiments, there can be at least two display screens 305, which are respectively arranged on different surfaces of the electronic device or in a folded design; In some embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even, the display screen 305 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. Display screen 305 can adopt liquid crystal display screen (LiquidCrystal Display, LCD), organic light emitting diode (Organic Light-Emitting Diode, OLED) and other materials.
电源306用于为电子设备中的各个组件进行供电。电源306可以是交流电、直流电、一次性电池或可充电电池。当电源306包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。The power supply 306 is used to supply power to various components in the electronic device. Power source 306 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 306 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
本领域技术人员可以理解,图1中示出的结构并不构成对服务器的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 is not limited to the server, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
此外,本申请实施例还提出一种存储介质,所述存储介质上存储有基于PON技术的网关的锁定程序,所述基于PON技术的网关的锁定程序被处理器执行时实现如上文所述的基于PON技术的网关的锁定方法的步骤。因此,这里将不再进行赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。对于本申请所涉及的存储介质实施例中未披露的技术细节,请参照本申请方法实施例的描述。确定为示例,程序指令可被部署为在一个服务器上执行,或者在位于一个地点的多个服务器上执行,又或者,在分布在多个地点且通过通信网络互连的多个服务器备上执行。In addition, the embodiment of the present application also proposes a storage medium, on which a locking program of a gateway based on PON technology is stored, and when the locking program of a gateway based on PON technology is executed by a processor, the above-mentioned The steps of the locking method of the gateway based on the PON technology. Therefore, details will not be repeated here. In addition, the description of the beneficial effect of adopting the same method will not be repeated here. For the technical details not disclosed in the storage medium embodiments involved in the present application, please refer to the description of the method embodiments of the present application. By way of example, program instructions may be deployed to execute on one server, or on multiple servers at one site, or, alternatively, on multiple servers distributed across multiple sites and interconnected by a communication network. .
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于一取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,上述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the method of the above-mentioned embodiments can be completed by instructing related hardware through a computer program. The above-mentioned program can be stored in a storage medium. When the program is executed, It may include the processes of the embodiments of the above-mentioned methods. Wherein, the above-mentioned storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random storage memory (Random AccessMemory, RAM), etc.
基于上述硬件结构,提出本申请基于PON技术的网关的锁定方法的实施例。Based on the above hardware structure, an embodiment of a locking method for a gateway based on the PON technology of the present application is proposed.
参照图2,图2为本申请基于PON技术的网关的锁定方法第一实施例的流程示意图,所述方法包括以下步骤:Referring to Fig. 2, Fig. 2 is a schematic flow chart of the first embodiment of the locking method of the gateway based on PON technology in the present application, and the method includes the following steps:
步骤S11:在接收到所述目标网关发送的绑定请求信息时,基于所述绑定请求信息,获得绑定回复信息。Step S11: Obtain binding reply information based on the binding request information when receiving the binding request information sent by the target gateway.
需要说明的是,本申请的执行主体是服务器,服务器安装有基于PON技术的网关的锁定程序,服务器执行基于PON技术的网关的锁定程序时,实现本申请的基于PON技术的网关的锁定方法的步骤。通常,所述服务器与所述目标网关通过PON技术连接,即,服务器与目标网关的连接方式为PON。It should be noted that the execution subject of the present application is a server, and the server is installed with a locking program of a gateway based on PON technology. When the server executes the locking program of a gateway based on PON technology, the locking method of a gateway based on PON technology of this application is realized step. Usually, the server and the target gateway are connected through PON technology, that is, the connection mode between the server and the target gateway is PON.
PON是一种采用点到多点(P2MP)结构的单纤双向光接入网络。PON系统由局端的光线路终端(OLT)、光分配网络(ODN)和用户侧的光网络单元(ONU)组成,为单纤双向系统。在下行方向(OLT到ONU),OLT发送的信号通过ODN到达各个ONU。在上行方向(ONU到OLT),ONU发送的信号只会到达OLT,而不会到达其他ONU。为了避免数据冲突并提高网络效率,上行方向采用TDMA多址接入方式,并对各ONU的数据发送进行管理。ODN在OLT和ONU间提供光通道。PON is a single-fiber bidirectional optical access network using a point-to-multipoint (P2MP) structure. The PON system consists of an optical line terminal (OLT) at the central office, an optical distribution network (ODN) and an optical network unit (ONU) at the user side, and is a single-fiber bidirectional system. In the downstream direction (OLT to ONU), the signal sent by the OLT reaches each ONU through the ODN. In the upstream direction (ONU to OLT), the signal sent by the ONU will only reach the OLT, but will not reach other ONUs. In order to avoid data conflicts and improve network efficiency, the uplink adopts TDMA multiple access mode, and manages the data transmission of each ONU. The ODN provides an optical channel between the OLT and the ONU.
目标网关即是待进行本申请的基于PON技术的网关的锁定方法的任意类型的网关,目标网关可以是多个目标网关,每个目标网关均按照本申请的方法进行基于PON技术的网关的锁定方法的步骤。目标网关可以直接与服务器连接,目标网关还可以通过多级网关接入服务器,例如,目标网关通过一级网关(一个私网)接入二级网关(又一个私网),二级网关与服务器连接(接入公网)。The target gateway is any type of gateway to be carried out in the locking method of the gateway based on PON technology of the present application, and the target gateway can be a plurality of target gateways, and each target gateway is locked based on the gateway of the PON technology according to the method of the present application method steps. The target gateway can be directly connected to the server, and the target gateway can also access the server through a multi-level gateway. Connect (connect to the public network).
在本申请中,服务器可以是网管运营系统(ACS/STUN Server),服务器和目标网关设备通过TR069协议连接,网关基于TR069协议中的TR111 STUN协议(rfc5389)识别出口网络地址信息(包括出口网络地址和对应的发送端口)。In this application, the server can be a network management operation system (ACS/STUN Server), the server and the target gateway device are connected through the TR069 protocol, and the gateway identifies the egress network address information (including the egress network address) based on the TR111 STUN protocol (rfc5389) in the TR069 protocol and the corresponding send port).
目标网关首先需要发送绑定请求信息,服务器接收绑定请求信息,然后根据绑定请求信息获得绑定回复信息。The target gateway first 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: obtaining sending network address information corresponding to the binding request information; obtaining the binding to reply to the message. Wherein, the binding reply information includes sending network address information, and the binding reply information may also include server network address information of the server.
在本申请中,发送网络地址信息包括发送网络地址和对应的发送端口,服务器网络地址信息包括服务器网络地址和对应的发送端口。发送网络地址信息即指将绑定请求信息发送至服务器的出口网络地址信息。In this application, the sending network address information includes the sending network address and the corresponding sending port, and the server network address information includes the server network address and the corresponding sending port. Sending the network address information refers to sending the binding request information to the egress network address information of the server.
当目标网关可以直接与服务器连接,发送网络地址信息即是目标网关自己的网络地址信息——文中的目标网络地址信息(出口网络地址信息即为目标网关自己的信息),当目标网关还可以通过多级网关接入服务器时,发送网络地址信息即是最后一级接入服务器的接入网关的网络地址信息。其中接入网关则是指多级网关中,最后一个接入公网(与服务器连接)的网关。When the target gateway can directly connect to the server, the sending network address information is the target gateway’s own network address information—the target network address information in the text (the export network address information is the target gateway’s own information), when the target gateway can also pass When multi-level gateways access the server, the sending network address information is the network address information of the access gateway accessing the server at the last level. The access gateway refers to the last gateway that accesses the public network (connected to the server) among the multi-level gateways.
步骤S12:将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息。Step S12: Send the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information.
基于上文内容,目标网关实际是基于绑定回复信息中的服务器网络地址信息和发送网络地址信息,获得出口网络地址信息。Based on the above content, the target gateway actually obtains the egress network address information based on the server network address information and the sending network address information in the binding reply information.
具体的,将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息的步骤,包括:将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并基于所述地址信息转换标识,返回所述出口网络地址信息。Specifically, the step of sending the binding reply information to the target gateway so that the target gateway returns egress network address information based on the binding reply information includes: 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, and obtains an address information conversion identifier according to 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 conversion identifier.
其中,所述将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并基于所述地址信息转换标识,返回所述出口网络地址信息的步骤,包括:将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并在所述地址信息转换标识为第一预设值时,将所述目标网络地址信息确定为所述出口网络地址信息,返回所述出口网络地址信息;或,将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并在所述地址信息转换标识为第二预设值时,将所述发送网络地址信息确定为所述出口网络地址信息,返回所述出口网络地址信息。出口网络地址信息包括出口网络地址和对应的发送端口。Wherein, the 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, and according to the target network address information of the target gateway and the step of sending the network address information, obtaining the address information conversion identifier, and returning the egress network address information based on the address information conversion identifier, comprising: sending the binding reply information to the target gateway to make the target gateway obtain the sending network address information based on the binding reply information, obtain an address information conversion identifier according to the target network address information of the target gateway and the sending network address information, and When the information conversion flag is the first preset value, determine the target network address information as the egress network address information, and return the egress network address information; or, send 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 When the address information conversion flag is the second preset value, determine the sending network address information as the egress network address information, and return the egress network address information. The egress network address information includes the egress network address and the corresponding sending port.
在本申请中第一预设值为0,第二预设值为1,当发送网络地址信息与目标网络地址信息相同时,即表明目标网关直接接入公网——与服务器直接连接,目标网关的网络地址信息(目标网络地址信息)即为出口网络地址信息,对应的地址转换标识为0,表示目标网关的网络地址信息并未经过地址转换操作——Nat技术修改网络地址。In this application, the first default value is 0, and the second default value is 1. When the sending network address information is the same as the target network address information, it means that the target gateway is directly connected to the public network—directly connected to the server, and the target The network address information of the gateway (target network address information) is the egress network address information, and the corresponding address translation flag is 0, indicating that the network address information of the target gateway has not undergone address translation operations—Nat technology modifies the network address.
当发送网络地址信息与目标网络地址信息不相同时,即表明目标网关不是直接接入公网——与服务器通过其他接入网关连接,目标网关的网络地址信息(目标网络地址信息)即不是出口网络地址信息,那么此时接入网关的发送网络地址信息即确为出口网络地址信息。对应的地址转换标识为1,表示目标网关的网络地址信息经过地址转换操作。When the sending network address information is not the same as the target network address information, it means that the target gateway is not directly connected to the public network—connected to the server through other access gateways, and the network address information of the target gateway (target network address information) is not the exit If there is no network address information, then the sending network address information of the access gateway at this time is indeed the egress network address information. The corresponding address translation flag is 1, indicating that the network address information of the target gateway has undergone an address translation operation.
步骤S13:在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作,以禁止所述目标网关接入互联网。Step S13: When the egress network address information does not meet the preset condition, perform a locking operation on the target gateway to prohibit the target gateway from accessing the Internet.
其中,在本申请中,所述预设条件包括:预设合法网络地址信息集中存在与所述出口网络地址信息匹配的合法网络地址信息。不同的运营商的服务器,可以设置不同的多个合法网络地址信息,多个合法网络地址信息汇总的集合即为预设合法网络地址信息集。合法网络地址信息包括合法网络地址和对应的发送端口。Wherein, in this application, the preset condition includes: legal network address information matching the egress network address information exists in the preset legal network address information set. The servers of different operators may be set with multiple legal network address information, and the aggregated set of multiple legal network address information is the preset legal network address information set. The legal network address information includes a legal network address and a corresponding sending port.
当预设合法网络地址信息集中存在与所述出口网络地址信息匹配的合法网络地址信息,表示出口网络地址信息是属于服务器允许的网络地址信息,则出口网络地址信息满足预设条件,不需要进行目标网关进行锁定操作。When there is legal network address information matching the egress network address information in the preset legal network address information set, it means that the egress network address information belongs to the network address information allowed by the server, and the egress network address information satisfies the preset condition and no further processing is required. The target gateway performs a lock operation.
当预设合法网络地址信息集中不存在与所述出口网络地址信息匹配的合法网络地址信息,表示出口网络地址信息是不属于服务器允许的网络地址信息,则出口网络地址信息不满足预设条件,需要进行目标网关进行锁定操作,以禁止所述目标网关接入互联网。When there is no legal network address information matching the egress network address information in the preset legal network address information set, it means that the egress network address information does not belong to the network address information allowed by the server, and the egress network address information does not meet the preset condition, The target gateway needs to be locked to prevent the target gateway from accessing the Internet.
通常,一个运营商的服务器设置的预设合法网络地址信息集中包括该运营商自己的合法网络地址信息,不包括其他运营商的合法网络地址信息。Usually, the preset legal network address information set by an operator's server includes the operator's own legal network address information, and does not include other operators' legal network address information.
为了适应最普遍的NAT网关,服务器对目标网关进行锁定操作和解锁操作时,使用的控制端口和控制地址可以与服务器和目标网关的通信使用通信地址和通信端口相同。In order to adapt to the most common NAT gateway, when the server performs locking and unlocking operations on the target gateway, the control port and control address used may be the same as the communication address and communication port used for communication between the server and the target gateway.
在一些实施例中,所述在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作的步骤,包括:在所述出口网络地址信息不满足预设条件时,获取所述目标网关的目标标识;若所述目标标识与预设标识不匹配,则对所述目标网关进行锁定操作。In some embodiments, the step of locking the target gateway when the egress network address information does not meet the preset condition includes: obtaining the The target identifier of the target gateway; if the target identifier does not match the preset identifier, the target gateway is locked.
对于不满足预设条件的网关,有些可能是允许其使用的,则对其设定预设标识,并将预设标识存于服务器,以使服务器获取目标网关的目标标识,在目标标识与预设标识匹配(一般是指标识相同)时,表示目标网关的出口网络地址信息虽然不满足预设条件,但是依旧允许其进行网络业务,不需要锁定操作。For some gateways that do not meet the preset conditions, some of them may be allowed to be used, then set a preset identifier for it, and store the preset identifier in the server, so that the server can obtain the target identifier of the target gateway. When the ID matches (generally refers to the same ID), it means that although the egress network address information of the target gateway does not meet the preset conditions, it is still allowed to perform network services, and no locking operation is required.
若目标标识与预设标识匹配,表示目标网关的出口网络地址信息虽然不满足预设条件,不再允许其进行网络业务。If the target identifier matches the preset identifier, it means that although the egress network address information of the target gateway does not meet the preset condition, it is no longer allowed to conduct network services.
其中,具体锁定操作如下:Among them, the specific locking operation is as follows:
不满足预设条件的出口网络地址,对应的目标网关可以自动或手动禁止全部(也可以部分)网络业务;满足预设条件的出口网络地址,对应的目标网关可以自动或手动禁止全部(也可以部分)网络业务。For egress network addresses that do not meet the preset conditions, the corresponding target gateway can automatically or manually ban all (or part of) network services; for egress network addresses that meet the preset conditions, the corresponding target gateway can automatically or manually ban all (or part of) network services. part) network business.
针对于已经锁定的目标网关,所述在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作的步骤之后,所述方法还包括:接收针对所述目标网关的解锁指令;根据所述解锁指令,对所述目标网关进行解锁操作,以允许所述目标网关接入互联网。For the locked target gateway, after the step of locking the target gateway when the egress network address information does not meet the preset condition, the method further includes: receiving an unlocking action for the target gateway An instruction; according to the unlocking instruction, perform an unlocking operation on the target gateway, so as to allow the target gateway to access the Internet.
可以基于用户的解锁指令,对目标网关进行全部网络业务或部分网络业务的解锁操作。Based on the user's unlocking instruction, an unlocking operation of all or part of the network services may be performed on the target gateway.
本申请技术方案提出了一种基于PON技术的网关的锁定方法,其中,用于服务器,所述服务器与所述目标网关通过PON技术连接,所述方法包括以下步骤:在接收到所述目标网关发送的绑定请求信息时,基于所述绑定请求信息,获得绑定回复信息;将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息;在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作,以禁止所述目标网关接入互联网。The technical solution of the present application proposes a gateway locking method based on PON technology, wherein, for a server, the server is connected to the target gateway through PON technology, and the method includes the following steps: after receiving the target gateway When sending the binding request information, obtain binding reply information based on the binding request information; send the binding reply information to the target gateway, so that the target gateway, based on the binding reply information, Returning the egress network address information; when the egress network address information does not meet the preset condition, perform a locking operation on the target gateway to prohibit the target gateway from accessing the Internet.
利用本申请的方法,服务器自动返回绑定回复信息,以使目标网关基于绑定回复信息,获得出口网络地址信息,并在出口网络地址信息不满足预设条件,确定出目标网关不符合要求,自动对目标网关进行锁定操作,以禁止所述目标网关接入互联网,并不需要用户手动锁定,大大减少了手动锁定时间,提高了锁定效率。Using the method of this application, the server automatically returns the binding reply information, so that the target gateway obtains the egress network address information based on the binding reply information, and when the egress network address information does not meet the preset conditions, it is determined that the target gateway does not meet the requirements, The target gateway is automatically locked to prohibit the target gateway from accessing the Internet without manual locking by the user, which greatly reduces the manual locking time and improves the locking efficiency.
参照图3,图3为本申请基于PON技术的网关的锁定装置第一实施例的结构框图,所述装置用于服务器,基于与前述实施例相同的发明构思,所述装置包括:Referring to Fig. 3, Fig. 3 is a structural block diagram of the first embodiment of the locking device of the gateway based on PON technology in the present application, the device is used for the server, based on the same inventive concept as the previous embodiment, the device includes:
读取模块10,用于读取第一消息队列的目标调度消息;A reading module 10, configured to read the target scheduling message of the first message queue;
判断模块20,用于判断配置后的所述调度服务实例的服务状态;其中,所述调度服务实例的服务状态通过接收第二消息队列广播的服务状态信息进行配置;The judging module 20 is configured to judge the configured service state of the dispatching service instance; wherein, the service state of the dispatching service instance is configured by receiving service state information broadcast by the second message queue;
确定模块30,用于若所述服务状态为服务已开启,则在本地存储器中确定出与所述目标调度消息对应的用于执行调度任务的选定执行脚本。The determining module 30 is configured to determine, in the local storage, a selected execution script corresponding to the target scheduling message for executing the scheduled task if the service status is service enabled.
需要说明的是,由于本实施例的装置所执行的步骤与前述方法实施例的步骤相同,其具体的实施方式以及可以达到的技术效果都可参照前述实施例,这里不再赘述。It should be noted that since the steps performed by the device in this embodiment are the same as those in the foregoing method embodiments, the specific implementation manners and achievable technical effects can refer to the foregoing embodiments, and will not be repeated here.
以上所述仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是在本申请的发明构思下,利用本申请说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本申请的专利保护范围内。The above are only optional embodiments of the present application, and are not intended to limit the patent scope of the present application. Under the inventive concept of the present application, the equivalent structural transformations made by using the description of the application and the contents of the accompanying drawings, or direct/indirect Applications in other relevant technical fields are included in the patent protection scope of the present application.

Claims (15)

  1. 一种基于PON技术的网关的锁定方法,其中,用于服务器,所述服务器与所述目标网关通过PON技术连接,所述方法包括以下步骤:A method for locking a gateway based on PON technology, wherein, for a server, the server is connected to the target gateway through PON technology, and the method includes the following steps:
    在接收到所述目标网关发送的绑定请求信息时,基于所述绑定请求信息,获得绑定回复信息;Obtain binding reply information based on the binding request information when receiving the binding request information sent by the target gateway;
    将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息;sending the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information;
    在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作,以禁止所述目标网关接入互联网。When the egress network address information does not meet the preset condition, a locking operation is performed on the target gateway to prohibit the target gateway from accessing the Internet.
  2. 如权利要求1所述的方法,其中,所述绑定回复信息包括发送网络地址信息和服务器网络地址信息。The method according to claim 1, wherein the binding reply information includes sending network address information and server network address information.
  3. 如权利要求2所述的方法,其中,所述发送网络地址信息发送网络地址信息指将绑定请求信息发送至服务器的出口网络地址信息。The method according to claim 2, wherein the sending network address information of the sending network address information refers to the egress network address information of sending the binding request information to the server.
  4. 如权利要求2所述的方法,其中,所述服务器网络地址信息包括服务器网络地址和对应的发送端口。The method according to claim 2, wherein the server network address information includes a server network address and a corresponding sending port.
  5. 如权利要求1所述的方法,其中,所述基于所述绑定请求信息,获得绑定回复信息的步骤,包括:The method according to claim 1, wherein said step of obtaining binding reply information based on said binding request information comprises:
    获取与所述绑定请求信息对应的发送网络地址信息;Acquiring sending network address information corresponding to the binding request information;
    根据所述发送网络地址信息,获得所述绑定回复信息。Obtain the binding reply information according to the sending network address information.
  6. 如权利要求5所述的方法,其中,将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息的步骤,包括:The method according to claim 5, wherein the step of sending the binding reply information to the target gateway, so that the target gateway returns the egress network address information based on the binding reply information, comprises:
    将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并基于所述地址信息转换标识,返回所述出口网络地址信息。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, and according to the target network address information of the target gateway and the sending The network address information is obtained by obtaining an address information conversion identifier, and returning the egress network address information based on the address information conversion identifier.
  7. 如权利要求6所述的方法,其中,所述将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并基于所述地址信息转换标识,返回所述出口网络地址信息的步骤,包括:The method according to claim 6, wherein the 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, according to The step of obtaining the address information conversion identifier from the target network address information of the target gateway and the sending network address information, and returning the egress network address information based on the address information conversion identifier, includes:
    将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,获得所述发送网络地址信息,根据所述目标网关的目标网络地址信息和所述发送网络地址信息,获得地址信息转换标识,并在所述地址信息转换标识为第一预设值时,将所述目标网络地址信息确定为所述出口网络地址信息,返回所述出口网络地址信息;或,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, and according to the target network address information of the target gateway and the sending For network address information, obtain an address information conversion identifier, and when the address information conversion identifier is a first preset value, determine the target network address information as the egress network address information, and return the egress network address information; 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, and according to the target network address information of the target gateway and the sending For network address information, obtain an address information conversion identifier, and when the address information conversion identifier is a second preset value, determine the sending network address information as the egress network address information, and return the egress network address information.
  8. 如权利要求1所述的方法,其中,所述在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作的步骤,包括:The method according to claim 1, wherein the step of locking the target gateway when the egress network address information does not meet a preset condition includes:
    在所述出口网络地址信息不满足预设条件时,获取所述目标网关的目标标识;Acquiring the target identifier of the target gateway when the egress network address information does not meet the preset condition;
    若所述目标标识与预设标识不匹配,则对所述目标网关进行锁定操作。If the target identifier does not match the preset identifier, a locking operation is performed on the target gateway.
  9. 如权利要求1所述的方法,其中,所述在所述出口网络地址信息满足预设条件时,对所述目标网关进行锁定操作的步骤,包括:The method according to claim 1, wherein the step of locking the target gateway when the egress network address information satisfies a preset condition comprises:
    允许所述目标网关接入互联网。Allow the target gateway to access the Internet.
  10. 如权利要求1所述的方法,其中,所述在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作的步骤之后,所述方法还包括:The method according to claim 1, wherein, after the step of locking the target gateway when the egress network address information does not meet the preset conditions, the method further comprises:
    接收针对所述目标网关的解锁指令;receiving an unlocking instruction for the target gateway;
    根据所述解锁指令,对所述目标网关进行解锁操作,以允许所述目标网关接入互联网。According to the unlocking instruction, an unlocking operation is performed on the target gateway to allow the target gateway to access the Internet.
  11. 如权利要求1所述的方法,其中,所述接入网关则是指多级网关中,最后一个与服务器连接的网关。The method according to claim 1, wherein the access gateway refers to the last gateway connected to the server among the multi-level gateways.
  12. 如权利要求1-11任一项所述的方法,其中,所述预设条件包括:The method according to any one of claims 1-11, wherein the preset conditions include:
    预设合法网络地址信息集中存在与所述出口网络地址信息匹配的合法网络地址信息。Legal network address information matching the egress network address information exists in the preset legal network address information set.
  13. 一种基于PON技术的网关的锁定装置,其中,用于服务器,所述服务器与所述目标网关通过PON技术连接,所述装置包括:A locking device for a gateway based on PON technology, wherein, for a server, the server is connected to the target gateway through PON technology, and the device includes:
    接收模块,用于在接收到所述目标网关发送的绑定请求信息时,基于所述绑定请求信息,获得绑定回复信息;A receiving module, configured to obtain binding reply information based on the binding request information when receiving the binding request information sent by the target gateway;
    发送模块,用于将所述绑定回复信息发送至所述目标网关,以使所述目标网关基于所述绑定回复信息,返回出口网络地址信息;A sending module, configured to send the binding reply information to the target gateway, so that the target gateway returns egress network address information based on the binding reply information;
    锁定模块,用于在所述出口网络地址信息不满足预设条件时,对所述目标网关进行锁定操作,以禁止所述目标网关接入互联网。A locking module, configured to perform a locking operation on the target gateway when the egress network address information does not meet a preset condition, so as to prohibit the target gateway from accessing the Internet.
  14. 一种服务器,其中,所述服务器包括:存储器、处理器及存储在所述存储器上并在所述处理器上运行基于PON技术的网关的锁定程序,所述基于PON技术的网关的锁定程序被所述处理器执行时实现如权利要求1至12中任一项所述的基于PON技术的网关的锁定方法的步骤。A server, wherein the server includes: a memory, a processor, and a locking program of a gateway based on PON technology that is stored on the memory and runs on the processor, and the locking program of the gateway based on PON technology is controlled by The processor executes the steps to realize the locking method of the PON technology-based gateway according to any one of claims 1 to 12.
  15. 一种存储介质,其中,所述存储介质上存储有基于PON技术的网关的锁定程序,所述基于PON技术的网关的锁定程序被处理器执行时实现如权利要求1至12中任一项所述的基于PON技术的网关的锁定方法的步骤。A storage medium, wherein a locking program of a gateway based on PON technology is stored on the storage medium, and when the locking program of a gateway based on PON technology is executed by a processor, it is implemented as described in any one of claims 1 to 12 The steps of the locking method of the gateway based on the PON technology described above.
PCT/CN2022/136999 2021-12-21 2022-12-06 Gateway locking method and apparatus based on pon technology, and server and medium WO2023116424A1 (en)

Applications Claiming Priority (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
CN202111576336.9 2021-12-21

Publications (1)

Publication Number Publication Date
WO2023116424A1 true WO2023116424A1 (en) 2023-06-29

Family

ID=80873794

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/136999 WO2023116424A1 (en) 2021-12-21 2022-12-06 Gateway locking method and apparatus based on pon technology, and 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110731A (en) * 2007-06-20 2008-01-23 中兴通讯股份有限公司 Method and apparatus for preventing network intermedium from accessing into control address
CN101820383A (en) * 2010-01-27 2010-09-01 中兴通讯股份有限公司 Method and device for restricting remote access of switcher
CN103078827A (en) * 2011-10-25 2013-05-01 腾讯数码(天津)有限公司 Open platform system called by third-party applications and implementation method for open platform system
CN114286420A (en) * 2021-12-21 2022-04-05 深圳创维数字技术有限公司 Gateway locking method, device, server and medium based on PON technology

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267304B (en) * 2007-03-13 2010-09-08 华为技术有限公司 A network access privilege control method, device and system
US20080232804A1 (en) * 2007-03-19 2008-09-25 Luc Absillis Pon with protected cross-connect forwarding
CN101860771B (en) * 2010-06-02 2014-06-11 中兴通讯股份有限公司 Home gateway identifying and networking method and system
CN102025769B (en) * 2010-09-10 2013-07-17 香港城市大学深圳研究院 Access method of distributed internet
CN102571353B (en) * 2012-01-09 2015-07-29 深圳市共进电子股份有限公司 The method of 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
CN105516064B (en) * 2014-09-26 2018-11-02 中国移动通信集团浙江有限公司 A kind of dialing equipment bandwidth cut-in method, device and server
WO2017088101A1 (en) * 2015-11-23 2017-06-01 华为技术有限公司 Network access information acquiring method, and router
CN107104872B (en) * 2016-02-23 2020-11-03 华为技术有限公司 Access control method, device and system
CN107920004B (en) * 2016-10-11 2022-07-08 中兴通讯股份有限公司 Network connection method, device and system of gateway
CN107959654B (en) * 2016-10-14 2020-09-25 北京金山云网络技术有限公司 Data transmission method and device and mixed cloud system
CN110061993B (en) * 2019-04-23 2022-06-24 新华三技术有限公司 Log generation method and device containing public network exit address and access equipment
CN113038594B (en) * 2021-04-14 2023-04-07 深圳市共进电子股份有限公司 Network management registration method and device for MESH extended equipment
CN113595891B (en) * 2021-08-18 2022-11-25 北京金山云网络技术有限公司 Data communication method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110731A (en) * 2007-06-20 2008-01-23 中兴通讯股份有限公司 Method and apparatus for preventing network intermedium from accessing into control address
CN101820383A (en) * 2010-01-27 2010-09-01 中兴通讯股份有限公司 Method and device for restricting remote access of switcher
CN103078827A (en) * 2011-10-25 2013-05-01 腾讯数码(天津)有限公司 Open platform system called by third-party applications and implementation method for open platform system
CN114286420A (en) * 2021-12-21 2022-04-05 深圳创维数字技术有限公司 Gateway locking method, device, server and medium based on PON technology

Also Published As

Publication number Publication date
CN114286420A (en) 2022-04-05
CN114286420B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
US8743894B2 (en) Bridge port between hardware LAN and virtual switch
US20200228355A1 (en) Traffic Statistics Collection Method and Device Thereof
CN112436985A (en) Network distribution method, device, terminal equipment and storage medium
CN112579048B (en) Applet integration method, device, electronic equipment and storage medium
US20210316745A1 (en) Vehicle-based voice processing method, voice processor, and vehicle-mounted processor
CN109428839B (en) CDN scheduling method, device and system
CN106445609A (en) Automatic updating method of application program and mobile terminal
WO2023116424A1 (en) Gateway locking method and apparatus based on pon technology, and server and medium
CN110381489A (en) Bluetooth connecting method, display terminal and television set
CN106330573A (en) Method for automatically corresponding terminals and templates based on FTTH
CN113849271B (en) Cloud desktop display method, device, equipment, system and storage medium
CN113014452A (en) Network flow testing method, device, testing end and storage medium
CN103220359A (en) Management system and management method for desktop all-in-one machine
CN104426960A (en) Paid application trying method and device thereof
CN112612526B (en) Application program control method, device, terminal equipment and storage medium
CN112689172A (en) Program playing method and device, set top box and storage medium
CN111600787B (en) Information processing method, information processing apparatus, electronic device, and medium
CN203504758U (en) Low-power intelligent mobile terminal based on cloud calculation
CN116243988A (en) Intelligent network card control method and device, electronic equipment and storage medium
WO2022127546A1 (en) Gateway service processing method, gateway, receiving terminal, gateway service processing system, and storage medium
CN203552257U (en) Information query and release system
KR102163111B1 (en) Method for providing push service using application and apparatus thereof
WO2022268012A1 (en) Resource processing method and apparatus, electronic device, and storage medium
CN214101473U (en) Wireless network access device and network telephone system
CN110049068A (en) A kind of method and apparatus of the Chief Web Officer connection optimization based on hypertext transfer protocol

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22909739

Country of ref document: EP

Kind code of ref document: A1