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

Data processing method, device and storage medium Download PDF

Info

Publication number
CN114040036A
CN114040036A CN202111250626.4A CN202111250626A CN114040036A CN 114040036 A CN114040036 A CN 114040036A CN 202111250626 A CN202111250626 A CN 202111250626A CN 114040036 A CN114040036 A CN 114040036A
Authority
CN
China
Prior art keywords
negotiation
information
dcn
data processing
channel parameter
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.)
Granted
Application number
CN202111250626.4A
Other languages
Chinese (zh)
Other versions
CN114040036B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)

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 prior art cannot realize the DCN service flow of a data communication network. The method comprises the following steps: acquiring first negotiation information of first equipment; 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, an apparatus, and a storage medium.
Background
On the basis of a traditional Ethernet architecture, a brand-new Flexe Shim layer is introduced to the flexible Ethernet (Flex Ethernet, Flexe), so that the decoupling of a media access control sublayer and a physical layer is realized.
Under the scene of different manufacturer networking based on a Flexe interface, each equipment manufacturer realizes a basic service scene and a basic service flow based on IA Flex Ethernet 2.1Implementation agent under OIF standard organization. However, in the current Data Communication Network (DCN) interworking scenario, the standard is not explicitly agreed, and there is no unified standard in the industry, which directly results in that the DCN service flow cannot be realized in the networking scenario of different manufacturers.
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 prior art cannot realize the DCN service process.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a data processing method is provided, which is applied to a first device, and includes:
acquiring first negotiation information of first equipment;
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 parameter information of a DCN channel of the data communication network between the first device and the second device under the flexible ethernet FlexE interface.
Optionally, receiving second negotiation information sent by the second device includes:
receiving a Flexe OH header message sent by second equipment; the Flexe OH header message comprises a preset field; the preset field includes: negotiating a zone bit, managing a channel zone bit and an ending zone bit; the negotiation zone bit is used for indicating whether the second equipment allows to negotiate the DCN channel parameter information or not; the management channel zone bit is used for representing the DCN management channel parameter of the second equipment; the end flag 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 and determining the preset field as second negotiation information.
Optionally, the first negotiation information includes: first information indicating whether the first device allows negotiation of the DCN path parameter information and second information indicating the DCN management path parameter of the first device.
Optionally, determining a negotiation policy according to the first negotiation information and the second negotiation information includes:
and when the second information is the same as the management channel mark bit, determining the DCN management channel parameter corresponding to the second information as a negotiation strategy.
Optionally, 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 to negotiate 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 a 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 device does not allow to negotiate the DCN channel parameter information, 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, determining the DCN management channel parameter corresponding to the second information as a negotiation policy.
Optionally, the data processing method further includes:
transmitting a response message including the second information to the second device; the response message is used for instructing the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation policy.
Optionally, 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 message is used for indicating that the first equipment does not allow to negotiate the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow to negotiate the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is negotiation failure.
In a second aspect, a data processing apparatus is provided, where the data processing apparatus is applied to a first device, and includes: the device comprises an acquisition unit, a receiving unit and a processing unit;
an obtaining unit, configured to obtain first negotiation information of a first device;
a receiving unit, configured to receive second negotiation information sent by a second device;
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 parameter information of a DCN channel of the data communication network between 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 second equipment; the Flexe OH header message comprises a preset field; the preset field includes: negotiating a zone bit, managing a channel zone bit and an ending zone bit; the negotiation zone bit is used for indicating whether the second equipment allows to negotiate the DCN channel parameter information or not; the management channel zone bit is used for representing the DCN management channel parameter of the second equipment; the end flag 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 and determining the preset field as second negotiation information.
Optionally, the first negotiation information includes: first information indicating whether the first device allows negotiation of the DCN path parameter information and second information indicating the DCN management path parameter of the first device.
Optionally, the processing unit is specifically configured to:
and when the second information is the same as the management channel mark 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 to negotiate 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 includes: a transmitting unit;
a sending unit, configured to send a negotiation end message to the second device.
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 device does not allow to negotiate the DCN channel parameter information, 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, determining the DCN management channel parameter corresponding to the second information as a negotiation policy.
Optionally, the method further includes: a transmitting unit;
a transmitting unit configured to transmit a response message including the second information to the second device; the response message is used for instructing the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation policy.
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 to negotiate the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow to negotiate the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is 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 in operation, the processor executes computer executable instructions stored in the memory to cause the data processing apparatus to perform the data processing method of the first aspect.
The data processing apparatus may be a network device, or may be a part of an apparatus in the network device, such as a system on chip in the network device. The system on chip is configured to support the network device to implement the functions involved in the first aspect and any one of the possible implementations thereof, for example, to receive, determine, and offload data and/or information involved in the data processing method. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a fourth aspect, a computer-readable storage medium is provided, which comprises computer-executable instructions, which, when executed 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 causing a computer to perform the data processing method according to the first aspect and any one of its possible designs when the computer program product runs on the computer.
It should be noted that all or part of the computer instructions may be stored on the first computer storage medium. The first computer storage medium may be packaged with a 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.
For the description of the second, third, fourth and fifth aspects of the present invention, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects of the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not repeated here.
In the present application, the names of the above-mentioned data processing apparatuses do not limit the devices or functional modules themselves, and in actual implementation, the devices or functional modules may appear by other names. Insofar as the functions of the respective devices or functional blocks are similar to those of the present invention, they are within the scope of the claims of the present invention and their equivalents.
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 of the above aspects, in the present application, 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. Therefore, the negotiation strategy can be determined according to the negotiation information of different devices, and the technical problem that the DCN service process cannot be realized in the prior art is solved.
Drawings
Fig. 1 is a schematic hardware configuration diagram of a data processing apparatus according to an embodiment of the present disclosure;
fig. 2 is a schematic hardware configuration diagram of another data processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic diagram of a data processing flow provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first" and "second" are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the terms "first" and "second" are not used to limit the quantity and execution order.
As described in the background art, in a heterogeneous networking scenario based on a FlexE interface, each device manufacturer implements a basic service scenario and a basic service flow based on IA Flex Ethernet 2.1Implementation agent under an OIF standard organization. However, in the current Data Communication Network (DCN) interworking scenario, the standard is not explicitly agreed, and there is no unified standard in the industry, which directly results in that the DCN service flow cannot be realized in the networking scenario of different manufacturers.
In view of the above problems, the present application provides 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. Therefore, the negotiation strategy can be determined according to the negotiation information of different devices, and the technical problem that the DCN service process cannot be realized in the prior art is solved.
The first device may be a device for processing data, a chip in the device, or a system on chip in the device.
Optionally, the first device and the second device may be any routing device in the DCN network.
Optionally, the first device and the second device may also implement functions to be implemented by the data processing apparatus through a Virtual Machine (VM) deployed on a physical machine.
For ease of understanding, the following describes the structures of the first device and the second device by taking the data processing apparatus as an example.
Fig. 1 shows a hardware structure diagram of a data processing apparatus according to an embodiment of the present application. As shown in fig. 1, the data processing apparatus includes 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 a single processor or a collective term for a plurality of processing elements. For example, the processor 11 may be a general-purpose Central Processing Unit (CPU), or may be another general-purpose processor. Wherein a general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 11 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 1.
The memory 12 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, 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 be present separately from the processor 11, and the memory 12 may be connected to the processor 11 via a bus 14 for storing instructions or program code. The processor 11 can implement the data processing method provided by the embodiment of the present invention when calling and executing 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.
And a communication interface 13 for connecting with other devices through a communication network. The communication network may be an ethernet network, a radio access network, a Wireless Local Area Network (WLAN), or the like. The communication interface 13 may comprise a receiving unit for receiving data and a transmitting unit for transmitting data.
The bus 14 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 1, but it is not intended that there be only one bus or one type of bus.
It is to be noted that the structure shown in fig. 1 does not constitute a limitation of the data processing apparatus. In addition to the components shown in fig. 1, the data processing apparatus may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
Fig. 2 shows another hardware configuration 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 refer to the description of the processor 11 above. 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 may be an external interface (corresponding to the communication interface 13) of the data processing device.
It should be noted that the configuration shown in fig. 1 (or fig. 2) does not constitute a limitation of the data processing apparatus, which may include more or less components than those shown in fig. 1 (or fig. 2), or combine some components, or a different arrangement of components, in addition to the components shown in fig. 1 (or fig. 2).
The data processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings.
As shown in fig. 3, the data processing method provided in the embodiment of the present application 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 2 ways described above.
Optionally, in a FlexE interface scenario, the first negotiation information includes: first information indicating whether the first device allows negotiation of the DCN path parameter information and second information indicating the DCN management path parameter 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 for obtaining the first negotiation information of the first device by the first device. Subsequently, the second device sends the second negotiation information to the first device. Correspondingly, the first device receives the second negotiation information sent by the second device.
Optionally, in a context of a FlexE interface, when the first device receives second negotiation information sent by the second device, the first device may receive a FlexE OH header message sent by the second device, and extract a preset field from the FlexE OH header message to determine the preset field as the second negotiation information.
Specifically, after the second negotiation information of the second device is obtained, the preset field of 35-47 bits of Block3 in the FlexE OH header message may be expanded based on the OIF Flex Ethernet 2.1 standard, and used for the transceiver and the transmitter to negotiate the DCN channel.
The Flexe OH header message comprises a preset field; the preset field includes: negotiating a zone bit, managing a channel zone bit and an ending zone bit; the negotiation zone bit is used for indicating whether the second equipment allows to negotiate the DCN channel parameter information or not; the management channel zone bit is used for representing the DCN management channel parameter of the second equipment; the end flag bit is used for indicating whether the negotiation of the DCN channel parameter information is finished.
Optionally, the preset field may further include: a reserved field.
Illustratively, the second device defines a preset field of 13 bits in total.
Wherein the lower first bit (bit) is defined as the DCN negotiation flag bit. The field is set to 1 to indicate that the local terminal DCN channel can negotiate; the field is set to 0 to indicate that the home DCN tunnel is not negotiable.
The second to fifth lower bits (bit) are defined as Flexe OH management channel flag bits.
The second bit from low to high is defined as Block4 management channel occupancy flag in FlexE OH. When the position is 1, the local terminal occupies Block4 to transfer DCN protocol and parameters; when the position is 0, it means that the local end does not occupy Block4 to transfer DCN protocol and parameters.
The third bit from low to high is defined as the Block5 management channel occupancy flag in Flexe OH. When the position is 1, the local terminal occupies Block5 to transfer DCN protocol and parameters; when the position is 0, it means that the local end does not occupy Block5 to transfer DCN protocol and parameters.
The fourth bit from low to high is defined as the Block7 management channel occupancy flag in Flexe OH. When the position is 1, the local terminal occupies Block7 to transfer DCN protocol and parameters; when the position is 0, it means that the local end does not occupy Block7 to transfer DCN protocol and parameters.
The fifth bit from low to high is defined as the Block8 management channel occupancy flag in Flexe OH. When the position is 1, the local terminal occupies Block8 to transfer DCN protocol and parameters; when the position is 0, it means that the local end does not occupy Block8 to transfer DCN protocol and parameters.
And defining the sixth bit (bit) as the bit of the end of negotiation flag of the DCN, setting 1 in the field to indicate the end of negotiation, and setting 0 in the field to indicate that the negotiation is not ended.
The seventh to 13 th bits (bit) of the lower order are defined as a reserved field.
S303, the first device determines a negotiation strategy according to the first negotiation information and the second negotiation information.
Specifically, after acquiring first negotiation information of the first device and receiving second negotiation information sent by the second device, the first device determines a negotiation policy according to the first negotiation information and the second negotiation information.
In an implementation manner, the method for determining a negotiation policy by a first device according to first negotiation information and second negotiation information specifically includes:
and when the second information is the same as the management channel mark 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, regardless of whether the first device and the second device allow negotiation of the DCN channel parameter information, the first device and the second device may determine the DCN management channel parameter corresponding to the second information that is the same as the management channel flag bit as the negotiation policy. Correspondingly, the first device sends a negotiation end message to the second device.
In an implementation manner, the method for determining a negotiation policy by a first device according to first negotiation information and second negotiation information specifically includes:
and when the first information is used for indicating that the first equipment allows to negotiate 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 the DCN tunnel parameter information, and the second information is different from the management tunnel flag, it indicates that the first device can negotiate the DCN tunnel parameter information. In this case, the first device determines the DCN management channel parameter corresponding to the management channel flag of the second device as the negotiation policy. Correspondingly, the first device sends a negotiation end message to the second device.
In an implementation manner, the method for determining a negotiation policy by a first device according to first negotiation information and second negotiation information specifically includes:
and 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, 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, determining the DCN management channel parameter corresponding to the second information as a negotiation policy.
In this case, the first device transmits a response message including the second information to the second device.
And 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 policy.
Specifically, when the first information in the first negotiation message is used to indicate that the first device does not allow to negotiate the DCN channel parameter information, and the negotiation flag bit is used to indicate 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 indicates 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 to instruct the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation policy.
In an implementation manner, the method for determining a negotiation policy by a first device according to first negotiation information and 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 to negotiate the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow to negotiate the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is negotiation failure.
Specifically, when the first information in the first negotiation message is used to indicate that the first device does not allow to negotiate the DCN channel parameter information, and the negotiation flag bit is used to indicate 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 indicates that neither the first device nor the second device can 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 to be a negotiation failure.
Illustratively, when the receiving end receives a message sent by the sending end, if the receiving end allows the DCN management channel negotiation, the receiving end reads the negotiation flag bit of the DCN management channel in the preset field in the FlexE OH of the sending end.
If the DCN management channel negotiation flag bit is equal to 1, the management channel flag bit of the preset field in the sender FlexE OH is read (B4B5B7B 8).
If B4B5B7B8 is the same as the receiving end, the receiving end DCN negotiation end flag position 1 is sent to the sending end.
If the B4B5B7B8 is not the same as the receiving end, the receiving end management channel flag is modified (B4B5B7B8), the modified management channel flag is consistent with the management channel flag of the transmitting end, and the receiving end DCN negotiation end flag position 1 is sent to the transmitting end.
If the DCN management channel negotiation flag bit is 0, the management channel flag bit of the preset field in the sender FlexE OH is read (B4B5B7B 8).
If B4B5B7B8 is the same as the receiving end, the receiving end DCN negotiation end flag position 1 is sent to the sending end.
If the B4B5B7B8 is not the same as the receiving end, the receiving end management channel flag is modified (B4B5B7B8), the modified management channel flag is consistent with the management channel flag of the transmitting end, and the receiving end DCN negotiation end flag position 1 is sent to the transmitting end.
When the receiving end receives the message sent by the sending end, if the receiving end does not allow the negotiation of the DCN management channel, the receiving end reads the negotiation flag bit of the DCN management channel of the preset field in FlexeE OH sent by the sending end.
If the DCN management channel negotiation flag bit is 1, the management channel flag bit of the preset field in the FlexE OH sent by the sending end is read (B4B5B7B 8).
If B4B5B7B8 is the same as the receiving end, the receiving end DCN negotiation end flag position 1 is sent to the sending end.
If the B4B5B7B8 is not the same as the receiving end, the receiving end management channel flag bit (B4B5B7B8) is sent to the sending end, and the DCN negotiation end flag position 0 of the receiving end is sent to the sending end.
If the DCN management channel negotiation flag bit is 0, the management channel flag bit of the preset field in FlexE OH sent by the sending end is read (B4B5B7B 8).
If B4B5B7B8 is the same as the receiving end, the receiving end DCN negotiation end flag position 1 is sent to the sending end.
If B4B5B7B8 is not the same as the receiving end, the negotiation fails.
Therefore, the method and the process for negotiating the DCN parameters based on the Flexe can solve the problem that the DCN intercommunication fails directly due to the inconsistency of the two Flexe OH receiving and sending management channels in the current FLexe intercommunication scene, and the DCN intercommunication success rate during the intercommunication of the FLexe interfaces 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. Therefore, the negotiation strategy can be determined according to the negotiation information of different devices, and the technical problem that the DCN service process cannot be realized in the prior art is solved.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives 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.
In the embodiment of the present application, the data processing apparatus may be divided into the functional modules according to the 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 module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 4 is a schematic structural diagram of a data processing apparatus 400 according to an embodiment of the present disclosure. Such as a method for performing the data processing shown in fig. 3. The data processing apparatus 400 includes: an acquisition unit 401, a receiving 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;
a processing unit 403, 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 parameter information of a DCN channel of the data communication network between 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 second equipment; the Flexe OH header message comprises a preset field; the preset field includes: negotiating a zone bit, managing a channel zone bit and an ending zone bit; the negotiation zone bit is used for indicating whether the second equipment allows to negotiate the DCN channel parameter information or not; the management channel zone bit is used for representing the DCN management channel parameter of the second equipment; the end flag 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 and determining the preset field as second negotiation information.
Optionally, the first negotiation information includes: first information indicating whether the first device allows negotiation of the DCN path parameter information and second information indicating the DCN management path parameter of the first device.
Optionally, the processing unit 403 is specifically configured to:
and when the second information is the same as the management channel mark 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 to negotiate 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 includes: a transmission unit 404;
the sending unit 404 is specifically configured to send a negotiation end 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 device does not allow to negotiate the DCN channel parameter information, 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, determining the DCN management channel parameter corresponding to the second information as a negotiation policy.
Optionally, the method further includes: a transmission unit 404;
a sending unit 404, configured to send a response message including the second information to the second device; the response message is used for instructing the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation policy.
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 to negotiate the DCN channel parameter information, the negotiation flag bit is used for indicating that the second equipment does not allow to negotiate the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation strategy is negotiation failure.
Embodiments of the present application also provide a computer-readable storage medium, which includes computer-executable instructions. When the computer executes the instructions to run on the computer, the computer is caused to execute the steps executed by the data processing device in the data processing method provided by the above embodiment.
The embodiments of the present application further provide a computer program product, where the computer program product can be directly loaded into the memory and contains software codes, and after the computer program product is loaded and executed by the computer, the computer program product can implement the steps executed by the data processing apparatus in the data processing method provided in the foregoing embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, 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. The processes or functions according to the embodiments of the present application are generated in whole or in part when the computer-executable instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or can comprise one or more data storage devices, such as servers, data centers, and the like, that can be integrated with the media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (22)

