Optical transport network service activating method, electronic device, and system

By automatically generating the service parameters of the optical transport network service and using the knowledge graph to determine the target port of the target CPE, the problem of long optical transport network service activation cycle and low efficiency is solved, and efficient and accurate optical transport network service activation is achieved.

WO2024198765A1PCT designated stage expired Publication Date: 2024-10-03HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/077613
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-02-19
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

The activation cycle of optical transport network services is long, the activation efficiency is low and error-prone. This is mainly due to the reliance on manual configuration and the complexity of multiple parameters, resulting in errors and waste of resources.

Method used

Use automated methods to generate service parameters for optical transport network services, including service type, port rate, and port signal type. Use the knowledge graph to determine the target port of the target CPE to automatically determine the device port and reduce manual intervention and errors.

Benefits of technology

It shortens the activation time of optical transport network services, improves activation efficiency, avoids manual errors, saves resources, and achieves efficient use of optical modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024077613_03102024_PF_FP_ABST
    Figure CN2024077613_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide an optical transport network service activating method, an electronic device, and a system, applicable to a server. The method comprises: acquiring a target service type, a target port rate and a target port signal type of an optical transport network service; and according to association relationships between a service type, a port rate and a port signal type and a customer premise equipment (CPE), determining a target port of a target CPE, the target port of the target CPE supporting the target service type, the target port rate and the target port signal type, and the target port of the target CPE being used for building an optical path of the optical transport network service. According to the method, an equipment port corresponding to the optical transport network service does not need to be manually configured, thereby effectively reducing a service activation duration.
Need to check novelty before this filing date? Find Prior Art

Description

Method, electronic device and system for opening optical transmission network service

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 30, 2023, with application number 202310353251.7, and priority to the Chinese patent application entitled “A method, electronic device and system for activating optical transport network services”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a method, electronic equipment, and system for activating an optical transport network service. Background Art

[0003] In recent years, with the digitalization and internet-based transformation of various industries, demand for dedicated line services on Optical Transport Networks (OTNs) has grown rapidly. The number of dedicated line circuits has been growing at an annual rate of over 10%, and the number and bandwidth of dedicated line circuits are expected to continue to grow rapidly in the coming years.

[0004] Currently, service configuration in optical transport networks (OTNs) relies primarily on manual labor, and is complex, involving configuration of multiple parameters such as service type, equipment, and ports. This results in long service provisioning cycles, low provisioning efficiency, and the risk of errors.

[0005] Summary of the Invention

[0006] The present invention discloses a method, electronic device, and system for provisioning an optical transport network (OTN) service. By implementing these embodiments, the electronic device can automatically generate service parameters for the OTN service. These service parameters may include the service type, port rate, port signal type, and the port number of the customer premises equipment (CPE). These service parameters are used to provision the OTN service. This method eliminates the need for manual service configuration and can effectively shorten service provisioning time.

[0007] In a first aspect, an embodiment of the present application discloses a method for activating an optical transport network service, which is applied to a server. The method includes:

[0008] Obtaining a target service type, a target port rate, and a target port signal type for an optical transport network service;

[0009] The target port of the target CPE is determined based on the association between the service type, port rate, port signal type and the customer terminal equipment CPE; the target port of the target CPE supports the target service type, target port rate and target port signal type; the target port of the target CPE is used to establish an optical path for the optical transport network service.

[0010] In implementing the embodiment of the present application, the server determines the port of the CPE device that supports the target service type, target port rate and target port signal type as the target port of the target CPE based on the association between the service type, port rate, port signal type and the customer terminal equipment CPE.

[0011] The method determines the target port through the above-mentioned association relationship, and does not require staff to determine the CPE port required for opening the optical transport network service based on experience. It realizes the automatic determination of the device port, avoids manual errors, and improves the efficiency of opening the optical transport network service.

[0012] In combination with the first aspect, in one possible implementation, the association relationship includes the association relationship of the target CPE, and the association relationship of the target CPE includes at least one board on the target CPE, at least one port on at least one board, and the service type, port rate and port signal type supported by at least one port, and at least one port includes the target port.

[0013] By implementing the embodiments of the present application, a server can obtain board information (e.g., at least one board on a target CPE), port information on the board (e.g., at least one port on at least one board on the target CPE), and port information on the CPE boards, including the service types, port rates, and port signal types supported by the ports. By obtaining this associated information, this method avoids reliance on operator experience and reduces errors.

[0014] In combination with the first aspect, in a possible implementation, the target port of the target CPE includes a device identifier of the target CPE, location information of the target port on a target board of the target CPE, and location information of the target board on the target CPE.

[0015] In an embodiment of the present application, the above-mentioned association relationship may also include the positional relationship between the device, the board and the port, so as to determine the specific location of the target port. The specific location may be the device identification of the target CPE, the location information of the target port on the target board of the target CPE, and the location information of the target board on the target CPE.

[0016] In conjunction with the first aspect, in one possible implementation, determining a target port of a target CPE based on an association between a service type, a port rate, a port signal type, and a customer premises equipment (CPE) includes:

[0017] Based on the association relationship, a knowledge graph is generated. The knowledge graph includes a single board, a port, a device, a first relationship edge, and a second relationship edge. The first relationship edge is used to indicate the association relationship between the CPE and the single board, and the second relationship edge is used to indicate the association relationship between the single board and the port, as well as the service type, port rate, and port signal type supported by the port on the single board.

[0018] Searching the knowledge graph for a second relationship edge that supports the target service type, the target port rate, and the target port signal type;

[0019] Determine the target board and target port based on the found second relationship edge;

[0020] The target CPE is determined based on the first relationship edge corresponding to the target board.

[0021] By implementing the embodiments of the present application and representing the association relationship through the knowledge graph, the association relationship between the service type, port rate, port signal type and the customer terminal equipment CPE can be more clearly presented, which can effectively improve the processing efficiency.

[0022] In conjunction with the first aspect, in one possible implementation, obtaining a target service type, a target port rate, and a target port signal type of an optical transport network service includes:

[0023] Obtain the service intent of the optical transport network service, which includes the source address, sink address, and target bandwidth;

[0024] According to the service intent, the target service type, target port rate and target port signal type are determined.

[0025] By implementing the embodiments of the present application, the target service type, target port rate, and target port signal type of the optical transport network service can be determined based on the service intent of the optical transport network service.

[0026] Through this method, the target service type, target port rate and target port signal type of the time transport network service that meets the service intention can be automatically determined without manual determination. This can improve the degree of automation of service activation, avoid human errors and improve determination efficiency.

[0027] In conjunction with the first aspect, in one possible implementation, determining the target service type, the target port rate, and the target port signal type includes:

[0028] Determine the target service type based on the target distance and target bandwidth between the source address and the sink address; the target service type's optical transport network service supports the target distance and target bandwidth;

[0029] According to the target bandwidth, a target port rate is determined from the port rates supported by the target service type; the target port rate supports the target bandwidth;

[0030] The target port signal type is determined from the port types supported by the target service type.

[0031] In conjunction with the first aspect, in one possible implementation, determining the target service type includes:

[0032] Obtain the service types that support the target distance and bandwidth;

[0033] Based on the price and stability of the business type, the target business type is determined from the acquired business types.

[0034] In conclusion of the first aspect, in a possible implementation, obtaining a service intent of an optical transport network service includes: receiving an acquisition request sent by a terminal device, the acquisition request including the service intent of the optical transport network service;

[0035] After determining the target port of the target customer terminal equipment CPE, the method further includes: sending a response message to the terminal equipment, the response message including the target port of the target CPE; and the terminal equipment is used to display the target port of the target CPE.

[0036] In combination with the first aspect, in a possible implementation, the response message further includes a target service type, a target port rate, and a target port signal type.

[0037] In combination with the first aspect, in one possible implementation, the target CPE includes a source device and / or a sink device, the target port of the target CPE includes a port of the source device and / or a port of the sink device, and the source device and the sink device are devices at both ends of the optical path of the optical transport network service.

[0038] In a possible implementation, the server may be a Network Cloud Engine (NCE).

[0039] In a second aspect, an embodiment of the present application discloses a method for activating an optical transport network service, which is applied to a server. The method includes:

[0040] Obtain the service intent of the optical transport network service, which includes the source address, sink address, and target bandwidth;

[0041] According to the service intent, the target service type, target port rate and target port signal type of the optical transport network service are determined.

[0042] By implementing the embodiments of the present application, the target service type, target port rate, and target port signal type of the optical transport network service can be determined based on the service intent of the optical transport network service.

[0043] Through this method, the target service type, target port rate and target port signal type of the time transport network service that meets the service intention can be automatically determined without manual determination. This can improve the degree of automation of service activation, avoid human errors and improve determination efficiency.

[0044] In conjunction with the second aspect, in one possible implementation, determining a target service type, a target port rate, and a target port signal type of an optical transport network service includes:

[0045] Determine the target service type based on the target distance and target bandwidth between the source address and the sink address; the target service type's optical transport network service supports the target distance and target bandwidth;

