CN114040036B - Data processing method, device and storage medium - Google Patents

Data processing method, device and storage medium Download PDF

Info

Publication number
CN114040036B
CN114040036B CN202111250626.4A CN202111250626A CN114040036B CN 114040036 B CN114040036 B CN 114040036B CN 202111250626 A CN202111250626 A CN 202111250626A CN 114040036 B CN114040036 B CN 114040036B
Authority
CN
China
Prior art keywords
negotiation
information
dcn
data processing
management channel
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
CN202111250626.4A
Other languages
Chinese (zh)
Other versions
CN114040036A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111250626.4A priority Critical patent/CN114040036B/en
Publication of CN114040036A publication Critical patent/CN114040036A/en
Application granted granted Critical
Publication of CN114040036B publication Critical patent/CN114040036B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters

Abstract

The application provides a data processing method, a data processing device and a storage medium, relates to the technical field of communication, and solves the technical problem that the DCN service flow of a data communication network cannot be realized in the prior art. The method comprises the following steps: acquiring first negotiation information of a first device; receiving second negotiation information sent by second equipment; and determining a negotiation strategy according to the first negotiation information and the second negotiation information.

Description

Data processing method, device and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method, apparatus, and storage medium.
Background
The flexible Ethernet (Flex Ethernet) introduces a brand new Flex Shim layer based on the traditional Ethernet architecture, and realizes the decoupling of the medium access control sublayer and the physical layer.
Under the networking scene of different manufacturers based on a FlexE interface, the IA Flex Ethernet 2.1Implementation Agreement under the OIF standard organization of each equipment manufacturer realizes the basic service scene and flow. However, in the present data communication network (Data communication network, DCN) interworking scenario, the standard is not explicitly agreed, and meanwhile, the industry does not have a unified standard, which directly results in that the DCN service flow cannot be realized in the heterogeneous manufacturer networking scenario.
Disclosure of Invention
The application provides a data processing method, a data processing device and a storage medium, which solve the technical problem that the DCN service flow cannot be realized in the prior art.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a data processing method is provided, applied to a first device, including:
acquiring first negotiation information of a first device;
receiving second negotiation information sent by second equipment;
and determining a negotiation strategy according to the first negotiation information and the second negotiation information.
Optionally, the negotiation policy is used to determine DCN channel parameter information of the data communication network of the first device and the second device under the flexible ethernet FlexE interface.
Optionally, receiving the second negotiation information sent by the second device includes:
receiving a FlexE OH header message sent by a second device; the FlexE OH header message comprises a preset field; the preset field includes: negotiation zone bit, management channel zone bit and ending zone bit; the negotiation flag bit is used for indicating whether the second equipment allows negotiation of DCN channel parameter information; the management channel flag bit is used for representing DCN management channel parameters of the second device; the ending zone bit is used for indicating whether the negotiation of the DCN channel parameter information is ended or not;
And extracting a preset field from the FlexE OH header message to determine the preset field as second negotiation information.
Optionally, the first negotiation information includes: first information for indicating whether the first device allows negotiation of DCN channel parameter information and second information for indicating DCN management channel parameters of the first device.
Optionally, determining the negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the second information is identical to the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
Optionally, determining the negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the first information is used for indicating that the first equipment allows negotiation of the DCN channel parameter information and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the management channel flag bit as a negotiation strategy.
Optionally, the data processing method further includes:
and sending a negotiation ending message to the second device.
Optionally, determining the negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the first information in the first negotiation message is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment allows the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
Optionally, the data processing method further includes:
transmitting a response message including second information to the second device; the response message is used for indicating the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation strategy.
Optionally, determining the negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the first information in the first negotiation message is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is the negotiation failure.
In a second aspect, there is provided a data processing apparatus applied to a first device, comprising: the device comprises an acquisition unit, a receiving unit and a processing unit;
an acquiring unit, configured to acquire first negotiation information of a first device;
the receiving unit is used for receiving second negotiation information sent by the second equipment;
and the processing unit is used for determining a negotiation strategy according to the first negotiation information and the second negotiation information.
Optionally, the negotiation policy is used to determine DCN channel parameter information of the data communication network of the first device and the second device under the flexible ethernet FlexE interface.
Optionally, the receiving unit is specifically configured to:
receiving a FlexE OH header message sent by a second device; the FlexE OH header message comprises a preset field; the preset field includes: negotiation zone bit, management channel zone bit and ending zone bit; the negotiation flag bit is used for indicating whether the second equipment allows negotiation of DCN channel parameter information; the management channel flag bit is used for representing DCN management channel parameters of the second device; the ending zone bit is used for indicating whether the negotiation of the DCN channel parameter information is ended or not;
and extracting a preset field from the FlexE OH header message to determine the preset field as second negotiation information.
Optionally, the first negotiation information includes: first information for indicating whether the first device allows negotiation of DCN channel parameter information and second information for indicating DCN management channel parameters of the first device.
Optionally, the processing unit is specifically configured to:
and when the second information is identical to the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
Optionally, the processing unit is specifically configured to:
and when the first information is used for indicating that the first equipment allows negotiation of the DCN channel parameter information and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the management channel flag bit as a negotiation strategy.
Optionally, the method further comprises: a transmitting unit;
and the sending unit is specifically used for sending the negotiation ending message to the second equipment.
Optionally, the processing unit is specifically configured to:
and when the first information in the first negotiation message is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment allows the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
Optionally, the method further comprises: a transmitting unit;
a transmitting unit configured to transmit a response message including second information to the second device; the response message is used for indicating the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation strategy.
Optionally, the processing unit is specifically configured to:
and when the first information in the first negotiation message is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is the negotiation failure.
In a third aspect, a data processing apparatus is provided that includes a memory and a processor. The memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus. When the data processing apparatus is running, the processor executes computer-executable instructions stored in the memory to cause the data processing apparatus to perform the data processing method according to the first aspect.
The data processing apparatus may be a network device or may be a part of an apparatus in a network device, for example a system-on-chip in a network device. The system-on-a-chip is adapted to support the network device to implement the functions involved in the first aspect and any one of its possible implementations, e.g. to receive, determine, and offload data and/or information involved in the above-mentioned data processing method. The chip system includes a chip, and may also include other discrete devices or circuit structures.
In a fourth aspect, there is provided a computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the data processing method of the first aspect.
In a fifth aspect, there is provided a computer program product for, when run on a computer, causing the computer to perform the data processing method according to the first aspect and any one of its possible designs.
It should be noted that, the above-mentioned computer instructions may be stored in whole or in part on the first computer storage medium. The first computer storage medium may be packaged together with the processor of the data processing apparatus, or may be packaged separately from the processor of the data processing apparatus, which is not limited in this application.
The description of the second, third, fourth and fifth aspects of the present invention may refer to the detailed description of the first aspect; the advantages of the second aspect, the third aspect, the fourth aspect and the fifth aspect may be referred to as analysis of the advantages of the first aspect, and will not be described here.
In this application, the names of the above-mentioned data processing apparatuses do not constitute limitations on the devices or function modules themselves, and in actual implementations, these devices or function modules may appear under other names. Insofar as the function of each device or function module is similar to that of the present invention, it falls within the scope of the claims of the present invention and the equivalents thereof.
These and other aspects of the invention will be more readily apparent from the following description.
The technical scheme provided by the application at least brings the following beneficial effects:
based on any one of the above aspects, in the present application, the first device may acquire first negotiation information of the first device, receive second negotiation information sent by the second device, and determine a negotiation policy according to the first negotiation information and the second negotiation information. In this way, the method and the device can determine the negotiation strategy according to the negotiation information of different devices, and solve the technical problem that the DCN service flow cannot be realized in the prior art.
Drawings
FIG. 1 is a schematic hardware structure of a data processing apparatus according to an embodiment of the present application;
FIG. 2 is a schematic hardware structure of another data processing apparatus according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a data processing flow according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second", and the like are used to distinguish the same item or similar items having substantially the same function and effect, and those skilled in the art will understand that the terms "first", "second", and the like are not limited in number and execution order.
As described in the background art, in the heterogeneous networking scenario based on the FlexE interface, the IA Flex Ethernet 2.1Implementation Agreement under the OIF standard organization of each equipment manufacturer realizes the basic service scenario and flow. However, in the present data communication network (Data communication network, DCN) interworking scenario, the standard is not explicitly agreed, and meanwhile, the industry does not have a unified standard, which directly results in that the DCN service flow cannot be realized in the heterogeneous manufacturer networking scenario.
In view of the above problems, the present application proposes a data processing method, including: the first device may obtain first negotiation information of the first device, receive second negotiation information sent by the second device, and determine a negotiation policy according to the first negotiation information and the second negotiation information. In this way, the method and the device can determine the negotiation strategy according to the negotiation information of different devices, and solve the technical problem that the DCN service flow cannot be realized in the prior art.
The first device may be a device for processing data, a chip in the device, or a system on a chip in the device.
Alternatively, the first device and the second device may be any one of the routing devices in the DCN network.
Alternatively, the first device and the second device may implement functions to be implemented by the data processing apparatus through a Virtual Machine (VM) deployed on a physical machine.
In order to facilitate understanding, the structure of the first device and the second device will be described below by taking a data processing apparatus as an example.
Fig. 1 is a schematic diagram of a hardware structure of a data processing apparatus according to an embodiment of the present application. As shown in fig. 1, the data processing device comprises a processor 11, a memory 12, a communication interface 13, and a bus 14. The processor 11, the memory 12 and the communication interface 13 may be connected by a bus 14.
The processor 11 is a control center of the data processing apparatus, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 11 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As an example, processor 11 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 1.
Memory 12 may be, but is not limited to, read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, as well as electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 12 may exist separately from the processor 11, and the memory 12 may be connected to the processor 11 through the bus 14 for storing instructions or program code. The data processing method provided by the embodiment of the present invention can be implemented when the processor 11 calls and executes the instructions or program codes stored in the memory 12.
In another possible implementation, the memory 12 may also be integrated with the processor 11.
A communication interface 13 for connecting with other devices via a communication network. The communication network may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 13 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
Bus 14 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 1, but not only one bus or one type of bus.
It should be noted that the structure shown in fig. 1 does not constitute a limitation of the data processing apparatus. The data processing apparatus may comprise more or less components than shown in fig. 1, or may combine certain components, or may be arranged in different components.
Fig. 2 shows another hardware structure of the data processing apparatus in the embodiment of the present application. As shown in fig. 2, the communication device may include a processor 21 and a communication interface 22. The processor 21 is coupled to a communication interface 22.
The function of the processor 21 may be as described above with reference to the processor 11. The processor 21 also has a memory function, and the function of the memory 12 can be referred to.
The communication interface 22 is used to provide data to the processor 21. The communication interface 22 may be an internal interface of the communication device or an external interface of the data processing device (corresponding to the communication interface 13).
It is noted that the structure shown in fig. 1 (or fig. 2) does not constitute a limitation of the data processing apparatus, and the data processing apparatus may include more or less components than those shown in fig. 1 (or fig. 2), or may combine some components, or may be arranged differently.
The following describes in detail a data processing method provided in an embodiment of the present application with reference to the accompanying drawings.
As shown in fig. 3, the data processing method provided in the application embodiment includes: S301-S303.
S301, the first device acquires first negotiation information of the first device.
Specifically, in the data transmission network, the data negotiation information of each routing device may be set manually, or may be sent to each device after the network controller determines that the data negotiation information is good. In this case, the first device may acquire the first negotiation information of the first device according to the above 2 ways.
Optionally, in the FlexE interface scenario, the first negotiation information includes: first information for indicating whether the first device allows negotiation of DCN channel parameter information and second information for indicating DCN management channel parameters of the first device.
S302, the first device receives second negotiation information sent by the second device.
Specifically, the second device may obtain the second negotiation information of the second device based on the method of the first device obtaining the first negotiation information of the first device. Subsequently, the second device sends second negotiation information to the first device. Correspondingly, the first device receives second negotiation information sent by the second device.
Optionally, in the context of the FlexE interface, when the first device receives the second negotiation information sent by the second device, the first device may receive a FlexE OH header packet sent by the second device, and extract a preset field from the FlexE OH header packet to determine the second negotiation information.
Specifically, after the second negotiation information of the second device is obtained, a preset field of 35-47 bits of Block3 in the FlexE OH header packet can be expanded based on OIF Flex Ethernet 2.1 standard, so that the two parties negotiate the DCN channel.
The FlexE OH header message comprises a preset field; the preset field includes: negotiation zone bit, management channel zone bit and ending zone bit; the negotiation flag bit is used for indicating whether the second equipment allows negotiation of DCN channel parameter information; the management channel flag bit is used for representing DCN management channel parameters of the second device; the end flag bit is used for indicating whether negotiation of DCN channel parameter information is ended.
Optionally, the preset field may further include: a reserved field.
Illustratively, the second device defines a total of 13 bits of the preset field.
Wherein the low order first bit (bit) is defined as the DCN negotiation flag bit. The field 1 indicates that the home terminal DCN channel can negotiate; this field 0 indicates that the home DCN channel is not negotiable.
The second to fifth bits (bits) of the lower bits are defined as FlexE OH management channel flag bits.
The second bit from low to high is defined as the Block4 management channel occupation flag in FlexE OH. When the position is 1, the method indicates that the local terminal occupies Block4 to transmit DCN protocol and parameters; when the position is 0, the local end does not occupy the Block4 to transfer the DCN protocol and parameters.
The third bit from low to high is defined as the Block5 management channel occupation flag in FlexE OH. When the position is 1, the method indicates that the local terminal occupies Block5 to transmit DCN protocol and parameters; when the position is 0, the local end does not occupy the Block5 to transfer the DCN protocol and parameters.
The fourth bit from low to high is defined as the Block7 management channel occupation flag in FlexE OH. When the position is 1, the method indicates that the local terminal occupies Block7 to transmit DCN protocol and parameters; when the position is 0, the home terminal does not occupy the Block7 to transmit the DCN protocol and parameters.
The fifth bit from low to high is defined as the Block8 management channel occupation flag in FlexE OH. When the position is 1, the method indicates that the local terminal occupies a Block8 to transmit DCN protocol and parameters; when the position is 0, the local end does not occupy the Block8 to transfer the DCN protocol and parameters.
The lower sixth bit (bit) is defined as a DCN negotiation end flag bit, the field 1 indicates that negotiation is ended, and the field 0 indicates that negotiation is not ended.
The seventh to 13 th bits (bits) of the lower bits are defined as reserved fields.
S303, the first device determines a negotiation strategy according to the first negotiation information and the second negotiation information.
Specifically, after the first negotiation information of the first device is obtained and the second negotiation information sent by the second device is received, the first device determines a negotiation policy according to the first negotiation information and the second negotiation information.
In one implementation manner, the method for determining, by the first device, a negotiation policy according to the first negotiation information and the second negotiation information specifically includes:
and when the second information is identical to the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
In this case, the first device transmits a negotiation end message to the second device.
Specifically, when the second information is the same as the management channel flag bit, the first device and the second device may determine, as the negotiation policy, the DCN management channel parameter corresponding to the second information that is the same as the management channel flag bit, regardless of whether the first device and the second device allow negotiation of the DCN channel parameter information. Correspondingly, the first device sends a negotiation ending message to the second device.
In one implementation manner, the method for determining, by the first device, a negotiation policy according to the first negotiation information and the second negotiation information specifically includes:
and when the first information is used for indicating that the first equipment allows negotiation of the DCN channel parameter information and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the management channel flag bit as a negotiation strategy.
In this case, the first device transmits a negotiation end message to the second device.
Specifically, when the first information is used to indicate that the first device allows to negotiate DCN channel parameter information, and the second information is different from the management channel flag bit, it is indicated that the first device may negotiate DCN channel parameter information. In this case, the first device determines the DCN management channel parameter corresponding to the management channel flag bit of the second device as the negotiation policy. Correspondingly, the first device sends a negotiation ending message to the second device.
In one implementation manner, the method for determining, by the first device, a negotiation policy according to the first negotiation information and the second negotiation information specifically includes:
and when the first information in the first negotiation message is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment allows the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
In this case, the first device transmits a response message including the second information to the second device.
The response message is used for indicating the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation strategy.
Specifically, when the first information in the first negotiation message is used for indicating that the first device does not allow to negotiate the DCN channel parameter information, and the negotiation flag bit is used for indicating that the second device allows to negotiate the DCN channel parameter information, and the second information is different from the management channel flag bit, it is indicated that the second device can negotiate the DCN channel parameter information. In this case, the first device determines the DCN management channel parameter corresponding to the second information of the first device as the negotiation policy. Correspondingly, the first device sends a response message including the second information to the second device, so as to instruct the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation strategy.
In one implementation manner, the method for determining, by the first device, a negotiation policy according to the first negotiation information and the second negotiation information specifically includes:
and when the first information in the first negotiation message is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is the negotiation failure.
Specifically, when the first information in the first negotiation message is used for indicating that the first device does not allow to negotiate the DCN channel parameter information, and the negotiation flag bit is used for indicating that the second device does not allow to negotiate the DCN channel parameter information, and the second information is different from the management channel flag bit, it is indicated that the first device and the second device can not negotiate the DCN channel parameter information. In this case, since the second information is different from the management channel flag bit, the negotiation policy is determined as negotiation failure.
For example, when the receiving end receives the message sent by the sending end, if the receiving end allows the DCN management channel negotiation, the DCN management channel negotiation flag bit of the preset field in the FlexE OH of the sending end is read.
If DCN management channel negotiation flag = 1, then the management channel flag (B4B 5B7B 8) of the preset field in the sender FlexE OH is read.
If the B4B5B7B8 is the same as the receiving end, the DCN negotiation ending flag position 1 of the receiving end is sent to the transmitting end.
If the B4B5B7B8 is different from the receiving end, modifying the management channel flag bit (B4B 5B7B 8) of the receiving end, wherein the modified management channel flag bit is consistent with the management channel flag bit of the sending end, and transmitting the DCN negotiation ending flag position 1 of the receiving end to the sending end.
If DCN management channel negotiation flag=0, then the management channel flag (B4B 5B7B 8) of the preset field in the sender FlexE OH is read.
If the B4B5B7B8 is the same as the receiving end, the DCN negotiation ending flag position 1 of the receiving end is sent to the transmitting end.
If the B4B5B7B8 is different from the receiving end, modifying the management channel flag bit (B4B 5B7B 8) of the receiving end, wherein the modified management channel flag bit is consistent with the management channel flag bit of the sending end, and transmitting the DCN negotiation ending flag position 1 of the receiving end to the sending end.
When receiving a message sent by a sending end, if the receiving end does not allow the DCN management channel negotiation, the receiving end reads a DCN management channel negotiation flag bit of a preset field in FlexE OH sent by the sending end.
If DCN management channel negotiation flag = 1, then reading the management channel flag (B4B 5B7B 8) of the preset field in FlexE OH sent by the sender.
If the B4B5B7B8 is the same as the receiving end, the DCN negotiation ending flag position 1 of the receiving end is sent to the transmitting end.
If the B4B5B7B8 is different from the receiving end, the sending end manages the channel flag bit (B4B 5B7B 8) to the sending end, and sends the DCN negotiation ending flag position 0 of the receiving end to the sending end.
If DCN management channel negotiation flag=0, then the management channel flag (B4B 5B7B 8) of the preset field in FlexE OH sent by the sender is read.
If the B4B5B7B8 is the same as the receiving end, the DCN negotiation ending flag position 1 of the receiving end is sent to the transmitting end.
If the B4B5B7B8 is not the same as the receiving end, the negotiation fails.
In this way, the DCN parameter negotiation method and flow based on FlexE can solve the problem that DCN interworking failure is directly caused by inconsistent transceiving double-end FlexE OH management channels in the current FlexE interworking scene, and the DCN interworking success rate in the FlexE interface interworking is improved.
The application provides a data processing method, which comprises the following steps: the first device may obtain first negotiation information of the first device, receive second negotiation information sent by the second device, and determine a negotiation policy according to the first negotiation information and the second negotiation information. In this way, the method and the device can determine the negotiation strategy according to the negotiation information of different devices, and solve the technical problem that the DCN service flow cannot be realized in the prior art.
The foregoing description of the solution provided in the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the present application may divide the functional modules of the data processing apparatus according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiments of the present application is schematic, which is merely a logic function division, and other division manners may be actually implemented.
Fig. 4 is a schematic structural diagram of a data processing apparatus 400 according to an embodiment of the present application. Such as a method for performing the data processing shown in fig. 3. The data processing apparatus 400 includes: an acquisition unit 401, a reception unit 402, and a processing unit 403;
an obtaining unit 401, configured to obtain first negotiation information of a first device;
a receiving unit 402, configured to receive second negotiation information sent by a second device;
the processing unit 403 is configured to determine a negotiation policy according to the first negotiation information and the second negotiation information.
Optionally, the negotiation policy is used to determine DCN channel parameter information of the data communication network of the first device and the second device under the flexible ethernet FlexE interface.
Optionally, the receiving unit 402 is specifically configured to:
receiving a FlexE OH header message sent by a second device; the FlexE OH header message comprises a preset field; the preset field includes: negotiation zone bit, management channel zone bit and ending zone bit; the negotiation flag bit is used for indicating whether the second equipment allows negotiation of DCN channel parameter information; the management channel flag bit is used for representing DCN management channel parameters of the second device; the ending zone bit is used for indicating whether the negotiation of the DCN channel parameter information is ended or not;
and extracting a preset field from the FlexE OH header message to determine the preset field as second negotiation information.
Optionally, the first negotiation information includes: first information for indicating whether the first device allows negotiation of DCN channel parameter information and second information for indicating DCN management channel parameters of the first device.
Optionally, the processing unit 403 is specifically configured to:
and when the second information is identical to the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
Optionally, the processing unit 403 is specifically configured to:
and when the first information is used for indicating that the first equipment allows negotiation of the DCN channel parameter information and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the management channel flag bit as a negotiation strategy.
Optionally, the method further comprises: a transmitting unit 404;
the sending unit 404 is specifically configured to send a negotiation ending message to the second device.
Optionally, the processing unit 403 is specifically configured to:
and when the first information in the first negotiation message is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment allows the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
Optionally, the method further comprises: a transmitting unit 404;
a transmitting unit 404, configured to transmit a response message including the second information to the second device; the response message is used for indicating the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation strategy.
Optionally, the processing unit 403 is specifically configured to:
and when the first information in the first negotiation message is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is the negotiation failure.
Embodiments of the present application also provide a computer-readable storage medium including computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer is caused to perform the steps performed by the data processing apparatus in the data processing method provided in the above-described embodiment.
The embodiments of the present application further provide a computer program product, which may be directly loaded into a memory and contain software codes, and the computer program product is loaded and executed by a computer, and is capable of implementing each step executed by the data processing apparatus in the data processing method provided in the foregoing embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer-executable instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are fully or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, a website, computer, server, or data center via a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices including one or more servers, data centers, etc. that can be integrated with the media. Usable media may be magnetic media (e.g., floppy disks, hard disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid State Disk (SSD)), etc.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and the division of modules or units, for example, is merely a logical function division, and other manners of division are possible when actually implemented. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be 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, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the method described in the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (16)

