CN110474788B - Data processing method, terminal and computer readable storage medium - Google Patents

Data processing method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110474788B
CN110474788B CN201810449627.3A CN201810449627A CN110474788B CN 110474788 B CN110474788 B CN 110474788B CN 201810449627 A CN201810449627 A CN 201810449627A CN 110474788 B CN110474788 B CN 110474788B
Authority
CN
China
Prior art keywords
processing structure
attribute
processing
information
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810449627.3A
Other languages
Chinese (zh)
Other versions
CN110474788A (en
Inventor
王其磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810449627.3A priority Critical patent/CN110474788B/en
Priority to PCT/CN2019/081284 priority patent/WO2019214374A1/en
Publication of CN110474788A publication Critical patent/CN110474788A/en
Application granted granted Critical
Publication of CN110474788B publication Critical patent/CN110474788B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The embodiment of the invention discloses a data processing method, a terminal and a computer readable storage medium, which are applied to a terminal using a first processing structure in a network, and the method comprises the following steps: acquiring the type of a first processing structure, attribute information of a general 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, the general processing structure view attribute and the specific processing structure view attribute of the first processing structure respectively; information processing is achieved using a first processing structure.

Description

Data processing method, terminal and computer readable storage medium
Technical Field
The embodiment of the invention relates to a control information model technology in the field of electronic communication, in particular to a data processing method, a terminal and a computer readable storage medium.
Background
Management and Control integration (MCC) can adopt a set of unified model to manage the network and Control functions, and the Management and Control integration adopted currently can integrate the Management of the network and the Management of the Control functions together for use, so that the Management efficiency is greatly improved. In order to use a set of unified models to manage the control function and the network, standards organizations such as Open Network Foundation (ONF) and ITU-T SG15 have been discussed in this field, and a Processing structure (PC) model, a controller model, and the like are issued in succession to control the model of the fusion scene. The process structure model may be used to represent general functions, and may be used to represent management functions in the aspect of forwarding control functions, and management-related functions (functions related to network management) such as fault handling. In practical applications, the process structure model is used in conjunction with a Constrained Domain (CD) model or the like.
Currently, some properties of the process structure and the constraint domain are defined in the process structure model that has been released by the ONF standards organization. The processing structure models that are released include attributes of how a processing structure is associated with a particular hardware device, attributes of how a processing structure is associated with a forwarding related information model, attributes of how a processing structure communicates with other processing structures, how a processing structure supports recursion, and how a processing structure makes redundant backups.
However, the current processing structure uses a general way (i.e. a general function represented by a general processing structure) to represent internal processing, and only some general attributes are embodied in general, but there is no better way to implement uniform management for the function information implemented by a specific way for the processing structure (i.e. a specific function represented by a specific processing structure).
Disclosure of Invention
Embodiments of the present invention are intended to provide a data processing method, a terminal, and a computer-readable storage medium, which can manage a processing structure of the terminal in a unified manner, thereby implementing diversity of management of the processing structure.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a data processing method, which is applied to a terminal using a first processing structure in a network and comprises the following steps:
acquiring the type of the first processing structure, attribute information of a general 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, the general processing structure view attribute and the specific processing structure view attribute of the first processing structure respectively;
and realizing information processing by adopting the first processing structure.
In the foregoing solution, before the information processing is implemented by using the first processing structure, the method further includes:
acquiring adjacent information of the terminal;
determining a second processing structure having an adjacent relation with the terminal according to the adjacent information;
when receiving the attribute information of the second processing structure from the second processing structure, setting the attribute information of the second processing structure as the adjacent attribute of the first processing structure.
In the above scheme, the second processing structure includes a neighbor processing structure and a lower layer processing structure; the adjacency attribute of the first processing structure includes: a neighbor process structure view attribute and an underlying process structure view attribute.
In the above solution, when receiving the attribute information of the second processing structure from the second processing structure, the method further includes:
and storing the attribute information of the second processing structure in the general processing structure view attribute and the specific processing structure view attribute respectively.
In the above solution, the generic processing structure view attribute and the specific processing structure view attribute each include: function switches and policy identification; the function switch is used for determining whether to start a related function corresponding to the attribute, and the policy identifier is used for indicating whether the attribute is allowed to be obtained by other processing structures except the terminal.
In the above scheme, the terminal further uses a constraint domain, and the attribute of the constraint domain is provided with a specific resource identifier, total available resource information, and resource usage information.
In the foregoing solution, the implementing information processing by using the first processing structure includes:
and acquiring resource information in the constraint domain by adopting the first processing structure to realize information processing.
An embodiment of the present invention provides a terminal, including a first processing structure, and further including:
an acquisition unit configured to acquire a type of the first processing structure, attribute information of a general function, and attribute information of a specific function;
a setting unit, 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 a type attribute, a general processing structure view attribute, and a specific processing structure view attribute of the first processing structure, respectively;
and the processing unit is used for realizing information processing by adopting the first processing structure.
In the above terminal, the terminal further includes a determining unit and a receiving unit;
the acquiring unit is further configured to acquire the adjacent information of the terminal before the information processing is implemented by using the first processing structure;
the determining unit is used for determining a second processing structure having an adjacent relation with the terminal according to the adjacent information;
the receiving unit is used for receiving the attribute information of the second processing structure from the second processing structure;
the setting unit is further configured to set the attribute information of the second processing structure as an adjacent attribute of the first processing structure.
In the above terminal, the second processing structure includes a neighbor processing structure and a lower layer processing structure; the adjacency attribute of the first processing structure includes: a neighbor process structure view attribute and an underlying process structure view attribute.
In the above terminal, the terminal further includes: a storage unit;
the storage unit is configured to, when receiving the attribute information of the second processing structure received from the second processing structure, store the attribute information of the second processing structure in the general processing structure view attribute and the specific processing structure view attribute, respectively.
In the above terminal, the generic processing structure view attribute and the specific processing structure view attribute each include: function switches and policy identification; the function switch is used for determining whether to start a related function corresponding to the attribute, and the policy identifier is used for indicating whether the attribute is allowed to be obtained by other processing structures except the terminal.
In the above terminal, the terminal further uses a constraint domain, and the attribute of the constraint domain is provided with a specific resource identifier, total available resource information, and resource usage information.
In the above terminal, the processing unit is specifically configured to acquire the resource information in the constraint domain by using the first processing structure to implement information processing.
An embodiment of the present invention further provides a terminal, including:
a processor, a communication interface and a memory storing executable instructions of the processor, wherein the memory depends on a communication bus connected with the communication interface to execute operations of the processor, and when the executable instructions are executed by the processor, the data processing method is executed.
Embodiments of the present invention provide a computer-readable storage medium, which stores executable instructions, and when the executable instructions are executed by one or more processors, the processors execute the data processing method.
The embodiment of the invention provides a data processing method, a terminal and a computer readable storage medium, which are applied to a terminal using a first processing structure in a network and comprise the following steps: acquiring the type of a first processing structure, attribute information of a general 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, the general processing structure view attribute and the specific processing structure view attribute of the first processing structure respectively; information processing is achieved using a first processing structure. By adopting the technical scheme, the terminal can carry out unified attribute processing on the general function and the specific function of the first processing structure used by the terminal, and the type of the first processing structure is set, so that the perfect setting and management of the processing structure are realized, and thus, when the terminal uses the first processing structure, the unified processing structure can be managed according to a unified processing mode, and the diversity of processing structure management is realized.
Drawings
Fig. 1 is a first flowchart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an exemplary constraint domain structure provided by an embodiment of the present invention;
fig. 3 is a first flowchart of a data processing method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an exemplary processing structure and topology of constraint domains provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of an exemplary first processing structure provided by an embodiment of the present invention;
fig. 6 is a first schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In the embodiment of the present invention, before the concept of convergence of transport network management and control comes forward, a person skilled in the art makes a relatively clear distinction between management of a network and management of a control function. The management of the control function mainly focuses on managing and controlling functions of forwarding, routing and the like of the device, for example, which functions are to be turned on and which functions are to be turned off; the management function of the network mainly focuses on the aspects of equipment and network failure, configuration, performance, auditing, safety and the like. Both the management of the network and the management of the control functions are in most cases present as separate logical functions.
In the embodiment of the present invention, since the processing structure model may be used to represent some generalized functions, the processing structure model can be used to represent management functions in the aspect of forwarding control functions, and also can represent management-related functions (functions related to management of a network) such as fault handling. In practical applications, the scenario where the processing structure model is used in combination with a constrained domain model (i.e., a constrained domain) and the like may be as follows: the constraint domain model can be used for representing the available memory or computing capacity of a device or a single board inside the device, and is used for describing the overall constraint capacity of the device; the process structure model is used to describe a specific instance of the capabilities provided using a certain constraint domain model. As a simple example, a protocol instance runs in the memory of a board, and the protocol instance is actually a processing structure, and the memory of the board is actually a constrained domain because the memory resource of the board is limited.
In an embodiment of the invention, a processing fabric is a device used to identify potential or running processing-capable entities that connect two or more different ports and pass processing-related information between the ports.
Based on the above description, the following examples are proposed.
Example one
An embodiment of the present invention provides a data processing method, as shown in fig. 1, the method may include:
s101, acquiring the type of the first processing structure, the attribute information of the general function and the attribute information of the specific function.
In the embodiment of the present invention, the method is applied to a device using a processing structure in a network, and different devices in the network can communicate with each other, and here, a description of the data processing method in the embodiment of the present invention, that is, a terminal using a first processing structure in the embodiment of the present invention, is performed for one of the devices.
Optionally, the terminal in the embodiment of the present invention may be an electronic device using a processing structure, such as a personal computer and a mobile phone, and the type of the terminal is not limited in the embodiment of the present invention.
It should be noted that, according to the definition in the ONF information model working group TR512.11, the processing structures are mainly used to represent general functions related to internal processing, but not to represent forwarding related information, and one processing structure may be a memory, a computing power, a storage related processing structure (resource type), a routing protocol, an internal component related to connection service maintenance, or a processing structure (routing type) of an internal component related to internal interaction.
That is, the processing structure implements different related functions based on its own functional characteristics, and then the processing structure may be classified based on its general functions to obtain the type of the processing structure, and meanwhile, due to the difference of the related functions targeted by the processing structure, the functions that the processing structure can handle may include a general function and a specific function, where the specific function is the function that the processing structure can implement.
Then, in the terminal in the embodiment of the present invention, the terminal itself may obtain 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. Wherein the attribute information of the general function represents general information suitable for all processing functions; the attribute information of the specific function characterizes information of the processing function related to the specific application.
In embodiments of the present invention, a particular attribute field is used to indicate the type of processing structure (e.g., the type of the first processing structure), e.g., a type attribute field. Wherein the type of the first processing structure may include: a resource type and a route type.
It should be noted that, in the embodiment of the present invention, for different processing structures, the attributes of the processing structures are different, and the type attribute field is defined to explicitly identify which type of processing structure the processing structure is, so that the application to the processing structure can be more conveniently supported. For example, if a processing structure is a memory, computing power, storage related processing structure, the type attribute field is used to indicate which type of resource is occupying the processing structure; if a processing structure is a processing structure of a routing protocol, a connection component or an internal component related to alarm notification reporting, the processing structure is indicated by the type attribute field to be used for storing the relevant state content of the management protocol.
S102, 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, the general processing structure view attribute and the specific processing structure view attribute of the first processing structure respectively.
After the terminal acquires the type of the first processing structure, the attribute information of the general function, and the attribute information of the specific function, in this embodiment of the present invention, the terminal may set the type of the first processing structure as the type attribute of the first processing structure, set the attribute information of the general function as the general processing structure view attribute of the first processing structure, and set the specific processing structure view attribute as the specific processing structure view attribute of the first processing structure. The generic processing structure view attribute stores some generic information suitable for all processing functions, and the specific processing structure view stores information of processing functions related to a specific application.
In the embodiment of the present invention, the attribute information of the general function and the attribute information of the specific function of the processing structure are represented in a diagram, it is to be understood that other representation manners may be used to represent the attribute information of the general function and the attribute information of the specific function of the processing structure, and the embodiment of the present invention is not limited thereto.
In the embodiment of the invention, the attributes of the first processing structure are all provided with own data structures, and are independent and independent.
In this embodiment of the present invention, the general processing structure view attribute and the specific processing structure view attribute both include: function switches and policy identification; the function switch is used for determining whether to start a related function corresponding to the attribute, and the policy identifier is used for indicating whether the attribute is allowed to be obtained by a processing structure of other equipment except the terminal of the policy identifier.
That is, for the data structure of the attribute information content for describing the general function in the general processing structure view attribute, a function switch should be included, where the function switch is used to determine whether the related general function needs to be turned on, and a policy identifier should also be extended to indicate whether the corresponding general processing structure view attribute is allowed to be known by the processing structure of other external devices; for the data structure of the attribute information content for describing the specific function in the specific processing structure view attribute, a function switch should be included, and the function switch is used to determine whether the related specific function needs to be turned on, and a policy identifier should also be extended to indicate whether the corresponding specific processing structure view attribute is allowed to be known by the processing structure of other external devices.
For example, the internal processing-related functions (e.g., general-purpose functions and specific functions) of different processing structures are also very different according to the objects to which they are applied. For example, for the processing structures related to memory, computing power and storage, the processing structures are mainly used for representing the contents related to resource occupation; the processing structures related to the operation of the protocol or the internal components, such as routing, connection, fault notification management, etc., are completely different, and the processing structure in this scenario mainly relates to how to use its own attribute mechanism to manage different protocols and components, so that the protocols and components meet the needs of the device functions, for example, a scenario of opening the function of routing protocol flooding and closing the function of routing learning.
In the embodiment of the invention, the attributes of the processing structure are definitely divided into the general processing structure view attributes and the specific processing structure view attributes by expanding the attributes of the processing structure. For example, for a first processing structure running a routing protocol, the attributes of computing power, storage, and memory are generic attribute features, and these generic attributes may be included in a generic processing structure view attribute to indicate the resource situation occupied by the current processing structure; in the case where a device (printer) having a specific function is connected to the terminal, the first processing structure of the terminal may have a function (printing function) corresponding to the specific function, which is a function of a component connected to the terminal. Here, for a specific function such as a print function, the print function is turned on when printing is required, and the printing is in a turned-off state when not required. For a specific function, such as a routing protocol, in some cases, only a function of route learning needs to be turned on, and in some cases, both a function of route learning and a function of route publishing need to be turned on, so that turning on and off of the specific function needs to be defined, and similarly, the same applies to a general processing function.
It should be noted that, in the embodiment of the present invention, the general-purpose function and the specific function may include multiple sub-functions, rather than only one function, and therefore, in the first processing structure, each sub-function has its corresponding sub-attribute, the general-purpose processing structure view attribute corresponds to multiple general-purpose sub-general attributes, and the specific processing structure view attribute corresponds to multiple specific sub-specific attributes.
In this case, a function toggle button needs to be set for each sub-attribute in the generic processing structure view attribute and the specific processing structure view attribute to specify whether the related function needs to be turned on, that is, to indicate whether the first processing structure supports a certain function (generic or specific).
And S103, realizing information processing by adopting a first processing structure.
After the terminal adds the type attribute, the general processing structure view attribute and the specific processing structure view attribute of the first processing structure again, the terminal can process information by using the first processing structure containing the type attribute, the general processing structure view attribute and the specific processing structure view attribute of the first processing structure.
In the embodiment of the invention, the terminal realizes a certain function or process, which is at least one of a general function and a specific function corresponding to the terminal, so that after the terminal resets the attribute, the terminal can know the type of the first processing structure based on the type attribute of the first processing structure, and realize the information processing of the corresponding function based on the type, the view attribute of the general processing structure and the content of the view attribute of the specific processing structure.
In the embodiment of the present invention, 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 constraint domain model provides a total resource pool, and the specific first processing structure instance obtains resource information and the like that need to be used from the resource pool. And the attribute extension of the constraint domain is provided with a triple of a specific resource identifier, total available resource information and resource use information. The total available resource information characterizes maximum available resource constraint information for the first processing structure, the specific resource identifies resource constraint information characterizing the first processing structure for a specific function, and the resource usage information characterizes information of resources already used by the first processing structure.
Based on the implementation, the terminal can adopt the first processing structure to acquire the resource information in the constraint domain to implement information processing.
Illustratively, the structure of the constraint domain may be implemented as shown in FIG. 2, with triples as extended attributes of the constraint domain.
It can be understood that, because the terminal can perform unified attribute processing on the general function and the specific function of the first processing structure used by the terminal, and set the type of the first processing structure, the perfect setting and management of the processing structure are realized, so that when the terminal uses the first processing structure, the unified processing structure can be managed according to a unified processing mode, and thus, the diversity of processing structure management is realized.
Further, as shown in fig. 3, before implementing information processing by using the first processing structure, an embodiment of the present invention provides a data processing method, which may further include: S104-S107. Wherein S107 is an implementation process following S102 in parallel with S106.
S104, acquiring the adjacent information of the terminal.
In the embodiment of the present invention, when the method is applied to a device using a processing structure in a network, different devices in the network can communicate with each other, and therefore, each device can acquire adjacency information communicated in the network. Wherein adjacency information characterizes device connection information that is adjacent to a certain device (i.e., entity) in the network.
In this embodiment of the present invention, the adjacency information may include topology information of adjacency between devices, or may include a topology structure of the device itself, which is not limited in this embodiment of the present invention.
And S105, determining a second processing structure having an adjacent relation with the terminal according to the adjacent information.
And S106, when receiving the attribute information of the second processing structure from the second processing structure, setting the attribute information of the second processing structure as the adjacent attribute of the first processing structure.
After the terminal acquires the adjacency information, the terminal may or may not have an adjacency relationship with the terminal. The adjacency relation refers to a connection relation between the terminal and the terminal or between the device and the device (i.e., between entities), and if the terminal and the terminal or between the device and the device are directly connected, the adjacency relation exists, otherwise, the adjacency relation does not exist.
In this embodiment of the present invention, since the adjacency information may include topology information of adjacency between devices and may also include a topology structure of the device itself, the second processing structure may exist in a device different from the terminal, or may be a processing structure different from the first processing structure in the terminal, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, since the topology structure of the adjacency acquired by the terminal may be a topology structure including a neighbor and a lower layer, the second processing structure in the embodiment of the present invention may include a neighbor processing structure and a lower layer processing structure. In this way, the first processing structure of the terminal may obtain the attribute information of the second processing structure, which 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 as the adjacent attribute of the first processing structure.
In this embodiment of the present invention, since the second processing structure in this embodiment of the present invention may include a neighbor processing structure and a lower processing structure, the adjacency attribute of the first processing structure includes: a neighbor process structure view attribute and an underlying process structure view attribute. The view attribute of the neighbor processing structure is used to describe attribute information (transmitted by a neighbor packet and matched with the same attribute of the first processing structure) transmitted by the neighbor processing structure communicating with the first processing structure, and the view attribute of the lower processing structure is used to describe attribute information (matched with the same attribute of the first processing structure) reported by the lower processing structure communicating with the first processing structure.
In the embodiment of the present invention, the neighbor processing structure may be a processing structure of the same nature (which may be understood as the same type of software) as the first processing structure, for example, a respective processing structure when interaction between different routing protocol devices is not described; it may also be a processing structure of different nature, for example, as shown in the topology of fig. 4, the routing protocol device (i.e. the routing protocol processing structure) needs to take some information from the neighbor discovery protocol device (neighbor discovery protocol processing structure) to form its own processing structure for partial topology information. The view attribute of the lower layer processing structure is mainly used for receiving information reported by some processing structures (the routing protocol processing structure 2-1, the routing protocol processing structure 2-2, and the routing protocol processing structure 2-3) of the lower layer, for example, the routing is layered, the devices of the routing domain of the lower layer report the routing information respectively responsible for the devices of the routing domain of the upper layer, and the devices are in a recursive relationship, and the devices of the upper layer are actually formed by a plurality of devices of the lower layer. The processing structure needs to use a single processing structure attribute to receive the contents from the lower layer recursive transfer. Similarly, the processing structure needs to use a separate processing structure attribute to receive content delivered by neighbors. The neighbor discovery protocol processing structure and the routing protocol processing structure 2-3 use the same constraint domain 2-3, the routing protocol processing structure 1-1 uses the constraint domain 1-1, and the routing protocol processing structure 1-1 and the neighbor discovery protocol processing structure are not adjacent based on the difference of the constraint domains. In the embodiment of the present invention, the adjacent processing structures are determined based on using one constraint domain, and the lower processing structure may belong to a unified constraint domain with the upper processing structure or may belong to a different constraint domain.
It should be noted that, in the embodiment of the present invention, the attribute information reported by the lower processing structure of the processing structure and the attribute information of the attribute information transmitted by the neighboring processing structure are represented in a diagram manner, it can be understood that other expression manners may also be used to represent the above-mentioned attribute information of the processing structure, and the embodiment of the present invention is not limited thereto.
Further, in the embodiment of the present invention, since the first processing structure and the second processing structure may be located inside one device (inside the terminal) or may be located on different devices. Therefore, for the interaction between different processing structures (between the first processing structure and the second processing structure), according to the policy or confidentiality requirement of the operator, it is determined that the attribute information may need to be interacted between different processing structures, while some attribute information is not allowed to be interacted between different processing structures, and based on the attribute information, an explicit policy identifier is needed to indicate whether a process known by other external processing structures is allowed.
For example, for the interaction between the processing structure of the neighbor discovery and the processing structure of the routing protocol, if the attribute information related to the route, such as the neighbor information at both ends of the link, needs to explicitly interact with the processing structure of the routing protocol, and for some management configuration information of the processing structure of the auto discovery protocol PC, the processing structure of the route does not need to concern the management configuration information of the processing structure of the discovery protocol, and the content of the part of the attribute does not need to interact between two different processing structures.
And S107, when 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 attribute and the specific processing structure view attribute respectively.
The terminal stores the attribute information of the second processing structure in the general processing structure view attribute and the specific processing structure view attribute, respectively, when receiving the attribute information of the second processing structure from the second processing structure after setting the general processing structure view attribute and the specific processing structure view attribute.
In this embodiment of the present invention, the attribute information of the second processing structure includes: neighbor processing structure attribute information and lower layer processing structure attribute information. The neighbor processing structure attribute information and the attribute information of the lower layer processing structure include their own general structure attribute information and specific processing structure attribute information, so that the terminal can store the neighbor processing structure attribute information and the general processing structure attribute information in the attribute information of the lower layer processing structure in the general processing structure view attribute and store the neighbor processing structure attribute information and the specific processing structure attribute information in the attribute information of the lower layer processing structure in the specific processing structure view attribute, where the embodiment of the present invention may not limit the division of the stored specific content, or may store all the information in the general processing structure view attribute and the specific processing structure view attribute.
That is, the interaction between the different processing architectures (i.e., between the first processing architecture and the second processing architecture) is subject to the associated set usage policies and rules. For one device interior (e.g., terminal), the content input for generic processing structure view attributes and specific processing structure view attributes comes from neighbor processing structure view attributes and lower layer processing structure view attributes; and the neighbor processing structure view attribute and the lower layer processing structure view attribute are mainly from the content of the common processing structure view attribute and the specific processing structure view attribute of the adjacent processing structure view attribute or the lower layer other equipment.
Illustratively, based on the setting of the attributes, the first processing structure in the embodiment of the present invention adds the attributes shown in fig. 5 to the existing attributes, and the information stored for the type attribute, the neighbor processing structure view attribute, the lower layer processing structure view attribute, the general processing structure view attribute, and the specific processing structure view attribute is represented by the data structure of each attribute.
It can be understood that, when the extended first processing structure in the embodiment of the present invention is used to implement information processing, resource constraint information may be embodied from multiple aspects such as resource constraint information, protocol occupied resource information, protocol management function information, and the like, so as to provide rich functions for managing various protocols/modules, and describe association relationships between different processing structures, and the like. That is, the first processing structure in the embodiment of the present invention may describe, through the extended attribute and the data structure defined by the extended attribute, unified management of available resource information, total resource information, information of a specific processing structure, and the like in the internal processing of the device/component, so that the management diversity is improved, and the management is more complete.
Example two
Based on the inventive concept of the first embodiment, as shown in fig. 6, an embodiment of the present invention provides a terminal 1, where the terminal 1 uses a first processing structure, and the terminal 1 further includes:
an obtaining unit 10, configured to obtain a type of the first processing structure, attribute information of a general function, and attribute information of a specific function;
a setting unit 11, 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 a type attribute, a general processing structure view attribute, and a specific processing structure view attribute of the first processing structure, respectively;
and the processing unit 12 is used for realizing information processing by adopting the first processing structure.
In some embodiments of the invention, the terminal 1 further comprises a determining unit 13 and a receiving unit 14.
The obtaining unit 10 is further configured to obtain adjacent 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 having an adjacency relationship with the terminal;
the receiving unit 14 is configured 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 as an adjacent attribute of the first processing structure.
In some embodiments of the invention, the second processing structure comprises a neighbor processing structure and an underlying processing structure; the adjacency attribute of the first processing structure includes: a neighbor process structure view attribute and an underlying process structure view attribute.
In some embodiments of the invention, the terminal 1 further comprises: and a storage unit 15.
The storage unit 15 is configured to, when receiving the attribute information of the second processing structure received from the second processing structure, store the attribute information of the second processing structure in the general processing structure view attribute and the specific processing structure view attribute, respectively.
In some embodiments of the present invention, the generic processing structure view attribute and the specific processing structure view attribute each comprise: function switches and policy identification; the function switch is used for determining whether to start a related function corresponding to the attribute, and the policy identifier is used for indicating whether the attribute is allowed to be obtained by other processing structures except the terminal.
In some embodiments of the present invention, the terminal further uses a constraint domain, and the attribute of the constraint domain is set with a specific resource identifier, total available resource information, and resource usage information.
In some embodiments of the present invention, the processing unit 12 is specifically configured to adopt the first processing structure to obtain resource information in the constraint domain to implement information processing.
It should be understood that, in the embodiment of the present invention, a "part" may be a part of a circuit, a part of a processor, a part of a program or software, and the like, and may also be a unit, and may also be a module, and may also be a non-modular, and the embodiment of the present invention is not limited.
In practical applications, the obtaining Unit 10, the setting Unit 11, the Processing Unit 12, and the determining Unit 13 may be implemented by a processor 16 on a terminal, and specifically may be a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like; the receiving unit 14 may be implemented by the communication interface 17, and the storing unit 15 may be implemented by the memory 18, which is not limited by the embodiment of the present invention. Wherein the memory 18 and the communication interface 17 may communicate with the processor 16 via a communication bus 19.
Therefore, as shown in fig. 7, an embodiment of the present invention further provides a terminal, including:
a processor 16, a communication interface 17 and a memory 18 storing executable instructions of the processor 16, wherein the memory 18 depends on the processor 16 to perform operations through a communication bus 19 connected to the communication interface 17, and when the executable instructions are executed by the processor 16, the data processing method of the first embodiment is performed.
In addition, each component in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: examples of the medium that can store the program code include, but are not limited to, a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, and a Compact Disc Read Only Memory (CD-ROM).
Thus, the present invention provides a computer-readable storage medium, which stores executable instructions, and when the executable instructions are executed by one or more processors, the processors execute the data processing method described in the first embodiment.
It can be understood that, because the terminal can perform unified attribute processing on the general function and the specific function of the first processing structure used by the terminal, and set the type of the first processing structure, the perfect setting and management of the processing structure are realized, so that when the terminal uses the first processing structure, the unified processing structure can be managed according to a unified processing mode, and thus, the diversity of processing structure management is realized.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (14)

1. A data processing method applied to a terminal using a first processing structure in a network, comprising:
acquiring the type of the first processing structure, attribute information of a general 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, the general processing structure view attribute and the specific processing structure view attribute of the first processing structure respectively;
implementing information processing by adopting the first processing structure;
before the information processing is implemented by using the first processing structure, the method further includes:
acquiring adjacency information of the terminal, wherein the adjacency information represents direct connection information of equipment adjacent to entity equipment in a network;
determining a second processing structure having an adjacent relation with the terminal according to the adjacent information;
when receiving the attribute information of the second processing structure from the second processing structure, setting the attribute information of the second processing structure as the adjacent attribute of the first processing structure.
2. The method of claim 1,
the second processing structure comprises a neighbor processing structure and a lower layer processing structure; the adjacency attribute of the first processing structure includes: a neighbor process structure view attribute and an underlying process structure view attribute.
3. The method of claim 1, wherein when receiving attribute information for the second processing structure from the second processing structure, the method further comprises:
and storing the attribute information of the second processing structure in the general processing structure view attribute and the specific processing structure view attribute respectively.
4. The method of claim 1,
the generic processing structure view attribute and the specific processing structure view attribute each include: function switches and policy identification; the function switch is used for determining whether to start a related function corresponding to the attribute, and the policy identifier is used for indicating whether the attribute is allowed to be obtained by other processing structures except the terminal.
5. The method according to claim 1, wherein the terminal further uses a constraint field, and the attributes of the constraint field are set with specific resource identification, total available resource information and resource usage information.
6. The method of claim 5, wherein said implementing information processing using said first processing structure comprises:
and acquiring resource information in the constraint domain by adopting the first processing structure to realize information processing.
7. A terminal comprising a first processing structure, further comprising:
an acquisition unit configured to acquire a type of the first processing structure, attribute information of a general function, and attribute information of a specific function;
a setting unit, 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 a type attribute, a general processing structure view attribute, and a specific processing structure view attribute of the first processing structure, respectively;
the processing unit is used for realizing information processing by adopting the first processing structure;
the terminal also comprises a determining unit and a receiving unit;
the acquiring unit is further configured to acquire the adjacent information of the terminal before the information processing is implemented by using the first processing structure;
the determining unit is used for determining a second processing structure having an adjacent relation with the terminal according to the adjacent information;
the receiving unit is used for receiving the attribute information of the second processing structure from the second processing structure;
the setting unit is further configured to set the attribute information of the second processing structure as an adjacent attribute of the first processing structure.
8. The terminal of claim 7,
the second processing structure comprises a neighbor processing structure and a lower layer processing structure; the adjacency attribute of the first processing structure includes: a neighbor process structure view attribute and an underlying process structure view attribute.
9. The terminal of claim 8, wherein the terminal further comprises: a storage unit;
the storage unit is configured to, when receiving the attribute information of the second processing structure received from the second processing structure, store the attribute information of the second processing structure in the general processing structure view attribute and the specific processing structure view attribute, respectively.
10. The terminal of claim 7,
the generic processing structure view attribute and the specific processing structure view attribute each include: function switches and policy identification; the function switch is used for determining whether to start a related function corresponding to the attribute, and the policy identifier is used for indicating whether the attribute is allowed to be obtained by other processing structures except the terminal.
11. The terminal of claim 7,
the terminal also uses a constraint domain, and the attribute of the constraint domain is provided with a specific resource identifier, total available resource information and resource use information.
12. The terminal of claim 11,
the processing unit is specifically configured to acquire the resource information in the constraint domain by using the first processing structure to implement information processing.
13. A terminal, comprising:
a processor, a communication interface, and a memory storing executable instructions of the processor, the memory performing operations in dependence on the processor via a communication bus to which the communication interface is connected, the executable instructions when executed by the processor performing the data processing method of any of claims 1 to 6 above.
14. A computer-readable storage medium having stored thereon executable instructions which, when executed by one or more processors, perform the data processing method of any one of claims 1 to 6.
CN201810449627.3A 2018-05-11 2018-05-11 Data processing method, terminal and computer readable storage medium Active CN110474788B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810449627.3A CN110474788B (en) 2018-05-11 2018-05-11 Data processing method, terminal and computer readable storage medium
PCT/CN2019/081284 WO2019214374A1 (en) 2018-05-11 2019-04-03 Data processing method, terminal, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810449627.3A CN110474788B (en) 2018-05-11 2018-05-11 Data processing method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110474788A CN110474788A (en) 2019-11-19
CN110474788B true CN110474788B (en) 2022-04-15

Family

ID=68467243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810449627.3A Active CN110474788B (en) 2018-05-11 2018-05-11 Data processing method, terminal and computer readable storage medium

Country Status (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147348B (en) * 2005-07-28 2011-05-18 中兴通讯股份有限公司 Automatic exchange optical network layered route calculation and connection establishing method
CN103914307A (en) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 Interactive-interface fast implementation method based on reusable library
CN104169914A (en) * 2013-12-11 2014-11-26 华为技术有限公司 Data storage method, data processing method, device and mobile terminal
CN106933570A (en) * 2017-02-16 2017-07-07 北京临近空间飞行器系统工程研究所 Hair control software platform is surveyed in a kind of space flight based on plug-in part technology

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7945903B1 (en) * 2004-04-16 2011-05-17 At&T Intellectual Property Ii, L.P. System and method for converting graphical call flows into finite state machines
JP5998835B2 (en) * 2012-10-18 2016-09-28 富士ゼロックス株式会社 Information processing apparatus and program
KR102319802B1 (en) * 2015-04-21 2021-11-01 삼성전자주식회사 Method for extending function by docking and electronic device therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147348B (en) * 2005-07-28 2011-05-18 中兴通讯股份有限公司 Automatic exchange optical network layered route calculation and connection establishing method
CN104169914A (en) * 2013-12-11 2014-11-26 华为技术有限公司 Data storage method, data processing method, device and mobile terminal
CN103914307A (en) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 Interactive-interface fast implementation method based on reusable library
CN106933570A (en) * 2017-02-16 2017-07-07 北京临近空间飞行器系统工程研究所 Hair control software platform is surveyed in a kind of space flight based on plug-in part technology

Also Published As

Publication number Publication date
CN110474788A (en) 2019-11-19
WO2019214374A1 (en) 2019-11-14

Similar Documents

Publication Publication Date Title
CN109428749B (en) Network management method and related equipment
EP3314816B1 (en) Network function virtualization (nfv) hardware trust in data communication systems
US20160352578A1 (en) System and method for adaptive paths locator for virtual network function links
CN110401568B (en) Network topology discovery method and equipment
US11075814B2 (en) Sub-topology discovery for operating hybrid solutions
CN112350918B (en) Service traffic scheduling method, device, equipment and storage medium
CN114024863A (en) Network service management method, related device and system
CN110191064B (en) Flow load balancing method, device, equipment, system and storage medium
CN111669401B (en) Security protection method and device for network system, computer equipment and storage medium
CN110995591A (en) Method, device and medium for selecting optimal path based on link layer discovery protocol
CN112956158A (en) Structured data plane monitoring
CN112491789A (en) OpenStack framework-based virtual firewall construction method and storage medium
EP3203684A1 (en) Method, apparatus and system for network operations, administration and maintenance
CN110839007B (en) Cloud network security processing method and device and computer storage medium
CN110474788B (en) Data processing method, terminal and computer readable storage medium
CN113055297B (en) Network topology discovery method and device
CN114553706A (en) Network topology discovery method and device and electronic equipment
CN107534678B (en) Method, device and system for establishing connection between VNFM and VIM
CN112994942B (en) SDN control method and device
CN108574637B (en) Address self-learning method and device and switch
CN113132387B (en) Processing method and device for vulnerability scanning flow, storage medium and processor
CN102075364A (en) Method and equipment for determining direct link
CN115733786A (en) Routing and cloud resource registration method and device, storage medium and electronic device
CN113596192A (en) Communication method, device, equipment and medium based on network gate networking
CN102387031A (en) Simple network management protocol (SNMP) network equipment identification and data acquisition method based on state machine

Legal Events

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