CN112449023B - Intelligent configuration method, system, controller and medium for network decoder - Google Patents

Intelligent configuration method, system, controller and medium for network decoder Download PDF

Info

Publication number
CN112449023B
CN112449023B CN202011180917.6A CN202011180917A CN112449023B CN 112449023 B CN112449023 B CN 112449023B CN 202011180917 A CN202011180917 A CN 202011180917A CN 112449023 B CN112449023 B CN 112449023B
Authority
CN
China
Prior art keywords
port
decoder
address
addresses
controller
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
CN202011180917.6A
Other languages
Chinese (zh)
Other versions
CN112449023A (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.)
Guangzhou Caiyi Light Co Ltd
Original Assignee
Guangzhou Caiyi Light 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 Guangzhou Caiyi Light Co Ltd filed Critical Guangzhou Caiyi Light Co Ltd
Priority to CN202011180917.6A priority Critical patent/CN112449023B/en
Publication of CN112449023A publication Critical patent/CN112449023A/en
Application granted granted Critical
Publication of CN112449023B publication Critical patent/CN112449023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention provides an intelligent configuration method, a system, a controller and a medium of a network decoder, wherein the method comprises the following steps: distributing corresponding port addresses for the ports of the decoders and establishing a corresponding relation; receiving a controller line address corresponding to a port of a decoder and input by a user, and establishing a configuration relation between the controller line address and the port address of the decoder; acquiring the corresponding relation between the line address of the controller and the port of the decoder according to the corresponding relation between the port of the decoder and the port address and the configuration relation between the line address of the controller and the port address of the decoder; detecting whether more than two same controller line addresses correspond to port addresses of different decoders, if so, merging and processing combinable port addresses in the port addresses of the different decoders, updating the configuration relationship between the controller line addresses and the port addresses of the decoders, and updating the corresponding relationship between the ports of the decoders and the port addresses. The invention effectively reduces the workload of configuring and managing the decoder.

Description

