CN111104163B - Method and device for implanting EOC management software into target platform - Google Patents

Method and device for implanting EOC management software into target platform Download PDF

Info

Publication number
CN111104163B
CN111104163B CN201911340653.3A CN201911340653A CN111104163B CN 111104163 B CN111104163 B CN 111104163B CN 201911340653 A CN201911340653 A CN 201911340653A CN 111104163 B CN111104163 B CN 111104163B
Authority
CN
China
Prior art keywords
eoc
software
target platform
management
local side
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
CN201911340653.3A
Other languages
Chinese (zh)
Other versions
CN111104163A (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.)
Beijing Orient View Technology Co ltd
Original Assignee
Beijing Orient View 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 Beijing Orient View Technology Co ltd filed Critical Beijing Orient View Technology Co ltd
Priority to CN201911340653.3A priority Critical patent/CN111104163B/en
Publication of CN111104163A publication Critical patent/CN111104163A/en
Application granted granted Critical
Publication of CN111104163B publication Critical patent/CN111104163B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides a method and a device for implanting EOC management software into a target platform, which are used for cutting matched software of EOC local side equipment based on a Homeplug AV scheme to obtain an EOC management program, wherein the cutting comprises the step of removing a non-EOC software management function, so that the acquisition of the EOC management program is not directly developed but is modified on the existing software program, the development cost is reduced, and the EOC management program is in butt joint with the target platform to adapt to the hardware of the target platform, so that the cut program can adapt to the hardware of the target platform. Thus, the method and the device provided by the embodiment of the invention can avoid the problem of overhigh cost of directly developing the software with the EOC management function, and improve the applicability of the EOC management software to the target platform.

Description