1. A data processing method applied to a first device, comprising:
acquiring first negotiation information of the first equipment; the first negotiation information includes: first information for indicating whether the first device allows negotiation of DCN channel parameter information and second information for indicating DCN management channel parameters of the first device;
receiving second negotiation information sent by second equipment; the receiving the second negotiation information sent by the second device includes: receiving a FlexE OH header message sent by the second equipment; the FlexE OH header message comprises a preset field; the preset field includes: negotiation zone bit, management channel zone bit and ending zone bit; the negotiation flag bit is used for indicating whether the second equipment allows negotiation of the DCN channel parameter information; the management channel flag bit is used for representing DCN management channel parameters of the second device; the ending zone bit is used for indicating whether the negotiation of the DCN channel parameter information is ended or not; extracting the preset field from the FlexE OH header message and determining the preset field as the second negotiation information;
determining a negotiation strategy according to the first negotiation information and the second negotiation information; the negotiation strategy is used for determining the DCN channel parameter information of the data communication network under the flexible Ethernet FlexE interface of the first device and the second device.
2. The data processing method according to claim 1, wherein the determining a negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the second information is identical to the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as the negotiation strategy.
3. The data processing method according to claim 1, wherein the determining a negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the first information is used for indicating that the first equipment allows negotiation of the DCN channel parameter information and the second information is different from the management channel zone bit, determining the DCN management channel parameter corresponding to the management channel zone bit as the negotiation strategy.
4. A data processing method according to claim 2 or 3, further comprising:
and sending a negotiation ending message to the second equipment.
5. The data processing method according to claim 1, wherein the determining a negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the first information in the first negotiation information is used for indicating that the first device does not allow negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second device allows negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as the negotiation strategy.
6. The data processing method according to claim 5, further comprising:
transmitting a response message including the second information to the second device; the response message is used for indicating the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation strategy.
7. The data processing method according to claim 1, wherein the determining a negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the first information in the first negotiation information is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is a negotiation failure.
8. A data processing apparatus for use with a first device, comprising: the device comprises an acquisition unit, a receiving unit and a processing unit;
the acquisition unit is used for acquiring first negotiation information of the first equipment; the first negotiation information includes: first information for indicating whether the first device allows negotiation of DCN channel parameter information and second information for indicating DCN management channel parameters of the first device;
The receiving unit is used for receiving second negotiation information sent by the second equipment; the receiving unit is specifically configured to: receiving a FlexE OH header message sent by the second equipment; the FlexE OH header message comprises a preset field; the preset field includes: negotiation zone bit, management channel zone bit and ending zone bit; the negotiation flag bit is used for indicating whether the second equipment allows negotiation of the DCN channel parameter information; the management channel flag bit is used for representing DCN management channel parameters of the second device; the ending zone bit is used for indicating whether the negotiation of the DCN channel parameter information is ended or not; extracting the preset field from the FlexE OH header message and determining the preset field as the second negotiation information;
the processing unit is used for determining a negotiation strategy according to the first negotiation information and the second negotiation information; the negotiation strategy is used for determining the DCN channel parameter information of the data communication network under the flexible Ethernet FlexE interface of the first device and the second device.
9. The data processing device according to claim 8, wherein the processing unit is specifically configured to:
and when the second information is identical to the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as the negotiation strategy.
10. The data processing device according to claim 8, wherein the processing unit is specifically configured to:
and when the first information is used for indicating that the first equipment allows negotiation of the DCN channel parameter information and the second information is different from the management channel zone bit, determining the DCN management channel parameter corresponding to the management channel zone bit as the negotiation strategy.
11. The data processing apparatus according to claim 9 or 10, further comprising: a transmitting unit;
the sending unit is specifically configured to send a negotiation ending message to the second device.
12. The data processing device according to claim 8, wherein the processing unit is specifically configured to:
and when the first information in the first negotiation information is used for indicating that the first device does not allow negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second device allows negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining the DCN management channel parameter corresponding to the second information as the negotiation strategy.
13. The data processing apparatus of claim 12, further comprising: a transmitting unit;
The sending unit is configured to send a response message including the second information to the second device; the response message is used for indicating the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation strategy.
14. The data processing device according to claim 8, wherein the processing unit is specifically configured to:
and when the first information in the first negotiation information is used for indicating that the first equipment does not allow the negotiation of the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow the negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is a negotiation failure.
15. A data processing apparatus comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus;
the processor, when the data processing apparatus is running, executes the computer-executable instructions stored in the memory to cause the data processing apparatus to perform the data processing method of any one of claims 1-7.
16. A computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the data processing method according to any of claims 1-7.
CN202111250626.4A 2021-10-26 2021-10-26 Data processing method, device and storage medium Active CN114040036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111250626.4A CN114040036B (en) 2021-10-26 2021-10-26 Data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111250626.4A CN114040036B (en) 2021-10-26 2021-10-26 Data processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114040036A CN114040036A (en) 2022-02-11
CN114040036B true CN114040036B (en) 2023-04-28