Intelligent configuration method, system, controller and medium for network decoder
Technical Field
The invention belongs to the technical field of electronic equipment, particularly relates to the technical field of decoder management, and particularly relates to an intelligent configuration method, a system, a controller and a medium of a network decoder.
Background
The Art-Net is an ethernet protocol based on a TCP/IP protocol stack, and currently, an Art-Net network decoder (Art Net Node) is used, and all the decoders need to configure addresses of respective ports, and a Controller (Controller) sets mapping relationships between respective line addresses of the decoders and the respective line addresses of the decoders.
Firstly, the addresses of all ports of all decoders need to be configured at the decoder end, and when a plurality of decoders are used, the addresses of all ports of all decoders need to be planned manually. This configuration is very cumbersome and complicated and error prone when the decoder is used in large numbers. Secondly, at the controller side, the user focuses on that the addresses of the lines on the controller and the addresses of the ports on the decoder are required to be configured in a corresponding manner on the corresponding relationship between the addresses of the lines on the controller and the addresses of the ports on the decoder.
Examples are: when 2 decoders are used in the network, one of the decoders has 4 ports, each being ABCD, and the other is 8 ports, each being ABCDEFGH, and the line addresses of the ABCD are 7,8,9, 10, respectively, it should be noted that when the decoder 2 is configured, if the network and subnet are the same as the decoder 1, the line addresses of the 8 ports are disordered, for example 1,2,3,4,5,6, 11, 12, respectively, in order not to repeat the address of the decoder 1. At the controller side, the user pays attention to the correspondence relationship between the line address on the controller and the address on the decoder, for example, paying attention to the fact that the line 30 on the controller is configured with the decoder address of 5, and the correspondence method is not as intuitive as generally understanding the correspondence between the line 30 on the controller and the E port of the decoder 2.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide an intelligent configuration method, system, controller and medium for a network decoder, which are used to solve the problems of the prior art that the configuration management of the decoder is cumbersome and error-prone.
To achieve the above and other related objects, an embodiment of the present invention provides an intelligent configuration method for a network decoder, including: acquiring ports and port addresses of all decoders managed by a controller, allocating corresponding port addresses to the ports of all the decoders, and establishing a corresponding relation between the ports of all the decoders and the port addresses; receiving a controller line address corresponding to a port of a decoder and input by a user, and establishing a configuration relation between the controller line address and the port address of the decoder; acquiring the corresponding relation between the controller line address and the port of the decoder according to the corresponding relation between the port of the decoder and the port address and the configuration relation between the controller line address and the port address of the decoder; detecting whether two or more identical controller line addresses correspond to different port addresses of the decoder, if so, merging and processing combinable port addresses in the port addresses of the different decoders, updating the configuration relationship between the controller line addresses and the port addresses of the decoder, and updating the corresponding relationship between the ports of the decoder and the port addresses.
In an embodiment of the invention, the intelligent configuration method of the network decoder further includes: displaying the corresponding relation between the port of each decoder and the port address; and displaying the configuration relationship between the line address of the controller and the port address of the decoder.
In an embodiment of the present invention, an input new port address of the decoder is received, and the configuration relationship between the new port address and the corresponding line address of the controller is updated according to the input port address of the decoder.
In an embodiment of the invention, the intelligent configuration method of the network decoder further includes: judging whether the port address identical to the new port address of the input decoder exists in the port addresses of the existing decoders: if not, updating the port address of the corresponding decoder to the new port address of the input decoder; if so, judging whether different controller line addresses are generated to the same physical port or not, and further when control data conflict is generated: if yes, prompting the address conflict of the port; if not, updating the port address of the corresponding decoder to the new port address of the input decoder.
In an embodiment of the present invention, the method for intelligently configuring a network decoder further includes: and sending the allocated port address or the input new port address to a corresponding decoder, so that the decoder updates the port address according to the allocated port address or the new port address.
The embodiment of the invention also provides an intelligent configuration system of a network decoder, which comprises: the acquisition module is used for acquiring the ports and the port addresses of all the decoders managed by the controller, distributing corresponding port addresses to the ports of all the decoders and establishing the corresponding relation between the ports of all the decoders and the port addresses; the configuration receiving module is used for receiving a controller line address which is input by a user and corresponds to a port of the decoder, and establishing a configuration relation between the controller line address and the port address of the decoder; a relationship obtaining module, configured to obtain a correspondence between the controller line address and the port of the decoder according to the correspondence between the port of the decoder and the port address and a configuration relationship between the controller line address and the port address of the decoder; and the optimization updating module is used for detecting whether two or more identical controller line addresses correspond to different port addresses of the decoder, if so, merging and processing combinable port addresses in the port addresses of the different decoders, updating the configuration relationship between the controller line addresses and the port addresses of the decoders, and updating the corresponding relationship between the ports of the decoders and the port addresses.
In an embodiment of the present invention, the configuration receiving module includes: the display unit is used for displaying the corresponding relation between the port of each decoder and the port address and displaying the configuration relation between the line address of the controller and the port address of the decoder; the configuration interface unit is used for receiving a controller line address input by a user and receiving an input new port address of the decoder; and the configuration relation establishing unit is used for establishing the configuration relation between the controller line address and the port address of the decoder and updating the configuration relation with the corresponding controller line address according to the input port address of the decoder.
In an embodiment of the present invention, the configuration receiving module further includes: the judging unit is used for judging whether a port address identical to a new port address of an input decoder exists in port addresses of the existing decoder or not, judging whether different controller line addresses are generated to the same physical port or not, and further generating control data conflict; and the prompt processing unit is used for prompting the port address conflict when different controller line addresses are generated to the same physical port and further control data conflict is generated.
Embodiments of the present invention also provide a controller, comprising a processor and a memory, the memory storing program instructions; the processor executes program instructions to implement the intelligent configuration method of the network decoder as described above.
Embodiments of the present invention also provide a computer-readable storage medium storing program instructions that, when executed, implement the intelligent configuration method of a network decoder as described above.
As described above, the intelligent configuration method, system, controller and medium of the network decoder of the present invention have the following advantages:
by the invention, a user only needs to correspond a certain line address of the controller with a certain port of the decoder in the controller, and can configure and change the port address of each decoder without going to each decoder to configure the address of each port, and the configured address can not make mistakes when a plurality of decoders are used, so after the technical scheme of the invention is adopted, the configuration of the decoders is simpler, the workload of configuring and managing the decoders is effectively reduced, and the error probability of the configuration is effectively reduced.
Drawings
Fig. 1 is a flow chart illustrating an intelligent configuration method of a network decoder according to the present invention.
Fig. 2 and 3 are schematic diagrams illustrating a configuration interface in the intelligent configuration method of the network decoder according to the present invention.
Fig. 4 shows a schematic structure diagram of the intelligent configuration system of the network decoder of the present invention.
Fig. 5 is a schematic structural diagram of a configuration receiving module in the intelligent configuration system of the network decoder according to the present invention.
Fig. 6 is a schematic diagram showing a preferred principle structure of a configuration receiving module in the intelligent configuration system of the network decoder of the present invention.
Fig. 7 is a schematic structural diagram of a controller according to an embodiment of the present application.
Description of the element reference numerals
100. Intelligent configuration system of network decoder
110. Acquisition module
120. Configuration receiving module
121. Display unit
122. Configuration interface unit
123. Configuration relationship establishing unit
124. Judging unit
125. Prompt processing unit
130. Relationship acquisition module
140. Optimized update module
10. Controller
1101. Processor with a memory having a plurality of memory cells
1102. Memory device
S100 to S400
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
The present embodiment aims to provide an intelligent configuration method, system, controller and medium for a network decoder, which are used to solve the problems of tedious configuration management and easy error of the decoder in the prior art.
The intelligent configuration method, system, controller and medium of the network decoder of the embodiment utilize the controller to send a simulated keyboard signal to the system CPU so as to achieve the purpose of controlling and modifying the BIOS.
The principles and embodiments of the method, system, controller and medium for intelligently configuring a network decoder according to the present invention will be described in detail below, so that those skilled in the art can understand the method, system, controller and medium for intelligently configuring a network decoder without creative efforts.
Example 1
As shown in fig. 1, the present embodiment provides an intelligent configuration method for a network decoder, which is applied in a controller and at least includes:
step S100: acquiring ports and port addresses of all decoders managed by a controller, allocating corresponding port addresses to the ports of all the decoders, and establishing a corresponding relation between the ports of all the decoders and the port addresses;
step S200: receiving a controller line address corresponding to a port of a decoder and input by a user, and establishing a configuration relation between the controller line address and the port address of the decoder;
step S300: acquiring the corresponding relation between the controller line address and the port of the decoder according to the corresponding relation between the port of the decoder and the port address and the configuration relation between the controller line address and the port address of the decoder;
step S400, detecting whether two or more identical controller line addresses correspond to different port addresses of the decoder, if so, merging the combinable port addresses in the port addresses of the different decoders, updating the configuration relationship between the controller line addresses and the port addresses of the decoders, and updating the corresponding relationship between the ports of the decoders and the port addresses.
The following describes steps S100 to S400 of the intelligent configuration method of the network decoder according to this embodiment in detail.
Step S100: the method comprises the steps of collecting ports and port addresses of all decoders managed by a controller, distributing corresponding port addresses to the ports of all the decoders, and establishing the corresponding relation between the ports of all the decoders and the port addresses.
In this embodiment, the decoder is an Art-Net network decoder.
The controller can collect all the ports and port addresses of the decoders which are communicated with the controller by utilizing an Art-Net protocol in the process of establishing communication with the Art-Net network decoder. The corresponding relationship between the port of each decoder and the original port address is pre-existing at the decoder end of the Art-Net network.
In this embodiment, the ports of the decoders are first collected, and corresponding port addresses are allocated to the ports of the decoders without considering the original port addresses corresponding to the ports of the decoders, and the corresponding port addresses may be allocated to the ports of the decoders according to a numerical order or a certain numerical rule, so that the port addresses of the decoders are not repeated. And then establishing the corresponding relation between the ports of the decoders and the allocated port addresses. Wherein the port address of the assigned decoder can be modified by the controller.
Note that, when the port address is initially assigned, the Network number (Network) + subnet number (subnet) is also assigned at the same time. That is, when the port address is allocated to each decoder, the network/subnet corresponding to each decoder is also automatically modified. For example, if the port address reaches the preset threshold, change the subnet (automatically add 1), and start the specific port address (universe) from 0, and if the subnet also reaches the preset threshold, change the network (add 1), and at this time, the subnet and the specific port address may start from 0.
The port addresses of the decoders described below in the present embodiment each refer to a port address assigned to a port of a decoder in the controller.
In this embodiment, the intelligent configuration method of the network decoder further includes: and displaying the corresponding relation between the port of each decoder and the port address. Therefore, a user can know the port and the port address of each decoder, and is convenient to distinguish whether the port addresses of the decoders are the same or not.
In this embodiment, as shown in fig. 2 and fig. 3, the corresponding relationship between the port and the port address of each decoder is displayed through a configuration interface. The configuration interface may also display, but is not limited to, the IP addresses of the decoders, the cables connected, the network, the sub-network (subnet), etc.
Step S200: receiving a controller line address corresponding to a port of a decoder and input by a user, and establishing a configuration relation between the controller line address and the port address of the decoder.
As shown in fig. 2 and fig. 3, in this embodiment, the configuration interface displays the corresponding relationship between the port and the port address of each decoder, and the configuration interface provides a controller line address trigger interface for inputting and displaying a controller line address. The "controller line address trigger interface" refers to a software control or a plug-in that can accept user input operation and correspondingly display the user input content in a graphical user interface.
Therefore, in this embodiment, the manner of receiving the line address of the controller corresponding to the port of the decoder, which is input by the user, is as follows: and receiving the controller line address input by a user through a controller line address trigger interface displayed by the configuration interface.
And displaying the configuration relationship between the line address of the controller and the port address of the decoder through the configuration interface. Specifically, one implementation manner of displaying the configuration relationship between the line address of the controller and the port address of the decoder is as follows:
different decoder ports are arranged in a row, and the port of each decoder, the corresponding controller line address and the port address of the decoder are corresponding to one column, so that the corresponding relation among the decoder port, the controller line address and the port address of the decoder can be clearly known.
As shown in fig. 3, the decoder ports a to H are arranged in a row, the decoder port a corresponds to a controller line address of 5, and the decoder port a corresponds to a decoder port address of Art4, and is arranged in a column.
After receiving the controller line address 5 corresponding to the decoder port a input by the user, establishing the corresponding relation between the controller line address 5 and the port address of the decoder, which is Art 4.
In the same way, a correspondence relationship is established between the controller line address 6 corresponding to the decoder port B and the port address of the decoder, art 5.
And analogizing in turn, inputting controller line addresses corresponding to the other ports of the decoder, and establishing a corresponding relation between the corresponding controller line addresses and the port addresses of the decoder.
Finally, the first row is the decoder ports A-H, the first row of numbers under the ports A-H are the corresponding controller line addresses, and the second row with numbers is the corresponding decoder port addresses.
Therefore, the user can establish the corresponding relationship between the controller line address and the port address of the decoder by inputting the controller line address at the position corresponding to the decoder port displayed in the controller. And a certain line address of the controller and a certain port address of the decoder do not need to be manually bound, so that the workload of configuration is effectively reduced.
In this embodiment, besides configuring the line address of the controller, the port address of the decoder may be modified.
Specifically, in this embodiment, an input new port address of the decoder is received, and the configuration relationship between the new port address and the corresponding line address of the controller is updated according to the input port address of the decoder.
The original port address can be modified by directly inputting a new port address through the controller, and a user does not need to go to each decoder to configure the port address of each port.
In this embodiment, the intelligent configuration method of the network decoder further includes:
judging whether the port address identical to the new port address of the input decoder exists in the port addresses of the existing decoders: if not, updating the port address of the corresponding decoder to the new port address of the input decoder; if so, judging whether different controller line addresses are generated to the same physical port or not, and further when control data conflict is generated: if yes, prompting the address conflict of the port; if not, updating the port address of the corresponding decoder to the new port address of the input decoder.
Two address repetitions are sometimes legal, as in intelligent configurations such as merging port addresses, but if different controller line addresses are generated to the same physical port, that must be a conflict, this may indicate a conflict. For example, controller line 1 goes to decoder port address 5, controller line 2 goes to decoder port address 5, so controller line 1 and controller line 2 both go to decoder port address 5, and decoder a port address is 5, so controller line 1 and controller line 2 both go to decoder physical port a, and the same problem would be encountered for B port.
In this embodiment, the allocated port address or the input new port address is sent to the corresponding decoder, so that the decoder updates the port address according to the allocated port address or the new port address.
Therefore, in this embodiment, the controller automatically allocates the port address to each decoder, and allows the user to modify the port address of the decoder, and if the port address modified by the user is repeated, the controller prompts accordingly.
For example, the controller automatically assigns the port address of decoder port a to be 0, assigns the port address of decoder port B to be 1, and after the user changes the port address of port a to be 1, the port address of decoder port a is the same as the port address of decoder port B, and the controller prompts a port address conflict.
Assuming that the line address of the controller corresponding to the decoder port a is 1, and the line address of the controller corresponding to the decoder port B is 2, at this time, the data with the line address of 1 of the controller is sent to the address with the port address of 1 in the decoder, at this time, the port a and the port B receive the data at the same time, the data with the line address of 2 of the controller is also sent to the port address with the port address of 1 in the decoder, and at this time, the port a and the port B also receive the data at the same time.
The embodiment automatically detects and judges the port address of the decoder, avoids the repeated configuration of the address when a plurality of decoders are used, and effectively reduces the probability of configuration errors.
Therefore, in this embodiment, the following configuration is performed inside the controller according to the line address of the controller and the port address of the decoder, which are input by the user:
1) Configuring a port address of a certain port of a modified decoder, for example, configuring the address of a port of a modified decoder A as 1;
2) The corresponding relationship between the line address of the controller and the port address of the decoder is configured, for example, 10 lines of the controller correspond to the port address of the decoder being 1.
That is, data of 10 lines on the controller is sent to the port address with the port address 1, and since the port address 1 corresponds to the a port, the a port finally receives the data sent by the 10 lines on the controller. It can be seen that the controller does not directly map the 10 way data of the controller to the a port, but rather simply transmits the 10 way data map to decoder address 1.
Step S300: and acquiring the corresponding relation between the controller line address and the port of the decoder according to the corresponding relation between the port and the port address of the decoder and the configuration relation between the controller line address and the port address of the decoder.
In this embodiment, the controller automatically and uniformly plans to modify the port addresses of all the ports of all the decoders, and simultaneously, the controller will bind all the ports and the port addresses of all the decoders. Thus, the user only needs to pay attention to the relationship between a certain line address on the controller and a certain port of the decoder to carry out configuration. After configuration, the address of a certain line on the controller, the specific port of the decoder and the address of the port are bound together. Therefore, a user only needs to configure a certain line address on the controller at a specific certain port of the decoder, and does not need to manually bind the certain line address on the controller with the port address of the decoder.
Under the control of the controller, the port addresses of the two decoders can easily be made non-repetitive. For example, the user does not need to be concerned about the configuration of the line 30 on the controller and the decoder address 5, and the user only needs to know that the line 30 on the controller corresponds to the port E of the decoder 2, so that the port address of the port E is not needed to be concerned by the user, if the port address of the port E is 5, the controller automatically knows to transmit the data of the line 30 to the port address 5, and if the port address of the port E is allocated to 10, the controller automatically transmits the data of the line 30 to the port address 10. Under the condition that a user does not need to manage the specific corresponding port address of the port E, the purpose of giving the data of the line 30 to the port E is achieved.
Step S400, detecting whether two or more identical controller line addresses correspond to different port addresses of the decoder, if so, merging the combinable port addresses in the port addresses of the different decoders, updating the configuration relationship between the controller line addresses and the port addresses of the decoders, and updating the corresponding relationship between the ports of the decoders and the port addresses.
The constraint of the merging process is an Art-Net protocol rule, aiming at the minimum number of identical port addresses. The corresponding relation of the port addresses of the decoders corresponding to two or more same controller line addresses and different decoders is converted into the corresponding relation of the port address of the decoder with the least port address number (preferably one port address) and the ports of the decoders.
In this embodiment, if a user inputs two or more identical controller line addresses when inputting a controller line address, assuming that the decoder port A, B, C, D has a corresponding decoder port address of Art0, art1, art2, art3, and the user setting of the controller line address is all 1, the result is that the controller line 1 will send data to 4 ports of the decoder port A, B, C, D through the port addresses Art0, art1, art2, art3, and send 4 pieces of data with the same content. Thus, network data is duplicated, wasting network traffic.
In this embodiment, if it is detected that two or more identical controller line addresses correspond to different port addresses of the decoders, merger processing combinable port addresses in the port addresses of the different decoders, and then updating the configuration relationship between the controller line addresses and the port addresses of the decoders and updating the correspondence between the ports of the decoders and the port addresses.
Assuming decoder ports A, B, C, D, and the corresponding controller line address user settings of the decoders are all 1, i.e. one controller line address corresponds to the port address of each decoder, the port addresses of the decoders are all modified to one of Art0, art1, art2, and Art3, for example, the port addresses of the decoders are all modified to Art0. At this time, the line address of one controller is changed to correspond to the port addresses of a plurality of decoders with the same address, at this time, the port address equivalent to one decoder corresponds to a plurality of decoder ports, and then the data of the line 1 of the controller is sent to 4 ports of the decoder port A, B, C, D, only 1 part of data is sent, and 4 ports are received at the same time, so that the purpose of optimizing the network flow is achieved.
By the intelligent configuration method of the network decoder, a user only needs to correspond a certain line address of the controller with a certain port of the decoder in the controller, and can configure and change the port address of each decoder without going to the decoder to configure the address of each port, and the configured address does not go wrong when a plurality of decoders are used.
Example 2
As shown in fig. 4, the present embodiment provides an intelligent configuration system 100 for a network decoder, where the intelligent configuration system 100 for a network decoder includes: the system comprises an acquisition module 110, a configuration receiving module 120, a relationship acquisition module 130 and an optimization updating module.
In this embodiment, the acquisition module 110 is configured to acquire the ports and the port addresses of all the decoders managed by the controller, allocate corresponding port addresses to the ports of the decoders, and establish a corresponding relationship between the ports of the decoders and the port addresses.
In this embodiment, the configuration receiving module 120 is configured to receive a controller line address corresponding to a port of a decoder and input by a user, and establish a configuration relationship between the controller line address and the port address of the decoder.
Specifically, as shown in fig. 5, in the present embodiment, the configuration receiving module 120 includes: a display unit 121, a configuration interface unit 122 and a configuration relationship establishing unit 123.
In this embodiment, the display unit 121 is configured to display a corresponding relationship between a port of each decoder and a port address, and display a configuration relationship between the controller line address and the port address of the decoder.
And displaying the corresponding relation between the port of each decoder and the port address through a configuration interface. The configuration interface may also display, but is not limited to, the IP addresses of the decoders, the cables, networks, subnets (subnet), etc.
And displaying the corresponding relation between the port of each decoder and the port address through the configuration interface, and providing a controller line address trigger interface for inputting and displaying the controller line address through the configuration interface.
In this embodiment, the configuration interface unit 122 is configured to receive a controller line address input by a user and receive a new port address of the decoder.
In this embodiment, the configuration relationship establishing unit 123 is configured to establish a configuration relationship between the line address of the controller and the port address of the decoder, and update the configuration relationship with the line address of the controller according to the input port address of the decoder.
In this embodiment, as shown in fig. 6, the configuration receiving module 120 further includes: a determining unit 124, configured to determine whether a port address identical to a new port address of an input decoder exists in port addresses of existing decoders, and determine whether a controller line address generating a difference is present in a physical port, so as to generate a control data collision; and a hint processing unit 125, configured to hint that a port address conflict occurs when a port address identical to the input new port address of the decoder exists in the port addresses of the existing decoders, and when a different controller line address is generated to the same physical port, and a control data conflict occurs.
In this embodiment, the relationship obtaining module 130 is configured to obtain a corresponding relationship between the controller line address and the port of the decoder according to the corresponding relationship between the port of the decoder and the port address and a configuration relationship between the controller line address and the port address of the decoder.
In this embodiment, the optimization updating module 140 is configured to detect whether two or more identical controller line addresses correspond to different port addresses of the decoders, and if so, merge and process combinable port addresses in the port addresses of the different decoders, update a configuration relationship between the controller line addresses and the port addresses of the decoders, and update a corresponding relationship between the ports of the decoders and the port addresses.
The technical features of the specific implementation of the intelligent configuration system 100 for a network decoder in this embodiment are substantially the same as the intelligent configuration method for a network decoder in the foregoing embodiments, and the technical contents that can be used in the embodiments are not repeated.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or can be implemented in the form of hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the configuration interface unit 122 may be a processing element separately set up, or may be integrated into a chip of an electronic terminal, or may be stored in a memory of the terminal in the form of program codes, and a processing element of the terminal calls and executes the functions of the tracking calculation module. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. As another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Example 3
As shown in fig. 7, the present embodiment further provides a controller 10, where the controller 10 includes a processor 1101 and a memory 1102.
The memory 1102 is connected to the processor 1101 through a system bus and performs communication with the processor 1101, the memory 1102 is used for storing a computer program, the processor 1101 is coupled to the memory 1002, and the processor 1101 is used for executing the computer program, so that the controller 10 executes the intelligent configuration method of the network decoder according to embodiment 1. The embodiment 1 has already described the intelligent configuration method of the network decoder in detail, and is not described herein again.
The described intelligent configuration method of the network decoder is applicable to various types of controllers 10. In an exemplary embodiment, the controller 10 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, cameras, or other electronic components for performing the above-described intelligent configuration method of the network decoder.
It should be noted that the above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor 1101 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Example 4
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the intelligent configuration method of a network decoder. The above-mentioned intelligent configuration method of the network decoder has been described in detail, and is not described herein again.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
In summary, according to the present invention, a user only needs to correspond a certain line address of the controller to a certain port of the decoder in the controller, and can configure and change the port address of each decoder, without going to each decoder to configure the address of each port, and the configured address will not be wrong when using a plurality of decoders, so that after the technical solution of the present invention is adopted, the decoder configuration is simpler, the workload of configuring and managing the decoders is effectively reduced, and the error probability of the configuration is effectively reduced. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which may be made by those skilled in the art without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims (10)