[0046] According to the target bandwidth, a target port rate is determined from the port rates supported by the target service type; the target port rate supports the target bandwidth;

[0047] The target port signal type is determined from the port types supported by the target service type.

[0048] In implementing the embodiments of the present application, the target service type is determined by the correspondence between the distance, bandwidth and service type between the source address and the destination address; the target service type is determined by the correspondence between the bandwidth, service type and port rate; and the target port signal type is determined by the correspondence between the port type and the service type.

[0049] Through this method, the target service type, target port rate and target port signal type of the time transport network service that meets the service intention can be automatically determined without manual determination. This can improve the degree of automation of service activation, avoid human errors and improve determination efficiency.

[0050] In conjunction with the second aspect, in one possible implementation, determining the target service type includes:

[0051] Obtain the service types that support the target distance and bandwidth;

[0052] Based on the price and stability of the business type, the target business type is determined from the acquired business types.

[0053] In a possible implementation, the server may be an NCE.

[0054] In a third aspect, an embodiment of the present application discloses a method for activating an optical transport network service, which is applied to a terminal device. The method includes:

[0055] Display work orders, which include the service intent of the optical transport network service; the service intent includes the source address, sink address, and target bandwidth;

[0056] In response to a user operation on a work order, a request is sent to the server, the request including a service intent; the service intent is used by the server to determine service parameters of an optical transport network service;

[0057] Receive a response message sent by the server, the response message including service parameters;

[0058] A schematic diagram showing service parameters and / or service parameter generation, where the service parameters are used to activate optical transport network services.

[0059] By implementing the embodiments of the present application, the service parameters for activating the optical transport network service can be determined based on the service intent of the optical transport network service.

[0060] This method automatically determines the service parameters for the TTN service required to meet the service intent, eliminating the need for manual determination. This improves the automation level of service provisioning, avoids human error, and increases determination efficiency. This method reduces the error rate of manual port selection and eliminates automation gaps, helping operators achieve same-day installation and service availability for dedicated line services.

[0061] In conjunction with the third aspect, in one possible implementation, the service parameter includes at least one of the following: a target service type of the optical transport network service, a target port rate, a target port signal type, and a target port of a target customer terminal equipment (CPE);

[0062] The target port of the target CPE supports a target service type, a target port rate, and a target port signal type; the target service type, the target port rate, and the target port signal type are determined based on the service intent.

[0063] When implementing the embodiment of the present application, the customer service only needs to input the source address, destination address, and target bandwidth on the terminal device. The device parameters can be shielded, that is, there is no need to input device parameters such as service type, port rate, and port signal type. Based on the input data, the service, device, and port are automatically recommended (i.e., the target service type, target port rate, target port signal type, and target port of the target customer terminal equipment (CPE) of the optical transport network service). The service parameters and / or a schematic diagram of the service parameter generation are displayed to guide the installation and maintenance personnel to blindly insert the optical module. This method has no limited scenarios and can support both OTN government and enterprise dedicated lines and Internet dedicated lines. The optical module can be plug-and-play on site.

[0064] In conjunction with the third aspect, in one possible implementation, the service parameter includes a target port of a target customer premises equipment (CPE), the target port of the target CPE includes a device identifier of the target CPE, location information of the target port on a board of the target CPE, and location information of the board on the target CPE, the schematic diagram generated by the service parameter is a port schematic diagram, and the method further includes:

[0065] A port diagram is rendered based on the target port of the target CPE. The port diagram is used to indicate the location of the target port on the target CPE.

[0066] In a possible implementation, the terminal device calls a resource recommendation intent interface, inputs the source address, destination address, and target bandwidth, and receives service parameters returned by the interface call.

[0067] In one possible implementation, the terminal device installs a related application (such as the installation and maintenance application described below), and the terminal device displays the work order through the application interface of the application. The terminal device sends a retrieval request to the server in response to user operations on the work order on the application interface.

[0068] In a fourth aspect, the present application provides an electronic device. The electronic device may include a memory and a processor. The memory may be used to store a computer program. The processor may be used to invoke the computer program, causing the electronic device to execute any of the above aspects or any possible implementation of any of the aspects.

[0069] In the fifth aspect, an embodiment of the present application also provides a chip system, which includes at least one processor and a communication interface, wherein the communication interface is used to send and / or receive data, and the at least one processor is used to call a computer program stored in at least one memory so that the device where the chip system is located implements the method described in any one of the above aspects or any possible implementation method of any one of the aspects.

[0070] In a sixth aspect, an embodiment of the present application discloses a computer-readable storage medium, in which a computer program is stored. When the computer program runs on one or more processors, the method described in any one of the above aspects or any possible implementation of any one of the aspects is executed.

[0071] In a seventh aspect, an embodiment of the present application discloses a computer program product, which, when running on one or more processors, executes the method described in any one of the above aspects or any possible implementation of any one of the aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] The following is an introduction to the drawings used in the embodiments of this application.

[0073] FIG1 is a schematic diagram of an end-to-end activation method for an ONT dedicated line service provided in an embodiment of the present application;

[0074] FIG2 is an architecture diagram of a system for provisioning an optical transport network service according to an embodiment of the present application;

[0075] FIG3A is a schematic diagram of a software architecture of a server 20 provided in an embodiment of the present application;

[0076] FIG3B is a schematic diagram of an internal implementation of a knowledge recommendation module provided in an embodiment of the present application;

[0077] FIG4 is a schematic diagram of a method for activating an optical transport network service according to an embodiment of the present application;

[0078] FIG5 is a flow chart of a method for determining target service data and target port data provided by an embodiment of the present application;

[0079] FIG6 is an interface diagram corresponding to a northbound knowledge management system module provided in an embodiment of the present application;

[0080] FIG7 is a schematic diagram of a knowledge graph provided in an embodiment of the present application;

[0081] FIG8 is a schematic diagram of a port provided in an embodiment of the present application;

[0082] 9 is a flowchart of another method for activating an optical transport network service according to an embodiment of the present application;

[0083] FIG10 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;

[0084] FIG11 is a block diagram of the software structure of the electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0085] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described in this application as "exemplary" or "for example" should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.

[0086] The “at least one” mentioned in the embodiments of this application refers to one or more, and “plurality” refers to two or more. “At least one of the following items” or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, (a and b), (a and c), (b and c), or (a and b and c), where a, b, c can be single or multiple. “And / or” describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character “ / ” generally indicates that the previous and next associated objects are in an “or” relationship.

[0087] Furthermore, unless otherwise indicated, ordinal numbers such as "first" and "second" in the embodiments of this application are used to distinguish multiple objects and are not used to define the order, timing, priority, or importance of multiple objects. For example, the first information and the second information are only used to distinguish different information and do not indicate differences in content, priority, transmission order, or importance between the two information.

[0088] First, the definitions of technical terms used in the embodiments of this application are introduced:

[0089] (1) Optical Transport Network (OTN): An emerging communication network transmission system based on wavelength division multiplexing and optical channel technology. It consists of network elements such as optical add-drop multiplexing, optical cross-connect, and optical amplifiers. It has ultra-large transmission capacity, semantic transparency of the carried signal, and the ability to implement protection and routing at the optical layer. It is the basic structure of the optical interconnection network.

[0090] (2) Dedicated line services: These refer to point-to-point or point-to-multipoint dedicated, transparent digital channels provided by operators to meet customers' self-organized networking needs. These services offer users highly reliable, low-latency circuit services at various speeds and availability levels. For example, dedicated line services may include government-enterprise dedicated lines serving governments and enterprises.

[0091] First, a method for activating an optical transport network service in the prior art is exemplarily introduced.

[0092] FIG1 exemplarily illustrates an end-to-end (E2E) provisioning method for an ONT dedicated line service adopted by an operator, which is mainly divided into the following steps:

[0093] (1) The customer describes the service requirements for the dedicated line. For example, the professional service requirement is "I want to open a 100M dedicated line from A to Z, open for three years, and be stable." The customer service staff fills out an order in the service activation system (hereinafter referred to as the service activation system) based on the requirements provided by the customer, such as selecting the A-end address, Z-end address, bandwidth, service type, port rate, and port optical signal type.

[0094] (2) After the order is submitted to the service development system, resources are coordinated according to the integrated resource management system (abbreviated as the integrated resource system), and a construction work order is generated and assigned to the relevant construction personnel.

[0095] (3) The work order manager determines whether the customer-premises equipment (CPE) that meets the business requirements already exists at ends A and Z, and whether the hard installation personnel need to go to the site for the first time to perform optical path construction, CPE installation, and CPE power-on.

[0096] (4) Supervise the CPE parameter configuration, network connection and other operations on the network management to complete the CPE online.

[0097] (5) The software commissioning engineer goes to the site for the second time, finds the CPE device, scans the serial number (SN) of the CPE device, and binds the CPE device to the work order.

[0098] (6) The software debugging engineer selects the corresponding available client-side port on the CPE based on the service type, port rate, and port optical signal type (referred to as port signal type) and inserts the optical module.