1. A data processing method is applied to a first device, and is characterized by comprising the following steps:
acquiring first negotiation information of the first equipment;
receiving second negotiation information sent by second equipment;
and determining a negotiation strategy according to the first negotiation information and the second negotiation information.
2. The data processing method according to claim 1, wherein the negotiation policy is used to determine DCN channel parameter information of the data communication network under a flexible ethernet FlexE interface between the first device and the second device.
3. The data processing method according to claim 2, wherein the receiving second negotiation information sent by the second device comprises:
receiving a Flexe OH header message sent by the second equipment; the Flexe OH header message comprises a preset field; the preset field includes: negotiating a zone bit, managing a channel zone bit and an ending zone bit; the negotiation flag bit is used for indicating whether the second equipment allows to negotiate the DCN channel parameter information or not; the management channel flag bit is used for representing a DCN management channel parameter of the second equipment; the end flag bit is used for indicating whether the negotiation of the DCN channel parameter information is ended or not;
and extracting the preset field from the FlexeE OH header message and determining the preset field as the second negotiation information.
4. The data processing method of claim 3, wherein the first negotiation information comprises: first information for indicating whether the first device allows negotiation of the DCN channel parameter information and second information for indicating a DCN management channel parameter of the first device.
5. The data processing method of claim 4, wherein the determining a negotiation policy according to the first negotiation information and the second negotiation information comprises:
and when the second information is the same as the management channel mark bit, determining the DCN management channel parameter corresponding to the second information as the negotiation policy.
6. The data processing method of claim 4, wherein the determining a negotiation policy according to the first negotiation information and the second negotiation information comprises:
when the first information is used for indicating that the first 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 management channel flag bit as the negotiation policy.
7. The data processing method according to claim 5 or 6, further comprising:
and sending a negotiation ending message to the second equipment.
8. The data processing method of claim 4, wherein the determining a negotiation policy according to the first negotiation information and the second negotiation information comprises:
when the first information in the first negotiation message is used to indicate that the first device does not allow negotiation of the DCN channel parameter information, the negotiation flag bit is used to indicate 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 policy.
9. The data processing method of claim 8, further comprising:
transmitting a response message including the second information to the second device; the response message is used to instruct the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation policy.
10. The data processing method of claim 4, wherein the determining a negotiation policy according to the first negotiation information and the second negotiation information comprises:
when the first information in the first negotiation message is used to indicate that the first device does not allow negotiation of the DCN channel parameter information, and the negotiation flag bit is used to indicate that the second device does not allow negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation policy is negotiation failure.
11. A data processing apparatus applied to a first device, comprising: the device comprises an acquisition unit, a receiving unit and a processing unit;
the acquiring unit is configured to acquire first negotiation information of the first device;
the receiving unit is configured to receive second negotiation information sent by a second device;
and the processing unit is used for determining a negotiation strategy according to the first negotiation information and the second negotiation information.
12. The data processing apparatus according to claim 11, wherein the negotiation policy is used to determine DCN channel parameter information of the data communication network under a flexible ethernet FlexE interface between the first device and the second device.
13. The data processing apparatus of claim 12, wherein 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: negotiating a zone bit, managing a channel zone bit and an ending zone bit; the negotiation flag bit is used for indicating whether the second equipment allows to negotiate the DCN channel parameter information or not; the management channel flag bit is used for representing a DCN management channel parameter of the second equipment; the end flag bit is used for indicating whether the negotiation of the DCN channel parameter information is ended or not;
and extracting the preset field from the FlexeE OH header message and determining the preset field as the second negotiation information.
14. The data processing apparatus of claim 13, wherein the first negotiation information comprises: first information for indicating whether the first device allows negotiation of the DCN channel parameter information and second information for indicating a DCN management channel parameter of the first device.
15. The data processing apparatus according to claim 14, wherein the processing unit is specifically configured to:
and when the second information is the same as the management channel mark bit, determining the DCN management channel parameter corresponding to the second information as the negotiation policy.
16. The data processing apparatus according to claim 14, wherein the processing unit is specifically configured to:
when the first information is used for indicating that the first 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 management channel flag bit as the negotiation policy.
17. The data processing apparatus according to claim 15 or 16, further comprising: a transmitting unit;
the sending unit is specifically configured to send a negotiation end message to the second device.
18. The data processing apparatus according to claim 14, wherein the processing unit is specifically configured to:
when the first information in the first negotiation message is used to indicate that the first device does not allow negotiation of the DCN channel parameter information, the negotiation flag bit is used to indicate 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 policy.
19. The data processing apparatus of claim 18, 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 to instruct the second device to determine the DCN management channel parameter corresponding to the second information as the negotiation policy.
20. The data processing apparatus according to claim 14, wherein the processing unit is specifically configured to:
when the first information in the first negotiation message is used to indicate that the first device does not allow negotiation of the DCN channel parameter information, and the negotiation flag bit is used to indicate that the second device does not allow negotiation of the DCN channel parameter information, and the second information is different from the management channel flag bit, determining that the negotiation policy is negotiation failure.
21. 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 executes the computer-executable instructions stored by the memory when the data processing apparatus is running to cause the data processing apparatus to perform the data processing method of any one of claims 1-10.
22. A computer-readable storage medium, comprising computer-executable instructions, which, when executed on a computer, cause the computer to perform the data processing method of any one of claims 1-10.
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 true CN114040036A (en) 2022-02-11
CN114040036B 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网络切片技术综述与初期部署方案研究" *
郭惠军,刘光明,刘涛: "5G承载网建设与演进" *

