CN114900243B - Modification method and device for optical module compatible code - Google Patents

Modification method and device for optical module compatible code Download PDF

Info

Publication number
CN114900243B
CN114900243B CN202210456286.9A CN202210456286A CN114900243B CN 114900243 B CN114900243 B CN 114900243B CN 202210456286 A CN202210456286 A CN 202210456286A CN 114900243 B CN114900243 B CN 114900243B
Authority
CN
China
Prior art keywords
code
optical module
processed
configuration file
server
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
CN202210456286.9A
Other languages
Chinese (zh)
Other versions
CN114900243A (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.)
Shenzhen Rapid Innovation Technology Co ltd
Original Assignee
Shenzhen Rapid Innovation Technology 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 Shenzhen Rapid Innovation Technology Co ltd filed Critical Shenzhen Rapid Innovation Technology Co ltd
Priority to CN202210456286.9A priority Critical patent/CN114900243B/en
Publication of CN114900243A publication Critical patent/CN114900243A/en
Application granted granted Critical
Publication of CN114900243B publication Critical patent/CN114900243B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0071Provisions for the electrical-optical layer interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The application is suitable for the technical field of communication, and provides a method and a device for modifying an optical module compatible code, wherein the method is used for modifying a code system, the code modifying system comprises a code modifying device and a server, the code modifying device is connected with the server through a network, and the code modifying device is connected with an electrical interface of an optical module to be processed, and the method comprises the following steps: the code changing device obtains the equipment information of the target compatible equipment and sends the equipment information to the server; the code changing device acquires module information of the optical module to be processed from the optical module to be processed and sends the module information to the server; if the module information comprises the identification information of the optical module to be processed, the server obtains a first configuration file corresponding to the identification information according to the identification information, and sends a first compatible code and the first configuration file to the code changing device; the code changing device unlocks the optical module to be processed by using the first configuration file; and if the unlocking is successful, the code changing device changes the code of the optical module to be processed by using the first configuration file and the first compatible code. The method can improve the code changing efficiency.

Description