Family

ID=80142034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111250626.4A Active CN114040036B (en) 2021-10-26 2021-10-26 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114040036B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108134705A (en) * 2017-12-29 2018-06-08 北京华为数字技术有限公司 A kind of DCN management methods, equipment and system
CN108243035A (en) * 2016-12-26 2018-07-03 华为技术有限公司 DCN message processing methods, the network equipment and network system
CN110351141A (en) * 2019-07-12 2019-10-18 Ut斯达康通讯有限公司 FlexE interface managerial method, device and network element
WO2020043201A1 (en) * 2018-08-31 2020-03-05 中兴通讯股份有限公司 Message transmission method and device and computer storage medium
CN111918346A (en) * 2016-11-04 2020-11-10 华为技术有限公司 Communication method, device and related equipment
CN112995004A (en) * 2019-12-16 2021-06-18 北京华为数字技术有限公司 Interface negotiation method, processor, network equipment and network system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918346A (en) * 2016-11-04 2020-11-10 华为技术有限公司 Communication method, device and related equipment
CN108243035A (en) * 2016-12-26 2018-07-03 华为技术有限公司 DCN message processing methods, the network equipment and network system
CN113300876A (en) * 2016-12-26 2021-08-24 华为技术有限公司 DCN message processing method, network equipment and network system
CN108134705A (en) * 2017-12-29 2018-06-08 北京华为数字技术有限公司 A kind of DCN management methods, equipment and system
WO2020043201A1 (en) * 2018-08-31 2020-03-05 中兴通讯股份有限公司 Message transmission method and device and computer storage medium
CN110351141A (en) * 2019-07-12 2019-10-18 Ut斯达康通讯有限公司 FlexE interface managerial method, device and network element
CN112995004A (en) * 2019-12-16 2021-06-18 北京华为数字技术有限公司 Interface negotiation method, processor, network equipment and network system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李昊 ; 张坦 ; 王妮 ; .5G网络切片技术综述与初期部署方案研究.通信技术.2020,(第05期),全文. *
郭惠军,刘光明,刘涛.5G承载网建设与演进.数字技术与应用.2020,全文. *