1. A method for intelligent configuration of a network decoder, comprising:
acquiring ports and port addresses of all decoders managed by a controller, allocating corresponding port addresses to the ports of all the decoders, and establishing a corresponding relation between the ports of all the decoders and the port addresses;
receiving a controller line address corresponding to a port of a decoder and input by a user, and establishing a configuration relation between the controller line address and the port address of the decoder;
acquiring the corresponding relation between the controller line address and the port of the decoder according to the corresponding relation between the port of the decoder and the port address and the configuration relation between the controller line address and the port address of the decoder;
detecting whether two or more identical controller line addresses correspond to different port addresses of the decoder, if so, merging and processing combinable port addresses in the port addresses of the different decoders, updating the configuration relationship between the controller line addresses and the port addresses of the decoder, and updating the corresponding relationship between the ports of the decoder and the port addresses.
2. The intelligent configuration method of a network decoder according to claim 1, wherein: the intelligent configuration method of the network decoder further comprises the following steps:
displaying the corresponding relation between the port of each decoder and the port address;
and displaying the configuration relationship between the line address of the controller and the port address of the decoder.
3. The intelligent configuration method of a network decoder according to claim 1 or 2, characterized in that: and receiving an input new port address of the decoder, and updating the configuration relation with the corresponding controller line address according to the input port address of the decoder.
4. The intelligent configuration method of a network decoder according to claim 3, wherein: the intelligent configuration method of the network decoder further comprises the following steps:
judging whether the port address identical to the new port address of the input decoder exists in the port addresses of the existing decoders:
if not, updating the port address of the corresponding decoder to the new port address of the input decoder;
if so, judging whether different controller line addresses are generated to the same physical port or not, and further when control data conflict is generated:
if yes, prompting the address conflict of the port;
if not, updating the port address of the corresponding decoder to the new port address of the input decoder.
5. The intelligent configuration method of a network decoder according to claim 4, wherein: the intelligent configuration method of the network decoder further comprises the following steps:
and sending the allocated port address or the input new port address to a corresponding decoder, so that the decoder updates the port address according to the allocated port address or the new port address.
6. An intelligent configuration system for a network decoder, characterized by: the method comprises the following steps:
the acquisition module is used for acquiring the ports and the port addresses of all the decoders managed by the controller, allocating corresponding port addresses to the ports of all the decoders and establishing the corresponding relation between the ports of all the decoders and the port addresses;
the configuration receiving module is used for receiving a controller line address which is input by a user and corresponds to a port of the decoder, and establishing a configuration relation between the controller line address and the port address of the decoder;
a relationship obtaining module, configured to obtain a correspondence between the controller line address and the port of the decoder according to the correspondence between the port of the decoder and the port address and a configuration relationship between the controller line address and the port address of the decoder;
and the optimization updating module is used for detecting whether two or more identical controller line addresses correspond to different port addresses of the decoder, if so, merging and processing combinable port addresses in the port addresses of the different decoders, updating the configuration relationship between the controller line addresses and the port addresses of the decoders, and updating the corresponding relationship between the ports of the decoders and the port addresses.
7. The intelligent configuration system of a network decoder according to claim 6, wherein: the configuration receiving module includes:
the display unit is used for displaying the corresponding relation between the port of each decoder and the port address and displaying the configuration relation between the line address of the controller and the port address of the decoder;
the configuration interface unit is used for receiving a controller line address input by a user and receiving an input new port address of the decoder;
and the configuration relation establishing unit is used for establishing the configuration relation between the controller line address and the port address of the decoder and updating the configuration relation with the corresponding controller line address according to the input port address of the decoder.
8. The intelligent configuration system of a network decoder according to claim 7, wherein: the configuration receiving module further comprises:
a judging unit, configured to judge whether a port address identical to a new port address of an input decoder exists in port addresses of an existing decoder, and judge whether a controller line address generating a difference to a physical port identical to the new port address exists, so as to generate a control data collision:
and the prompt processing unit is used for prompting the port address conflict when different controller line addresses are generated to the same physical port and further control data conflict is generated.
9. A controller, characterized by: comprising a processor and a memory, said memory storing program instructions; the processor executes program instructions to implement the intelligent configuration method of the network decoder according to any one of claims 1 to 5.
10. A computer readable storage medium storing program instructions, wherein the program instructions, when executed, implement the intelligent configuration method of a network decoder according to any of claims 1 to 5.
CN202011180917.6A 2020-10-29 2020-10-29 Intelligent configuration method, system, controller and medium for network decoder Active CN112449023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011180917.6A CN112449023B (en) 2020-10-29 2020-10-29 Intelligent configuration method, system, controller and medium for network decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011180917.6A CN112449023B (en) 2020-10-29 2020-10-29 Intelligent configuration method, system, controller and medium for network decoder

