CN111104163A - 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
CN111104163A
CN111104163A CN201911340653.3A CN201911340653A CN111104163A CN 111104163 A CN111104163 A CN 111104163A CN 201911340653 A CN201911340653 A CN 201911340653A CN 111104163 A CN111104163 A CN 111104163A
Authority
CN
China
Prior art keywords
eoc
target platform
software
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.)
Granted
Application number
CN201911340653.3A
Other languages
Chinese (zh)
Other versions
CN111104163B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method and a device for implanting EOC management software into a target platform, which are characterized in that supporting software of EOC local side equipment based on a Homeplug AV scheme is cut to obtain an EOC management program, wherein the cutting comprises the step of removing a non-EOC management function, so that the EOC management program is obtained by modifying the existing software program instead of being directly developed, the development cost is reduced, and the EOC management program is butted 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. Therefore, 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 a 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
At present, the broadband access scheme based on the Cable television Network is generally EOC (Ethernet Over Cable, access technology using Ethernet protocol based on the Cable television coaxial Cable Network) + ONU (Optical Network Unit): the EOC is used as the last hundred meters of access technology and is responsible for communication in the building; the ONU is typically used as the upstream device of the EOC and is responsible for fiber to the building. For an ONU manufacturer, it may develop an independent EOC device, or an ONU + EOC all-in-one device, or an external procurement EOC device, but the profit of the external procurement cannot be maximized, and the development itself may not have sufficient software development capability or the software development cycle is too long, so that the market opportunity is missed.
At present, the problem of high software development cost exists for the management function of EOC which is to be realized on a Linux system-based platform of non-EOC equipment and for the management function of EOC which is newly added on the non-EOC equipment platform by a manufacturer without an EOC product line. Meanwhile, there is no unified standard in the industry for the EOC function and management manner.
Therefore, how to avoid the high cost of directly developing software with an 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 a target platform, which is used for solving the problems that the cost for directly developing software with an EOC management function is too high and the high applicability of the EOC management software to each target platform cannot 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 the EOC local side equipment supporting software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting comprises the step of removing a non-EOC management function;
and docking the EOC management program with a target platform so as to adapt to the hardware of the target platform.
Preferably, in the method, the removing of the non-EOC software management function specifically includes:
closing the functions related to the EOC local side equipment hardware in the configuration file under the EOC local side equipment matching software directory;
and removing functions related to EOC local side equipment hardware in the WEB page of the EOC local side equipment supporting software.
Preferably, in the method, the closing a function related to the EOC local side device hardware in the configuration file in the software directory associated with the EOC local side device specifically includes:
closing the functions related to the EOC local side equipment management CPU in the configuration file under the EOC local side equipment matching software directory;
the removing of the function related to the EOC local side device hardware in the WEB page of the supporting software of the EOC local side device specifically includes:
and removing the functions related to the EOC local side equipment management CPU in the WEB page of the EOC local side equipment supporting software.
Preferably, in the method, the target platform is an ONU platform.
Preferably, 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 manages the configuration of EOC management software corresponding to the EOC management program;
and the target platform loads an EOC management program compiled by the compiling tool.
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 modifying, by the target platform, the input/output interface of the EOC management software corresponding to the EOC management program specifically includes:
the target platform provides 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 for the EOC management program;
the configuration management of the target platform on the EOC management software corresponding to the EOC management program specifically includes:
the target platform deletes the user configuration file of the EOC management software corresponding to the EOC management program;
the loading, by the target platform, the EOC management program compiled by using the compiling tool specifically includes:
compiling the EOC management program based on the cross compiling tool to obtain an executable file, and loading the executable file into a specified directory of a target platform in the form of an application program.
In a second aspect, an embodiment of the present invention provides an apparatus for implanting EOC management software into a target platform, including:
the device comprises a clipping unit, a processing unit and a processing unit, wherein the clipping unit is used for clipping the supporting software of the EOC local side equipment based on the Homeplug AV scheme to obtain an EOC management program, and the clipping comprises the step of removing a non-EOC management function;
and the docking unit is used for docking the EOC management program with a target platform so as to adapt to the hardware of the target platform.
Preferably, in the apparatus, the removing of the non-EOC software management function specifically includes:
closing the functions related to the EOC local side equipment hardware in the configuration file under the EOC local side equipment matching software directory;
and removing functions related to EOC local side equipment hardware in the WEB page of the EOC local side equipment supporting software.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the steps of the method for implanting EOC management software into a target platform as provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method for implanting 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, provided by the embodiment of the invention, the EOC management program is obtained by cutting the supporting software of the EOC local side equipment based on the Homeplug AV scheme, wherein the cutting comprises the step of removing a non-EOC management function, so that the EOC management program is obtained by modifying the existing software program instead of being directly developed, the development cost is reduced, and then the EOC management program is butted 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. Therefore, 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 a 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 technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for implanting EOC management software into a target platform according to an embodiment of the present invention;
FIG. 2 is a schematic structural 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 physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
The existing method for adding the EOC management function on the platform of the non-EOC device has the disadvantages that the cost for directly developing the software with the EOC management function is too high, and the applicability of transplanting the software with the EOC management function to each target platform is not high. In view of the above, the embodiment of the present invention provides a method for implanting EOC management software into a target platform. Fig. 1 is a schematic flowchart of a method for implanting EOC management software into a target platform according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 110, cutting the supporting software of the EOC local side equipment based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting comprises removing a non-EOC management function.
Specifically, currently, there is software for supporting an EOC local side device, which is mounted on the EOC local side device. The EOC local side equipment adopts a Homeplug AV scheme, the EOC local side equipment takes a chip RTL8198 as a management CPU, a radio frequency chip is connected through RGMII, and the radio frequency chip model is two mainstream radio frequency chip models supporting the current Homeplug AV technology: high-pass AR7410 and MSTAR MSE 1000. The existing EOC local side equipment supporting software is cut, namely the software with the EOC management function is not required to be developed from the beginning, but the existing program is modified, the non-EOC management function in the existing EOC local side equipment supporting software is removed, and the cut code is the EOC management program.
And 120, butting the EOC management program with a target platform so as to adapt to the hardware of the target platform.
Specifically, the cut EOC management program needs to be successfully transplanted to the target platform, and the EOC management program needs to be docked with the target platform, compiled and configured according to a certain standard, so that the EOC management program can adapt to the hardware of the target platform.
The method provided by the embodiment of the invention obtains the EOC management program by cutting the supporting software of the EOC local side equipment based on the Homeplug AV scheme, wherein the cutting comprises the step of removing the non-EOC management function, so that the EOC management program is obtained by modifying the existing software program instead of being directly developed, the development cost is reduced, and the EOC management program is butted with a 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. 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 of the non-EOC software management function specifically includes:
closing the functions related to the EOC local side equipment hardware in the configuration file under the EOC local side equipment matching software directory;
and removing functions related to EOC local side equipment hardware in the WEB page of the EOC local side equipment supporting software.
Specifically, removing a non-EOC software management function in the supporting software of the EOC local side device, that is, removing a code related to the related function of the EOC local side device hardware in the code corresponding to the supporting software of the EOC local side device. Starting from the expression form of software, the functions related to the hardware of the EOC local side equipment in the configuration file under the supporting software directory of the EOC local side equipment are closed, and the functions related to the hardware of the EOC local side equipment in the WEB page of the supporting software of the EOC local side equipment are removed.
Based on any of the above embodiments, in the method, the closing a function related to the EOC local side device hardware in the configuration file in the software directory supporting the EOC local side device specifically includes:
closing the functions related to the EOC local side equipment management CPU in the configuration file under the EOC local side equipment matching software directory;
the removing of the function related to the EOC local side device hardware in the WEB page of the supporting software of the EOC local side device specifically includes:
and removing the functions related to the EOC local side equipment management CPU in the WEB page of the EOC local side equipment supporting software.
Specifically, the function irrelevant to the EOC management function in the EOC local side device supporting software is a function relevant to the EOC local side device management CPU, so that the function relevant to the EOC local side device management CPU in the configuration file under the EOC local side device supporting software directory is to be turned off, and further, the specific operation is to modify the config configuration file under the EOC local side device supporting software directory, and turn off the function relevant to the EOC local side device management CPU; meanwhile, the functions related to the EOC local side device management CPU in the WEB page of the EOC local side device supporting software, for example, the ethernet port management function of the management CPU in the WEB page, are also removed.
Based on any 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 simultaneously implements an ONU function and an EOC management function, so that hardware overhead of the EOC device can be reduced.
Based on any of the above 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 manages the configuration of EOC management software corresponding to the EOC management program;
and the target platform loads an EOC management program compiled by the compiling tool.
Specifically, to implement smooth loading of an EOC management program onto a target platform, the target platform is required to provide a compiling tool to enable a compiled executable file to run on the target platform, and then the target platform is required to modify an input/output interface of the EOC management program to enable functions on the target platform to be invoked by the EOC management program, and then the target platform performs configuration management on the EOC management program, wherein the EOC management program has an independent configuration file, and when the target platform receives the EOC management program, the configuration file of the EOC management program needs to be re-managed, and finally, the EOC management program compiled by using the compiling tool provided by the target platform is loaded onto the target platform to run.
Based on any of the above embodiments, 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 modifying, by the target platform, the input/output interface of the EOC management software corresponding to the EOC management program specifically includes:
the target platform provides 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 for the EOC management program;
the configuration management of the target platform on the EOC management software corresponding to the EOC management program specifically includes:
the target platform deletes the user configuration file of the EOC management software corresponding to the EOC management program;
the loading, by the target platform, the EOC management program compiled by using the compiling tool specifically includes:
compiling the EOC management program based on the cross compiling tool to obtain an executable file, and loading the executable file into a specified directory of a target platform in the form of an application program.
Specifically, the target platform provides a compiling tool, further, the target platform provides a cross compiling tool of a system corresponding to the platform for the EOC management program, and modifies a makefile of the EOC management program at the same time, so as to specify a directory and a name where the cross compiling tool is located. Then, the target platform modifies the input/output interface of the EOC management software corresponding to the EOC management program, further, the target platform provides the EOC management program with the access port number of the 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 the 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 acquiring the function result of the target platform, the target platform provides the EOC management program with the port name of the EOC management software corresponding to the EOC management program connected to the radio frequency chip, because the port of the EOC management software connected to the radio frequency chip is equivalent to the output interface of the EOC management software, the target platform provides the EOC management program with the port name of the EOC management software corresponding to the EOC management program connected to the radio frequency chip, namely, the target platform provides an interface for calling the functions in the target platform to the EOC management key; then, the target platform manages the configuration of the EOC management software corresponding to the EOC management program, further, the EOC management software is used as an independent system and has a configuration file, when the target platform receives the EOC management software, factory settings of the software can be restored, namely the target platform deletes a user configuration file in the EOC management software, and a directory stored by the user configuration file is known in advance by the target platform; and finally, loading the EOC management program compiled by the compiling tool by the target platform, further compiling the EOC management program by a cross compiling tool provided by the target platform to obtain a target platform executable file, putting the target platform into a specified directory of the target platform in the form of an application program, modifying a start script file of a system of the target platform, adding a start part of EOC management software, and operating an EOC management function when the target platform is started after modification.
Based on any one of the embodiments, an embodiment of the present invention provides a device for implanting EOC management software into a target platform, and fig. 2 is a schematic structural diagram of the device for implanting EOC management software into a target platform according to the embodiment of the present invention. As shown in fig. 2, the apparatus includes a cropping unit 210 and a docking unit 220, wherein,
the clipping unit 210 is configured to clip the supporting software of the EOC local side device based on the Homeplug AV scheme to obtain an EOC management program, where the clipping includes removing a non-EOC 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.
The device for implanting the EOC management software into the target platform provided by the embodiment of the invention obtains the EOC management program by cutting the supporting software of the EOC local side equipment based on the Homeplug AV scheme, wherein the cutting comprises the step of removing the non-EOC management function, so that the EOC management program is obtained by modifying the existing software program instead of being directly developed, the development cost is reduced, and the EOC management program is butted with the target platform to adapt to the hardware of the target platform, so that the cut program can be adapted 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 the target platform.
Based on any of the above embodiments, in the apparatus, the removing of the non-EOC software management function specifically includes:
closing the functions related to the EOC local side equipment hardware in the configuration file under the EOC local side equipment matching software directory;
and removing functions related to EOC local side equipment hardware in the WEB page of the EOC local side equipment supporting software.
Based on any of the above embodiments, in the apparatus, the closing a function related to the EOC local side device hardware in the configuration file in the software directory supporting the EOC local side device specifically includes:
closing the functions related to the EOC local side equipment management CPU in the configuration file under the EOC local side equipment matching software directory;
the removing of the function related to the EOC local side device hardware in the WEB page of the supporting software of the EOC local side device specifically includes:
and removing the functions related to the EOC local side equipment management CPU in the WEB page of the EOC local side equipment supporting software.
Based on any of the above embodiments, in the apparatus, the target platform is an ONU platform.
Based on any one of the above embodiments, in the apparatus, 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 manages the configuration of EOC management software corresponding to the EOC management program;
and the target platform loads an EOC management program compiled by the compiling tool.
Based on any of the above embodiments, in the apparatus, 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 modifying, by the target platform, the input/output interface of the EOC management software corresponding to the EOC management program specifically includes:
the target platform provides 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 for the EOC management program;
the configuration management of the target platform on the EOC management software corresponding to the EOC management program specifically includes:
the target platform deletes the user configuration file of the EOC management software corresponding to the EOC management program;
the loading, by the target platform, the EOC management program compiled by using the compiling tool specifically includes:
compiling the EOC management program based on the cross compiling tool to obtain an executable file, and loading the executable file into a specified directory of a target platform in the form of an application program.
Based on any 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 of portability of the EOC management software is that the ONU platform is also based on the Linux system. How to connect the radio frequency chip on the transplanted ONU platform hardware is not specifically limited herein, and the ONU chip and the radio frequency chip may be connected through RGMII, or the radio frequency chip may be independent into a device, the ONU chip and the device are connected through a network cable, and the EOC management software may automatically adapt to the two hardware connection modes.
Firstly, the cutting of the matching software of the EOC local side equipment is realized, the existing matching software of the EOC local side equipment is carried on the EOC local side equipment, and the ECO local side equipment adopts a management CPU with the model of RTL8198, so that the content related to the RTL8198 in the matching software of the EOC local side equipment is firstly removed, and the independence of a hardware platform is realized by the portable EOC management software. The method comprises the steps of removing codes of functions related to RTL8198 from program codes corresponding to OC local side equipment matching software, and from the aspect of expression form of software, namely modifying a config configuration file under an EOC local side equipment matching software directory, closing the functions related to RTL8198, modifying a WEB page of the EOC local side equipment matching software, and removing the functions related to RTL8198, such as removing an Ethernet port management function of the RTL 8198. And then, the cut EOC management program is butted with an ONU platform, firstly, the ONU platform provides a cross compiling tool of the EOC management program, and a makefile of the EOC management software is modified, so that the EOC management software specifies the directory and the name of the cross compiling tool. And then configuring an input/output interface of the EOC management program, wherein a WEB page of EOC management software corresponding to the EOC management program corresponds to the input interface of the EOC management program, and a port of the ONU chip connected with the radio frequency chip corresponds to the output interface of the EOC management program. A user sets and checks the related content of the EOC by accessing a WEB page of the EOC management software, and the EOC management software receives and transmits radio frequency management messages through an interface connected with a radio frequency chip. The ONU platform needs to provide port numbers for WEB page access and port names connected with the radio frequency chip. Correspondingly, the EOC hypervisor is modified as follows: modifying an initialization file of a program of a WEB function part in the EOC management program, and modifying a port number provided by the ONU platform, for example, designating a corresponding port number as 8888, and monitoring by the EOC management program; and modifying the platform header file of the EOC management program to modify the port name provided by the ONU platform and connected with the radio frequency chip, for example, designating the corresponding port name as eth 0. Next, because the EOC management program is an independent system and has its own configuration file, the ONU platform needs to reply the factory settings of the EOC management software, and deletes the user configuration file in the EOC management software, where the storage directory of the user configuration file is known by the ONU platform in advance. And finally, compiling the EOC management program to obtain an executable file of the ONU platform, putting the executable file into an appointed 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 in an executable file and does not reveal a source code, the program can be copied arbitrarily, so that the EOC management software is required to read the MAC address of the target platform during starting, and only the MAC address which meets the rule can enable the program to be started normally.
Fig. 3 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device may include: a processor (processor)301, a communication Interface (communication Interface)302, a memory (memory)303 and a communication bus 304, wherein the processor 301, the communication Interface 302 and the memory 303 complete communication with each other through the communication bus 304. The processor 301 may invoke a computer program stored on the memory 303 and executable on the processor 301 to perform the methods for implanting EOC management software into a target platform as provided by the various embodiments described above, including, for example: cutting the EOC local side equipment supporting software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting comprises the step of removing a non-EOC management function; and docking the EOC management program with a target platform so as to adapt to the hardware of the target platform.
In addition, 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 the logic instructions are sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods 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), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to, when executed by a processor, perform the method for implanting EOC management software into a target platform, which is provided in the foregoing embodiments, for example, including: cutting the EOC local side equipment supporting software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting comprises the step of removing a non-EOC management function; and docking the EOC management program with a target platform so as to adapt to the hardware of the target platform.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for implanting EOC management software into a target platform, comprising:
cutting the EOC local side equipment supporting software based on the Homeplug AV scheme to obtain an EOC management program, wherein the cutting comprises the step of removing a non-EOC management function;
and docking the EOC management program with a target platform so as to adapt to the hardware of the target platform.
2. The method according to claim 1, wherein the removing of non-EOC software management functions specifically comprises:
closing the functions related to the EOC local side equipment hardware in the configuration file under the EOC local side equipment matching software directory;
and removing functions related to EOC local side equipment hardware in the WEB page of the EOC local side equipment supporting software.
3. A method for implanting EOC management software into a target platform according to claim 2,
the step of closing the function related to the hardware of the EOC local side device in the configuration file in the software directory matched with the EOC local side device specifically includes:
closing the functions related to the EOC local side equipment management CPU in the configuration file under the EOC local side equipment matching software directory;
the removing of the function related to the EOC local side device hardware in the WEB page of the supporting software of the EOC local side device specifically includes:
and removing the functions related to the EOC local side equipment management CPU in the WEB page of the EOC local side equipment supporting software.
4. A method for implanting EOC management software into a target platform according to any one of claims 1 to 3, wherein the target platform is an ONU platform.
5. A method for implanting EOC management software into a target platform according to any one of claims 1 to 3, wherein the interfacing the EOC management program with the target platform to adapt to hardware of the target platform comprises:
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 manages the configuration of EOC management software corresponding to the EOC management program;
and the target platform loads an EOC management program compiled by the compiling tool.
6. A method for implanting EOC management software into a target platform according to claim 5,
the target platform provides a compiling tool, and specifically comprises:
the target platform provides a cross compiling tool of a system corresponding to the target platform for the EOC management program;
the modifying, by the target platform, the input/output interface of the EOC management software corresponding to the EOC management program specifically includes:
the target platform provides 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 for the EOC management program;
the configuration management of the target platform on the EOC management software corresponding to the EOC management program specifically includes:
the target platform deletes the user configuration file of the EOC management software corresponding to the EOC management program;
the loading, by the target platform, the EOC management program compiled by using the compiling tool specifically includes:
compiling the EOC management program based on the cross compiling tool to obtain an executable file, and loading the executable file into a specified directory of a target platform in the form of an application program.
7. An apparatus for implanting EOC management software into a target platform, comprising:
the device comprises a clipping unit, a processing unit and a processing unit, wherein the clipping unit is used for clipping the supporting software of the EOC local side equipment based on the Homeplug AV scheme to obtain an EOC management program, and the clipping comprises the step of removing a non-EOC management function;
and the docking unit is used for docking the EOC management program with a target platform so as to adapt to the hardware of the target platform.
8. An apparatus according to claim 7, wherein the removing of non-EOC software management functions comprises:
closing the functions related to the EOC local side equipment hardware in the configuration file under the EOC local side equipment matching software directory;
and removing functions related to EOC local side equipment hardware in the WEB page of the EOC local side equipment supporting software.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method of implanting EOC management software in a target platform as claimed in any one of claims 1 to 6.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, performs the steps of the method of implanting EOC management software in a target platform according to any one of claims 1 to 6.
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 true CN111104163A (en) 2020-05-05
CN111104163B 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030192036A1 (en) * 2002-04-09 2003-10-09 Ashish Karkare Runtime profiling of platform-independent software applications
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
US20150128115A1 (en) * 2012-09-14 2015-05-07 Oracle International Corporation Unifying static and dynamic compiler optimizations in source-code bases
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030192036A1 (en) * 2002-04-09 2003-10-09 Ashish Karkare Runtime profiling of platform-independent software applications
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
US20150128115A1 (en) * 2012-09-14 2015-05-07 Oracle International Corporation Unifying static and dynamic compiler optimizations in source-code bases
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 (2)