Modification method and device for optical module compatible code
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for modifying an optical module compatible code.
Background
The optical module is an important component of network equipment adopting optical communication, and is mainly used for photoelectric conversion of signals, converts electric signals of the equipment into optical signals at a transmitting end and restores the optical signals into electric signals at a receiving end.
Many network equipment manufacturers hope that the equipment of the network equipment manufacturers can use the optical module of the original factory, so that the optical module of the original factory of the network equipment can write specific compatible codes in a code writing area, when the optical module is inserted into the network equipment, the network equipment can read information of the code writing area of the optical module, if the compatible codes exist in the code writing area, the equipment can be normally used, and if the compatible codes do not exist, alarm information can be sent to a user or the use of the equipment is limited. Thus, many optical modules have compatibility problems during use. Various optical module factories promote optical modules with various rates to meet market demands, but even optical modules with the same rate have the above compatibility problem due to different manufacturers.
The compatibility problem is generally solved by modifying the compatible code, namely, the compatible code corresponding to the network equipment is written into the optical module, so that the optical module can be normally used in the network equipment. The hardware processes of different optical module manufacturers are different, so that even the optical modules of the same model have different hardware configuration parameters (configuration files for short) of different manufacturers. Before the optical module is modified by the compatible code, the optical module needs to be unlocked one by utilizing all the configuration files to find out the target configuration file capable of unlocking the optical module, and the compatible code of the optical module can be modified after the target configuration file is found out. However, since manufacturers of optical modules are many, a lot of time is required to unlock the optical modules one by using all configuration files, and thus the code changing efficiency of the optical modules is affected.
Disclosure of Invention
The embodiment of the application provides a method for modifying an optical module compatible code, a code modifying device, a server, a code modifying system and a readable storage medium, which can realize quick unlocking of an optical module, thereby improving code modifying efficiency.
In a first aspect, an embodiment of the present application provides a method for modifying an optical module compatible code, which is applied to a code modifying system, where the code modifying system includes a code modifying device and a server, where the code modifying device is connected to the server through a network, and the code modifying device is connected to an electrical interface of an optical module to be processed; the method comprises the following steps:
the code changing device obtains equipment information of target compatible equipment and sends the equipment information to the server, wherein the target compatible equipment is equipment which needs to be compatible with the optical module to be processed;
the code changing device acquires module information of the optical module to be processed from the optical module to be processed and sends the module information to the server;
if the module information comprises the identification information of the optical module to be processed, the server obtains a first configuration file corresponding to the identification information according to the identification information, and sends the first compatible code and the first configuration file to the code changing device;
The code changing device utilizes the first configuration file to unlock the optical module to be processed;
and if the unlocking is successful, the code changing device changes the code of the to-be-processed optical module by using the first configuration file and the first compatible code.
In the above embodiment, the server obtains the first compatible code corresponding to the device information according to the device information, and in the case that the module information includes the identification information of the optical module to be processed, the server obtains the first configuration file corresponding to the identification information according to the identification information. Because the identification information and the configuration files are in one-to-one correspondence in the server, under the condition that the module information comprises the identification information of the optical module to be processed, the first configuration file can be quickly obtained by utilizing the identification information, so that the pairing speed of the configuration file and the optical module to be processed can be improved, the tedious process of unlocking the optical modules to be processed one by utilizing all the configuration files is avoided, and the unlocking efficiency and the code changing efficiency are improved.
In a possible implementation manner of the first aspect, the obtaining manner of the identification information is:
the code changing device reads the identification information from a preset memory area of the optical module to be processed, wherein the identification information is information which is generated by the code changing device and written into the preset memory area when the code changing is successful in the history code changing record of the optical module to be processed.
In a possible implementation manner of the first aspect, the module information further includes model information of the optical module to be processed; the method further comprises the steps of:
if the unlocking fails, the code changing device sends an unlocking failure result to the server;
the server obtains at least one second configuration file associated with the model information according to the model information, and sends the first compatible code and at least one second configuration file to the code changing device;
the code changing device utilizes at least one second configuration file to unlock the optical module to be processed, and determines a target second configuration file, wherein the target second configuration file is a second configuration file for successfully unlocking the optical module to be processed in the at least one second configuration file;
and the code changing device changes the code of the to-be-processed optical module by utilizing the target configuration file and the first compatible code.
In a possible implementation manner of the first aspect, the module information further includes model information of the optical module to be processed; the method further comprises the steps of:
if the module information does not include the identification information of the optical module to be processed, the server obtains at least one second configuration file associated with the model information according to the model information, and sends the first compatible code and at least one second configuration file to the code changing device;
The code changing device utilizes at least one second configuration file to unlock the optical module to be processed, and a target configuration file is determined, wherein the target configuration file is a second configuration file information of the at least one second configuration file for successfully unlocking the optical module to be processed;
and the code changing device changes the code of the to-be-processed optical module by utilizing the target configuration file and the first compatible code.
In a possible implementation manner of the first aspect, a success code changing record to each of the second configuration files is stored in the server, where the success code changing record includes a number of times of success code changing; the server sends at least one second configuration file to the code changing device, and the method comprises the following steps: and the server sequentially sends at least one second configuration file to the code changing device according to the sequence of the successful code changing times of at least one second configuration file from big to small.
In a possible implementation manner of the first aspect, after the code changing device changes the code of the to-be-processed optical module by using the target file and the first compatible code, the method further includes:
After the code changing device successfully changes the code of the optical module to be processed by using the target configuration file and the first compatible code, the code changing device generates target identification information corresponding to the optical module to be processed and writes the target identification information into a preset memory area of the optical module to be processed.
In a second aspect, an embodiment of the present application provides a code changing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the code changing device is provided with an interface for connecting to an electrical interface of an optical module to be processed, the code changing device is provided with a network module for connecting to a server network, and when the processor executes the computer program, the processor implements the steps executed by the code changing device in any of the foregoing embodiments of the first aspect.
In a third aspect, an embodiment of the present application provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the server is provided with a network module for network connection with a code modifying device, and when the processor executes the computer program, the steps performed by the server in any one of the embodiments of the first aspect are implemented.
In a fourth aspect, an embodiment of the present application provides a code modifying system, including a code modifying device and a server, where the code modifying device is connected to the server through a network, and the code modifying device is connected to an electrical interface of an optical module to be processed, where:
the code changing device is used for acquiring equipment information of target compatible equipment and sending the equipment information to the server, wherein the target compatible equipment is equipment which needs to be compatible with the optical module to be processed;
the code changing device is used for acquiring module information of the optical module to be processed from the optical module to be processed and sending the module information to the server;
the server is used for obtaining a first compatible code corresponding to the equipment information according to the equipment information;
if the module information comprises the identification information of the optical module to be processed, the server is used for obtaining a first configuration file corresponding to the identification information according to the identification information, and sending the first compatible code and the first configuration file to the code changing device;
the code changing device is used for unlocking the optical module to be processed by utilizing the first configuration file;
and if the unlocking is successful, the code changing device is used for changing the code of the optical module to be processed by using the first configuration file and the first compatible code.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps performed by the code altering apparatus or the server as in any of the embodiments of the first aspect above.
In a sixth aspect, embodiments of the present application provide a computer program product, which when run on a server causes the server to perform the steps performed by the transcoding device or the server as described in any of the embodiments of the first aspect above.
It will be appreciated that the advantages of the second to sixth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a code modifying system according to an embodiment of the present application;
FIG. 2 is a schematic block diagram of a code modifying device according to an embodiment of the present application;
FIG. 3 is a schematic block diagram of a server according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a transcoding system according to another embodiment of the present application;
FIG. 5 is a schematic block diagram of a code changer according to an embodiment of the present application;
FIG. 6 is a schematic block diagram of a code modifying platform according to an embodiment of the present application;
fig. 7 is an interaction schematic diagram of a modification method of an optical module compatible code according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a device for modifying an optical module compatible code according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an optical module compatible code modification apparatus according to another embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Fig. 1 is a schematic diagram of a code changing system according to an embodiment of the present application, where the code changing system is used for modifying a compatible code of an optical module to be processed, the code changing system includes a code changing device 11 and a server 12, the code changing device 11 is connected to the server 12 through a network, and the code changing device 11 is connected to an electrical interface of the optical module to be processed 13.
For ease of understanding, the specific structures of the code changing device 11 and the server 12 will be exemplarily described below.
Fig. 2 is a schematic block diagram of a code changing device 11 according to an embodiment of the present application, and as shown in fig. 2, the code changing device 11 includes: at least one processor 111 (only one processor is shown in fig. 2), a memory 112 and a computer program 113 stored in said memory 112 and executable on said at least one processor 111, said processor 111 implementing the steps performed by the code altering means in the modified method embodiment of any of the light module compatible codes of the application when said computer program 113 is executed.
As shown in fig. 2, the transcoding device 11 may further include a network module 114 and an interface 115; wherein the network module 114 is for network connection with the server 12 and the interface 115 is for electrical interface connection with the optical module 13 to be processed.
Fig. 3 is a schematic block diagram of the server 12 according to an embodiment of the present application, and as shown in fig. 3, the server 12 includes: at least one processor 121 (only one processor is shown in fig. 3), a memory 122 and a computer program 123 stored in the memory 122 and executable on the at least one processor 121, which processor 121 implements the steps performed by the server in the modified method embodiment of any of the light module compatible codes of the application when the computer program 123 is executed.
As shown in fig. 3, the server 12 further includes a network module 124, where the network module 124 is configured to be connected to the transcoding device 11 in a network.
In the code changing system shown in fig. 1, the code changing device 11 is connected with the server 12 through a network, so that a configuration file and a compatible code can be obtained from the server; the code changing device 11 is connected with the electrical interface of the optical module 13 to be processed, so that the module information of the optical module to be processed can be read.
Optionally, the code changing apparatus 11 may further include an input unit for receiving device information of the target compatible device input from the outside.
In another embodiment, the function of the code changing device 11 may be split, and the function of network connection with the server and the function of communication connection with the optical module to be processed are respectively implemented by different electronic devices. Fig. 4 is a schematic diagram of a code modifying system according to another embodiment of the present application. As shown in fig. 4, the code changing system includes a code changing device 41, a code changing platform 42 and a server 43, wherein the code changing device 41 is in communication connection with the code changing platform 42, and the code changing platform 42 is connected with the server 43 through a network.
As shown in fig. 4, the transcoder 41 is connected to an electrical interface of the optical module to be processed 44 that requires compatible code modification, so that the transcoder 41 can acquire module information from the optical module to be processed 44.
For example, after the to-be-processed optical module 44 is connected to the transcoder 41, the two establish a communication channel through a standard IIC (Inter-Integrated Circuit, integrated circuit bus) protocol, where the transcoder 41 is a master, the to-be-processed optical module 44 is a slave, and the transcoder 41 can read or write data from or into a specified memory address of the to-be-processed optical module 44 based on the IIC protocol.
Alternatively, the code changer 41 and the code changing platform 42 may be connected by wireless communication or wired communication.
In the code changing system shown in fig. 4, the code changing device 41 and the code changing platform 42 together perform the function of the code changing device 11 in the code changing system shown in fig. 1. The code changing device 41 is in communication connection with the code changing platform 42, and the code changing device 41 is connected with an electrical interface of the optical module to be processed and realizes corresponding functions; the code changing platform 42 is connected with a server network and realizes corresponding functions.
The following describes the procedure of performing the code changing by using the code changing system in fig. 4 by taking a switch as an example, if it is assumed that the client needs to use the network device as switch a (where a may be a brand of switch), the existing optical module X1 on hand is not the original light distribution module of switch a, and thus cannot be compatible with switch a. In order to apply the optical module X1 to the switch a, the optical module X1 needs to be subjected to compatible code modification.
The process of modifying the compatible code in the optical module X1 by using the code modifying system in fig. 4 according to the embodiment of the present application is specifically:
(1) The device information of the switch a (where the device information may be brand information of the brand switch a) is input into the transcoding platform 42, and the transcoding platform 42 transmits the device information to the server 43.
(2) The code changer 41 is connected with the electrical interface of the optical module X1, and firstly performs a reading operation on the optical module X1 to obtain module information, and then sends the module information to the server 43 through the code changing platform 42.
(3) The server looks up the compatible code Y corresponding to the device information and sends it to the code altering platform 42.
(4) If the module information includes a unique identifier Z read from a specific memory area, the server 43 searches for a configuration file B uniquely corresponding to the unique identifier Z and sends the configuration file B to the code changing platform 42; the code-changing platform 42 sends the compatible code Y and the configuration file B to the code-changing device 41.
(5) The code changer 41 unlocks the optical module X1 by using the configuration file B; if the unlocking is successful, the code changer 41 re-writes the compatible code Y into the optical module X1 by using the configuration file B, thereby completing the modification of the compatible code of the optical module X1.
Since the code modifier 41 reads the unique identifier Z in the specific memory area of the optical module X1, which indicates that the code modifying operation is performed on the optical module X1, it can be determined that the configuration file B corresponding to the unique identifier Z is the configuration file of the optical module X1, and thus the probability of successful unlocking is high. Therefore, unlocking and code changing can be completed through pairing of configuration files at one time, and unlocking and code changing efficiency is improved.
(6) If no information is read in a specific memory area of the optical module X1, or if the code changer 41 uses the configuration file B to unlock the optical module X1 but fails to unlock, the server 43 uses the model information of the optical module X1 in the module information to find the configuration file C associated with the model information from the history code change record.
(7) If there is only one configuration file C, the server 43 transmits the configuration file C to the code changer 41 through the code changing platform 42, and the code changer 41 uses the configuration file C to unlock the optical module X1; if the unlocking is successful, the code changer 41 writes the compatible code Y into the optical module X1 according to the configuration file C, thereby completing the modification of the compatible code of the optical module X1.
(8) If the number of the configuration files C is multiple, the server sorts the configuration files C according to the sequence of the number of times of successful code changing in the history code changing record from more to less, and sequentially sends the configuration files C to the code changing platform 42. The code-altering platform 42 in turn sends a plurality of configuration files C to the code-altering device 41. The code changer 41 sequentially uses a plurality of configuration files C to unlock the optical module X1 until the unlocking is successful; the code modifier 41 writes the compatible code Y into the optical module X1 according to the configuration file C, thereby completing modification of the compatible code of the optical module X1.
When the unique identifier is not read from the specific memory area of the optical module 44 to be processed by the code changer 41, or the configuration file corresponding to the unique identifier fails to be unlocked, a history code changing record is introduced, and as the configuration file which is matched with the model information in the history record and has more successful code changing times is a more common configuration file, the probability of successful unlocking by using the configuration file is higher, so that the corresponding configuration files are sequentially utilized to unlock the optical module according to the order of more successful times, the unlocking efficiency of the configuration file can be improved, and the code changing efficiency is further improved.
For ease of understanding, the specific structures of the code changer 41 and the code changing platform 42 are exemplarily described below.
Fig. 5 is a schematic block diagram of a code changer 41 according to an embodiment of the application, and as shown in fig. 5, the code changer 41 includes: at least one processor 411 (only one processor is shown in fig. 5), a memory 412 and a computer program 413 stored in the memory 412 and executable on the at least one processor 411, the processor 411 implementing part of the steps performed by the code altering means in the embodiment of the method for altering an arbitrary optical module compatible code of the application when the computer program 413 is executed. Wherein part of the steps refer to the step of interacting with the light module to be processed.
In an embodiment, as shown in fig. 5, the code changer 41 further comprises a communication module 414 and an interface 415, wherein the communication module 414 is used for communication connection with the code changing platform 42, and the interface 415 is used for electrical interface connection with the optical module 44 to be processed.
Fig. 6 is a schematic block diagram of the code changing platform 42 according to an embodiment of the application, and as shown in fig. 6, the code changing platform 42 includes: at least one processor 421 (only one processor is shown in fig. 6), a memory 422, and a computer program 423 stored in the memory 422 and executable on the at least one processor 421, the processor 421 implementing part of the steps performed by the code altering means in the method embodiment of modifying an arbitrary optical module compatible code of the application when the computer program 423 is executed. Wherein part of the steps refer to the step of interacting with the server.
In one embodiment, as shown in fig. 6, the transcoding platform 42 may further include a communication module 424 and a network module 425, wherein the communication module 424 is configured to be communicatively connected to the transcoder 41, and the network module 425 is configured to be connected to the server 43 through a network.
In the embodiment, the specific structure of the server 43 is similar to that of the server 12 in fig. 3, and will not be described here. The difference is that the network module in the server 43 is used for network connection with the transcoding platform in this embodiment.
The processor (111, 121, 411, 421) may be a central processing unit (Central Processing Unit, CPU), but it may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory (112, 122, 412, 422) may in some embodiments be an internal storage unit, such as a hard disk or a memory. The memory may in other embodiments also be an external storage device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card, etc. Further, the memory may also include both internal storage units and external storage devices. The memory is used to store an operating system, application programs, boot loader (BootLoader), data, and other programs, etc., such as program code for the computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.
The communication modules (414, 424) may include solutions for communication in wireless local area networks (wireless localarea networks, WLAN) (e.g., wi-Fi networks), bluetooth, zigbee, mobile communication networks, near field wireless communication technology (near field communication, NFC), infrared technology (IR), I2C, serial interfaces, etc. The communication module may be one or more devices integrating at least one communication processing module. The communication module may comprise an antenna, which may have only one array element, or may be an antenna array comprising a plurality of array elements. The communication module can receive electromagnetic waves through an antenna, frequency-modulate and filter electromagnetic wave signals, and send the processed signals to a processor. The communication module can also receive signals to be transmitted from the processor, frequency-modulate and amplify the signals, and convert the signals into electromagnetic waves through the antenna to radiate.
Fig. 2, 3, 5, and 6 are merely examples of the code changing device 11, the server 12, the code changing device 41, and the code changing platform 42, and are not limited to the code changing device 11, the server 12, the code changing device 41, and the code changing platform 42, and the code changing device 11, the server 12, the code changing device 41, and the code changing platform 42 may include more or less components than illustrated, or may combine some components, or may be different components.
The following describes an exemplary modification method of the optical module compatible code according to the present application in combination with a specific embodiment. The method for modifying the optical module compatible code is applied to a code modifying system shown in fig. 1.
Fig. 7 is an interaction diagram of a method for modifying an optical module compatible code according to an embodiment of the present application. By way of example and not limitation, the method for modifying the optical module compatible code comprises the following steps:
and step 701, the code changing device acquires equipment information of target compatible equipment, and sends the equipment information to the server, wherein the target compatible equipment is equipment which needs to be compatible for the optical module to be processed.
In an embodiment, the target compatible device refers to a network device to which the optical module to be processed needs to be compatible. For example, suppose that a customer needs to use a network device as switch a, the existing optical module X1 is not the original optical module of switch a, and the optical module X1 is not compatible with switch a. In order to apply the optical module X1 to the switch a, a compatible code modification of the optical module X1 is required; wherein switch a is the target compatible device.
The device information of the target compatible device may be a model, a brand, or a manufacturer of the target compatible device, etc. The acquisition of the device information may be entered by the user into the transcoding means.
Step S702, the code changing device acquires module information of the optical module to be processed from the optical module to be processed and sends the module information to the server.
In step S703, the server obtains a first compatible code corresponding to the device information according to the device information.
Step S704, if the module information includes the identification information of the optical module to be processed, the server obtains a first configuration file corresponding to the identification information according to the identification information, and sends the first compatible code and the first configuration file to the code modifying device.
The identification information of the optical module represents the manufacturer of the optical module. But the identification information is not information carried by the optical module when leaving the factory; but marking information of the optical module of the known manufacturer in the history code changing process.
In one embodiment, the manner in which the code changing device obtains the identification information may be: the code changing device directly reads the identification information from the preset memory area of the optical module to be processed. And the direct reading mode is utilized, so that the identification information is obtained more simply and conveniently.
The preset memory area refers to a specific memory address corresponding to the optical module. For example, a specific memory area in an EEPROM (Electrically Erasable Programmable read only memory ) of the corresponding optical module.
In an embodiment, the manufacturer of the optical module is marked by storing identification information for identifying the manufacturer of the optical module in a fixed preset memory area. By reading the data of the preset memory area of the optical module, the marked optical module can be matched with the configuration file quickly, and the method is simple and convenient to realize.
It can be understood that the server stores the association relationship between the device information and the compatible code, and also stores the association relationship between the identification information and the configuration file. The first compatible code is a compatible code corresponding to the equipment information in the server, and the first configuration file is a configuration file corresponding to the identification information in the server.
Optionally, the device information and the compatible code, the identification information and the configuration file in the server are in one-to-one correspondence.
The configuration file refers to a hardware configuration parameter of the optical module, more specifically, a specific parameter of a writing operation step performed on the optical module, and the hardware configuration parameters of different optical module manufacturers are different.
Optionally, the configuration file may include a power-on delay (0-4000 ms), a page write delay (0-2000 ms), a password (which may be an 8-bit hexadecimal number, FFFFFFFF written without password), a page write byte number (4/8/16/32/64/128), a special operation before writing a code, a special operation after writing a code, and the like.
Step 705, the code changing device uses the first configuration file to unlock the optical module to be processed.
In an embodiment, the unlocking process is specifically a process of performing preliminary matching between the configuration file and the optical module.
In one embodiment, the unlocking process may include: the code changing device analyzes the configuration file to obtain corresponding hardware parameters, wherein the hardware parameters are operation process parameters for writing data; the code changing device writes preset check data into the optical module based on hardware parameters; after the writing operation is completed, the code changing device reads the data written in the optical module to obtain verification data; if the verification data are the same as the preset verification data, the code changing device determines that the unlocking is successful; if the verification data is different from the preset verification data, the code changing device determines that the unlocking fails.
In an embodiment, the preset check data is generally a shorter byte, for example, "32b×3". The preset check data is used for preliminarily verifying whether the writing operation of the optical module can be realized by utilizing the hardware configuration parameters in the configuration file.
Optionally, when a plurality of configuration files are needed to be adopted to unlock the optical module to be processed in sequence, preset check data used for unlocking can be designed differently, and specifically, the preset check data used in the current unlocking process is different from the verification data read out in the previous unlocking process. Preferably, all characters of the preset verification data used in the current unlocking process are different from those of the verification data read out in the previous unlocking process.
In an embodiment, the preset verification data used in the current unlocking process is different from the verification data read in the previous unlocking process, so that data written in the optical module during the previous unlocking operation can be avoided, the read result of the current unlocking operation is influenced, and for example, false unlocking success can be avoided. The larger the difference between the preset verification data used in the current unlocking process and the verification data read out in the previous unlocking process is, the better the occurrence of false unlocking success can be avoided.
Specifically, false unlocking success refers to: if the preset check data used in the current unlocking process is the same as the verification data read out in the previous unlocking process, even if the current preset check data is not successfully written in the current unlocking process (for example, no data is written at all), the read verification data may be the data written in the previous unlocking process, and the unlocking failure is misjudged as successful unlocking at this time, which is called successful false unlocking.
For example, when the configuration file D1 is adopted for unlocking, for the optical module X3, the written preset check data is "B32Y", the read-out check data is "a32Y", and the written preset check data and the read-out check data are different, so that the unlocking fails; then, the configuration file D2 is used to unlock, and the preset verification data written in the configuration file D2 should be different from "a32Y", for example, "B32Y" (the partial characters are different), more preferably, "B43Z" or "C54S" (all the characters are different), etc.
Optionally, the area where the unlocking process data is written is a non-code-changing area, wherein the non-code-changing area refers to an area outside the area where the compatible code is located.
For the optical module, the memory area for storing the compatible code is a compatible code area, the package of the module is different, and the corresponding compatible code area is different. The non-compatible code region refers to a memory region of the optical module other than the compatible code region.
Optionally, in the unlocking process of the optical module, the writing position of the preset verification data is a non-compatible code area. The original compatible code of the optical module can not be changed in the unlocking process, so that at least the original function of the optical module can be guaranteed, the optical module is prevented from being damaged, and the optical module is protected to the greatest extent even if all configuration files cannot be successfully unlocked.
Illustratively, for an SFP (SMALL FORM PLUGGABLE, small form-factor pluggable) optical module, the compatible code regions are A0h and A2 page00/01h, and the other regions are non-compatible code regions. When the SFP optical module is unlocked, A2 Pages03 h-7 Fh can be used as writing positions of preset check data.
It can be appreciated that, in the unlocking process, the area where the preset check data is written may be set according to needs, which is not specifically limited herein.
Step S706, if the unlocking is successful, the code changing device changes the code of the optical module to be processed by using the first configuration file and the first compatible code.
In an embodiment, after the optical module to be processed is successfully unlocked by using the first configuration file, the code changing device performs a code changing operation on the optical module to be processed by using the first configuration file. The code changing operation specifically refers to that the code changing device writes the first compatible code into the optical module to be processed, and the first compatible code can cover the original compatible code in the optical module to be processed.
The code changing operation and the unlocking operation have great similarity, and the difference is that the code changing operation is the operation aiming at the first compatible code, and the unlocking operation is the operation aiming at the preset check data. Optionally, the code changing operation specifically includes: the code changing device writes the first compatible code into the optical module to be processed based on the hardware parameters corresponding to the first configuration file, and deletes the original initial compatible code of the optical module to be processed; after the writing operation is finished, the code changing device reads the data written in the optical module to be processed to obtain a verification compatible code; if the verification compatible code is the same as the first compatible code, the code changing device determines that the code changing is successful; if the verification compatible code is different from the first compatible code, the code changing device determines that the code changing fails. The hardware parameter corresponding to the first configuration file in the code changing operation may be a hardware parameter parsed in the unlocking operation.
In an optional embodiment, the module information acquired from the optical module to be processed by the code changing device further includes model information of the optical module to be processed, and in the case that the unlocking of the optical module to be processed fails in the first configuration file, as shown in fig. 7, the method for changing the compatible code of the optical module further includes:
step S707, if the unlocking fails, the code changing device sends an unlocking failure result to the server.
Step S708, the server obtains at least one second configuration file associated with the model information according to the model information, and sends the first compatible code and the at least one second configuration file to the code modifying device.
It is understood that the association relationship between the model information and the configuration file is stored in the server. The association is stored in the record information of the history transcoding process. And (3) in the record information of the history code changing process, the configuration file is associated with the model information by recording the model information of the corresponding optical module and the used configuration file.
The second configuration file in the embodiment may be a configuration file in any one of the transcoding information associated with the model information of the optical module to be processed in the server.
In the embodiment, since the association relationship between the model information and the configuration file is stored in the server, the server may search all the second configuration files associated with the model information from the association relationship according to the model information of the optical module to be processed.
Alternatively, the specific expression form of the association relationship between the model information and the configuration file may be an association table. However, the record information may also include model information of the corresponding optical module, for example, the record information M1 records a code changing process of the optical module X2, where the record information M1 may include model information of the optical module X2 and a used configuration file; the record information may include model information, a configuration file, and a transcoding result.
Step 709, the code changing device uses at least one second configuration file to unlock the optical module, and determines a target configuration file, where the target configuration file is the second configuration file in the at least one second configuration file that successfully unlocks the optical module to be processed.
In an embodiment, the optical module to be processed is unlocked by using at least one second configuration file, and the specific unlocking process is referred to in the foregoing, which is not described herein in detail. When a certain second configuration file can successfully unlock the optical module to be processed, the second configuration file is the target configuration file. The second configuration file associated with the model information is utilized to unlock the optical module to be processed, so that the unlocking efficiency can be effectively improved.
Optionally, a successful code changing record of each second configuration file is stored in the server, and the successful code changing record includes the number of times of successful code changing. When a plurality of second configuration files are provided, the plurality of second configuration files are needed to be used for unlocking the optical module to be processed under the condition, at the moment, the server can send the plurality of second configuration files to the code changing device one by one according to the sequence from the large number of times of successful code changing to the small number of times, and the code changing device sequentially uses the plurality of second configuration files for unlocking the optical module to be processed until the target configuration files of the optical module to be processed are successfully unlocked.
For example, assume that there are four second profiles W1, W2, W3, and W4, and the corresponding number of successful transcoding times is 10, 6, 2, and 0, respectively. Firstly, unlocking an optical module to be processed by utilizing W1 with the largest success times, and if the unlocking is successful, determining candidate information corresponding to the W1 as target code changing information; and if the unlocking fails, the W2 immediately following the successful times is reused to unlock the optical module to be processed until a second configuration file capable of being successfully unlocked appears.
The more successful times of the code change, the greater the probability that the corresponding second configuration file is used for the code change, so the greater the probability that the second configuration file can be successfully unlocked is possible. In the above embodiment, for the case that there are a plurality of second configuration files, the number of successful code changing times is associated with the unlocking order, so that the screening efficiency of the second configuration files can be improved.
It can be understood that when all the associated second configuration files cannot be successfully unlocked, other configuration files can be obtained from the server to unlock the optical module to be processed.
And step S710, the code changing device changes the codes of the optical module to be processed by using the target configuration file and the first compatible code.
In an embodiment, when unlocking of the optical module to be processed fails by using the first configuration file corresponding to the identification information, the server obtains the second configuration file associated with the model information by using the model information of the optical module to be processed. In the method, the second configuration file related to the model information of the optical module to be processed is adopted to unlock the optical module to be processed, and generally, if one configuration file is related to the model information of the module to be processed, the configuration file is stated to successfully change codes of the optical module with the same model information; therefore, the probability of successful unlocking of the optical module to be processed by the configuration file is higher, and therefore the unlocking efficiency can be improved.
In another embodiment, if the identification information of the optical module to be processed is not obtained, in order to better match the optical module to be processed with the configuration file, model information of the optical module to be processed may be obtained, and then steps S708 to S710 are performed. In this case, the specific contents of steps S708 and S710 may be described above, and will not be described here.
In one embodiment, in the case of performing the code changing of the optical module to be processed by executing steps S708 to S710, if the final code changing result is successful, the code changing device may acquire the identification information corresponding to the optical module to be processed and write the identification information into the preset memory area of the optical module to be processed. The code changing device obtains the identification information corresponding to the optical module to be processed, and the code changing device generates the identification information according to the code changing condition of the optical module to be processed.
Optionally, the code changing device writes the generated identification information into a preset memory area of the optical module to be processed, which may be to cover original identification information in the optical module to be processed with the generated identification information, or write the generated identification information when the identification information does not exist in the optical module to be processed.
In one embodiment, after the code changing device obtains the identification information corresponding to the optical module to be processed and writes the identification information into the preset memory area of the optical module to be processed, the code changing device further displays the code changing result and sends the target identification information, the second configuration file and the code changing result to the server.
The code changing device displays the code changing result, so that a user can know the code changing result more clearly. And sending the destination identification information, the second configuration file and the code changing result to the cloud server, so that the server can store and calculate the data conveniently.
Alternatively, the server may be a cloud server, which may perform AI (Artificial Intelligence ) computation on the code-change data. Exemplary AI calculations may include, but are not limited to, the following:
(1) The cloud server can count the types and the number of the optical modules of the code changing of the user, the types of compatible equipment, all time length of the code changing, configuration files, compatible code files and the like.
(2) The cloud server can analyze the behavior of the user based on the data in the step (1), and the types of the optical modules commonly used by the user and the types of the compatible devices are the same, so that the product can be pushed to the user, and the types of the commonly used compatible devices are more forward and humanized.
(3) The cloud server can analyze the code changing efficiency based on the data in the step (1), analyze the time consumed by each stage, and can pointedly optimize the stage with larger consumed time to provide the whole code changing efficiency
(4) The number of the compatible code files is limited, when the consumption number of the compatible code files reaches a threshold value, the cloud server can send notification reminding to the code changing device, and meanwhile, the cloud server can directly pull the compatible code files from a local database to increase inventory.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Fig. 8 shows an embodiment structural diagram of an optical module compatible code modifying apparatus 800 according to the embodiment of the present application, corresponding to the optical module compatible code modifying method described in the above embodiment. Referring to fig. 8, the optical module compatible code modifying apparatus 800 may include an acquiring unit 801, a receiving unit 802, an unlocking unit 803, and a code modifying unit 804:
An obtaining unit 801, configured to obtain device information of a target compatible device and send the device information to the server, so that the server obtains a first compatible code corresponding to the device information according to the device information; the target compatible device is a device which needs to be compatible with the optical module to be processed;
the obtaining unit 801 is further configured to obtain module information of the optical module to be processed from the optical module to be processed, and send the module information to the server;
a receiving unit 802, configured to receive a first compatible code and a first configuration file sent by a server, where the first configuration file is obtained by the server according to the identification information when the module information includes the identification information of the optical module to be processed;
an unlocking unit 803, configured to unlock the optical module to be processed by using the first configuration file;
the code changing unit 804 is configured to change the code of the optical module to be processed by using the first configuration file and the first compatible code if the unlocking is successful.
Fig. 9 shows a block diagram of another embodiment of an optical module compatible code modifying apparatus 900 according to the embodiment of the present application, corresponding to the method for modifying an optical module compatible code described in the foregoing embodiment. Referring to fig. 9, the optical module compatible code modifying apparatus 900 may include a receiving unit 901, a compatible code obtaining unit 902, and a processing unit 903:
A receiving unit 901, configured to receive device information of a target compatible device acquired and sent by the code changing apparatus, where the target compatible device is a device that needs to be compatible with an optical module to be processed;
the receiving unit 901 is further configured to receive module information of the optical module to be processed, where the module information is acquired from the optical module to be processed and is sent by the code changing device;
a compatible code obtaining unit 902, configured to obtain a first compatible code corresponding to the device information according to the device information;
the processing unit 903 is configured to obtain a first configuration file corresponding to the identification information according to the identification information if the module information includes the identification information of the optical module to be processed, and send the first compatible code and the first configuration file to the code modifying device; the code changing device is used for unlocking the optical module to be processed by using the first configuration file, and if the unlocking is successful, the code changing device is used for changing the code of the optical module to be processed by using the first configuration file and the first compatible code.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment 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, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps performed by the code altering device 11 or the server 12 in the respective method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a server, causes the server to perform the steps performed by the transcoding device 11 or the server 12 in the respective method embodiments described above.
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 computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to the device/server, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the above-described apparatus/server embodiments are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. The method for modifying the compatible code of the optical module is characterized by being applied to a code modifying system, wherein the code modifying system comprises a code modifying device and a server, the code modifying device is connected with the server through a network, and the code modifying device is connected with an electric interface of the optical module to be processed; the method comprises the following steps:
The code changing device obtains equipment information of target compatible equipment and sends the equipment information to the server, wherein the target compatible equipment is equipment which needs to be compatible with the optical module to be processed;
the code changing device acquires module information of the optical module to be processed from the optical module to be processed and sends the module information to the server;
the server obtains a first compatible code corresponding to the equipment information according to the equipment information;
if the module information comprises the identification information of the optical module to be processed, the server obtains a first configuration file corresponding to the identification information according to the identification information, and sends the first compatible code and the first configuration file to the code changing device;
the code changing device utilizes the first configuration file to unlock the optical module to be processed;
and if the unlocking is successful, the code changing device changes the code of the to-be-processed optical module by using the first configuration file and the first compatible code.
2. The method of claim 1, wherein the identification information is obtained by:
the code changing device reads the identification information from a preset memory area of the optical module to be processed, wherein the identification information is information which is generated by the code changing device and written into the preset memory area when the code changing is successful in the history code changing record of the optical module to be processed.
3. The method of claim 2, wherein the module information further comprises model information of the light module to be processed; the method further comprises the steps of:
if the unlocking fails, the code changing device sends an unlocking failure result to the server;
the server obtains at least one second configuration file associated with the model information according to the model information, and sends the first compatible code and at least one second configuration file to the code changing device;
the code changing device utilizes at least one second configuration file to unlock the optical module to be processed, and determines a target configuration file, wherein the configuration file is a second configuration file for successfully unlocking the optical module to be processed in the at least one second configuration file;
and the code changing device changes the code of the to-be-processed optical module by utilizing the target configuration file and the first compatible code.
4. The method of claim 1, wherein the module information further comprises model information of the light module to be processed; the method further comprises the steps of:
if the module information does not include the identification information of the optical module to be processed, the server obtains at least one second configuration file associated with the model information according to the model information, and sends the first compatible code and at least one second configuration file to the code changing device;
The code changing device utilizes at least one second configuration file to unlock the optical module to be processed, and a target configuration file is determined, wherein the target configuration file is a second configuration file for successfully unlocking the optical module to be processed in the at least one second configuration file;
and the code changing device changes the code of the to-be-processed optical module by utilizing the target configuration file and the first compatible code.
5. A method according to claim 3 or 4, wherein a record of successful transcoding to each of said second profiles is stored in said server, said record of successful transcoding comprising the number of successful transcoding times;
the server sends at least one second configuration file to the code changing device, and the method comprises the following steps: and the server sequentially sends at least one second configuration file to the code changing device according to the sequence of the successful code changing times of at least one second configuration file from big to small.
6. The method of claim 3 or 4, wherein after the code altering device alters the code of the optical module to be processed using the target profile and the first compatible code, the method further comprises:
After the code changing device successfully changes the code of the optical module to be processed by using the target configuration file and the first compatible code, the code changing device generates target identification information corresponding to the optical module to be processed and writes the target identification information into a preset memory area of the optical module to be processed.
7. A code altering device comprising a memory, a processor and a computer program stored in the memory and operable on the processor, characterized in that the code altering device is provided with an interface for connection to an electrical interface of an optical module to be processed, the code altering device is provided with a network module for network connection to a server, the processor when executing the computer program realizing the steps performed by the code altering device in a method according to any of claims 1 to 6.
8. A server comprising a memory, a processor and a computer program stored in the memory and operable on the processor, characterized in that the server is provided with a network module for network connection with a transcoding means, the processor executing the computer program performing the steps performed by the server in the method according to any of claims 1 to 6.
9. The code changing system is characterized by comprising a code changing device and a server, wherein the code changing device is connected with the server through a network and is connected with an electric interface of an optical module to be processed, and the code changing device comprises:
the code changing device is used for acquiring equipment information of target compatible equipment and sending the equipment information to the server, wherein the target compatible equipment is equipment which needs to be compatible with the optical module to be processed;
the code changing device is used for acquiring module information of the optical module to be processed from the optical module to be processed and sending the module information to the server;
the server is used for obtaining a first compatible code corresponding to the equipment information according to the equipment information;
if the module information comprises the identification information of the optical module to be processed, the server is used for obtaining a first configuration file corresponding to the identification information according to the identification information, and sending the first compatible code and the first configuration file to the code changing device;
the code changing device is used for unlocking the optical module to be processed by utilizing the first configuration file;
and if the unlocking is successful, the code changing device is used for changing the code of the optical module to be processed by using the first configuration file and the first compatible code.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps performed by the transcoding device or the server according to any of claims 1 to 6.
CN202210456286.9A 2022-04-28 2022-04-28 Modification method and device for optical module compatible code Active CN114900243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210456286.9A CN114900243B (en) 2022-04-28 2022-04-28 Modification method and device for optical module compatible code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210456286.9A CN114900243B (en) 2022-04-28 2022-04-28 Modification method and device for optical module compatible code