Publications (2)

Publication Number Publication Date
CN112449023A CN112449023A (en) 2021-03-05
CN112449023B true CN112449023B (en) 2023-01-10

Family

ID=74736389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011180917.6A Active CN112449023B (en) 2020-10-29 2020-10-29 Intelligent configuration method, system, controller and medium for network decoder

Country Status (1)

Country Link
CN (1) CN112449023B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0104545A2 (en) * 1982-09-27 1984-04-04 Kabushiki Kaisha Toshiba Input and output port control unit
CN102523265A (en) * 2011-12-07 2012-06-27 北京交通大学 Process data dynamic distribution MVB controller and data processing method thereof
CN105487429A (en) * 2014-09-19 2016-04-13 中联重科股份有限公司 Method and device for controlling input and output of controller, and controller
CN111629016A (en) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 Control method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6761470B2 (en) * 2002-02-08 2004-07-13 Lowel-Light Manufacturing, Inc. Controller panel and system for light and serially networked lighting system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0104545A2 (en) * 1982-09-27 1984-04-04 Kabushiki Kaisha Toshiba Input and output port control unit
CN102523265A (en) * 2011-12-07 2012-06-27 北京交通大学 Process data dynamic distribution MVB controller and data processing method thereof
CN105487429A (en) * 2014-09-19 2016-04-13 中联重科股份有限公司 Method and device for controlling input and output of controller, and controller
CN111629016A (en) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 Control method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于DMX512灯光系统的研究;王璇;《中国优秀硕士学位论文全文数据库》;20020215;全文 *

