WO2019214374A1 - 数据处理方法、终端及计算机可读存储介质 - Google Patents

数据处理方法、终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2019214374A1
WO2019214374A1 PCT/CN2019/081284 CN2019081284W WO2019214374A1 WO 2019214374 A1 WO2019214374 A1 WO 2019214374A1 CN 2019081284 W CN2019081284 W CN 2019081284W WO 2019214374 A1 WO2019214374 A1 WO 2019214374A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing structure
attribute
processing
information
terminal
Prior art date
Application number
PCT/CN2019/081284
Other languages
English (en)
French (fr)
Inventor
王其磊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019214374A1 publication Critical patent/WO2019214374A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0226Mapping or translating multiple network management protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration

Definitions

  • Embodiments of the present disclosure relate to control information model techniques in the field of electronic communications.
  • MCC Management-Control Continuum
  • ONF Open Network Foundation
  • ITU-T International Telecommunication Union Telecommunication Standardization Sector
  • PC Processing Construct
  • controller model a controller model, and the like are issued for managing the fusion scene.
  • Some attributes of the processing structure and the Constraint Domain (CD) are defined in the processing structure model that has been published by the ONF standards organization.
  • the processing structure uses a common way (ie, a generic function of general-purpose processing structure characterization) to represent internal processing, which embodies only some common general-purpose attributes; and functional information that is implemented in a specific way for processing structures. (ie, specific functions for specific processing structures), there is no good way to achieve unified management.
  • An embodiment of the present disclosure provides a data processing method, which is applied to a terminal in a network that uses a first processing structure, and includes the following steps: acquiring a type of the first processing structure, attribute information of a common function, and attribute information of a specific function; Setting the type of the first processing structure, the attribute information of the general function, and the attribute information of the specific function as the type attribute of the first processing structure, the general processing structure view attribute, and the specific processing structure view attribute, respectively;
  • the first processing structure implements information processing.
  • An embodiment of the present disclosure provides a terminal, including a first processing structure, and further includes: an obtaining unit configured to acquire a type of the first processing structure, attribute information of a general function, and attribute information of a specific function; Provided that the type of the first processing structure, the attribute information of the general function, and the attribute information of the specific function are respectively set as the type attribute of the first processing structure, the general processing structure view attribute, and the specific processing structure view attribute; A processing unit configured to implement information processing using the first processing structure.
  • An embodiment of the present disclosure further provides a terminal, including: a processor, a communication interface, and a memory storing the processor executable instructions, the memory is connected to the communication bus and the processor through the communication interface, when the When the execution instructions are executed by the processor, the data processing method described above is executed.
  • Embodiments of the present disclosure provide a computer readable storage medium storing executable instructions that, when executed by one or more processors, cause the data processing method described above to be performed.
  • FIG. 1 is a flowchart of a data processing method according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic structural diagram of an exemplary constraint domain according to an embodiment of the present disclosure.
  • FIG. 3 is a flowchart of a data processing method according to another embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a topological structure of an exemplary processing structure and a constraint domain according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an exemplary first processing structure according to an embodiment of the present disclosure.
  • FIG. 6 is a structural block diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • the management of the control function mainly focuses on the management and control of functions such as forwarding and routing of the device, such as which functions to be turned on and which functions are to be turned off; and the management functions of the network mainly focus on the fault, configuration, and performance of the device and the network. , auditing and security and other aspects.
  • Both the management function and the control function of the network exist as separate logical functions in most cases.
  • the processing structure model can be used to represent some generalized functions, which can be used for both control functions such as forwarding control and management functions such as fault handling.
  • the scenario in which the processing structure model is used in conjunction with the constraint domain model can be as follows:
  • the constraint domain model can be used to represent a device, or a memory or calculation of a board inside the device.
  • the ability to describe the overall constraints of the device; the processing structure model is used to describe a specific example of the capabilities provided by using one of the constraint domain models. For a simple example, if a protocol instance runs in the memory of a board, the protocol instance is actually a processing structure, and the memory of the board is actually a constraint domain (because of this board). Memory resources are limited).
  • the processing structure is used to identify potential or running entities with processing capabilities that connect at least two different ports and pass processing related information between the ports.
  • the embodiment of the present disclosure provides a data processing method. As shown in FIG. 1, the method may include: steps S101-S103.
  • step S101 the type of the first processing structure, the attribute information of the general function, and the attribute information of the specific function are acquired.
  • the data processing method in the embodiment of the present disclosure is described for one of the devices (for example, a terminal using the first processing structure). .
  • the terminal in the embodiment of the present disclosure may be an electronic device such as a personal computer or a mobile phone, and is also a network device.
  • the embodiment of the present disclosure does not limit the type of the terminal.
  • the processing structure is mainly used to represent the general functions related to internal processing, and is not used to represent forwarding related information, so a processing structure may be memory, computing.
  • the processing structure implements different related functions based on its own functional characteristics, so the processing structure can be classified based on the general functions of the processing structure to obtain the type of processing structure.
  • the functions of the processing structure may include general functions and specific functions, wherein the specific functions are functions that the processing structure itself can implement.
  • the terminal may acquire the type of the first processing structure, the attribute information of the general function, and the attribute information of the specific function based on the characteristics of the processing function.
  • the attribute information of the generic function characterizes the general information for all processing functions; the attribute information of the specific function characterizes the information of the processing function related to the specific application.
  • a particular attribute field is used to indicate the type of processing structure (eg, the type of the first processing structure), eg, a type attribute field.
  • the types of the first processing structure may include: a resource type and a route type.
  • the type attribute field is defined to clearly identify the type of processing structure of the processing structure, and the application of the processing structure can be more conveniently supported. For example, if a processing structure is memory, computing power, and storage-related processing structures, then this type of attribute field is mainly used to indicate: what type of resource occupies the processing structure; and if a processing structure is a route The protocol, the connection component, or the alarm notification reports the processing structure of the relevant internal component, and then the type attribute field indicates that the processing structure is used to store the state content related to the management protocol.
  • step S102 the type of the first processing structure, the attribute information of the general function, and the attribute information of the specific function are respectively set as the type attribute of the first processing structure, the general processing structure view attribute, and the specific processing structure view attribute.
  • the terminal after acquiring the type of the first processing structure, the attribute information of the common function, and the attribute information of the specific function, the terminal is configured to set the type of the first processing structure to the type of the first processing structure.
  • the generic processing structure view attribute stores some general information for all processing functions
  • the specific processing structure view stores information about processing functions related to a specific application.
  • the attribute information of the general function of the processing structure and the attribute information of the specific function are represented in a diagram manner. It is to be understood that other representations may be used to represent the attribute information of the general function of the processing structure and the attribute information of the specific function, which is not limited in the embodiment of the present disclosure.
  • the attributes of the first processing structure all have their own data structures, the attributes being separate and unrelated.
  • the foregoing general processing structure view attribute and the specific processing structure view attribute respectively include: a function switch and a policy identifier, wherein the function switch is used to determine whether to open a related function corresponding to the attribute, and the policy identifier is used to indicate whether the attribute is It is allowed to be obtained by the processing structure of other devices than the own terminal.
  • the data structure of the attribute information content for describing the general function in the general processing structure view attribute may include a function switch for specifying whether the related general function needs to be turned on, and may further include a policy identifier. Indicates whether the corresponding general processing structure view attribute is allowed to be known by the processing structure of other external devices.
  • a function switch may be included, which is used to clarify whether a related specific function needs to be turned on, and may further include a policy identifier to indicate Whether the corresponding specific processing structure view attribute is allowed to be known by the processing structure of other external devices.
  • internal processing related functions for example, general functions and specific functions
  • memory, computing power, and storage-related processing structures it mainly relates to content that represents resource usage; and for routing, connection, fault notification management, etc., which involve protocol operations or internal component-related processing structures, It mainly involves how to use its own attributes to manage different protocols and components, so that these protocols and components meet the needs of device functions, such as enabling the flooding of routing protocols and turning off routing learning.
  • the attributes of the processing structure are explicitly divided into general processing structure view attributes and specific processing structure view attributes.
  • attributes such as computing power, storage, and memory are common attribute features, and thus these common attributes can be included in the general processing structure view attribute to indicate the current The resource situation occupied by the processing structure; and when a device (for example, a printer) having a specific function is connected in the terminal, the first processing structure of the terminal may have a specific function (for example, a printing function), and the specific function is characterized by The function of the connected components of the terminal.
  • the print function is turned on when printing is required, and the print function is turned off when it is not needed.
  • the specific function of the routing protocol in some cases, only the function of routing learning needs to be enabled, and in some cases, the function of routing learning and the function of routing publishing are required to be enabled. Therefore, the opening and closing of specific functions needs to be defined, as is the general processing function.
  • each sub-function has its corresponding sub-attribute, and the general-purpose processing structure view attribute corresponds to multiple common sub-general attributes.
  • a specific processing structure view attribute corresponds to a number of specific sub-specific attributes.
  • a function switch button needs to be set for each of the general processing structure view attribute and the specific processing structure view attribute, and the switch button can be used to clarify whether the related function needs to be turned on, that is, the first processing is indicated. Whether the structure supports a feature (general function or specific function).
  • step S103 information processing is implemented using the first processing structure.
  • the terminal can utilize the type attribute including the first processing structure, the general processing structure view attribute, and the specific processing structure view attribute.
  • the first processing structure performs information processing.
  • the terminal may implement at least one of its own general function and specific functions. Therefore, after the attribute is reset, the terminal can learn the type of the first processing structure based on the type attribute of the first processing structure, and implement the content based on the type and the general processing structure view attribute and the specific processing structure view attribute. Information processing of the corresponding function.
  • the terminal when the terminal implements information processing by using the first processing structure, the terminal further needs to use a constraint domain (constraint domain model).
  • the total resource pool may be provided by the constraint domain model, and the first processing structure instance is Obtain the resource information to be used in this resource pool.
  • the attributes of the constraint domain are extended to include a triple of a specific resource identification, total available resource information, and resource usage information.
  • the total available resource information characterizes the maximum available resource constraint information of the first processing structure
  • the specific resource identifier is used to characterize the resource constraint information of the first processing structure for the specific function
  • the resource usage information represents the information of the resource that the first processing structure has used.
  • the terminal may adopt a first processing structure to acquire resource information in the constraint domain to implement information processing.
  • the structure of the constraint domain can be implemented as shown in FIG. 2, using the triplet as an extended attribute of the constraint domain.
  • the terminal can perform unified attribute processing on the general functions and specific functions of the first processing structure used by the terminal, and set the types of the first processing structure, the complete setting and management of the processing structure is realized. Therefore, when the terminal uses the first processing structure, the unified processing structure can be managed according to a unified processing manner, thereby realizing the diversity of processing structure management.
  • FIG. 3 another embodiment of the present disclosure provides a data processing method.
  • the method can include the following steps: S104-S106.
  • the steps S104-S106 are shown together with the above steps S101-S103 in FIG.
  • step S104 the adjacency information of the terminal is acquired.
  • each device can acquire the adjacency information, wherein the adjacency information is represented in the network adjacent to a certain device (ie, an entity).
  • Device connection information ie, an entity
  • the adjacency information may include the contiguous topology information between the device and the device, and may also include the topology of the device itself.
  • step S105 based on the adjacency information, a second processing structure having an adjacency relationship with the terminal is determined.
  • step S106 when the attribute information of the second processing structure is received from the second processing structure, the attribute information of the second processing structure is set as the contiguous attribute of the first processing structure.
  • the terminal may determine a second processing structure that has an adjacency relationship with the terminal, where the adjacency relationship refers to a connection relationship between the terminal and the terminal or between the device and the device (ie, between the entities). If the terminal and the terminal, or the device and the device are directly connected, there is an adjacency relationship, otherwise there is no adjacency relationship.
  • the contiguous information may include the contiguous topology information between the device and the device, and may also include the topology of the device itself. Therefore, the second processing structure may exist in a device different from the terminal, or The embodiment of the present disclosure is not limited to a processing structure different from the first processing structure in the terminal.
  • the second processing structure may include a neighbor processing structure and a lower layer processing structure.
  • the first processing structure of the terminal may obtain the attribute information of the second processing structure that is transmitted to the first processing structure from the second processing structure, and the terminal may set the attribute information of the second processing structure to the first processing. Adjacency properties of the structure.
  • the adjacency attributes of the first processing structure may include: a neighbor processing structure view attribute and a lower layer processing structure view attribute.
  • the neighbor processing structure view attribute is used to describe the attribute information passed by the neighbor processing structure in communication with the first processing structure (which is transmitted through the neighbor message and may be the same attribute that matches the attribute of the first processing structure), and the lower layer processing
  • the structure view attribute is used to describe the attribute information reported by the lower layer processing structure in communication with the first processing structure (which may be the same attribute that matches the attributes of the first processing structure).
  • the neighbor processing structure may be a processing structure of the same nature (eg, software) as the first processing structure, for example, a processing structure when interacting between different routing protocol devices; or a processing structure of different nature.
  • the routing protocol device ie, the routing protocol processing structure
  • the lower layer processing structure view attribute can receive information reported by some lower layer processing structures (for example, routing protocol processing structure 2-1, routing protocol processing structure 2-2, and routing protocol processing structure 2-3), for example, routing
  • the device in the lower-layer routing domain reports the routing information of the device to the device in the upper-layer routing domain.
  • the device in the upper-layer device is in a recursive relationship with the device in the lower-layer device.
  • the device in the upper-layer device can receive multiple devices from the lower-layer device.
  • the processing structure needs to use a separate processing structure property to receive the content of the underlying recursive delivery. Similarly, the processing structure needs to use a separate processing structure property to receive the content passed by the neighbor.
  • the neighbor discovery protocol processing structure and the routing protocol processing structure 2-3 use the same constraint domain 2-3, and the routing protocol processing structure 1-1 uses the constraint domain 1-1. Since the constraint domain is different, the routing protocol processing structure 1-1 and The neighbor discovery protocol processing structure is not a neighbor relationship.
  • the neighbor processing structure is determined based on the use of one constraint domain.
  • the lower layer processing structure may belong to the same constraint domain as the upper layer processing structure, or may belong to different constraint domains, and the embodiment of the present disclosure does not limit this.
  • the attribute information reported by the lower layer processing structure of the processing structure and the attribute information transmitted by the neighbor processing structure are represented by means of diagrams. It can be understood that other representation manners may also be used to represent The foregoing attribute information of the processing structure is not limited by the embodiment of the present disclosure.
  • the first processing structure and the second processing structure may be internal to one device (internal to the terminal) or may be on different devices. Determining attribute information may require interaction between different processing structures (eg, between the first processing structure and the second processing structure), and depending on the operator's policy or confidentiality requirements, some attribute information is not allowed on different devices (terminals) Between the two, based on this, an explicit policy identifier is required to indicate whether the attribute is allowed to be known by other processing structures externally.
  • the processing structure of the neighbor discovery if it is to route related attribute information, such as neighbor information at both ends of the link, it needs to be clearly defined between the processing structure of the routing protocol.
  • the interaction is performed, and if some management configuration information such as the automatic discovery protocol PC processing structure is to be routed, the processing structure of the routing protocol does not need to pay attention to the management configuration information of the discovery protocol processing structure, and this part of the attribute content does not need to be processed in two different ways. Interaction between structures.
  • Step S106 may further include: after receiving the attribute information of the second processing structure from the second processing structure, storing at least a portion of the attribute information of the second processing structure in a general processing structure view attribute or a specific processing structure view attribute.
  • the terminal sets the general processing structure view attribute and the specific processing structure view attribute, after receiving the attribute information of the second processing structure from the second processing structure, storing the attribute information of the second processing structure in the general processing structure view thereof Property or specific processing structure view properties.
  • the attribute information of the second processing structure may be used for the neighbor processing structure attribute information and the lower layer processing structure attribute information of the first processing structure.
  • the neighbor processing structure attribute information and the attribute information of the lower layer processing structure include general structure attribute information and specific processing structure attribute information of the second processing structure, so that when the terminal stores, the neighbor processing structure attribute information and the lower layer may be processed.
  • the general processing structure attribute information of the second processing structure in the attribute information of the processing structure is stored in the general processing structure view attribute of the first processing structure, and the second of the neighbor processing structure attribute information and the attribute information of the lower layer processing structure
  • the specific processing structure attribute information of the processing structure is stored in a specific processing structure view attribute of the first processing structure.
  • the embodiment of the present disclosure may also not limit the division of the stored specific content, and store the neighbor processing structure attribute information and the attribute information of the lower layer processing structure in the general processing structure view attribute or the specific processing structure view attribute.
  • the interaction between different processing structures also follows the associated set usage policies and rules.
  • the content input of the general processing structure view attribute and the specific processing structure view attribute comes from the neighbor processing structure view attribute and the lower layer processing structure view attribute; and the neighbor processing structure view attribute and the lower layer processing structure view attribute are mainly The contents of the generic processing structure view attribute and the specific processing structure view attribute from the contiguous processing structure (eg, the neighbor processing structure or the lower layer processing structure).
  • the first processing structure in the embodiment of the present disclosure adds attributes as shown in FIG. 5, for type attributes, neighbor processing structure view attributes, lower layer processing structure view attributes, general processing structure view attributes, and specific processing structure views.
  • the information stored by the attribute is represented by the data structure of each attribute.
  • the resource constraint information can be embodied from multiple aspects such as resource constraint information, protocol occupied resource information, and protocol management function information, and provides rich information.
  • the first processing structure in the embodiment of the present disclosure can describe the available resource information, the overall resource information, the information of the specific processing structure, and the like by the extended attribute and the data structure defined by the device, and provide unified management, thereby improving management. Diversity.
  • the embodiment of the present disclosure further provides a terminal 1 including a first processing structure (not shown), and the terminal 1 further includes: an obtaining unit 10, a setting unit 11, and a processing unit 12 .
  • the obtaining unit 10 is configured to acquire the type of the first processing structure, the attribute information of the general function, and the attribute information of the specific function.
  • the setting unit 11 is configured to set the type of the first processing structure, the attribute information of the general function, and the attribute information of the specific function as the type attribute of the first processing structure, the general processing structure view attribute, and the specific processing structure, respectively. View properties.
  • the processing unit 12 is arranged to implement information processing using the first processing structure.
  • the terminal 1 further includes a determining unit 13 and a receiving unit 14 (not shown).
  • the obtaining unit 10 is further configured to acquire the adjacency information of the terminal before the information processing is implemented by using the first processing structure.
  • the determining unit 13 is configured to determine, according to the adjacency information, a second processing structure that has an adjacency relationship with the terminal.
  • the receiving unit 14 is arranged to receive attribute information of the second processing structure from the second processing structure.
  • the setting unit 11 is further configured to set the attribute information of the second processing structure to the first when the receiving unit 14 receives the attribute information of the second processing structure from the second processing structure A processing of the adjacency properties of the structure.
  • the second processing structure includes a neighbor processing structure or a lower layer processing structure
  • the adjacency attributes of the first processing structure include a neighbor processing structure view attribute and a lower layer processing structure view attribute.
  • the setting unit 11 is further configured to: when the second processing structure is a neighbor processing structure, set attribute information of the second processing structure to the first processing structure The neighbor processing the structure view attribute, and when the second processing structure is the lower layer processing structure, setting the attribute information of the second processing structure to the lower layer processing structure view attribute of the first processing structure.
  • the terminal 1 further includes: a storage unit 15 (not shown).
  • the storage unit 15 is configured to store at least a portion of the attribute information of the second processing structure in the location after the receiving unit 14 receives the attribute information of the second processing structure from the second processing structure General processing structure view attributes or the specific processing structure view attributes.
  • the general processing structure view attribute and the specific processing structure view attribute each include: a function switch and a policy identifier, wherein the function switch is used to determine whether to open a related function corresponding to the attribute, The policy identifier is used to indicate whether the attribute is allowed to be obtained by other processing structures than the terminal.
  • the terminal further uses a constraint domain whose attributes are set with a specific resource identification, total available resource information, and resource usage information.
  • the processing unit 12 is further configured to employ the first processing structure to acquire resource information in the constraint domain to implement information processing.
  • the “part” may be a partial circuit, a partial processor, a partial program or software, etc.; of course, it may also be a unit, or may be a module. The embodiments of the present disclosure do not limit this.
  • the above-mentioned obtaining unit 10, setting unit 11, processing unit 12, and determining unit 13 can be implemented by the processor 16 on the terminal.
  • the processor 16 may include, for example, a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processing (DSP), or a Field Programmable Gate Array (FPGA, Field). Programmable Gate Array) and so on.
  • the receiving unit 14 can be implemented by a communication interface 17, which can be implemented by the memory 18.
  • the memory 18 and communication interface 17 are in communication with the processor 16 via a communication bus 19.
  • an embodiment of the present disclosure further provides a terminal, including: a processor 16, a communication interface 17, and a memory 18 storing instructions executable by the processor 16, the memory 18 passing through the communication interface 17
  • the communication bus 19 and the processor 16 are connected to perform the data processing method described in the above embodiments when the executable instructions are executed by the processor 16.
  • the components in the embodiments of the present disclosure may be integrated into one processing unit, or may exist separately in the form of individual units, or may be integrated by two or more units.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software function module.
  • the above unit is implemented in the form of a software function module and is not sold or used as a stand-alone product, it may be stored in a computer readable storage medium, based on such understanding, the essential part of the technical solution of the embodiments of the present disclosure or The portion contributing to the contribution or all or part of the technical solution may be embodied in the form of a software product, which may be stored in a storage medium and including instructions for causing a computer device (which may be a personal computer) , a server or network device, etc. or a processor performs all or part of the steps of the method of the embodiments of the present disclosure.
  • the storage medium may include: a ferromagnetic random access memory (FRAM), a read only memory (ROM), a programmable read only memory (PROM), and an erasable memory.
  • FRAM ferromagnetic random access memory
  • ROM read only memory
  • PROM programmable read only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • Flash Memory Magnetic Surface Memory
  • Optical Disc A medium that can store a program code, such as a Compact Disc Read-Only Memory (CD-ROM), is not limited in the embodiment of the present disclosure.
  • embodiments of the present disclosure may provide a computer readable storage medium storing executable instructions that, when executed by one or more processors, cause data processing as described in the above embodiments to be performed method.
  • the terminal can perform unified attribute processing on the common functions and specific functions of the first processing structure used by the terminal, and set the type of the first processing structure, the complete setting and management of the processing structure is realized. In this way, when the terminal uses the first processing structure, the unified processing structure can be managed according to a unified processing manner, thereby realizing the diversity of processing structure management.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. The present disclosure may also take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