[0099] (7) Operate and send the configuration path configuration interface to complete the path calculation.

[0100] (8) Complete circuit creation based on bandwidth, service type, A-side CPE device resource ID, A-side port, Z-side CPE device, and service activation interface.

[0101] (9) The staff conducts testing by hanging instruments and completes the acceptance inspection of the dedicated line.

[0102] In addition, China Mobile Communications Co., Ltd. disclosed a technical solution in 2018 with patent number CN201610995861.7 and the patent name "Method and device for activating optical transport network services."

[0103] This technical solution is applied to the source-side optical transport network (OTN) equipment node. The specific steps are as follows:

[0104] (1) Receive customer service activation requests, convert them into service configuration parameters: A-end address, Z-end address, bandwidth, service type, port rate, port optical signal type, and generate work orders;

[0105] (2) Sending a service activation request to the service management and control platform;

[0106] (3) receiving the service path configuration performed by the service management and control platform according to the service attribute information;

[0107] (4) Perform service configuration as a source node according to the service configuration information and issue service creation.

[0108] This technology has three obvious limitations and constraints: (1) It does not consider the situation where the OTN equipment board supports multiple types of services: The activation process described in this technology is an extremely ideal service activation process in the activation of optical dedicated lines. The activated OTN equipment board is limited to supporting only a single service. This constraint does not exceed 20% of existing equipment boards. Most OTN equipment boards support at least two or more services, and different ports correspond to different services. (2) Each port of the OTN equipment board needs to be plugged with an optical module in advance, but the optical module is also a relatively important asset. Inserting an optical module on all ports is a huge waste of resources. (3) Customer service personnel need to understand the mapping relationship between the customer's service intentions and the underlying network parameters. If the mapping is inaccurate, it is easy to cause the activated service to not match the customer's description, resulting in low satisfaction.

[0109] It can be seen that this method still relies on the selection of ports by installation and maintenance personnel (hereinafter referred to as decoration personnel), which may lead to wrong selection and low degree of automation.

[0110] Embodiments of the present application provide a method, electronic device, and system for activating an optical transport network service. In this method, the electronic device can automatically generate service parameters for the optical transport network service. These service parameters may include the service type, port rate, port signal type, and port of the customer premises equipment (CPE) of the optical transport network service. These service parameters are used to activate the optical transport network service.

[0111] In this method, there is no need to manually determine the service parameters of the optical transport network service, which can save the opening time of the optical transport network service and avoid mistakes caused by staff due to lack of experience.

[0112] In order to more clearly and in detail introduce the method for activating the optical transport network service provided by the embodiment of the present application, the system for activating the optical transport network service provided by the embodiment of the present application is first introduced below.

[0113] Please refer to Figure 2, which is an architecture diagram of a system for provisioning optical transport network services provided in an embodiment of the present application. As shown in Figure 2, the system includes a terminal device 10 and a server 20.

[0114] In some embodiments, the terminal device can be an electronic device of a staff member. For example, the staff member can be an installation and maintenance personnel responsible for the optical transport network service; the terminal device can receive and display a work order, which can include the service intention of the optical transport network that the customer wants to open (for the convenience of description, the optical transport network service that the customer wants to open is referred to as the target service below), and the service intention can include the source address, the destination address and the target bandwidth; the terminal device can generate a retrieval request based on the service intention in response to the user operation of the staff member on the work order, and send the retrieval request to the server; the server determines the target service data and the target port data in response to the retrieval request, wherein the target service data includes the target service type, the target port rate and the target port signal type; the target port data includes the port information of the source device and the destination device; the server sends a response message to the terminal device, which includes the target service data and the target port data; the terminal device renders a port diagram based on the target port data, and then displays the target service data and the port diagram, which are used by the staff member to open the target service. The specific process can be found in the embodiment below.

[0115] The server 20 may be a single server or a server cluster consisting of multiple servers, which is not limited here.

[0116] The terminal device 10 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, etc.

[0117] Exemplary embodiments of the terminal device 10 include but are not limited to The terminal device 10 may also be other portable electronic devices, such as a laptop computer.

[0118] In other embodiments, the activation system may further include an operator terminal and an operator server. The operator terminal is used to obtain the service intent of the optical transport network service; the operator server is used to generate a work order based on the service intent and send the work order to the terminal device 10. The terminal device 10 is an electronic device of a staff member (such as an installation and maintenance staff). For example, a customer can go to the operator's business hall to describe the service intent he wants to activate, such as bandwidth, destination address, and source address, to the customer service staff. Then, the customer service staff enters the service intent in the operator terminal. Correspondingly, after receiving the service intent, the operator terminal sends the service intent to the operator server; the operator server generates a work order based on the service intent and sends the work order to the application of a specific staff member.

[0119] Next, the server 20 is introduced. Figure 3A exemplarily shows a schematic diagram of the software architecture of the server 20. Exemplarily, the server 20 may be a Network Cloud Engine (NCE).

[0120] As shown in Figure 3A, the software architecture of server 20 can be divided into two parts: local knowledge model training and extraction, and resource recommendation intent interface calls. The resource recommendation intent interface calls include the port resource recommendation intent interface (also known as the intent API), the northbound intent fulfillment system module, the northbound knowledge management system module, and the knowledge graph module.

[0121] Among them, the intent-based API is an intent-oriented resource autonomous domain closed-loop API. This API shields the network parameter details and sends down the intent parameters (such as address and bandwidth) understood at the customer level.

[0122] The northbound intent fulfillment system module can be a service module within the NCE, used to receive and process the resource recommendation intent API, convert the resource recommendation intent API into an internal unified information model, and call the internal API through the API programmable module to fulfill the resource recommendation intent API goals.

[0123] The northbound knowledge management system module provides knowledge addition, deletion, modification, and query capabilities for service modules within the NCE. It supports system engineers importing and updating knowledge within the interface, as well as knowledge-based retrieval and self-inference. For example, it establishes knowledge between customer service information (bandwidth, distance, availability, price sensitivity, and VIP customers), network parameter information (service, port speed, and optical / electrical attributes), and device resource information (CPE, boards, ports, and services).

[0124] For example, the interface diagram corresponding to the northbound knowledge management system module can be seen in Figure 6. It should be noted that, for ease of description, the knowledge related to network parameter information is referred to as network service knowledge, and the knowledge related to device resource information is referred to as device resource knowledge.

[0125] The knowledge graph module can be a service module within the NCE, used to store management knowledge and the relationships between CPE devices, boards, ports, and services. The relationships between CPE devices, boards, ports, and services can be stored in the form of a knowledge graph.

[0126] The following introduces the software architecture of the server 20 from two parts.

[0127] The first part is the training and extraction of local knowledge models: the server can extract knowledge from business data such as CPE equipment documents based on the trained local knowledge model to obtain knowledge of equipment, boards, ports, and services. This knowledge may include existing data and document data as shown in Figure 3A, where the existing data is structured data (such as equipment information, etc.) and the document data is unstructured data (such as text materials such as product manuals); then, the system engineer imports the above knowledge into the knowledge import interface displayed on terminal A, and terminal A sends the above knowledge to the server; ① the server imports the above knowledge into the knowledge extraction module; then, ② the server extracts the above knowledge; ③ the extracted knowledge is graph modeled to obtain a knowledge graph; ④ the server can send the obtained knowledge graph to the northbound knowledge management system, and the northbound knowledge management system stores the knowledge graph in the knowledge graph module; ⑤ the knowledge graph module is used to store management knowledge.

[0128] The second part is the resource recommendation intent interface call: ⑦ For example, after the business activation work order, the installation and maintenance personnel hold terminal B and call the resource recommendation intent interface through the installation and maintenance application (Application, APP) on terminal B; the intent interface enters the northbound intent fulfillment system module through authentication (API Proxy); the northbound intent fulfillment system module performs intent model conversion (specifically, it may include internal parameter mapping); then, ⑥ through the API orchestration layer, in the knowledge recommendation module, resources are recommended based on the knowledge graph. The specific process of the knowledge recommendation module executing the recommendation can be seen in Figure 3B.

[0129] Please refer to Figure 3B, which is a schematic diagram of the internal implementation of a knowledge recommendation module provided in an embodiment of the present application.

[0130] As shown in Figure 3B, the knowledge recommendation module performs the recommendation process in the following steps:

[0131] (1) Sending parameters: The resource recommendation intent API sends three necessary parameters: source address, destination address, and bandwidth.

[0132] Optionally, the resource recommendation intent API can also send down optional parameters, which may include availability level and service level, where the availability level is used to determine the level of protection for CPE equipment and hardware such as optical fibers. For example, the availability level may include full protection, partial protection, and none, where full protection is used to indicate that all preset hardware is protected, partial protection is used to indicate that part of the preset hardware is protected, and none means that no protection is required; the service level is used to indicate ordinary customers or member (VIP) customers, and different customers may have different price requirements or stability requirements.

[0133] (2) Recommended business.