Method and device for implanting EOC management software into target platform
Technical Field
The invention relates to the technical field of software implantation, in particular to a method and a device for implanting EOC management software into a target platform.
Background
Currently, the broadband access scheme based on the cable tv network is generally EOC (Ethernet Over Cable, access technology based on the cable tv coaxial cable network using ethernet protocol) +onu (Optical Network Unit ): the EOC is used as the last hundred-meter access technology and is responsible for communication in the building; typically, ONUs are responsible for fiber-to-building as upstream devices of the EOC. For ONU manufacturers, independent EOC equipment, ONU+EOC integrated machine equipment or external purchasing EOC equipment can be researched and developed by themselves, but the external purchasing profit cannot be maximized, and the self research and development can not have enough software research and development capability or overlong software development period so as to miss market opportunities.
Currently, for the management function of EOC to be realized on a Linux system-based platform of non-EOC equipment, for the management function of EOC to be newly added on the non-EOC equipment platform by manufacturers without EOC product lines, the problem of high software development cost exists. Meanwhile, there is no unified standard in the industry for EOC functions and management modes.
Therefore, how to avoid the high cost of directly developing the software with the EOC management function and improve the applicability of the EOC management software to each target platform is still a problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention provides a method for implanting EOC management software into target platforms, which is used for solving the problems that the cost for directly developing the software with the EOC management function is too high and the applicability of the EOC management software to each target platform can not be realized in the prior art.
In a first aspect, an embodiment of the present invention provides a method for implanting EOC management software into a target platform, including:
cutting out the EOC local side equipment matched software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting out comprises the step of removing a non-EOC software management function;
and interfacing the EOC management program with a target platform to adapt to the hardware of the target platform.
Preferably, in the method, the removing the non-EOC software management function specifically includes:
closing the function related to the hardware of the EOC local side equipment in the configuration file under the software directory matched with the EOC local side equipment;
and removing functions related to hardware of the EOC local side equipment in the software WEB page matched with the EOC local side equipment.
Preferably, in the method, the closing the function related to the hardware of the EOC local side device in the configuration file under the software directory matched with the EOC local side device specifically includes:
closing the function related to the EOC local side equipment management CPU in the configuration file under the software directory matched with the EOC local side equipment;
the removing the function related to the hardware of the EOC local side equipment in the WEB page of the software matched with the EOC local side equipment specifically comprises the following steps:
and removing functions related to the EOC local side equipment management CPU in the software WEB page matched with the EOC local side equipment.
Preferably, in the method, the target platform is an ONU platform.
Preferably, in the method, the interfacing the EOC management program with the target platform to adapt to hardware of the target platform specifically includes:
the target platform provides a compiling tool;
the target platform modifies an input/output interface of EOC management software corresponding to the EOC management program;
the target platform carries out configuration management on EOC management software corresponding to the EOC management program;
and loading the EOC management program compiled by the compiling tool by the target platform.
Preferably, in the method, the target platform provides a compiling tool, which specifically includes:
the target platform provides a cross compiling tool of a system corresponding to the target platform for the EOC management program;
the target platform modifies an input/output interface of EOC management software corresponding to the EOC management program, and specifically comprises the following steps:
the target platform provides the EOC management program with an access port number of a WEB page of EOC management software corresponding to the EOC management program and a port name of connection between the EOC management software corresponding to the EOC management program and a radio frequency chip;
the configuration management of the EOC management software corresponding to the EOC management program by the target platform specifically comprises the following steps:
the target platform deletes a user configuration file of EOC management software corresponding to the EOC management program;
the target platform loads the EOC management program compiled by the compiling tool, and specifically comprises the following steps:
and compiling the EOC management program based on the cross compiling tool to obtain an executable file, and placing the executable file into a designated directory of a target platform in the form of an application program for loading.
In a second aspect, an embodiment of the present invention provides an apparatus for implanting EOC management software into a target platform, including:
the clipping unit is used for clipping the EOC local side equipment matched software based on the Homeplug AV scheme to obtain an EOC management program, wherein the clipping comprises the step of removing a non-EOC software management function;
and the docking unit is used for docking the EOC management program with the target platform so as to adapt to the hardware of the target platform.
Preferably, in the apparatus, the removing the non-EOC software management function specifically includes:
closing the function related to the hardware of the EOC local side equipment in the configuration file under the software directory matched with the EOC local side equipment;
and removing functions related to hardware of the EOC local side equipment in the software WEB page matched with the EOC local side equipment.
In a third aspect, an embodiment of the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of implanting EOC management software into a target platform as provided in the first aspect when the program is executed.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of embedding EOC management software into a target platform as provided in the first aspect.
According to the method and the device for implanting the EOC management software into the target platform, the EOC management program is obtained by cutting the EOC local side equipment matched software based on the Homeplug AV scheme, wherein the cutting comprises the step of removing a non-EOC software management function, so that the acquisition of the EOC management program is not directly developed but is obtained by modifying the existing software program, the development cost is reduced, and the EOC management program is in butt joint with the target platform so as to adapt to the hardware of the target platform, so that the cut program can adapt to the hardware of the target platform. Thus, the method and the device provided by the embodiment of the invention can avoid the problem of overhigh cost of directly developing the software with the EOC management function, and improve the applicability of the EOC management software to the target platform.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for implanting EOC management software into a target platform according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an apparatus for implanting EOC management software into a target platform according to an embodiment of the present invention;
fig. 3 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without any inventive effort, are intended to be within the scope of the invention.
The existing method for adding the management function of the EOC on the platform of the non-EOC device is high in cost for directly developing the software with the EOC management function, and the applicability of transplanting the software with the EOC management function to each target platform is not high. In this regard, the embodiments of the present invention provide a method for implanting EOC management software into a target platform. Fig. 1 is a flowchart of a method for implanting EOC management software into a target platform according to an embodiment of the present invention, where, as shown in fig. 1, the method includes:
and 110, cutting the EOC local side equipment matched software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting comprises the step of removing non-EOC software management functions.
Specifically, software matched with EOC local side equipment exists at present, and the software is loaded on the EOC local side equipment. The EOC local side equipment matched software adopts a HomePlug AV scheme, the EOC local side equipment takes a chip RTL8198 as a management CPU, and is connected with a radio frequency chip through RGMII, and the radio frequency chip model is two main stream radio frequency chip models supporting the current HomePlug AV technology: high-pass AR7410 and MSTAR MSE1000. Cutting the existing EOC local side equipment matched software, namely, modifying the existing program without developing the software with the EOC management function from the beginning, removing the non-EOC software management function in the existing EOC local side equipment matched software, and obtaining the cut code as the EOC management program.
Step 120, interfacing the EOC management program with a target platform to adapt to the hardware of the target platform.
Specifically, to successfully migrate the cut EOC hypervisor to the target platform, the EOC hypervisor needs to be docked with the target platform, and compiling and configuring are performed according to a certain standard, so that the EOC hypervisor can adapt to the hardware of the target platform.
According to the method provided by the embodiment of the invention, the EOC management program is obtained by cutting the EOC local side equipment matched software based on the Homeplug AV scheme, wherein the cutting comprises the step of removing the non-EOC software management function, so that the acquisition of the EOC management program is not directly developed but is obtained by modifying the existing software program, the development cost is reduced, and the EOC management program is in butt joint with the target platform so as to adapt to the hardware of the target platform, so that the cut program can adapt to the hardware of the target platform. Therefore, the method provided by the embodiment of the invention can avoid the problem of overhigh cost of directly developing the software with the EOC management function, and improve the applicability of the EOC management software to the target platform.
Based on the above embodiment, in the method, the removing the non-EOC software management function specifically includes:
closing the function related to the hardware of the EOC local side equipment in the configuration file under the software directory matched with the EOC local side equipment;
and removing functions related to hardware of the EOC local side equipment in the software WEB page matched with the EOC local side equipment.
Specifically, the non-EOC software management function in the EOC local side equipment matched software is to remove codes related to relevant functions of the EOC local side equipment hardware in codes corresponding to the EOC local side equipment matched software. Starting from the expression form of the software, closing the function related to the hardware of the EOC local side equipment in the configuration file under the catalog of the EOC local side equipment matched software, and removing the function related to the hardware of the EOC local side equipment in the WEB page of the EOC local side equipment matched software.
Based on any one of the foregoing embodiments, in the method, the turning off a function related to hardware of the EOC local side device in a configuration file under a software directory matched with the EOC local side device specifically includes:
closing the function related to the EOC local side equipment management CPU in the configuration file under the software directory matched with the EOC local side equipment;
the removing the function related to the hardware of the EOC local side equipment in the WEB page of the software matched with the EOC local side equipment specifically comprises the following steps:
and removing functions related to the EOC local side equipment management CPU in the software WEB page matched with the EOC local side equipment.
Specifically, the function irrelevant to the EOC management function in the EOC office equipment supporting software is a function related to the EOC office equipment management CPU, so that the function related to the EOC office equipment management CPU in the configuration file under the EOC office equipment supporting software directory is turned off, and further, the method specifically operates to modify the config configuration file under the EOC office equipment supporting software directory, and turn off the function related to the EOC office equipment management CPU; meanwhile, the functions related to the management CPU of the EOC local side equipment in the WEB page of the software matched with the EOC local side equipment are removed, for example, the Ethernet port management functions of the management CPU in the WEB page are removed.
Based on any one of the above embodiments, in the method, the target platform is an ONU platform.
Specifically, the target platform is an ONU platform, that is, the ONU device is enabled to implement the ONU function and the EOC management function at the same time, so that the hardware overhead of the EOC device can be reduced.
Based on any one of the foregoing embodiments, in the method, the interfacing the EOC management program with a target platform to adapt to hardware of the target platform specifically includes:
the target platform provides a compiling tool;
the target platform modifies an input/output interface of EOC management software corresponding to the EOC management program;
the target platform carries out configuration management on EOC management software corresponding to the EOC management program;
and loading the EOC management program compiled by the compiling tool by the target platform.
Specifically, to smoothly load the EOC management program onto the target platform, firstly, the target platform is required to provide a compiling tool so that the compiled executable file can run on the target platform, secondly, the target platform is required to modify the input/output interface of the EOC management program so that the functions on the target platform can be called by the EOC management program, then, the target platform performs configuration management on the EOC management program, the EOC management program has an independent configuration file, when the target platform accepts the EOC management program, the configuration file of the EOC management program is required to be re-managed, and finally, the EOC management program compiled by the compiling tool provided by the target platform is loaded to the target platform for running.
Based on any one of the foregoing embodiments, in the method, the target platform provides a compiling tool, and specifically includes:
the target platform provides a cross compiling tool of a system corresponding to the target platform for the EOC management program;
the target platform modifies an input/output interface of EOC management software corresponding to the EOC management program, and specifically comprises the following steps:
the target platform provides the EOC management program with an access port number of a WEB page of EOC management software corresponding to the EOC management program and a port name of connection between the EOC management software corresponding to the EOC management program and a radio frequency chip;
the configuration management of the EOC management software corresponding to the EOC management program by the target platform specifically comprises the following steps:
the target platform deletes a user configuration file of EOC management software corresponding to the EOC management program;
the target platform loads the EOC management program compiled by the compiling tool, and specifically comprises the following steps:
and compiling the EOC management program based on the cross compiling tool to obtain an executable file, and placing the executable file into a designated directory of a target platform in the form of an application program for loading.
Specifically, the target platform provides a compiling tool, further, the target platform provides the cross compiling tool of the system corresponding to the target platform for the EOC management program, and simultaneously modifies a makefile of the EOC management program for specifying the catalog and the name of the cross compiling tool. Then, the target platform modifies an input/output interface of the EOC management software corresponding to the EOC management program, further, the target platform provides the EOC management program with an access port number of a WEB page of the EOC management software corresponding to the EOC management program, because the WEB page of the EOC management software is equivalent to the input interface of the EOC management software, the target platform provides the EOC management program with an access port number of the WEB page of the EOC management software corresponding to the EOC management program, that is, provides the user with an interface for obtaining a function result of the target platform, the target platform provides the EOC management program with a port name of the EOC management software corresponding to the EOC management program connected with the radio frequency chip, because the port of the EOC management software connected with the radio frequency chip is equivalent to the output interface of the EOC management software, and the target platform provides the EOC management program with a port name of the EOC management software corresponding to the EOC management software connected with the radio frequency chip, that is, provides the target platform with an interface for calling functions in the target platform; then, the target platform carries out configuration management on the EOC management software corresponding to the EOC management program, further, the EOC management software is used as an independent system and is provided with a configuration file, when the target platform receives the EOC management software, factory setting of the software is restored, namely, the target platform deletes a user configuration file in the EOC management software, and a catalog stored by the user configuration file is obtained in advance by the target platform; finally, the target platform loads the EOC management program compiled by the compiling tool, further, the cross compiling tool provided by the target platform is adopted to compile the EOC management program to obtain an executable file of the target platform, the target platform is put into a designated directory of the target platform in the form of an application program, a starting script file of a system of the target platform is modified, a starting part of EOC management software is increased, and after modification, when the target platform is started, an EOC management function is operated.
Based on any one of the above embodiments, an apparatus for implanting EOC management software into a target platform is provided in the embodiments of the present invention, and fig. 2 is a schematic structural diagram of an apparatus for implanting EOC management software into a target platform according to the embodiments of the present invention. As shown in fig. 2, the apparatus includes a clipping unit 210 and a docking unit 220, wherein,
the clipping unit 210 is configured to clip the EOC local side device supporting software based on the Homeplug AV scheme to obtain an EOC management program, where the clipping includes removing a non-EOC software management function;
the docking unit 220 is configured to dock the EOC management program with a target platform to adapt to hardware of the target platform.
According to the device for implanting the EOC management software into the target platform, the EOC management program is obtained by cutting the EOC local side equipment matched software based on the Homeplug AV scheme, wherein the cutting comprises the step of removing the non-EOC software management function, so that the acquisition of the EOC management program is not directly developed but is obtained by modifying the existing software program, the development cost is reduced, and the EOC management program is in butt joint with the target platform so as to adapt to the hardware of the target platform, so that the cut program can adapt to the hardware of the target platform. Therefore, the device provided by the embodiment of the invention can avoid the problem of overhigh cost of directly developing the software with the EOC management function, and improve the applicability of the EOC management software to a target platform.
Based on any one of the foregoing embodiments, in the apparatus, the removing the non-EOC software management function specifically includes:
closing the function related to the hardware of the EOC local side equipment in the configuration file under the software directory matched with the EOC local side equipment;
and removing functions related to hardware of the EOC local side equipment in the software WEB page matched with the EOC local side equipment.
Based on any one of the foregoing embodiments, in the apparatus, the turning off a function related to hardware of the EOC local side device in a configuration file under a software directory matched with the EOC local side device specifically includes:
closing the function related to the EOC local side equipment management CPU in the configuration file under the software directory matched with the EOC local side equipment;
the removing the function related to the hardware of the EOC local side equipment in the WEB page of the software matched with the EOC local side equipment specifically comprises the following steps:
and removing functions related to the EOC local side equipment management CPU in the software WEB page matched with the EOC local side equipment.
Based on any one of the above embodiments, in the device, the target platform is an ONU platform.
Based on any of the foregoing embodiments, in the device, the docking unit is specifically configured to:
the target platform provides a compiling tool;
the target platform modifies an input/output interface of EOC management software corresponding to the EOC management program;
the target platform carries out configuration management on EOC management software corresponding to the EOC management program;
and loading the EOC management program compiled by the compiling tool by the target platform.
Based on any one of the above embodiments, in the device, the target platform provides a compiling tool, and specifically includes:
the target platform provides a cross compiling tool of a system corresponding to the target platform for the EOC management program;
the target platform modifies an input/output interface of EOC management software corresponding to the EOC management program, and specifically comprises the following steps:
the target platform provides the EOC management program with an access port number of a WEB page of EOC management software corresponding to the EOC management program and a port name of connection between the EOC management software corresponding to the EOC management program and a radio frequency chip;
the configuration management of the EOC management software corresponding to the EOC management program by the target platform specifically comprises the following steps:
the target platform deletes a user configuration file of EOC management software corresponding to the EOC management program;
the target platform loads the EOC management program compiled by the compiling tool, and specifically comprises the following steps:
and compiling the EOC management program based on the cross compiling tool to obtain an executable file, and placing the executable file into a designated directory of a target platform in the form of an application program for loading.
Based on any one of the above embodiments, an embodiment of the present invention provides a method for implanting EOC management software into an ONU platform.
Specifically, the premise that EOC management software is portable is that the ONU platform is also based on the Linux system. The connection of the radio frequency chip to the hardware of the transplanted ONU platform is not particularly limited herein, and the ONU chip and the radio frequency chip may be connected through an RGMII, or the radio frequency chip may be independent into a device, and the ONU chip and the device are connected through a network cable, so that the EOC management software may automatically adapt to the two hardware connection modes.
Firstly, cutting of the matched software of the EOC local side equipment is achieved, the matched software of the existing EOC local side equipment is installed on the EOC local side equipment, and the ECO local side equipment adopts a management CPU with a model of RTL8198, so that content related to the RTL8198 in the matched software of the EOC local side equipment is removed first, and the transplantable EOC management software achieves independence of hardware platforms. The code of the function related to the RTL8198 is removed from the program code corresponding to the supporting software of the OC local side equipment, and the function related to the RTL8198 is closed from the aspect of the software, namely, modifying the config configuration file under the directory of the supporting software of the EOC local side equipment, modifying the WEB page of the supporting software of the EOC local side equipment, removing the function related to the RTL8198, such as removing the Ethernet port management function of the RTL 8198. Then, the cut EOC management program is abutted with the ONU platform, and firstly, the ONU platform provides a cross compiling tool of the EOC management program and modifies a makefile of the EOC management software so that the EOC management software designates the catalog and the name of the cross compiling tool. And then, configuring an input/output interface of the EOC management program, wherein the WEB page of the EOC management software corresponding to the EOC management program corresponds to the input interface of the EOC management program, and the port of the ONU chip connected with the radio frequency chip corresponds to the output interface of the EOC management program. And the user sets and checks the related content of the EOC by accessing the WEB page of the EOC management software, and the EOC management software receives and transmits the radio frequency management message through an interface connected with the radio frequency chip. The ONU platform needs to provide a port number for WEB page access and a port name connected to the radio frequency chip. Correspondingly, the EOC management program is modified as follows: modifying an initialization file of a program of a WEB function part in the EOC management program, namely modifying a port number provided by an ONU platform, for example, designating the corresponding port number as 8888, and monitoring by the EOC management program; and modifying the port name connected with the radio frequency chip and provided for the ONU platform in the modification of the platform header file of the EOC management program, for example, designating the corresponding port name as eth0. Next, because the EOC management program is used as an independent system and has a configuration file, the ONU platform replies to the factory setting of the EOC management software, and the ONU platform deletes the user configuration file in the EOC management software, where the save directory of the user configuration file is known in advance by the ONU platform. And finally, compiling an EOC management program to obtain an ONU platform executable file, putting the executable file into a designated directory of the ONU platform in the form of an application program by the ONU platform, modifying a start script file of a Linux system, and adding a start part of EOC management software.
Regarding the copyright protection part of the EOC management software, although the program is loaded to the target platform by an executable file, the source code is not revealed, and the program can be arbitrarily copied, so that the EOC management software is required to read the MAC address of the target platform during starting, and only the MAC address conforming to the rule can normally start the program.
Fig. 3 is a schematic physical structure of an electronic device according to an embodiment of the present invention, where, as shown in fig. 3, the electronic device may include: processor 301, communication interface (Communications Interface) 302, memory (memory) 303 and communication bus 304, wherein processor 301, communication interface 302, memory 303 accomplish the communication between each other through communication bus 304. The processor 301 may invoke a computer program stored in the memory 303 and executable on the processor 301 to perform the method of embedding EOC management software in a target platform provided in the above embodiments, for example, including: cutting out the EOC local side equipment matched software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting out comprises the step of removing a non-EOC software management function; and interfacing the EOC management program with a target platform to adapt to the hardware of the target platform.
Further, the logic instructions in the memory 303 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art or a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program that, when executed by a processor, is implemented to perform the method for embedding EOC management software in a target platform provided in the above embodiments, for example, including: cutting out the EOC local side equipment matched software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting out comprises the step of removing a non-EOC software management function; and interfacing the EOC management program with a target platform to adapt to the hardware of the target platform.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention 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 invention.