* Cited by examiner, † Cited by third party
Title
R. CORNEA等: "FORGE: a framework for optimization of distributed embedded systems software", pages 1 - 13 *
吕育斌等: "一种带EOC网管功能的新型ONU模块设计", pages 30 - 34 *

Also Published As

Publication number Publication date
CN111104163B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
WO2018059062A1 (en) Network repairing method and apparatus, and terminal
KR100442884B1 (en) Method for updating firmware
TWI626593B (en) Method and apparatus for upgrading software
CN106126273A (en) A kind of method of upgrading BIOS
CN106445548B (en) Test packet issuing method and device
US20170163787A1 (en) Method and electronic device for upgrading or downgrading system
WO2018076969A1 (en) Software upgrade method, computing device, and channel control device
CN113687858B (en) Configuration file checking method and device, electronic equipment and storage medium
CN111181787A (en) BMC parameter configuration method, device, equipment and medium
CN108958812A (en) A kind of starting method and electronic equipment
WO2022199335A1 (en) Method, apparatus and device for controlling firmware upgrade of server component, and storage medium
CN110750286B (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
CN114221866A (en) Method, device and medium for upgrading terminal
CN111104163A (en) Method and device for implanting EOC management software into target platform
CN104104701A (en) Online service configuration updating method and system
CN112817883A (en) Method, device and system for adapting interface platform and computer readable storage medium
CN112099902A (en) Network adapter configuration method and device of virtual machine, electronic device and storage medium
CN109039765B (en) Network configuration method and device
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN106557386A (en) Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM
CN102196411A (en) Mobile communication terminal and communication software upgrading method
WO2016095491A1 (en) Equipment upgrading method and transport network equipment
CN114442765A (en) Fan control method for computer equipment, baseboard management controller and storage medium
CN104348646A (en) Configuration data processing method, device and system
CN114640584A (en) Module upgrading method and 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