提供了一种数据处理方法、终端及计算机可读存储介质,其应用于网络中使用第一处理结构的终端。所述方法包括以及步骤:获取第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息;将第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息分别设置为第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性;以及采用第一处理结构实现信息处理。

Description

数据处理方法、终端及计算机可读存储介质 技术领域
本公开实施例涉及电子通信领域中的控制信息模型技术。
背景技术
管控融合(MCC,Management-Control Continuum)可以采用一套统一的模型来对网络进行网络管理和控制功能管理,将网络管理和控制功能管理集成在一起使用,极大程度的提高了管理的效率。为了实现管控融合,开放网络基金会(ONF,Open Networking Foundation)以及国际电信联盟电信标准分局(International Telecommunication Union Telecommunication Standardization Sector,ITU-T)第十五研究组(Study Group 15,SG15)等标准组织发布了处理结构(PC,Processing Construct)模型、控制器模型等以用于管控融合场景。ONF标准组织已经发布的处理结构模型中定义了处理结构和约束域(CD,Constraint Domain)的一些属性。
然而,在一些情况下,处理结构使用通用的方式(即通用处理结构表征的通用功能)来表示内部处理,这仅体现了通用的一些通用属性;而针对处理结构使用特定的方式实现的功能信息(即针对特定处理结构表征的特定功能),并没有较好的处理方式实现统一的管理。
发明内容
本公开实施例提供了一种数据处理方法,应用于网络中使用第一处理结构的终端,包括以下步骤:获取所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息;将所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息分别设置为所述第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性;以及采用所述第一处理结构实现信息处理。
本公开实施例提供了一种终端,包括第一处理结构,并且还包括:获取单元,其设置为获取所述第一处理结构的类型、通用功能的 属性信息以及特定功能的属性信息;设置单元,其设置为将所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息分别设置为所述第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性;处理单元,其设置为采用所述第一处理结构实现信息处理。
本公开实施例还提供了一种终端,包括:处理器、通信接口以及存储有所述处理器可执行指令的存储器,所述存储器通过通信接口连接到的通信总线和处理器,当所述可执行指令被所述处理器执行时,使得执行上述的数据处理方法。
本公开实施例提供了一种计算机可读存储介质,存储有可执行指令,当所述可执行指令被一个或多个处理器执行的时候,使得执行上述的数据处理方法。
附图说明
图1为本公开实施例提供的一种数据处理方法的流程图。
图2为本公开实施例提供的示例性的约束域的结构示意图。
图3为本公开另一实施例提供的一种数据处理方法的流程图。
图4为本公开实施例提供的示例性的处理结构和约束域的拓扑结构示意图。
图5为本公开实施例提供的示例性的第一处理结构的结构示意图。
图6为本公开实施例提供的一种终端的结构框图。
图7为本公开实施例提供的一种终端的结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。
在传送网网络管控融合概念出现之前,本领域技术人员对网络的管理和控制功能的管理做了相对明确的区分。具体地,控制功能的管理主要着眼于对设备的转发、路由等功能进行管理控制,比如要开 启哪些功能、关闭哪些功能等;而网络的管理功能主要聚焦在设备及网络的故障、配置、性能、审计和安全等几个方面。网络的管理功能和控制功能这二者在绝大多数情况下分别作为单独的逻辑功能体存在。
处理结构模型可以用来代表一些一般化的功能,其既能够用于表示转发控制等方面的控制功能,也能表示故障处理等管理功能。在实际的应用中,处理结构模型同约束域模型(即约束域)等联合起来使用的场景可以如下:约束域模型可以用来表示一个设备,或者设备内部一块单板的可提供的内存或者计算等能力,其用于描述设备整体的约束能力;处理结构模型用于描述使用某一个约束域模型所提供的能力的一个具体实例。举个简单的例子来说,如果某个协议实例运行在单板的内存中,那么这个协议实例实际上就是一个处理结构,而这个单板的内存实际上就是一个约束域(因为这个单板的内存资源是有限的)。
本公开实施例中,处理结构用来标识潜在的或者正在运行的具有处理能力的实体,所述实体连接至少两个不同的端口,并在这些端口之间传递处理相关的信息。
本公开实施例提供了一种数据处理方法,如图1所示,该方法可以包括:步骤S101-S103。
在步骤S101,获取第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息。
在本公开实施例中,处于网络中的不同设备之间是可以进行通信的,这里,针对其中的一个设备(例如,使用第一处理结构的终端)来说明本公开实施例中的数据处理方法。
本公开实施例中的终端可以为个人电脑、手机等电子设备,也是网络设备。本公开实施例对终端的类型不作限制。
需要说明的是,根据ONF信息模型工作组TR512.11中的定义,处理结构主要用来表示内部处理相关的通用功能,而不是用来表示转发相关的信息,因此一个处理结构可以是内存、计算能力、存储相关的处理结构(资源类型),也可以是路由协议、连接服务维持相关的 内部部件,再或是内部时钟交互相关的部件的处理结构(路由类型)。
也就是说,处理结构是基于自身的功能特点来实现不同的相关功能,因此可以基于处理结构的通用功能来将处理结构进行分类,以获得处理结构的类型。另外,处理结构的功能可以包括通用功能和特定功能,其中,特定功能是该处理结构自身可实现的功能。
在本公开实施例中的终端中,终端可以基于处理功能的特点,获取第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息。通用功能的属性信息表征通用的、针对所有处理功能的信息;特定功能的属性信息表征特定应用相关的处理功能的信息。
在本公开实施例中,使用特定的属性字段来表示处理结构的类型(例如,第一处理结构的类型),例如,类型属性字段。第一处理结构的类型可以包括:资源类型和路由类型。
需要说明的是,定义类型属性字段来明确标识处理结构是何种类型的处理结构,能够更方便的支持对处理结构的应用。举个例子来说,如果一个处理结构是内存、计算能力、存储相关的处理结构,那么此类型属性字段主要用来指示:何种类型的资源的占用该处理结构;而如果一个处理结构是路由协议、连接部件或者告警通知上报相关的内部部件的处理结构,那么通过此类型属性字段指示:该处理结构用来存储管理协议相关的状态内容。
在步骤S102,将第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息分别设置为第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性。
在本公开实施例中,终端在获取到了第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息之后,该终端是可以将第一处理结构的类型设置为第一处理结构的类型属性,将通用功能的属性信息设置为第一处理结构的通用处理结构视图属性,以及将特定处理结构视图属性设置为第一处理结构的特定处理结构视图属性。通用处理结构视图属性存储一些通用的、针对所有处理功能的信息,特定处理结构视图存储特定应用相关的处理功能的信息。
在本公开实施例中,采用示图的方式表示处理结构的通用功能 的属性信息和特定功能的属性信息。可以理解的是,也可以采用其他表现方式来表示处理结构的通用功能的属性信息和特定功能的属性信息,本公开实施例对此不作限制。
在本公开实施例中,第一处理结构的属性都具有自身的数据结构,所述属性是单独的、互不关联的。
在本公开实施例中,上述通用处理结构视图属性和特定处理结构视图属性均包括:功能开关和策略标识,其中,功能开关用于确定是否开启属性对应的相关功能,策略标识用于指示属性是否允许被自身终端之外的其他设备的处理结构获得。
也就是说,通用处理结构视图属性中的用于描述通用功能的属性信息内容的数据结构可以包含功能开关,该功能开关用于明确是否需要开启相关的通用功能,另外,还可以包括策略标识以指示对应的通用处理结构视图属性是否允许被外部的其他设备的处理结构知晓。对于特定处理结构视图属性中的用于描述特定功能的属性信息内容的数据结构,可以包含功能开关,该功能开关用于明确是否需要开启相关的特定功能,另外,还可以包括一个策略标识以指示对应的特定处理结构视图属性是否允许被外部的其他设备的处理结构知晓。
对于不同的处理结构来说,根据其适用到的对象的不同,内部处理相关的功能(例如,通用功能和特定功能)也是千差万别的。例如,对于内存、计算能力、存储相关的处理结构来说,其主要涉及表示资源占用相关的内容;而对于路由、连接、故障通告管理等涉及协议运行或者内部组件相关的处理结构来说,其主要涉及如何使用自身的属性来管理不同的协议和组件,以使得这些协议和组件满足设备功能的需要,所述功能比如说开启路由协议洪泛的功能、关闭路由学习的功能。
本公开实施例中,通过扩展处理结构的属性,明确地将处理结构的属性分为通用处理结构视图属性以及特定处理结构视图属性。举例来说,对于一个运行路由协议的第一处理结构,其计算能力、存储以及内存等属性是属于通用的属性特征,因而这些通用的属性可以包含在通用处理结构视图属性中,用于指示当前此处理结构所占用的资 源情况;而当终端中连接有特定功能的设备(例如,打印机)时,终端的第一处理结构可以具有特定功能(例如,打印功能),该特定功能表征的是与终端的连接的部件的功能。这里,对于打印功能这种特定功能来说,需要打印时才开启打印功能,不需要的时候打印功能处于关闭状态。对于路由协议这种特定功能来说,有些情况下只需要开启路由学习的功能即可,而有些情况下则需要将路由学习的功能和路由发布的功能都开启。因此,特定功能的开启和关闭是需要进行定义的,对于通用的处理功能来说也是如此。
需要说明的是,通用功能和特定功能都可以包括多种子功能,因此,在第一处理结构中,每个子功能都有其对应的子属性,通用处理结构视图属性对应多个通用子通用属性,特定处理结构视图属性对应多个特定子特定属性的。
在此情况下,需要针对通用处理结构视图属性和特定处理结构视图属性中的每个子属性来设置功能开关按钮,所述开关按钮可以用于明确是否需要开启相关的功能,也即指示第一处理结构是否支持某项功能(通用功能或特定功能)。
在步骤S103,采用第一处理结构实现信息处理。
在重新添加或设置了第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性之后,终端可以利用包含第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性的第一处理结构进行信息处理。
在本公开实施例中,终端可以实现自身的通用功能更和特定功能中的至少一种。因此,在重新设置了属性后,该终端就可以基于第一处理结构的类型属性获知该第一处理结构的类型,基于所述类型和通用处理结构视图属性以及特定处理结构视图属性的内容来实现相应功能的信息处理。
在本公开实施例中,终端采用第一处理结构实现信息处理时,终端还需要使用约束域(约束域模型),例如,可以由约束域模型提供一个总的资源池,第一处理结构实例从这个资源池中获取需要使用的资源信息等。约束域的属性被扩展设置为包括特定资源标识、总的 可用资源信息和资源使用信息的三元组。总的可用资源信息表征第一处理结构的最大可用资源约束信息,特定资源标识用于表征第一处理结构对于特定功能的资源约束信息,资源使用信息表征第一处理结构已经使用的资源的信息。
基于上述实现,终端就可以采用第一处理结构,在约束域中获取资源信息以实现信息处理。
示例性的,约束域的结构可以如图2所示,将三元组作为约束域的扩展属性来实现。
可以理解的是,由于终端可以将自身使用的第一处理结构的通用功能和特定功能进行统一的属性处理,并且对第一处理结构的类型进行设置,实现了处理结构的完善设置和管理。由此,终端在使用第一处理结构时,可以按照统一的处理方式对统一的上述处理结构进行管理,从而实现处理结构管理的多样性。
如图3所示,本公开另一实施例提供了一种数据处理方法。所述方法可以包括以下步骤:S104-S106。所述步骤S104-S106与上述步骤S101-S103在图3中一起示出。
在步骤S104,获取终端的邻接信息。
在本公开实施例中,处于网络中的不同设备之间是可以进行通信的,因此,每个设备可以获取邻接信息,其中,邻接信息表征在网络中与某个设备(即实体)相邻的设备连接信息。
在本公开实施例中,邻接信息可以包括设备与设备之间的邻接的拓扑信息,也可以包括设备内部自身的拓扑结构,本公开实施例对此不作限制。
在步骤S105,根据邻接信息,确定与终端存在邻接关系的第二处理结构。
在步骤S106,当从第二处理结构处接收到第二处理结构的属性信息时,将第二处理结构的属性信息设置为第一处理结构的邻接属性。
终端在获取到了邻接信息之后,该终端可以确定与终端存在邻接关系的第二处理结构,其中,邻接关系是指终端与终端或者设备与设备之间(即实体之间)的连接关系。若终端与终端、或者设备与设 备之间是直接连接的,则存在邻接关系,否则不存在邻接关系。
在本公开实施中,由于邻接信息可以包括设备与设备之间的邻接的拓扑信息,也可以包括设备内部自身的拓扑结构,因此,第二处理结构可以存在于与终端不同的设备中,也可以为终端中的不同于第一处理结构的处理结构,本公开实施例不作限制。
在本公开实施例中,由于终端获取的邻接的拓扑结构可以包括邻居和下层的拓扑结构,因此,第二处理结构可以包括邻居处理结构和下层处理结构。这样,终端的第一处理结构可能会从第二处理结构中获取到其传送给第一处理结构的第二处理结构的属性信息,而终端可以将第二处理结构的属性信息设置为第一处理结构的邻接属性。
在本公开实施例中,由于第二处理结构可以包括邻居处理结构和下层处理结构,因此,第一处理结构的邻接属性可以包括:邻居处理结构视图属性和下层处理结构视图属性。邻居处理结构视图属性用于描述和第一处理结构通信的邻居处理结构传递过来的属性信息(其通过邻居报文传送,并可为与第一处理结构的属性匹配的相同的属性),下层处理结构视图属性用于描述和第一处理结构通信的下层处理结构上报的属性信息(其可为与第一处理结构的属性匹配的相同的属性)。
在本公开实施例中,邻居处理结构可以是与第一处理结构同性质(例如,软件)的处理结构,例如不同路由协议设备之间交互时各自的处理结构;也可以是不同性质的处理结构,例如,在图4所示的拓扑结构中,路由协议设备(即路由协议处理结构)需要从邻居发现协议设备(邻居发现协议处理结构)中拿到一些信息,进而形成自身的部分拓扑信息。下层处理结构视图属性可以接收下层的一些处理结构(例如,路由协议处理结构2-1、路由协议处理结构2-2和路由协议处理结构2-3)上报的信息,举个例子来说,路由是分层的,下层路由域的设备将各自负责的路由信息上报给上层路由域的设备,上层的设备与下层的这些设备之间是递归的关系,上层的设备可以接收多个下层的设备上报的信息。处理结构需要使用一个单独的处理结构属性来接收下层递归传递上来的内容。同样的,处理结构需要使用一个 单独的处理结构属性来接收邻居传递来的内容。邻居发现协议处理结构与路由协议处理结构2-3使用同一个约束域2-3,而路由协议处理结构1-1使用约束域1-1,由于约束域不同,路由协议处理结构1-1与邻居发现协议处理结构不是邻居关系。在本公开实施例中,邻居处理结构的判定依据为使用一个约束域。下层处理结构可与上层处理结构属于同一约束域,也可以属于不同的约束域,本公开实施例对此不作限制。
需要说明的是,在本公开实施例中,采用示图的方式表示处理结构的下层处理结构上报的属性信息和邻居处理结构传送的属性信息,可以理解的是,也可以采用其他表现方式来表示处理结构的上述属性信息,本公开实施例对此不作限制。
在本公开实施例中,第一处理结构和第二处理结构可以处于一个设备内部(终端内部),也可能处于不同的设备上。确定属性信息可能需要在不同的处理结构(例如,第一处理结构和第二处理结构之间)之间交互,而根据运营商的策略或者机密性需要,有些属性信息不允许在不同设备(终端)之间交互,基于此,需要明确的策略标识来指示所述属性是否允许被外部的其他处理结构知晓。
示例性的,对于邻居发现的处理结构和路由协议的处理结构之间的交互,如果是要路由相关的属性信息,例如链路两端的邻居信息,则需要明确要同路由协议的处理结构之间进行交互,而如果要路由例如自动发现协议PC处理结构的一些管理配置信息,则路由协议的处理结构不需要关注发现协议处理结构的管理配置信息,这一部分属性内容不需要在两个不同的处理结构之间交互。
步骤S106还可以包括:在从第二处理结构处接收到第二处理结构的属性信息后,将第二处理结构的属性信息的至少一部分存储在通用处理结构视图属性或特定处理结构视图属性中。
终端在设置了通用处理结构视图属性以及特定处理结构视图属性之后,在从第二处理结构处接收到第二处理结构的属性信息后,将第二处理结构的属性信息存储在其通用处理结构视图属性或特定处理结构视图属性中。
在本公开实施例中,第二处理结构的属性信息可以用于第一处理结构的邻居处理结构属性信息和下层处理结构属性信息。所述邻居处理结构属性信息和下层处理结构的属性信息中包括第二处理结构的通用结构属性信息和特定处理结构属性信息,这样,终端在存储时,可以将所述邻居处理结构属性信息和下层处理结构的属性信息中的第二处理结构的通用处理结构属性信息存储在第一处理结构的通用处理结构视图属性中,将所述邻居处理结构属性信息和下层处理结构的属性信息中的第二处理结构的特定处理结构属性信息存储在第一处理结构的特定处理结构视图属性中。本公开实施例也可以不限定对存储的具体内容的划分,将所述邻居处理结构属性信息和下层处理结构的属性信息全部存储在通用处理结构视图属性或特定处理结构视图属性中。
也就是说,不同处理结构之间(例如,第一处理结构和第二处理结构之间)的交互,也要遵循相关的设定的使用策略和规则。对于一个设备内部(例如终端),通用处理结构视图属性和特定处理结构视图属性的内容输入来自于邻居处理结构视图属性和下层处理结构视图属性;而邻居处理结构视图属性和下层处理结构视图属性主要来自于邻接处理结构(例如,邻居处理结构或者下层处理结构)的通用处理结构视图属性和特定处理结构视图属性的内容。
示例性的,本公开实施例中的第一处理结构增加了如图5所示的属性,对于类型属性、邻居处理结构视图属性、下层处理结构视图属性、通用处理结构视图属性和特定处理结构视图属性所存储的信息,是通过每个属性的数据结构来表示的。
可以理解的是,通过采用本公开实施例中的扩展的第一处理结构实现信息处理,可以从资源约束信息、协议占用资源信息、协议管理功能信息等多个方面体现资源约束信息,提供了丰富的用于管理各种协议/模块的功能,描述了不同处理结构之间的关联关系等。本公开实施例中的第一处理结构可以通过扩展的属性及其定义的数据结构来描述设备/部件内部处理可用资源信息、总体资源信息以及特定处理结构的信息等并提供统一管理,提高了管理的多样性。
如图6所示,本公开实施例还提供了一种终端1,该终端1包括第一处理结构(未示出),并且该终端1还包括:获取单元10、设置单元11和处理单元12。
所述获取单元10设置为获取所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息。
所述设置单元11设置为将所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息分别设置为所述第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性。
所述处理单元12设置为采用所述第一处理结构实现信息处理。
在本公开的一些实施例中,所述终端1还包括确定单元13和接收单元14(未示出)。
所述获取单元10还设置为所述采用所述第一处理结构实现信息处理之前,获取所述终端的邻接信息。
所述确定单元13设置为根据所述邻接信息,确定与所述终端存在邻接关系的第二处理结构。
所述接收单元14设置为从所述第二处理结构处接收所述第二处理结构的属性信息。
所述设置单元11还设置为当所述接收单元14从所述第二处理结构处接收到所述第二处理结构的属性信息时,将所述第二处理结构的属性信息设置为所述第一处理结构的邻接属性。
在本公开的一些实施例中,所述第二处理结构包括邻居处理结构或下层处理结构,并且所述第一处理结构的邻接属性包括邻居处理结构视图属性和下层处理结构视图属性。
在本公开的一些实施例中,所述设置单元11还设置为:当所述第二处理结构是邻居处理结构时,将所述第二处理结构的属性信息设置为所述第一处理结构的邻居处理结构视图属性,以及当所述第二处理结构是下层处理结构时,将所述第二处理结构的属性信息设置为所述第一处理结构的下层处理结构视图属性。
在本公开的一些实施例中,所述终端1还包括:存储单元15(未示出)。
所述存储单元15设置为在所述接收单元14从所述第二处理结构处接收到所述第二处理结构的属性信息后,将所述第二处理结构的属性信息的至少一部分存储在所述通用处理结构视图属性或所述特定处理结构视图属性中。
在本公开的一些实施例中,所述通用处理结构视图属性和所述特定处理结构视图属性均包括:功能开关和策略标识,其中,所述功能开关用于确定是否开启属性对应的相关功能,所述策略标识用于指示属性是否允许被所述终端之外的其他处理结构获得。
在本公开的一些实施例中,所述终端还使用约束域,所述约束域的属性设置有特定资源标识、总的可用资源信息和资源使用信息。
在本公开的一些实施例中,所述处理单元12还设置为采用所述第一处理结构,在所述约束域中获取资源信息以实现信息处理。
可以理解的是,在本公开实施例中,“部分”可以是部分电路、部分处理器、部分程序或软件等等;当然,其也可以是单元,还可以是模块。本公开实施例对此不作限制。
在实际应用中,上述获取单元10、设置单元11、处理单元12、确定单元13可由终端上的处理器16实现。所述处理器16可以包括例如中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Microprocessor Unit)、数字信号处理器(DSP,Digital Signal Processing)或现场可编程门阵列(FPGA,Field Programmable Gate Array)等。接收单元14可由通信接口17实现,存储单元15可由存储器18实现。该存储器18和通信接口17可通过通信总线19与处理器16进行通信。
如图7所示,本公开实施例还提供了一种终端,其包括:处理器16、通信接口17以及存储有所述处理器16可执行指令的存储器18,所述存储器18通过通信接口17连接到的通信总线19和所述处理器16,当所述可执行指令被所述处理器16执行时,使得执行上述各实施例中所述的数据处理方法。
另外,在本公开实施例中的各组成部分可以集成在一个处理单元中,也可以以各个单元的形式单独存在,也可以两个或两个以上单 元集成在一起。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
如果上述单元以软件功能模块的形式实现而并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本公开实施例的技术方案的本质部分或者说做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现,该计算机软件产品可以存储在一个存储介质中,并包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器或者网络设备等)或processor(处理器)执行本公开实施例所述方法的全部或部分步骤。所述存储介质可以包括:磁性随机存取存储器(ferromagnetic random access memory,FRAM)、只读存储器(Read Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(Compact Disc Read-Only Memory,CD-ROM)等各种可以存储程序代码的介质,本公开实施例对此不作限制。
这样,本公开实施例可以提供一种计算机可读存储介质,其存储有可执行指令,当所述可执行指令被一个或多个处理器执行时,使得执行上述各实施例所述的数据处理方法。
可以理解的是,由于终端可以将自身使用的第一处理结构的通用功能和特定功能进行统一的属性处理,并且对第一处理结构的类型进行了设置,实现了处理结构的完善设置和管理,这样,终端在使用第一处理结构时,就可以按照统一的处理方式对统一的上述处理结构进行管理,从而实现了处理结构管理的多样性。
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。本公开还可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包 括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解,可由计算机程序指令来实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述仅为本公开的示例性实施例,并非用于限定本公开。

Claims (18)

  1. 一种数据处理方法,应用于网络中使用第一处理结构的终端,包括以下步骤:
    获取所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息;
    将所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息分别设置为所述第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性;以及
    采用所述第一处理结构实现信息处理。
  2. 根据权利要求1所述的方法,其中,在所述采用所述第一处理结构实现信息处理的步骤之前,还包括以下步骤:
    获取所述终端的邻接信息;
    根据所述邻接信息,确定与所述终端存在邻接关系的第二处理结构;以及
    当从所述第二处理结构处接收到所述第二处理结构的属性信息时,将所述第二处理结构的属性信息设置为所述第一处理结构的邻接属性。
  3. 根据权利要求2所述的方法,其中,
    所述第二处理结构包括邻居处理结构或下层处理结构,并且所述第一处理结构的邻接属性包括邻居处理结构视图属性和下层处理结构视图属性。
  4. 根据权利要求3所述的方法,其中,所述当从所述第二处理结构处接收到所述第二处理结构的属性信息时,将所述第二处理结构的属性信息设置为所述第一处理结构的邻接属性的步骤包括以下步骤:
    当所述第二处理结构是邻居处理结构时,将所述第二处理结构 的属性信息设置为所述第一处理结构的邻居处理结构视图属性,以及
    当所述第二处理结构是下层处理结构时,将所述第二处理结构的属性信息设置为所述第一处理结构的下层处理结构视图属性。
  5. 根据权利要求2所述的方法,其中,在从所述第二处理结构处接收到所述第二处理结构的属性信息后,所述方法还包括以下步骤:
    将所述第二处理结构的属性信息的至少一部分存储在所述通用处理结构视图属性或所述特定处理结构视图属性中。
  6. 根据权利要求1所述的方法,其中,
    所述通用处理结构视图属性和所述特定处理结构视图属性均包括:功能开关和策略标识,其中,所述功能开关用于确定是否开启属性对应的相关功能,所述策略标识用于指示属性是否允许被所述终端之外的其他处理结构获得。
  7. 根据权利要求1所述的方法,其中,所述终端还使用约束域,所述约束域的属性设置有特定资源标识、总的可用资源信息和资源使用信息。
  8. 根据权利要求7所述的方法,其中,所述采用所述第一处理结构实现信息处理的步骤包括以下步骤:
    采用所述第一处理结构,在所述约束域中获取资源信息以实现信息处理。
  9. 一种终端,其包括第一处理结构,并且还包括:
    获取单元,其设置为获取所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息;
    设置单元,其设置为将所述第一处理结构的类型、通用功能的属性信息以及特定功能的属性信息分别设置为所述第一处理结构的类型属性、通用处理结构视图属性以及特定处理结构视图属性;以及
    处理单元,其设置为采用所述第一处理结构实现信息处理。
  10. 根据权利要求9所述的终端,还包括确定单元和接收单元,其中,
    所述获取单元还设置为所述采用所述第一处理结构实现信息处理之前,获取所述终端的邻接信息;
    所述确定单元设置为根据所述邻接信息,确定与所述终端存在邻接关系的第二处理结构;
    所述接收单元设置为从所述第二处理结构处接收所述第二处理结构的属性信息;并且
    所述设置单元还设置为当所述接收单元从所述第二处理结构处接收到所述第二处理结构的属性信息时,将所述第二处理结构的属性信息设置为所述第一处理结构的邻接属性。
  11. 根据权利要求10所述的终端,其中,
    所述第二处理结构包括邻居处理结构或下层处理结构,并且所述第一处理结构的邻接属性包括邻居处理结构视图属性和下层处理结构视图属性。
  12. 根据权利要求11所述的终端,其中,所述设置单元还设置为:
    当所述第二处理结构是邻居处理结构时,将所述第二处理结构的属性信息设置为所述第一处理结构的邻居处理结构视图属性,以及
    当所述第二处理结构是下层处理结构时,将所述第二处理结构的属性信息设置为所述第一处理结构的下层处理结构视图属性。
  13. 根据权利要求10所述的终端,还包括存储单元,其中,
    所述存储单元设置为在所述接收单元从所述第二处理结构处接收到所述第二处理结构的属性信息后,将所述第二处理结构的属性信息的至少一部分存储在所述通用处理结构视图属性或所述特定处理 结构视图属性中。
  14. 根据权利要求9所述的终端,其中,
    所述通用处理结构视图属性和所述特定处理结构视图属性均包括:功能开关和策略标识,其中,所述功能开关用于确定是否开启属性对应的相关功能,所述策略标识用于指示属性是否允许被所述终端之外的其他处理结构获得。
  15. 根据权利要求9所述的终端,其中,
    所述终端还使用约束域,所述约束域的属性设置有特定资源标识、总的可用资源信息和资源使用信息。
  16. 根据权利要求15所述的终端,其中,
    所述处理单元设置为采用所述第一处理结构,在所述约束域中获取资源信息以实现信息处理。
  17. 一种终端,包括:
    处理器、通信接口以及存储有处理器可执行指令的存储器,其中,所述存储器通过通信接口连接到的通信总线和处理器,当所述可执行指令被所述处理器执行时,使得执行如权利要求1至8中任一项所述的数据处理方法。
  18. 一种计算机可读存储介质,其存储有可执行指令,当所述可执行指令被一个或多个处理器执行时,使得执行如权利要求1至8中任一项所述的数据处理方法。
PCT/CN2019/081284 2018-05-11 2019-04-03 数据处理方法、终端及计算机可读存储介质 WO2019214374A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810449627.3A CN110474788B (zh) 2018-05-11 2018-05-11 一种数据处理方法、终端及计算机可读存储介质
CN201810449627.3 2018-05-11

Publications (1)

Publication Number Publication Date
WO2019214374A1 true WO2019214374A1 (zh) 2019-11-14

Family

ID=68467243

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/081284 WO2019214374A1 (zh) 2018-05-11 2019-04-03 数据处理方法、终端及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN110474788B (zh)
WO (1) WO2019214374A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147348B (zh) * 2005-07-28 2011-05-18 中兴通讯股份有限公司 自动交换光网络层次路由计算和连接建立的方法
US20130158985A1 (en) * 2004-04-16 2013-06-20 At&T Intellectual Property Ii, L.P. System and Method for Converting Graphical Call Flows Into Finite State Machines
CN103914307A (zh) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 一种基于可复用库的交互界面快速实现方法
CN106066611A (zh) * 2015-04-21 2016-11-02 三星电子株式会社 通过对接对功能进行扩展的方法及其电子装置
CN106933570A (zh) * 2017-02-16 2017-07-07 北京临近空间飞行器系统工程研究所 一种基于插件技术的航天测发控软件平台

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5998835B2 (ja) * 2012-10-18 2016-09-28 富士ゼロックス株式会社 情報処理装置及びプログラム
WO2015085507A1 (zh) * 2013-12-11 2015-06-18 华为技术有限公司 数据存储方法、数据处理方法、装置及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130158985A1 (en) * 2004-04-16 2013-06-20 At&T Intellectual Property Ii, L.P. System and Method for Converting Graphical Call Flows Into Finite State Machines
CN101147348B (zh) * 2005-07-28 2011-05-18 中兴通讯股份有限公司 自动交换光网络层次路由计算和连接建立的方法
CN103914307A (zh) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 一种基于可复用库的交互界面快速实现方法
CN106066611A (zh) * 2015-04-21 2016-11-02 三星电子株式会社 通过对接对功能进行扩展的方法及其电子装置
CN106933570A (zh) * 2017-02-16 2017-07-07 北京临近空间飞行器系统工程研究所 一种基于插件技术的航天测发控软件平台

Also Published As

Publication number Publication date
CN110474788A (zh) 2019-11-19
CN110474788B (zh) 2022-04-15

Similar Documents

Publication Publication Date Title
CN110741603B (zh) 拓扑探测器
CN110692227B (zh) 识别网络意图形式对等性失败中的冲突规则
CN111034122B (zh) 分析网络节点内存利用率的系统、方法和计算机可读介质
CN110754062B (zh) 网络节点存储器利用率分析
WO2021139788A1 (zh) 云网关配置方法、系统、设备及计算机可读存储介质
CN110710161B (zh) 生成网络的设备级逻辑模型
CN110785963B (zh) 从网络收集网络模型和节点信息
CN110785964B (zh) 网络中第3层桥接域子网的验证
US11283680B2 (en) Identifying components for removal in a network configuration
CN110785965A (zh) 网络中使用虚拟路由转发容器的第3层的验证
WO2020119476A1 (zh) 联盟链信息发布控制方法及终端设备
US11240174B2 (en) Systems and methods for intelligent application grouping
CN110754065A (zh) 网络的逻辑级和硬件级之间的网络验证
US10942785B2 (en) Integration of software applications with infrastructure
CN110800259B (zh) 跨以应用为中心的维度的分布式故障代码聚合
CN111034123A (zh) 网络中第1层接口的验证
CN111709023A (zh) 一种基于可信操作系统的应用隔离方法及系统
CN109672562A (zh) 数据处理方法、装置、电子设备及存储介质
CN113238923B (zh) 基于状态机的业务行为溯源方法及系统
CN111262724A (zh) 一种域间信任关系的确认方法和装置
WO2019214374A1 (zh) 数据处理方法、终端及计算机可读存储介质
CN114553706A (zh) 网络拓扑发现方法、装置及电子设备
CN113726855B (zh) 服务聚合方法、装置、电子设备以及计算机可读存储介质
CN114244555A (zh) 一种安全策略的调整方法
CN113014411B (zh) 管理网络设备的方法、设备和系统

Legal Events

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

Ref document number: 19799901

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19799901

Country of ref document: EP

Kind code of ref document: A1