Claims (8)

1. A method of implanting EOC management software into a target platform, comprising:
cutting out the EOC local side equipment matched software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting out comprises the step of removing a non-EOC software management function;
the target platform provides a cross compiling tool of a system corresponding to the platform for the EOC management program;
the target platform provides the EOC management program with an access port number of a WEB page of EOC management software corresponding to the EOC management program and a port name of connection between the EOC management software corresponding to the EOC management program and a radio frequency chip;
the target platform deletes a user configuration file of EOC management software corresponding to the EOC management program;
and compiling the EOC management program based on the cross compiling tool to obtain an executable file, and placing the executable file into a designated directory of a target platform in the form of an application program for loading.
2. The method of embedding EOC management software in a target platform according to claim 1, wherein said removing non-EOC software management functions comprises:
closing the function related to the hardware of the EOC local side equipment in the configuration file under the software directory matched with the EOC local side equipment;
and removing functions related to hardware of the EOC local side equipment in the software WEB page matched with the EOC local side equipment.
3. The method of implanting EOC management software into a target platform of claim 2,
the method for closing the function related to the hardware of the EOC local side equipment in the configuration file under the software directory matched with the EOC local side equipment specifically comprises the following steps:
closing the function related to the EOC local side equipment management CPU in the configuration file under the software directory matched with the EOC local side equipment;
the removing the function related to the hardware of the EOC local side equipment in the WEB page of the software matched with the EOC local side equipment specifically comprises the following steps:
and removing functions related to the EOC local side equipment management CPU in the software WEB page matched with the EOC local side equipment.
4. A method of implanting EOC management software into a target platform according to any of claims 1-3, wherein the target platform is an ONU platform.
5. An apparatus for implanting EOC management software into a target platform, comprising:
the clipping unit is used for clipping the EOC local side equipment matched software based on the Homeplug AV scheme to obtain an EOC management program, wherein the clipping comprises the step of removing a non-EOC software management function;
the docking unit is used for providing a cross compiling tool of a system corresponding to the target platform for the EOC management program; the target platform provides the EOC management program with an access port number of a WEB page of EOC management software corresponding to the EOC management program and a port name of connection between the EOC management software corresponding to the EOC management program and a radio frequency chip; the target platform deletes a user configuration file of EOC management software corresponding to the EOC management program; and compiling the EOC management program based on the cross compiling tool to obtain an executable file, and placing the executable file into a designated directory of a target platform in the form of an application program for loading.
6. The apparatus for embedding EOC management software in a target platform according to claim 5, wherein said removing non-EOC software management functions comprises:
closing the function related to the hardware of the EOC local side equipment in the configuration file under the software directory matched with the EOC local side equipment;
and removing functions related to hardware of the EOC local side equipment in the software WEB page matched with the EOC local side equipment.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of the method of implanting EOC management software into a target platform as claimed in any of claims 1-4 when the program is executed by the processor.
8. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the method of implanting EOC management software into a target platform according to any of claims 1-4.
CN201911340653.3A 2019-12-23 2019-12-23 Method and device for implanting EOC management software into target platform Active CN111104163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911340653.3A CN111104163B (en) 2019-12-23 2019-12-23 Method and device for implanting EOC management software into target platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911340653.3A CN111104163B (en) 2019-12-23 2019-12-23 Method and device for implanting EOC management software into target platform