[0134] In one implementation, services may be recommended based on the capabilities and delivery parameters supported by the services, wherein the capabilities supported by the services include dimensions such as distance, transmission bandwidth, price, stability, and whether exclusive use is supported. In the embodiment of the present application, the recommended service type may be referred to as a target service type.

[0135] It should be noted that different services differ in terms of distance, transmission bandwidth, price, stability, and whether they support exclusivity.

[0136] FIG3B exemplarily shows the performance of five services, namely Synchronous Digital Hierarchy (SDH), Ethernet over OTN (EoO), Ethernet over SDH (EoS) and Client) in terms of distance, The differences are based on five dimensions: transmission bandwidth (abbreviated as bandwidth), price, stability, and whether it supports exclusive use. Among them, (1) SDH services are used for transmission distances within the province less than 25 km, with a bandwidth of 155M-2G, usually less than 400M, relatively cheap, generally based on electrical transmission, very stable, and can only occupy exclusive channels; (2) EoS services are used for transmission distances within the province less than 100 km, with a bandwidth less than 50M, average price, support optical and electrical transmission, weaker stability, and can be shared; (3) EoO services are used for transmission distances between provinces or within the province greater than 100 km, with a bandwidth less than 10G, relatively expensive, support optical and electrical transmission, average stability, and support exclusive use and sharing; (4) Client services are used for transmission distances between provincial backbone networks far greater than 100 km, very expensive, use optical transmission, good stability, and only support exclusive use. The capabilities supported by different services form network service knowledge, that is, network service knowledge can include information such as the distance, bandwidth, and price supported by different services.

[0137] In one implementation, the distance can be calculated based on the source address and the destination address in the sent parameters. Based on the distance, the bandwidth in the sent parameters (which can be called the target bandwidth), and the distances and bandwidths supported by different services, the first service type that supports the above distance and target bandwidth is determined from different services.

[0138] The first service type may be one or more.

[0139] When the first service type consists of multiple service types, the first service types can be ranked based on stability and price factors in combination with the existing equipment support at the source and destination ends, and the service type ranked first (TOP1) in the first service type can be used as the recommended service type (i.e., the target service type).

[0140] Among them, the sorting method can set corresponding weights and scores for price and stability respectively, calculate the scores of different businesses, and sort them according to the scores.

[0141] For example, the first service type includes service 1, service 2 and service 3. If the source device does not support service 1, service 2 and service 3 can be ranked based on stability and price factors, and the service types ranked first among service 2 and service 3 can be used as recommended service types.

[0142] (3) Recommended port speed and port signal type.

[0143] First, a port rate may be recommended based on the recommended service type (ie, target service type) and target bandwidth. In the embodiment of the present application, the recommended port rate may be referred to as a target port rate.

[0144] For example, if the target bandwidth is 100M and the service type is SDH, the recommended port rate may be STM-1 (which can support 155M).

[0145] The recommendation principle may adopt a minimum bandwidth matching principle, that is, the port rate supported by the target service type, whose supported bandwidth is greater than the target bandwidth and closest to the target bandwidth, is determined as the recommended port rate.

[0146] Furthermore, the port signal type can be recommended based on the target service type and stability. Port signal types include optical and electrical; electrical signal has higher stability than optical signal.

[0147] In some embodiments, when the target service type supports transmission modes including electrical, the port signal type may be recommended as electrical when high stability is required. For example, if SDH services can be transmitted based on electrical transmission and there is a clear demand for high stability (such as high availability), the port signal type may be recommended as electrical.

[0148] In some embodiments, if the sink device or source device only supports a specific port signal type for the target service type, the specific port signal type can be determined as the target port type. For example, if the TMA1G12A board only supports SDH service optical ports, the recommended port signal type is optical.

[0149] (4)Port recommendation.

[0150] In the embodiment of the present application, port recommendations can be made to the sink and source ends respectively based on the same recommendation principle.

[0151] Here, the source end is used as an example for explanation.

[0152] In some embodiments, a list of existing CPE devices at the source end can be obtained, that is, the CPE devices at the source end address are traversed; all boards of the CPE devices are traversed; based on the knowledge graph, the ports are matched according to the target service type, target port rate and target port signal type.

[0153] Among them, the knowledge graph stores the associated knowledge between CPE devices, boards, ports and services (i.e. service type, port rate, port signal type).

[0154] For example, the OptiX OSN 1800I E CPE supports the TMA1G12A card, which supports SDH services and has an STM-1 port rate. Ports 1, 2, 7, and 8 have optical signal attributes. Therefore, based on the SDH service type, STM-T port rate, and optical optical attribute, the OptiX OSN 1800I E recommends ports 1, 2, 7, or 8 on the TMA1G12A card in slot 1. Any port can be used.

[0155] The following describes in detail the method for activating an optical transport network service provided in an embodiment of the present application based on the schematic diagram of the optical transport network service activation system shown in Figure 2 and the schematic diagram of the software architecture of the server shown in Figure 3A.

[0156] It should be noted that in the embodiment of the present application, the user operation can be a user's touch operation (such as a click operation, a long press operation, an up-swipe operation, a down-swipe operation, or a side-swipe operation), or a non-contact operation (such as an air gesture), or a user's voice command. The embodiment of the present application does not impose any specific restrictions on this.

[0157] FIG4 is a schematic diagram illustrating a method for activating an optical transport network service according to an embodiment of the present application. The method for activating an optical transport network service may include some or all of the following steps:

[0158] Step S401: The terminal device displays a target work order, where the target work order includes a service intent of a target service, and the service intent includes a source end address, a sink end address, and a target bandwidth.

[0159] In a possible implementation, the terminal device is installed with a decoration and maintenance application (hereinafter referred to as the decoration and maintenance application), and the terminal device can display the target work order on the application interface of the decoration and maintenance application.

[0160] For example, the terminal device is a mobile phone of a staff member (such as an installation and maintenance personnel), and an installation and maintenance APP is installed on the mobile phone; when the mobile phone receives a target work order sent from a server corresponding to the installation and maintenance APP (such as an operator terminal), the target work order can be displayed, and accordingly, the staff can view the target work order through the installation and maintenance APP on the mobile phone.

[0161] The target service is an optical transport network service, and the service intention of the target service may be a requirement of the optical transport network service that the user wants to activate.

[0162] Optionally, the target work order may further include optional parameters, such as availability level and service level.

[0163] Among them, the availability level can include high, medium and low levels. The availability level is used to decide whether to implement the protection strategy and affect stability; the service level can include ordinary customers and member (VIP) customers. The service level is used to determine business choices, etc.

[0164] Optionally, the availability level and service level can use default parameters when the customer does not explicitly request them.

[0165] In one possible application scenario, the target work order is created by a carrier's customer service staff based on the user's description. For example, based on the customer's needs, the customer service staff enters the target service's business intent on the carrier's terminal. The carrier terminal uploads the target service's business intent to the carrier's server. The carrier server creates a target work order corresponding to the target service based on the business intent and assigns the target work order to a staff member. The staff member can view the target work order on the installation and maintenance app, and the terminal device displaying the target work order is the staff member's terminal device.

[0166] Step S402: In response to a user operation on a target work order, the terminal device sends an acquisition request to the server, where the acquisition request includes the business intent of the target business.

[0167] Correspondingly, the server receives the acquisition request.

[0168] In some embodiments, the terminal device can display one or more work orders, and then, in response to a user operation on a target work order in the one or more work orders, the terminal device sends a request to the server, where the request includes the source address, destination address, and target bandwidth in the target work order.

[0169] In some embodiments, the server provides a resource recommendation intent API to the terminal device, which can then call the resource recommendation intent API to send the three necessary parameters of the source address, sink address, and target bandwidth. Optionally, the sent parameters can also include optional parameters such as availability level and service level.

[0170] The following example illustrates the code implementation of the resource recommendation intent API issued based on the 3GPP standard:

[0171] As can be seen, the above intention-based API defines two expected object targets: one is the bandwidth expected to be opened (bandwidth), that is, the target bandwidth, the unit is Bit, and the other is the available level of the service to be opened (availableLevel); and defines two intent context parameters, such as the source address (aEndAddress) and the destination address (zEndAddress). Among them, the source address and the destination address can be physical information descriptions on a specific map (such as the house number location shown in the above code), or they can be longitude and latitude coordinates, or they can be custom coordinate and direction descriptions within the system, which are not limited here.

[0172] Step S403: The server determines target service data and target port data based on the service intent of the target service, wherein the target service data includes target service type, target port rate and target port signal type; the target port data includes port information of the source device and the sink device.

[0173] In some embodiments, the server can determine the target service type, target port rate and target port signal type based on the source address, destination address and target bandwidth; and further, determine the port information of the source device and destination device based on the target service type, target port rate and target port signal type.

[0174] The source device is the CPE device corresponding to the source address, and the sink device is the CPE device corresponding to the sink address. Exemplarily, CPE devices may include cable modems, home routers, and various PCs. Exemplarily, CPE devices may be OptiX OSN 1800 series products, such as the OptiX OSN 1800IE.