Publications (2)

Publication Number Publication Date
CN114900243A CN114900243A (en) 2022-08-12
CN114900243B true CN114900243B (en) 2023-09-01

Family

ID=82720616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210456286.9A Active CN114900243B (en) 2022-04-28 2022-04-28 Modification method and device for optical module compatible code

Country Status (1)

Country Link
CN (1) CN114900243B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8830241B1 (en) * 2009-11-30 2014-09-09 Amazon Technologies, Inc. Image conversion of text-based images
WO2014151591A2 (en) * 2013-03-15 2014-09-25 Enterasys Networks, Inc. A device, a system and a related method for dynamic traffic mirroring and policy, and the determination of applications running on a network
CN109582320A (en) * 2018-08-08 2019-04-05 深圳市宇轩网络技术有限公司 Write yard method and terminal device
CN109792460A (en) * 2018-12-25 2019-05-21 深圳辰锐软件开发有限公司 A kind of file updating method, file updating device and terminal device
CN112068895A (en) * 2020-08-10 2020-12-11 深圳市鼎盛光电有限公司 Code configuration method and device, video playing equipment and storage medium
US10927404B1 (en) * 2020-06-26 2021-02-23 4233999 Canada Inc. Pathogen detection using aptamer molecular beacons using a mobile device
CN113973239A (en) * 2020-07-24 2022-01-25 上海诺基亚贝尔股份有限公司 Method, apparatus, optical network unit, optical line terminal and medium for communication

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6980987B2 (en) * 2002-06-28 2005-12-27 Alto Technology Resources, Inc. Graphical user interface-relational database access system for a robotic archive
KR20150001249A (en) * 2013-06-27 2015-01-06 주식회사 라이콤 Receptable Optical Amplifier
US10467387B2 (en) * 2016-06-23 2019-11-05 Oath Inc. Computerized system and method for modifying a media file by automatically applying security features to select portions of media file content

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8830241B1 (en) * 2009-11-30 2014-09-09 Amazon Technologies, Inc. Image conversion of text-based images
WO2014151591A2 (en) * 2013-03-15 2014-09-25 Enterasys Networks, Inc. A device, a system and a related method for dynamic traffic mirroring and policy, and the determination of applications running on a network
CN109582320A (en) * 2018-08-08 2019-04-05 深圳市宇轩网络技术有限公司 Write yard method and terminal device
CN109792460A (en) * 2018-12-25 2019-05-21 深圳辰锐软件开发有限公司 A kind of file updating method, file updating device and terminal device
US10927404B1 (en) * 2020-06-26 2021-02-23 4233999 Canada Inc. Pathogen detection using aptamer molecular beacons using a mobile device
CN113973239A (en) * 2020-07-24 2022-01-25 上海诺基亚贝尔股份有限公司 Method, apparatus, optical network unit, optical line terminal and medium for communication
CN112068895A (en) * 2020-08-10 2020-12-11 深圳市鼎盛光电有限公司 Code configuration method and device, video playing equipment and storage medium