Publications (2)

Publication Number Publication Date
CN111104163A CN111104163A (en) 2020-05-05
CN111104163B true CN111104163B (en) 2023-08-22

Family

ID=70423336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911340653.3A Active CN111104163B (en) 2019-12-23 2019-12-23 Method and device for implanting EOC management software into target platform

Country Status (1)

Country Link
CN (1) CN111104163B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630258A (en) * 2009-07-29 2010-01-20 精伦电子股份有限公司 Embedded Linux software integration development system on Windows platform and construction method thereof
CN102438116A (en) * 2011-08-17 2012-05-02 中国科学院光电技术研究所 Embedded type Linux system-based high-speed image recording device
CN102819445A (en) * 2012-07-30 2012-12-12 国电南瑞科技股份有限公司 Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform
CN103957368A (en) * 2011-12-30 2014-07-30 南阳首控光电有限公司 Intelligent laser projector based on Android operating system
CN106020921A (en) * 2016-05-16 2016-10-12 广东天波信息技术股份有限公司 Peripheral application transplantation method and system
CN110502239A (en) * 2019-08-19 2019-11-26 武汉蓝星科技股份有限公司 A kind of method for developing and producing and device of onboard system SDK

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266810B2 (en) * 2002-04-09 2007-09-04 Hewlett-Packard Development Company, Lp. Runtime profiling of platform-independent software applications
US8959495B2 (en) * 2012-09-14 2015-02-17 Oracle International Corporation Unifying static and dynamic compiler optimizations in source-code bases

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630258A (en) * 2009-07-29 2010-01-20 精伦电子股份有限公司 Embedded Linux software integration development system on Windows platform and construction method thereof
CN102438116A (en) * 2011-08-17 2012-05-02 中国科学院光电技术研究所 Embedded type Linux system-based high-speed image recording device
CN103957368A (en) * 2011-12-30 2014-07-30 南阳首控光电有限公司 Intelligent laser projector based on Android operating system
CN102819445A (en) * 2012-07-30 2012-12-12 国电南瑞科技股份有限公司 Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform
CN106020921A (en) * 2016-05-16 2016-10-12 广东天波信息技术股份有限公司 Peripheral application transplantation method and system
CN110502239A (en) * 2019-08-19 2019-11-26 武汉蓝星科技股份有限公司 A kind of method for developing and producing and device of onboard system SDK

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕育斌等.一种带EOC网管功能的新型ONU模块设计.《电子质量》.2014,第30-34页. *