[0175] Please refer to Figure 5, which is a flow chart of a method for determining target service data and target port data provided by an embodiment of the present application. The method may include some or all of the following steps:

[0176] S501: Acquire business knowledge, which includes network business knowledge and device resource information knowledge. Network business knowledge is the capability of business support.

[0177] Among them, network service knowledge refers to the capabilities supported by the service, such as the distance, bandwidth, port rate, port signal type and price supported by the service. For example, please refer to Table 1 below; device resource information knowledge may include CPE device information and single board information, among which CPE device information may include the single boards supported by each slot of the CPE device and the services supported by the single board. For example, please refer to Table 2 and Table 3 below.

[0178] In some embodiments, terminal A can display the NCE northbound knowledge management interface. For example, the schematic diagram of the knowledge management interface can be shown in Figure 6; the user (such as a system engineer) imports the above business knowledge in the NCE northbound knowledge management interface, and terminal A sends the above business knowledge to the server. Accordingly, the server receives the above business knowledge.

[0179] Please refer to Figure 6, which is an interface diagram corresponding to a northbound knowledge management system module provided in an embodiment of the present application.

[0180] As shown in Figure 6, which exemplifies the import control and knowledge graph preview interface, a user can click the import control to import relevant data into the northbound knowledge management system. The northbound knowledge management system can then generate a knowledge graph based on the imported data and display the generated knowledge graph in the knowledge graph preview interface.

[0181] It should be understood that the interface shown in FIG6 is only a possible example. In other implementations, the interface for importing business knowledge may include more or less content. The specific form of the interface for importing business knowledge is not limited here.

[0182] In a possible implementation, the business knowledge acquired by the server may be in the form of a knowledge rule table. Several knowledge rule tables are shown below as examples, see Tables 1 to 3 below.

[0183] Referring to Table 1, network service knowledge may include several common service types shown in Table 1.

[0184] Table 1 shows an example of a relationship mapping between each service type in terms of transmission distance, supported bandwidth, price, stability, transmission mode, and whether the channel supports sharing. For example, the server can import Table 1 into a knowledge base to form knowledge used for service type recommendation.

[0185] Table 1: Performance of common business types in various dimensions

[0186] Table 2 illustrates the boards supported by the OptiX OSN 1800IE and the physical slots in which they can be inserted. Board information may include the service types, port rates, and port signal types supported by each board. Table 3 illustrates the port rates, port signal types, and port numbers supported by the TMA1G12A board.

[0187] Table 2 Boards supported by the OptiX OSN 1800I E

[0188] Table 3 Services supported by the TMA1G12A board

[0189] S502: Convert the business knowledge into a knowledge graph, where the knowledge graph includes the association relationships between businesses, devices, boards, and ports.

[0190] In some embodiments, the server may acquire business knowledge, convert the business knowledge into a knowledge graph, and store the knowledge graph.

[0191] For example, the server can convert the knowledge rule table into a tuple expression and store it in the knowledge graph.

[0192] The knowledge graph is used to indicate the corresponding relationship between devices, boards, ports, and services. Devices, boards, and ports are entity objects; devices contain key attributes such as device name and device version; boards contain key attributes such as board name and board version; and ports contain key attributes such as port number (portNum) and port name.

[0193] For example, in the knowledge graph, the device and the board can be connected through a relationship edge, indicating that the device supports the inserted board, and the edge contains attributes such as slot information; there are N edges from the board to the port, indicating different services supported by the board port, and the edge contains attributes such as service type, port rate, and port signal type, where N is an integer greater than 0.

[0194] Please refer to Figure 7, which is a schematic diagram of a knowledge graph provided in an embodiment of the present application.

[0195] Figure 7 illustrates a single board "TMA1G12A" supported by the CPE device "OSN 1800IE" and information about two ports on this board. It should be understood that the knowledge graph in Figure 7 is only a portion of the knowledge graph stored on the server. The knowledge graph stored on the server can include all boards supported by the CPE device "OSN 1800IE" and information about the ports on all boards.

[0196] As shown in Figure 7, circle 1 labeled "OSN 1800IE" represents the CPE device named "OSN 1800IE"; circle 2 labeled "TMA1G12A" represents the board named "TMA1G12A"; circles 1 and 2 are connected by a relationship edge labeled "supportCard". This relationship edge is used to indicate that the boards supported by the CPE device "OSN 1800IE" include the board "TMA1G12A".

[0197] The circles marked with "Port" represent the ports of a board. The board "TMA1G12A" is connected to two circles marked with "Port", indicating that the two ports are ports of the board "TMA1G12A".

[0198] Among them, one port (referred to as port 1 for convenience of description) has a port number (portNum) of 1, a position number (posIndex) of 1, and a port name of TX1 / RX1; one port (referred to as port 7) has a port number (portNum) of 7, a position number (posIndex) of 7, and a port name of TX7 / RX7.

[0199] Port 1 is connected to the board "TMA1G12A" through two relationship edges, which respectively represent that port 1 on the board supports two services; Figure 7 exemplifies that the service type (serviceType) of one service is SDH, the port rate (portRate) is STM-1, and the port signal type (signalType) is optical; the service type of the other service is SDH, the port rate is STM-4, and the port signal type (signalType) is optical.

[0200] Port 1 is connected to the board "TMA1G12A" through a relationship edge, which represents a service supported by port 7 on the board; Figure 7 exemplifies that the service type (serviceType) of the service is SDH, the port rate (portRate) is STM-1, and the port signal type (signalType) is optical.

[0201] It should be noted that the schematic diagram of the knowledge graph can also be called a device-board-port-business knowledge graph rendering.

[0202] In other embodiments, the server may execute steps S501 and S502 above when the user imports business knowledge or adds new business knowledge; after receiving an acquisition request, it is not necessary to execute steps S501 and S502 above, and S503 to S507 may be executed to obtain target business data and target port data.

[0203] S503: Calculate the distance between the source address and the destination address to obtain the target distance.

[0204] In some embodiments, the source address and the destination address are house numbers, such as room number xx, unit xx, building xx, community xx, city xx, province xx; the server may determine the distance between the source address and the destination address as the target distance based on map information. It should be understood that the target distance does not only refer to the straight-line distance between the source address and the destination address, but may also be the length of a path (such as the length of an optical fiber) between the source address and the destination address that can be installed in the optical transport network. The method for calculating the distance between the source address and the destination address is not limited herein.

[0205] It should be understood that the target distance may also be determined by the user (eg, a customer who requires the target service), which is not limited in the embodiments of the present application.

[0206] S504: Determine a target service type according to the target distance and the target bandwidth; the optical transport network service of the target service type supports the target distance and the target bandwidth.

[0207] Among them, network business knowledge includes the distance and bandwidth supported by different businesses.

[0208] In one implementation, the server may determine, based on the distances and bandwidths supported by different services, a service type that supports a target distance and target bandwidth as a first service type. The first service type may include one or more first service types. If there is only one first service type, the first service type is determined as the target service type. If there are multiple first service types, the target service type may be selected from the first service types based on at least one of the following factors: support, stability, and price of existing CPE devices at the source and destination ends.

[0209] For example, the server may remove the service types that are not supported by the existing CPE devices at the source and sink ends from the first service type, and then sort the removed service types, and determine the service type that ranks first as the first service type.

[0210] Among them, the sorting method can be to set corresponding weights and scores for the existing equipment support, price, and stability of the source and destination ends, calculate the scores of different services, and sort them according to the scores.

[0211] For example, the first service type includes service 1, service 2 and service 3. If the source device does not support service 1, service 2 and service 3 can be ranked based on stability and price factors, and the service types ranked first among service 2 and service 3 can be used as recommended service types.

[0212] S505: Determine a target port rate from the port rates supported by the target service type according to the target bandwidth; the target port rate supports the target bandwidth.

[0213] The network service knowledge includes the port rate supported by the target service type. It should be understood that the port rate supported by the service type is within the bandwidth range corresponding to the service type. In other words, the port rate supported by the service type can be obtained based on the bandwidth supported by the service type as shown in Table 1. The port rate supported by the service type can also be expressed as the port rate supported by the service of the service type.

[0214] In some embodiments, the server can obtain the port rates supported by the target business type based on network business knowledge; filter the port rates that support the target bandwidth from the port rates supported by the target business type; when there is only one port rate filtered out, the port rate is determined as the target port rate; when there are multiple port rates filtered out, the minimum bandwidth matching principle can be adopted to determine the port rate among the filtered port rates whose supported bandwidth is greater than the target bandwidth and is closest to the target bandwidth as the recommended port rate.

[0215] For example, the target bandwidth is 100 Mbps and the service type is SDH. SDH supports port rates such as STM-1, STM-4, and STM-16. Since STM-1 supports 155 Mbps, which is greater than 100 Mbps and closest to 100 Mbps, the server can determine the target port rate as STM-1.