Also Published As

Publication number Publication date
CN114040036A (en) 2022-02-11

Similar Documents

Publication Publication Date Title
US11696207B2 (en) Data transmission method, electronic device, and computer readable storage medium
JP6017510B2 (en) Group owner selection with cross request
US20220158972A1 (en) Communication Method and Electronic Device
CN111385828B (en) Method, terminal and system for receiving and transmitting data in wireless local area network and network access equipment
US20060098618A1 (en) Method and bridging device for priortizing transfer of data streams
CN111884836B (en) Service transmission method and device
CN114040036B (en) Data processing method, device and storage medium
US7236482B2 (en) Method for controlling wireless network access through wired network access interface and associated computer system
CN112788160A (en) Switching method and switching device of address information
CN112292886A (en) Method for managing connections in a distributed wireless network
JP7083854B2 (en) How to support data replication, sender and receiver devices
US20040103201A1 (en) Method and apparatus of exchanging transfer parameters in a mobile communication system
CN112203354B (en) Service processing method and device
CN107547668B (en) Message processing method and device and DHCP server
WO2014101046A1 (en) Network device deployment method, base station, and network element management device
CN111092817A (en) Data transmission method and device
CN113453306A (en) Wireless network access method and related equipment
CN112788710B (en) Access method and access device of terminal equipment
CN112399480B (en) Method, apparatus and storage medium for reducing transmission overhead
EP4124149A1 (en) Wifi communication method and electronic device
CN114765901B (en) Method, device, equipment and storage medium for managing multi-link equipment connection
US10834784B2 (en) Data transmission process of heterogeneous LWA network and associated base station for mobile communication
CN117377125A (en) Data transmission method, device, equipment and storage medium
CN116436773A (en) Port configuration method, device, computer equipment and computer storage medium
CN117527877A (en) Network connection method and device

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