Also Published As

Publication number Publication date
CN111104163A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN106997314B (en) Exception handling method, device and system for distributed system
US20170206079A1 (en) Method and Device for Upgrading Software
CN108934033B (en) Base station upgrading and returning method and device
CN106126273A (en) A kind of method of upgrading BIOS
CN103605529B (en) The treating method and apparatus of application program
CN108134690B (en) Network service deployment process control method, device and system
EP4050850A1 (en) Service upgrading method, device and system
CN111104163B (en) Method and device for implanting EOC management software into target platform
CN107995033B (en) ONU configuration file upgrading method and device
CN109379223A (en) A kind of method and apparatus for realizing network interface card automated setting
CN104104701A (en) Online service configuration updating method and system
CN111240707B (en) Method and device for filling storage system through PXE network
CN113031999A (en) Method, device and equipment for controlling firmware upgrade of server component and storage medium
CN106161532A (en) A kind of orientation method for cleaning based on cloud service and system
CN107786650A (en) A kind of synchronous method, the apparatus and system of storage medium and management strategy
CN108900347B (en) Cluster initialization configuration method, device, system, equipment and readable storage medium
CN110413311A (en) ' In System Reconfiguration Method and server
US9665364B2 (en) Dual-bank telecommunication apparatus and method of upgrading firmware in dual-bank telecommunication apparatus
CN106557386A (en) Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM
CN108418720A (en) A kind of restoration methods, device and the routing device of routing device configuration information
CN109634685B (en) Starting and stopping method and related device for PXE function of PCH gigabit Ethernet
CN104618474A (en) Equipment information storing method and device
CN101179804A (en) Reset method and system of mobile terminal
CN106033211B (en) A kind of method and device of control gluing board rubber head cleaning
WO2017096889A1 (en) Method and device for upgrading and downgrading system

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