[0216] Optionally, the target port rate may be determined based on network service knowledge or a knowledge graph.

[0217] For example, assuming that the server system is as shown in FIG3A , the server can query the port rate that meets the target bandwidth and target business type from the knowledge graph based on the target bandwidth and target business type to obtain the target port rate.

[0218] S506: Determine the target port signal type from the port signal types supported by the target service type.

[0219] Among them, the port signal types include optical and electrical; the stability of electrical is higher than that of optical.

[0220] In some embodiments, the server can determine the port type supported by the target business type based on network business knowledge (such as Table 1); when the target business type supports only one port type, the port type is determined as the target port signal type; when the target business type supports multiple port types, the target port signal type is determined from multiple port types.

[0221] It should be noted that the port type supported by the service type is also the transmission mode supported by the service. As shown in Table 1, the transmission modes supported by SDH are optical and electrical, that is, the port types supported by the service type "SDH" are optical and electrical.

[0222] Optionally, the server may determine the target port signal type based on stability.

[0223] For example, if the target service type supports transmission modes including electrical, and the customer requires high stability, the port signal type can be recommended as electrical. For example, if SDH services can be transmitted based on electrical transmission and there is a clear demand for high stability (such as high availability), the port signal type can be recommended as electrical.

[0224] In other embodiments, if the sink device or source device only supports a specific port signal type for the target service type, the specific port signal type may be determined as the target port type. For example, if the TMA1G12A board only supports SDH service optical ports, the recommended port signal type is optical.

[0225] Optionally, the target port signal type may be determined based on network service knowledge or a knowledge graph.

[0226] Exemplarily, assuming that the server system is as shown in FIG3A , the server may query the port signal types supported by the target business type from the knowledge graph based on the target business type to obtain the target port signal type.

[0227] S507: Based on the knowledge graph, determine the port information of the source device and the sink device according to the target service type, the target port rate and the target port signal type.

[0228] Among them, the port information can be the single board location and device location of the target port, and can specifically include the device identifier, single board identifier and port identifier. For example, the device identifier can include the device name and / or the device serial number (such as SN), the single board identifier can include the single board name and / or the location information of the single board on the CPE device (such as the slot number (slot-number)), and the port identifier can include at least one of the port name, the location information of the port on the single board (such as the location number (port-index)) and the resource identifier (port-res-id) of the port.

[0229] That is to say, the port information of the source device can be the single board position and device position of the target port (referred to as the first port) of the source device, which can specifically include the device identifier, single board identifier and port identifier of the first port of the source device; the port information of the host device can be the single board position and device position of the target port (referred to as the second port) of the host device, which can specifically include the device identifier, single board identifier and port identifier of the second port of the host device.

[0230] In some embodiments, the server can query the knowledge graph for relationship edges that match the target service type, target port rate, and target port signal type, and use the ports, boards, and devices where the boards are located at both ends of the relationship edges as the port information of the source device and the host device.

[0231] Taking determining the port information of the source device as an example, the server can obtain all CPE devices of the source address, such as obtaining CPE devices within a preset distance near the source address; after obtaining all CPE devices, for each CPE device, traverse the relationship edges of the CPE devices in the knowledge graph, and when traversing to the relationship edge that meets the target service type, target port rate and target port signal type, obtain the single board identifier and port identifier at both ends of the relationship edge. The single board identifier can be the slot number of the single board in the CPE device, and the port identifier can be the position serial number of the port on the single board, the port number and port name of the port, etc., to obtain the port information of the source device.

[0232] For example, the CPE devices at the source address include "OptiX OSN 1800I E," and the target service type, target port rate, and target port signal type are SDH service, STM-1, and optical, respectively. The server then searches the knowledge graph for "OptiX OSN 1800I E," searches for edges matching SDH service, STM-1, and optical in the relationship edges of the "OptiX OSN 1800I E" boards, and determines the slot number and port number of the board in the queried relationship edge as the port information of the source device. For example, the "OptiX OSN 1800I E" supports the TMA1G12A board, which supports SDH services, has an STM-1 port rate, and has optical port signal attributes of ports 1 / 2 / 7 / 8. That is, the port information of the source device is the source device "OptiX OSN 1800I E", the board is the TMA1G12A board in slot 1 of the OptiX OSN 1800I E, and the port is any one of ports 1, 2, 7, or 8 on the TMA1G12A board.

[0233] In other embodiments, the server may not perform the above step S502; the server may query the single board port of the CPE device that meets the target service type, target port rate and target port signal type based on the service knowledge obtained in S501.

[0234] It should be understood that the knowledge of the knowledge graph is included in the business knowledge. Therefore, based on the business knowledge, the single-board port of the CPE device that meets the target business type, target port rate and target port signal type can also be obtained; at that time, because the relationship between the equipment, single board, port and business in the business knowledge was scattered in various knowledge sections (such as tables), there was a lot of data to traverse during the query process, and the knowledge graph sorted out the relationship between equipment, single board, port and business, which can improve the query speed.

[0235] Step S404: The server sends a response message to the terminal device, where the response message includes target service data and target port data.

[0236] Correspondingly, the terminal device receives the response message.

[0237] The target service data includes the target service type, target port rate and target port signal type; the target port data includes the port information of the source device and the sink device.

[0238] In some embodiments, the terminal device can call the above-mentioned resource recommendation intent API to obtain target service data and target port data. The response result of the resource recommendation intent API may include the target service type, target port signal type, target port rate, device SN of the source device and / or sink device, the slot number (slot-number) of the board where the target port is located on the device, the position number (port-index) of the target port on the board, and the resource ID (port-res-id) of the target port. The resource ID is used for service activation.

[0239] For example, the following shows the code implementation of the response result (also called the response body) of the resource recommendation intent API: { "serviceType":"EoO", "signalType":"optical", "portRate":"GE", "sn":"2102301*******000036", "slot-number":3, "port-index":3, "port-res-id":"3efb83dd-*******-335dd61a8f84"}

[0240] It can be seen that the response result exemplarily shows that the target service type is EoO; the target port signal type is optical; the target port rate is GE; the device SN of the source device and / or the sink device is 2102301*******000036; the slot number (slot-number) of the board where the target port is located on the device is 3; the position number (port-index) of the target port on the board is 3; and the resource ID (port-res-id) of the target port is 3efb83dd-*******-335dd61a8f84.

[0241] Step S405: The terminal device renders a port diagram based on the target port data.

[0242] In some embodiments, the terminal device may generate a port schematic diagram of the source device based on the port information of the source device; and generate a port schematic diagram of the sink device based on the port information of the sink device.

[0243] Taking the source device as an example, assuming that the port information of the source device is the target port, which is the TMA1G12A board in slot 1 of the OptiX OSN 1800I E, and the port is port 1 / 2 / 7 / 8 of the TMA1G12A board, the server can render the TMA1G12A board in slot 1 of the OptiX OSN 1800I E and then highlight any one of ports 1 / 2 / 7 / 8 of the TMA1G12A board. For an example, see Figure 8.

[0244] The highlighted rendering may include rendering the port position with a preset color or a preset pattern, or indicating the target port with a marking line and text description, etc., which is not limited here.

[0245] Please refer to Figure 8, which is a port schematic diagram provided in an embodiment of the present application.

[0246] Figure 8 illustrates five slots in a CPE device. Slot 1 houses the "TMA1UXCL (G12A)" board, while slots 3, 4, 5, and 6 may contain other boards or remain idle. As shown in Figure 8 , the "TMA1UXCL (G12A)" board includes 15 ports. Gray is used to represent unused ports, and the shaded areas represent target ports. As shown in Figure 8 , the target ports are TX7 / RX7. It should be noted that in actual applications, the target ports may be rendered green or in other colors, which is not a limitation here.

[0247] Step S406: The terminal device displays target service data and a port diagram, wherein the target service data and the port diagram are used for activation of the target service.

[0248] In some embodiments, after rendering the port schematic diagram, the terminal device may display target service data, the port schematic diagram of the source device, and the port schematic diagram of the sink device.

[0249] In one possible application scenario, the staff can determine the hardware of the target business (such as optical fiber, optical module, CPE equipment, single board and target port, etc.) based on the target business data and port diagram, thereby completing the construction of the optical path corresponding to the target business, and performing software configuration such as service activation after the optical path is built, thereby realizing the activation of the target business. For example, the terminal device displays the target work order on the application interface of the installation and maintenance APP; the user (such as the installation and maintenance personnel) clicks on the target work order, and the terminal device responds to the user operation and displays the target business data and port diagram; then, the installation and maintenance personnel can determine the optical module based on the target business data, and then, insert the optical module into the target port shown in the port diagram, thereby completing the subsequent service activation and meter test to activate the target business. Among them, the optical module is the connection module between the port and the optical fiber.

[0250] In the embodiment of the present application, the staff does not need to manually select the equipment, board and port based on their own experience. Instead, they can determine the port information such as the equipment, board and port corresponding to the target business based on the port diagram displayed on the installation and maintenance APP, so that the optical module can be inserted into the target port, saving activation time and avoiding mistakes caused by lack of experience of the staff.