Also Published As

Publication number Publication date
CN114900243A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US20040025089A1 (en) Enhanced VPD (Vital Product Data) structure
CN113127338A (en) Firmware testing method, server and computer readable storage medium
WO2007055015A1 (en) Electronic tag, and electronic tag system
CN107735802A (en) Electronic unit and the method performed in the electronic unit
US9491166B2 (en) Apparatus and method for authenticating smart card
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN112347329A (en) Data processing method, device, storage medium and equipment
CN115134236A (en) Intelligent network card management method, device, equipment and readable medium
CN107969003B (en) Wireless access authentication method
CN114900243B (en) Modification method and device for optical module compatible code
CN112000019B (en) Method, device and equipment for sharing equipment instruction control
CN114185571A (en) Firmware upgrading method and device of CPLD, terminal and readable storage medium
CN113852531A (en) CAN communication method and CAN controller for function code matching
CN113220568A (en) Method, device and medium for testing USIM card file system
CN110505609B (en) Bluetooth interaction method, bluetooth interaction device and terminal equipment
CN111242256B (en) Information verification method, device and terminal
CN112288060A (en) Method and apparatus for identifying a tag
CN115118527B (en) Bidirectional authentication method for ultrahigh frequency module and PDA and related equipment
CN113534691A (en) Control system and method of terminal equipment
CN112203264B (en) Equipment pairing method applied to equipment group and equipment in equipment group
CN117394945B (en) Method, device and equipment for detecting ports of optical splitters based on multivariate algorithm
CN114239629B (en) Anti-counterfeiting verification method of label, UHF handheld terminal and storage medium
CN116822560B (en) Multi-electronic-tag interaction method, reader and system based on software radio
CN117134954A (en) Gateway authentication method and device and electronic equipment
CN118113629A (en) Equipment configuration 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