Also Published As

Publication number Publication date
CN112449023A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US10680891B2 (en) Networking visualizations that update data model and deploy visualization
US20100115070A1 (en) Method for generating manipulation requests of an initialization and administration database of server cluster, data medium and corresponding a server cluster, data medium and corresponding service cluster
CN110719209B (en) Cluster network configuration method, system, equipment and readable storage medium
CN109886693B (en) Consensus realization method, device, equipment and medium for block chain system
CN110247997B (en) Method, device and storage medium for IP address allocation and topology management in DAS system
CN109885452A (en) Method for monitoring performance, device and terminal device
CN108683659A (en) Multi-protocol data communication means and device
KR101754618B1 (en) A method and apparatus for generating dinamic virtual network based on software defined networks
CN111541569B (en) Network node configuration method and device
CN112637371A (en) Node address determination method and device, electronic equipment and storage medium
CN112449023B (en) Intelligent configuration method, system, controller and medium for network decoder
CN108234687B (en) Intelligent IP address configuration method and device and terminal equipment
US10708141B2 (en) Systems and methods for virtual shelf management of disaggregated network elements
CN112217655A (en) Network equipment configuration method and device in SD-WAN system and computer equipment
EP0729253A2 (en) Method for deleting managed objects from network
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN116566830A (en) Network configuration method, device, system, edge equipment and storage medium
WO2023146620A1 (en) Network topology mapping for correctly configuring clustered networks
CN107179740B (en) The Compilation Method and embedded system of Embedded PLC
CN111769992B (en) Network data management method, cloud platform and storage medium
CN113079128B (en) Information blocking method and device, computing equipment and computer storage medium
CN111404720B (en) Method, device and equipment for automatically configuring optical path and storage medium
CN110113181B (en) Node configuration method, node configuration device, computer device, and readable storage medium
CN112765056B (en) Method, system, equipment and medium for reserving storage cluster LUN
CN106559439A (en) A kind of method for processing business and equipment

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