[0251] Optionally, the terminal device can display a first control corresponding to the target business data, a second control corresponding to the port diagram of the source device, and a third control corresponding to the port diagram of the host device; furthermore, when the terminal device receives a user operation on at least one of the first control, the second control, and the third control, it displays the content corresponding to the control, such as when receiving a user operation on the first control, it displays the content corresponding to the first control, that is, the target business data.

[0252] Figure 9 exemplarily illustrates another method flow for activating an optical transport network service provided by an embodiment of the present application. Figure 9 exemplarily illustrates the entire process of activating an optical transport network service.

[0253] As shown in Figure 9, the dedicated line activation process mainly includes three steps:

[0254] (1) Import the knowledge graph, i.e., S1; (2) Create a work order based on the customer's description of the intent, i.e., S2 (specifically, it may include S21 to S23); (3) The installation and maintenance APP calls the resource recommendation intent API, i.e., S4 (specifically, it may include S41 to S44).

[0255] S1: Import the knowledge graph, which can be:

[0256] A system engineer imports knowledge related to CPEs, boards, ports, and services on a knowledge management interface displayed on a first terminal. In response to the import operation on the knowledge management interface, the first terminal sends the knowledge related to CPEs, boards, ports, and services to a first server. For example, the first terminal is a Huawei engineer's electronic device, and the first server is a Huawei server.

[0257] S2: Create a work order based on the customer's description, which can be:

[0258] A customer describes their requirements for a dedicated line for an optical transport network service: for example, from A to B, with 100M bandwidth, three years of availability, and stability. Based on the customer's description, the customer service representative creates an order on a second terminal. The second terminal then submits the order to the integrated resource management system through the service development system. This order, in turn, sends the order to the second server. The order includes the source address, destination address, bandwidth, and availability level. The second server coordinates resources through the integrated resource management system, generates a construction work order, and dispatches it to the relevant construction and maintenance personnel. For example, the second terminal is a carrier terminal, the second server is a carrier server, and the service development system and integrated resource management system are both carrier systems.

[0259] S3: The installation and maintenance personnel displays the work order interface through the installation and maintenance APP on the third terminal, and drives the execution of the service activation process corresponding to the work order, for example, clicking on the work order. Correspondingly, the third terminal executes S4 in response to the user operation.

[0260] S4: Call the resource recommendation intent API to implement business and port recommendations, specifically:

[0261] The third terminal calls the resource recommendation intent API provided by the first server to send three necessary parameters: source address, destination address and bandwidth, with availability level and service level as optional parameters; the first server recommends services based on the distance and bandwidth between the source address and destination address (i.e., determining the target service type above); the first server recommends port rate and port signal type based on the service type and bandwidth (i.e., determining the target port rate and target port signal type above); the first server recommends device ports based on the port rate and port signal type recommended by the service type and bandwidth (i.e., determining the port information of the source device and the destination device above).

[0262] S5: The third terminal displays the recommended service, port rate, port signal type and device port, where the device port is used to insert the optical module; for example, the installation and maintenance personnel insert the optical module into the device port recommended on the installation and maintenance APP.

[0263] S6: The service management and control platform performs path calculation and issues circuit creation services.

[0264] For example, the third terminal sends information such as the recommended service, port rate, port signal type, and device port to the service management and control platform, which may be an operator's platform.

[0265] S7: The installation and maintenance personnel conduct a meter test and the service activation is completed.

[0266] The following is an illustrative introduction to the electronic device provided by the embodiment of the present application. The terminal device 10 shown in FIG2 and the terminal devices such as terminal A, terminal B, and operator terminal mentioned above can all refer to the hardware structure of the electronic device 100 shown in FIG10.

[0267] FIG10 shows a schematic diagram of the hardware structure of the electronic device 100 .

[0268] The following embodiments are described in detail using electronic device 100 as an example. It should be understood that electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in the figure may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.

[0269] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0270] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0271] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal based on the instruction opcode and the timing signal to complete the control of instruction fetching and execution.

[0272] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0273] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0274] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 100.

[0275] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.

[0276] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0277] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.

[0278] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0279] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0280] The SIM card interface can be used to communicate with the SIM card interface 195 to implement the function of transmitting data to the SIM card or reading data in the SIM card.

[0281] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.

[0282] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0283] The charging management module 140 is configured to receive charging input from a charger, which may be a wireless charger or a wired charger.

[0284] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to provide power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160.

[0285] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0286] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0287] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0288] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device.

[0289] In other embodiments, the modem processor may be independent of the processor 110 and provided in the same device as the mobile communication module 150 or other functional modules.

[0290] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0291] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0292] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.

[0293] A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0294] The display screen 194 is used to display images, videos, etc.

[0295] Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1.

[0296] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0297] The ISP is used to process data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then transmitted to the ISP for processing and converted into an image visible to the naked eye.

[0298] ISP can also perform algorithm optimization on image noise, brightness, etc. ISP can also optimize parameters such as exposure and color temperature of the shooting scene.

[0299] In some embodiments, the ISP may be provided in the camera 193 .

[0300] Camera 193 is used to capture still images or videos. The lens generates an optical image of an object and projects it onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP for conversion into a digital image signal.

[0301] The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or other format. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than one.

[0302] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals.

[0303] For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0304] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0305] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.

[0306] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0307] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 110 executes the instructions stored in the internal memory 121 to execute various functional applications and data processing of the electronic device 100.

[0308] The internal memory 121 may include a program storage area and a data storage area.

[0309] The program storage area can store an operating system, an application required for at least one function (such as a face recognition function, a fingerprint recognition function, a mobile payment function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as face information template data, fingerprint information template, etc.), etc.

[0310] In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0311] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0312] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0313] Speaker 170A, also known as a "horn," is used to convert audio electrical signals into sound signals. Electronic device 100 can listen to music or make hands-free calls through speaker 170A. Receiver 170B, also known as a "handset," is used to convert audio electrical signals into sound signals.

[0314] When electronic device 100 receives a call or sends a voice message, the user can hold receiver 170B close to their ear to receive the voice. Microphone 170C, also known as a "microphone" or "speaker," converts sound signals into electrical signals. When making a call or sending a voice message, the user can speak by placing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may be equipped with at least one microphone 170C.

[0315] In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can not only collect sound signals but also implement noise reduction function.

[0316] In other embodiments, the electronic device 100 may be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, and implement directional recording functions.

[0317] The headphone jack 170D is used to connect a wired headphone.

[0318] The headphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0319] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .

[0320] There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.

[0321] A capacitive pressure sensor may include at least two parallel plates made of conductive material. When a force acts on pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation using pressure sensor 180A. Electronic device 100 can also calculate the location of the touch based on the detection signal from pressure sensor 180A.

[0322] In some embodiments, touch operations applied to the same touch location but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view short messages is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to a short message application icon, an instruction to create a new short message is executed.

[0323] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can also be used for image stabilization.

[0324] For example, when the shutter button is pressed, the gyro sensor 180B detects the angle of vibration of the electronic device 100 and calculates the distance the lens module needs to compensate based on the angle. This allows the lens to counteract the vibration of the electronic device 100 through reverse motion, thus achieving anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory gaming scenarios.

[0325] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude using the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.

[0326] The magnetic sensor 180D includes a Hall sensor, and the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.

[0327] In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D, and then set features such as automatic unlocking of the flip cover based on the detected opening and closing status of the leather case or the flip cover.

[0328] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.

[0329] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.

[0330] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode.

[0331] The electronic device 100 emits infrared light through a light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100.

[0332] When insufficient reflected light is detected, the electronic device 100 can determine that there are no objects nearby. The electronic device 100 can use the proximity light sensor 180G to detect when a user is holding the electronic device 100 close to their ear to make a call, automatically turning off the screen to save power. The proximity light sensor 180G can also be used to automatically unlock and lock the screen in holster mode and pocket mode.

[0333] The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking photos.

[0334] The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touch.

[0335] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0336] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.

[0337] For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection.

[0338] In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from abnormally shutting down due to low temperature.

[0339] In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0340] The touch sensor 180K, also known as a "touch panel," can be mounted on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as a "touch screen." The touch sensor 180K is used to detect touch operations applied to or near the touch sensor.

[0341] The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. A visual output related to the touch operation can be provided through the display screen 194.

[0342] In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , at a location different from that of the display screen 194 .

[0343] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0344] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback.