Also Published As

Publication number Publication date
CN114040036B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN102550119B (en) WLAN peer-to-peer group owner negotiation
JP6017510B2 (en) Group owner selection with cross request
CN111669792B (en) Cell switching method and device
JP7369214B2 (en) Methods, apparatus, and systems for session establishment in wireless communication networks
CN108667638A (en) A kind of network service configuration method and network management device
CN109672513B (en) Transmission path configuration method, device and equipment
CN111884836B (en) Service transmission method and device
CN104883277A (en) Method and system for information interaction based on BMC
US9119180B2 (en) Transport independent architecture
US20040001470A1 (en) Method for controlling wireless network access through wired network access interface and associated computer system
CN114040036A (en) Data processing method, device and storage medium
CN114697388A (en) Data transmission method and device
CN111436078B (en) Communication method and network device
CN105451367A (en) Wireless network connection method, device and system
US20040103201A1 (en) Method and apparatus of exchanging transfer parameters in a mobile communication system
CN112292886A (en) Method for managing connections in a distributed wireless network
CN111867153B (en) Terminal, gateway equipment and data processing method
CN111586750B (en) Data sending and receiving method and device, electronic equipment and medium
CN113900428A (en) Vehicle diagnosis method, diagnosis node, device, and storage medium
CN111565391B (en) Communication method and device
TW201301929A (en) Unified network architecture based on medium access control abstraction sub-layer
CN113542343A (en) Apparatus and method for G3-PLC bootstrapping in hybrid networks
CN111092817A (en) Data transmission method and device
CN112203354A (en) Service processing method and device
CN111131473A (en) Network parameter transmission 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