[0345] For example, touch operations applied to different applications (e.g., taking photos, playing audio, etc.) can correspond to different vibration feedback effects. Touch operations applied to different areas of the display 194 can also correspond to different vibration feedback effects on the motor 191. Different application scenarios (e.g., time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effects can also be customized.

[0346] The indicator 192 may be an indicator light, which may be used to indicate charging status, power level changes, synthesis requests, missed calls, notifications, and the like.

[0347] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.

[0348] In the embodiment of the present application, the processor 110 can execute the computer-executable instructions stored in the memory to enable the electronic device 100 to execute the method for activating the optical transport network service provided in the embodiment of the present application.

[0349] FIG11 is a block diagram of the software structure of the electronic device 100 provided in an embodiment of the present application. The software structure of the electronic device 100 shown in FIG11 may be the software architecture of the terminal device 10 shown in FIG2 .

[0350] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other via software interfaces. In some embodiments, the system is divided into four layers: application layer, application framework layer, runtime and system libraries, and kernel layer.

[0351] The application layer can include a series of application packages.

[0352] As shown in FIG11 , the application package may include applications such as installation application, camera, browser, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. (also referred to as applications).

[0353] In an embodiment of the present application, a terminal device can display relevant interfaces of a renovation application, such as a user interface for displaying a work order. Furthermore, in response to a user operation for querying the service parameters of the work order, the terminal device sends a request to a server to obtain information such as the target service type and port information of the source and sink devices. Furthermore, the terminal device can display content such as the target service type and port renderings. The specific implementation process can be found in the relevant description above and will not be expanded upon here.

[0354] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0355] As shown in FIG11 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.

[0356] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0357] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0358] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0359] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).

[0360] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0361] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically, without requiring user interaction. For example, the Notification Manager can be used to notify users of completed downloads, message reminders, and so on. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog interfaces on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0362] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the system.

[0363] The core library consists of two parts: one part is the function that the programming language (for example, Java language) needs to call, and the other part is the core library of the system.

[0364] The application layer and application framework layer run in a virtual machine. The virtual machine executes the application layer and application framework layer programming files (for example, Java files) as binary files. The virtual machine performs functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0365] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0366] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional (2D) and three-dimensional (3D) layers for multiple applications.

[0367] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0368] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0369] A 2D graphics engine is a drawing engine for 2D drawings.

[0370] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, and virtual card driver.

[0371] The following describes the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.

[0372] When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer, which processes the touch operation into a raw input event (including touch coordinates, touch operation timestamp, and other information).

[0373] The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a single-touch operation, and the control corresponding to the single-touch operation is a control of the camera application icon, the camera application calls the application framework layer interface to start the camera application, which then calls the kernel layer to start the camera driver and capture a still image or video through camera 193.

[0374] An embodiment of the present application also provides an electronic device, which includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the method described in the above embodiment.

[0375] The embodiments of the present application also provide a computer program product containing instructions. When the computer program product is run on an electronic device, the electronic device executes the method described in the above embodiments.

[0376] An embodiment of the present application further provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute the method described in the above embodiment.

[0377] It is understandable that the various embodiments of the present application can be combined arbitrarily to achieve different technical effects.

[0378] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described herein are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive).

[0379] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0380] In short, the above description is only an embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of this application should be included in the scope of protection of this application.

Claims

1. A method for opening an optical transport network service, characterized in that: Applied to a server, the method comprises: Obtaining a target service type, a target port rate, and a target port signal type for an optical transport network service; The target port of the target CPE is determined according to the association between the service type, port rate, port signal type and the customer terminal equipment CPE; the target port of the target CPE supports the target service type, the target port rate and the target port signal type; the target port of the target CPE is used to establish an optical path for the optical transport network service.

2. The method according to claim 1, characterized in that The association relationship includes the association relationship of the target CPE, and the association relationship of the target CPE includes at least one single board on the target CPE, at least one port on the at least one single board, and the service type, port rate and port signal type supported by the at least one port, and the at least one port includes the target port.

3. The method according to claim 1 or 2, characterized in that: The target port of the target CPE includes a device identifier of the target CPE, location information of the target port on a target board of the target CPE, and location information of the target board on the target CPE.

4. The method according to any one of claims 1 to 3, characterized in that: The step of determining the target port of the target CPE according to the association between the service type, the port rate, the port signal type and the customer terminal equipment CPE includes: Based on the association relationship, a knowledge graph is generated, wherein the knowledge graph includes a single board, a port, a device, a first relationship edge, and a second relationship edge, wherein the first relationship edge is used to indicate the association relationship between the CPE and the single board, and the second relationship edge is used to indicate the association relationship between the single board and the port, and the service type, port rate, and port signal type supported by the port on the single board; Searching the knowledge graph for a second relationship edge that supports the target service type, the target port rate, and the target port signal type; Determine the target board and the target port based on the found second relationship edge; The target CPE is determined based on the first relationship edge corresponding to the target board.

5. The method according to any one of claims 1 to 4, characterized in that: The step of obtaining the target service type, target port rate, and target port signal type of the optical transport network service includes: Acquire the service intent of the optical transport network service, wherein the service intent includes a source end address, a sink end address and a target bandwidth; The target service type, the target port rate and the target port signal type are determined according to the service intention.

6. The method according to claim 5, characterized in that The determining of the target service type, the target port rate and the target port signal type comprises: Determine the target service type according to the target distance between the source address and the sink address and the target bandwidth; the optical transport network service of the target service type supports the target distance and the target bandwidth; According to the target bandwidth, determining the target port rate from the port rates supported by the target service type; the target port rate supports the target bandwidth; The target port signal type is determined from the port types supported by the target service type.

7. The method according to claim 6, characterized in that The determining the target service type includes: Acquire a service type that supports the target distance and the bandwidth; The target business type is determined from the acquired business types based on the price and stability of the business types.

8. The method according to any one of claims 5 to 7, characterized in that: The acquiring of the service intent of the optical transport network service comprises: receiving an acquisition request sent by a terminal device, wherein the acquisition request comprises the service intent of the optical transport network service; After determining the target port of the target customer terminal equipment CPE, the method further includes: sending a response message to the terminal equipment, the response message including the target port of the target CPE; the terminal equipment is used to display the target port of the target CPE.

9. The method according to claim 8, characterized in that The response message also includes the target service type, the target port rate and the target port signal type.

10. The method according to any one of claims 1 to 9, characterized in that: The target CPE includes a source device and / or a sink device, the target port of the target CPE includes a port of the source device and / or a port of the sink device, and the source device and the sink device are devices at both ends of the optical path of the optical transport network service.

11. A method for opening an optical transmission network service, characterized in that: Applied to a server, the method comprises: Acquire a service intent of an optical transport network service, wherein the service intent includes a source end address, a sink end address, and a target bandwidth; According to the service intention, the target service type of the optical transport network service, the target port rate and the target port signal type are determined.

12. The method according to claim 11, characterized in that Determining the target service type of the optical transport network service, the target port rate, and the target port signal type includes: Determine the target service type according to the target distance between the source address and the sink address and the target bandwidth; the optical transport network service of the target service type supports the target distance and the target bandwidth; According to the target bandwidth, determining the target port rate from the port rates supported by the target service type; the target port rate supports the target bandwidth; The target port signal type is determined from the port types supported by the target service type.

13. The method according to claim 12, characterized in that The determining the target service type includes: Acquire a service type that supports the target distance and the bandwidth; The target business type is determined from the acquired business types based on the price and stability of the business types.

14. A method for opening an optical transmission network service, characterized in that: Applied to a terminal device, the method comprises: Displaying a work order, wherein the work order includes a service intent of an optical transport network service; the service intent includes a source end address, a sink end address, and a target bandwidth; In response to a user operation on the work order, sending an acquisition request to a server, the acquisition request including the service intent; the service intent is used by the server to determine a service parameter of the optical transport network service; receiving a response message sent by the server, wherein the response message includes the service parameter; The service parameters and / or a schematic diagram of the generation of the service parameters are displayed, wherein the service parameters are used to activate the optical transport network service.

15. The method according to claim 14, characterized in that The service parameters include at least one of the following: target service type, target port rate, target port signal type, and target port of target customer terminal equipment CPE of the optical transport network service; The target port of the target CPE supports the target service type, the target port rate and the target port signal type; the target service type, the target port rate and the target port signal type are determined based on the service intent.

16. The method according to claim 15, characterized in that The service parameters include a target port of the target customer terminal equipment CPE, the target port of the target CPE includes a device identifier of the target CPE, location information of the target port on a board of the target CPE, and location information of the board on the target CPE, the schematic diagram generated by the service parameters is the port schematic diagram, and the method further includes: A port schematic diagram is rendered based on the target port of the target CPE; the port schematic diagram is used to indicate the location of the target port on the target CPE.

17. An electronic device, characterized in that: The electronic device includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method as described in any one of claims 1-16.

18. A server, characterized in that: Comprising modules for performing the method as claimed in any one of claims 1 to 13.

19. An electronic device, characterized in that: Comprising means for performing the method as claimed in any one of claims 14-16.

20. A computer program product comprising instructions, characterized in that When the computer program product is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 16.

21. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 16.

Citation Information

Patent Citations

  • Client device configuration management method and device

    CN112118121A

  • Method and device for establishing connection, equipment and computer readable storage medium

    CN113068083A

  • Automatic programming of customer premises equipment for vertical services integration

    US20020044567A1

  • Routing information generation method and device

    WO2016202023A1