A networking function configuration method and device, electronic equipment, and storage medium
Patent Information
- Application Number
- CN202211058892.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-08-30
AI Technical Summary
用户在实际使用视频监控系统时,较难知晓和掌握视频监控系统所支持的功能和配置,从而影响用户对视频监控系统的使用
[0019]本发明实施例的技术方案,通过获取当前设备组网拓扑图,确定当前的设备组合,根据目标设备组合中各设备的设备类型,确定与各设备类型匹配的目标组网功能表,目标组网功能表为根据与目标设备组合中各设备的设备类型匹配的设备基础信息表、设备差异信息表、功能转换逻辑表以及实测数据而得到,根据目标设备组合以及目标组网功能表,确定与目标设备组合匹配的组网功能,对各设备组合分别确定匹配的组网功能之后,根据预设的组网功能配置表,进行组网功能的配置。解决了现有技术中用户在使用视频监控系统时,较难知晓和掌握视频监控系统所支持的功能和配置的问题,实现了基于设备间的差异化,确定组网设备的配套功能,提高了用户体验。
Smart Images

Figure CN117675556B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, electronic device, and storage medium for configuring networking functions. Background Technology
[0002] With the development of smart monitoring technology, video surveillance systems are becoming increasingly complex, including front-end, back-end, storage, display control, and platform components.
[0003] In video surveillance systems, a single function often involves several configurations. Different network configurations and device models within the system result in variations in the supported functions and configurations. Users often find it difficult to understand and master the supported functions and configurations of a video surveillance system, thus affecting their ability to use it effectively. Summary of the Invention
[0004] This invention provides a method, apparatus, electronic device, and storage medium for configuring networking functions, so as to determine the matching functions of networking devices based on the differences between devices.
[0005] In a first aspect, embodiments of the present invention provide a method for configuring networking functions, the method comprising:
[0006] Obtain the current device network topology diagram, which includes at least one pair of devices;
[0007] Based on the equipment type of each device in the target equipment combination, determine the target networking function table that matches the equipment type of each device in the target equipment combination;
[0008] The target networking function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and actual test data that match the device types of each device in the target device combination.
[0009] Based on the target device combination and the target networking function table, determine the networking function that matches the target device combination;
[0010] Configure the networking functions that match the combination of devices in the current device network topology diagram according to the pre-set networking function configuration table.
[0011] Secondly, embodiments of the present invention also provide a networking function configuration device, the device comprising:
[0012] The current device network topology acquisition module is used to acquire the current device network topology, which includes at least one pair of devices.
[0013] The target networking function table determination module is used to determine the target networking function table that matches the device type of each device in the target device combination based on the device type of each device in the target device combination.
[0014] The target networking function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and actual test data that match the device types of each device in the target device combination.
[0015] The networking function determination module is used to determine the networking function that matches the target device combination based on the target device combination and the target networking function table.
[0016] The networking function configuration module is used to configure the networking functions that match the combination of devices in the current device networking topology diagram, according to the pre-set networking function configuration table.
[0017] Thirdly, embodiments of the present invention also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a configuration method for networking functions as described in any of the embodiments of the present invention.
[0018] Fourthly, embodiments of the present invention also provide a storage medium for storing computer-executable instructions, which, when executed by a computer processor, are used to perform a configuration method for networking functions as described in any of the embodiments of the present invention.
[0019] The technical solution of this invention obtains the current device network topology diagram, determines the current device combination, and determines the target network function table matching each device type based on the device type of each device in the target device combination. The target network function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and measured data matching the device types of each device in the target device combination. Based on the target device combination and the target network function table, the network functions matching the target device combination are determined. After determining the matching network functions for each device combination, the network functions are configured according to the preset network function configuration table. This solves the problem in the prior art where users find it difficult to know and master the functions and configurations supported by the video surveillance system. It realizes the determination of the matching functions of network devices based on the differences between devices, thus improving the user experience.
[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1a This is a flowchart of a networking function configuration method provided in Embodiment 1 of the present invention;
[0023] Figure 1b This is a schematic diagram of a device network topology provided in Embodiment 1 of the present invention;
[0024] Figure 1c This is a flowchart of a method for setting a target networking function table according to Embodiment 1 of the present invention;
[0025] Figure 2 This is a flowchart of a networking function configuration method provided in Embodiment 2 of the present invention;
[0026] Figure 3 This is a schematic diagram of the structure of a networking function configuration device provided in Embodiment 3 of the present invention;
[0027] Figure 4 This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. Detailed Implementation
[0028] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0030] Example 1
[0031] Figure 1a The flowchart below shows a method for configuring networking functions according to Embodiment 1 of the present invention. This embodiment is applicable to situations where the functional support information of networking devices is provided to users and the functions are configured. This method can be executed by a networking function configuration device, which can be implemented in hardware and / or software and can be configured in a server.
[0032] like Figure 1a As shown, the method includes:
[0033] S110. Obtain the current device network topology diagram, wherein the current device network topology diagram includes at least one pair of devices.
[0034] The current device network topology can be obtained using device detection technology. Figure 1b A schematic diagram of a device network topology is provided, such as... Figure 1b As shown in the device network topology diagram, NVR1 is networked with IPC1, IPC2 and IPC3 respectively. The NVR (Network Video Recorder) receives digital video streams transmitted by IPC (IP Camera) devices through the network and stores and manages them, thereby realizing the distributed architecture advantages brought by networking.
[0035] by Figure 1b Taking the device network topology diagram as an example, the diagram includes three pairs of device combinations: NVR1-IPC1, NVR1-IPC2, and NVR1-IPC3. The type of device combination can be IPC-NVR, IPC-APP, IPC-NVR-APP, etc., where APP represents a terminal device with an application service installed. This embodiment does not restrict the type of device combination. Specifically, if the types of devices in the combination are IPC devices and NVR devices, then the type of device combination is IPC-NVR. Figure 1b For example, all three pairs of devices are of type IPC-NVR.
[0036] S120. Based on the equipment type of each device in the target equipment combination, determine the target networking function table that matches the equipment type of each device in the target equipment combination.
[0037] The device type can be an NVR, an IPC, or a terminal device with application services installed, etc. This embodiment does not limit the device type. The target networking function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and measured data that match the device types of each device in the target device combination. For example, if the device types in the target device combination are NVR and IPC, the target networking function table is generated based on the device basic information table, device difference information table, function conversion logic table, and measured data corresponding to the NVR and IPC.
[0038] In this embodiment of the invention, a corresponding network function table is determined based on the device type of each device in the device combination. For example, if the device combination is NVR1-IPC1, a preset network function table matching NVR-IPC is obtained.
[0039] It should be noted that in this embodiment, a networking function table is set for different types of device combinations. For example, a networking function table is set for the three device combination types: IPC-NVR, IPC-APP, and IPC-NVR-APP.
[0040] Specifically, Figure 1c A flowchart is provided for a method of setting up a target networking function table, such as... Figure 1c As shown, the process for setting the target networking function table is as follows:
[0041] S1. Determine the basic equipment information table.
[0042] The device basic information table includes at least two device types, as well as branch-coded devices that match each device type.
[0043] Branch coding devices are devices belonging to different branches within the same device type. Devices within the same branch support various network functions in the same way. In addition to the device type and the corresponding branch coding devices for each device type, the device basic information table may also include device code, device version, device model, etc. This embodiment does not impose any restrictions on this. For example, Table 1 provides a device basic information table, as shown in Table 1 below:
[0044] Table 1
[0045]
[0046] As shown in Table 1, the basic equipment information table includes two equipment types: IPC and NVR. IPC corresponds to three types of branch coding devices: CIPC-2302-0, CIPC-2302-1, and CIPC-2302-2. NVR corresponds to three types of branch coding devices: DNVR-2202-0, DNVR-2202-1, and DNVR-2202-2.
[0047] S2. Based on the equipment basic information table, determine at least two equipment combinations for the branch coding equipment.
[0048] By arranging and combining different branch coding devices corresponding to different device types, multiple device combinations are obtained. For example, based on Table 1 above, Table 2 provides nine device combination methods for branch coding devices:
[0049] Table 2
[0050]
[0051]
[0052] S3. Determine the equipment difference information table that matches each equipment type.
[0053] The device difference information table is used to represent the differences in the support for each networking function of each branch coding device that matches the device type.
[0054] In the device difference information table, the number 1 can be used to indicate that the branch coding device supports a certain networking function, and the number 0 can be used to indicate that the branch coding device does not support a certain networking function. Alternatively, the letter T can be used to indicate that the branch coding device supports a certain networking function, and the letter F can be used to indicate that the branch coding device does not support a certain networking function. This embodiment does not impose any restrictions on this.
[0055] For example, based on Tables 1 and 2 above, Table 3 provides a device difference information table:
[0056] Table 3
[0057] CIPC-2302-0 1 0 CIPC-2302-1 1 1 CIPC-2302-2 1 1
[0058] As shown in Table 3, CIPC-2302-0 supports face detection but not face comparison, while CIPC-2302-1 and CIPC-2302-2 both support face detection and face comparison.
[0059] S4. Determine the function conversion logic table based on the functions of each network group.
[0060] The function conversion logic table is used to represent the support status of each branch coding device for each network function during the conversion, and the support status of the device combination for each network function.
[0061] Because devices in different branches support certain network functions differently, the change in support for a particular network function when branch encoding devices differ may affect the overall support for that network function in the device combination. Specifically, when IPCs and NVRs are networked, whether the IPCs support face comparison will affect whether the device combination supports the two network functions of front-end face comparison configuration and face database synchronization.
[0062] For example, when the support result of the device combination of CIPC-2302-0 and DNVR-2202_0 for the two networking functions of front-end face comparison configuration and face database synchronization is F:T:F, that is, CIPC-2302-0 does not support front-end face comparison configuration and face database synchronization, while DNVR-2202_0 supports front-end face comparison configuration and face database synchronization, and the device combination does not support front-end face comparison configuration and face database synchronization. According to Table 3, CIPC-2302_2 supports face comparison function compared to CIPC-2302_0. Therefore, when CIPC-2302_2 and DNVR-2202_0 form a device combination, the support status of front-end face comparison configuration and face database synchronization functions changes from F:T:F to T:T:T.
[0063] For example, based on Table 3, Table 4 provides a function conversion logic table:
[0064] Table 4
[0065]
[0066] As shown in Table 4, when the support of the NVR branch encoding device for the front-end face comparison configuration or the synchronized face database function remains unchanged, the change in the support of the IPC branch encoding device for the face comparison function will affect the support of the device combination for the front-end face comparison configuration or the synchronized face database function.
[0067] S5. Determine the actual branch coding device that matches each device type.
[0068] The tested branch coding equipment is used for actual network testing to obtain the actual support of the equipment combination for each network function. For example, as described above, CIPC-2302-0 can be selected as the tested branch coding equipment for the IPC, and DNVR-2202_0 can be selected as the tested branch coding equipment for the NVR. Based on the tested equipment combination of CIPC-2302-0 and DNVR-2202_0, the support for each network function is tested.
[0069] S6. Test the network function support of each network combination composed of each measured branch coding device and obtain the measured data.
[0070] For example, the measured data can be in tabular form; Table 5 provides a sample table of measured results:
[0071] Table 5
[0072] Front-end face comparison configuration F:T:F Front-end face comparison synchronized with face database F:T:F Backend face comparison configuration T:F:F List database management F:T:T Face recognition - alarm linkage (buzzer, email) F:T:F Face recognition - alarm linkage (pop-up, preview) F:T:F
[0073] S7. Based on the measured data, each equipment combination, the equipment difference information table, and the function conversion logic table, determine the support of each equipment combination for each network function.
[0074] In this embodiment of the invention, the measured data reflects the support of the measured device combination for each network function, the device difference information table reflects the functional differences between other device combinations and the measured device combination, and the function conversion logic table reflects the impact of these functional differences on the support results. Therefore, this embodiment expands the support of other device combinations for each network function based on the measured data, the device difference information table, and the function conversion logic table. This setup avoids extensive testing, enables rapid acquisition of the supporting functions of different branch devices when networking based on the differences between different branch devices, saves costs, and improves the efficiency of network device function configuration.
[0075] Specifically, based on measured data, each device combination, device difference information table, and function conversion logic table, the support of each device combination for each network function is determined, including: identifying the different devices based on the device combination to be expanded and the measured device combination; the device combination to be expanded is the other device combination besides the measured device combination; based on the device difference information table and function conversion logic table, the device difference information and function conversion logic matching the different devices are determined; based on the support of the measured device combination for each network function, the device difference information matching the different devices, and the function conversion logic, the support of the device combination to be expanded for each network function is determined.
[0076] In this embodiment of the invention, for all device combinations other than the tested device combination, the supporting functions are expanded based on the measured data. Taking the IPC-NVR combination as an example, the tested device combination is CIPC-2302-0 and DNVR-2202_0. If the branch coding device of the IPC is different from that of CIPC-2302-0, the difference function of the branch coding device of the IPC and the conversion logic of the difference function to the networking function are determined in the device difference information table and the function conversion logic table, resulting in the list data under the combination of the branch coding device of the IPC and DNVR-2202_0. If the branch coding device of the NVR is different from that of DNVR-2202_0, the difference function of the branch coding device of the NVR and the conversion logic of the difference function to the networking function are determined in the device difference information table and the function conversion logic table, resulting in the list data under the combination of the branch coding device of CIPC-2302-0 and NVR. If the branch coding devices of the IPC and NVR are different from those of CIPC-2302-0 and DNVR-2202_0, then in the device difference information table and function conversion logic table, first determine the difference function of the branch coding device of the IPC and the conversion logic of the difference function to the networking function, then determine the difference function of the branch coding device of the NVR and the conversion logic of the difference function to the networking function, and obtain the list data under the combination of branch coding devices of the IPC and NVR.
[0077] For example, taking the tested equipment combination as CIPC-2302-0 and DNVR-2202_0, and the equipment combination to be expanded as CIPC-2302-2 and DNVR-2202_0, according to the equipment difference information table, the difference between CIPC-2302-0 and CIPC-2302-2 is the face comparison function. According to the function conversion logic table, when CIPC-2302-0 is converted to CIPC-2302-2, the function support of front-end face comparison configuration and front-end face comparison synchronization face database is changed from F:T:F to T:T:T. Table 6 provides the networking function support when the equipment combination to be expanded is CIPC-2302-2 and DNVR-2202_0.
[0078] Table 6
[0079]
[0080] Based on the support for various network functions under different device combinations, a target network function table is generated. It should be noted that, in this embodiment, taking the determination of the network function table corresponding to IPC-NVR as an example, this embodiment pre-sets the network function tables for the three device combination types—IPC-NVR, IPC-APP, and IPC-NVR-APP—using methods S1-S7 respectively.
[0081] S130. Based on the target device combination and the target networking function table, determine the networking function that matches the target device combination.
[0082] In this embodiment of the invention, a networking function table is pre-determined based on a device basic information table, a device difference information table, a function conversion logic table, and measured data. According to the target device combination, the corresponding networking function can be quickly determined from the target networking function table.
[0083] S140. Configure the networking functions that match the combinations of devices in the current device network topology diagram according to the pre-set networking function configuration table.
[0084] The network function configuration table includes each network function and its corresponding configuration operations. In this embodiment of the invention, for each device combination included in the current device network topology, the matching network functions are determined using the steps S120-S130. Based on the pre-set network function configuration table, the configuration operations for each network function matching the current device network topology can be determined, thereby configuring each network function matching the current device network topology.
[0085] In this embodiment of the invention, by using a pre-configured target networking function table, the networking functions supported by each combination of devices in the current device networking topology can be obtained quickly and accurately. This allows users to quickly and accurately know and master the currently supported networking functions and configure them, thereby improving the user experience of the video surveillance system.
[0086] The technical solution of this invention obtains the current device network topology diagram, determines the current device combination, and determines the target network function table matching each device type based on the device type of each device in the target device combination. The target network function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and measured data matching the device types of each device in the target device combination. Based on the target device combination and the target network function table, the network functions matching the target device combination are determined. After determining the matching network functions for each device combination, the network functions are configured according to the preset network function configuration table. This solves the problem in the prior art where users find it difficult to know and master the functions and configurations supported by the video surveillance system. It realizes the determination of the matching functions of network devices based on the differences between devices, thus improving the user experience.
[0087] Example 2
[0088] Figure 2This is a flowchart of a networking function configuration method provided in Embodiment 2 of the present invention. Based on the above embodiments, the present invention further specifies the networking function configuration process.
[0089] like Figure 2 As shown, the method includes:
[0090] S210. Obtain the current network topology diagram of the devices.
[0091] S220. Based on the equipment type of each device in the target equipment combination, determine the target networking function table that matches the equipment type of each device in the target equipment combination.
[0092] In this embodiment, the matching network functions for each device combination included in the current device network topology are determined using the S220-S230 method. The method for setting the network function table corresponding to different device combination types has been described in the above embodiments and will not be repeated here.
[0093] S230. Based on the network function support status of each network combination that matches the target device combination in the target network function table, determine the network functions supported by the target device combination.
[0094] The target networking function table includes device combinations of different branch-coded devices of different device types, and their support for each networking function. Based on the target networking function table, locate the support for each networking function of the target device combination, and select the networking functions supported by the target device combination.
[0095] S240. Determine the network functions that match the combinations of devices in the current network topology diagram, and provide each network function to the user interface for display.
[0096] In this embodiment of the invention, a function configuration navigation function is provided to the user through a user interface. Specifically, the networking functions supported by each device combination in the current device network topology diagram are summarized and displayed on the user interface. A checkbox corresponding to the supported networking functions is provided on the user interface. If the user checks a networking function in the checkbox, the function is configured according to the configuration operation of that networking function.
[0097] S250: Determine whether the target networking function configuration command sent by the user interface has been received. If yes, execute S260; otherwise, execute S270.
[0098] The system receives a configuration command for the target networking function from the user interface, meaning the user has selected a networking function in the checkbox and further configuration is required.
[0099] S260. Configure the target networking function according to the pre-set networking function configuration table.
[0100] When it is determined that a user needs to enable a certain networking function, the function can be configured according to the configuration operation corresponding to that networking function in the networking function configuration table.
[0101] S270, End.
[0102] Example 3
[0103] Figure 3 This is a schematic diagram of a networking configuration device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a current device network topology acquisition module 310, a target network function table determination module 320, a network function determination module 330, and a network function configuration module 340.
[0104] in:
[0105] The current device network topology acquisition module 310 is used to acquire the current device network topology, which includes at least one pair of devices.
[0106] The target networking function table determination module 320 is used to determine the target networking function table that matches the device type of each device in the target device combination based on the device type of each device in the target device combination.
[0107] The target networking function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and actual test data that match the device types of each device in the target device combination.
[0108] The networking function determination module 330 is used to determine the networking function that matches the target device combination based on the target device combination and the target networking function table;
[0109] The networking function configuration module 340 is used to configure the networking functions that match the combination of devices in the current device networking topology diagram according to the pre-set networking function configuration table.
[0110] The technical solution of this invention obtains the current device network topology diagram, determines the current device combination, and determines the target network function table matching each device type based on the device type of each device in the target device combination. The target network function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and measured data matching the device types of each device in the target device combination. Based on the target device combination and the target network function table, the network functions matching the target device combination are determined. After determining the matching network functions for each device combination, the network functions are configured according to the preset network function configuration table. This solves the problem in the prior art where users find it difficult to know and master the functions and configurations supported by the video surveillance system. It realizes the determination of the matching functions of network devices based on the differences between devices, thus improving the user experience.
[0111] Based on the above embodiments, the device further includes:
[0112] The device basic information table determination module is used to determine the device basic information table, which includes at least two device types and branch coded devices that match each device type;
[0113] The device combination determination module is used to determine at least two device combinations of branch coding devices based on the device basic information table;
[0114] The networking function support determination module is used to determine the support status of each device combination for each networking function based on measured data, each device combination, device difference information table, and function conversion logic table.
[0115] The target networking function table generation module is used to generate the target networking function table based on the support of each device combination for each networking function.
[0116] Based on the above embodiments, the device further includes:
[0117] The device difference information table determination module is used to determine the device difference information table that matches each device type; the device difference information table is used to represent the differences in the support of each network function for each branch coding device that matches the device type;
[0118] The function conversion logic table determination module is used to determine the function conversion logic table according to the functions of each network group; the function conversion logic table is used to indicate the support status of each branch coding device for each network group function when the device combination supports each network group function.
[0119] Based on the above embodiments, the device further includes:
[0120] The measured branch coding device determination module is used to determine the measured branch coding device that matches each device type;
[0121] The measured data determination module is used to test the network function support of the measured equipment combination composed of each measured branch coding device and obtain measured data.
[0122] Based on the above embodiments, the networking function support determination module includes:
[0123] The differential device determination unit is used to determine the differential devices based on the device combination to be expanded and the measured device combination; the device combination to be expanded is the other device combination besides the measured device combination in each device combination;
[0124] The device difference data determination unit is used to determine the device difference information and function conversion logic that match the device difference based on the device difference information table and the function conversion logic table.
[0125] The network function support extension unit is used to determine the support status of the device combination to be extended for each network function based on the actual support status of the device combination for each network function, the device difference information matched with the different devices, and the function conversion logic.
[0126] Based on the above embodiments, the networking function determination module 330 includes:
[0127] The networking function determination unit is used to determine the networking functions supported by the target device combination based on the networking function support status of each networking function that matches the target device combination in the target networking function table.
[0128] Based on the above embodiments, the networking function configuration module 340 includes:
[0129] The networking function display unit is used to determine the networking functions that match the combination of each device in the current device networking topology diagram, and to provide each networking function to the user interface for display.
[0130] The networking function configuration unit is used to configure the target networking function according to the pre-set networking function configuration table if it determines that a target networking function configuration instruction sent by the user interface has been received.
[0131] The networking configuration device provided in the embodiments of the present invention can execute the networking configuration method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0132] Example 4
[0133] Figure 4This is a schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention, as shown below. Figure 4 As shown, the computer device includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of processors 70 in the computer device can be one or more. Figure 4 Taking a processor 70 as an example; the processor 70, memory 71, input device 72, and output device 73 in a computer device can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0134] The memory 71, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the network function configuration method in this embodiment of the invention (e.g., the current device network topology acquisition module 310, the target network function table determination module 320, the network function determination module 330, and the network function configuration module 340 in the network function configuration device). The processor 70 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 71, thereby implementing the aforementioned network function configuration method. This method includes:
[0135] Obtain the current device network topology diagram, which includes at least one pair of devices;
[0136] Based on the equipment type of each device in the target equipment combination, determine the target networking function table that matches the equipment type of each device in the target equipment combination;
[0137] The target networking function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and actual test data that match the device types of each device in the target device combination.
[0138] Based on the target device combination and the target networking function table, determine the networking function that matches the target device combination;
[0139] Configure the networking functions that match the combination of devices in the current device network topology diagram according to the pre-set networking function configuration table.
[0140] The memory 71 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on terminal usage. Furthermore, the memory 71 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory, or other non-volatile solid-state storage device. In some instances, the memory 71 may further include memory remotely located relative to the processor 70, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0141] Input device 72 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the computer device. Output device 73 may include display devices such as a display screen.
[0142] Example 5
[0143] Embodiment 5 of the present invention also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a configuration method for a networking function, the method comprising:
[0144] Obtain the current device network topology diagram, which includes at least one pair of devices;
[0145] Based on the equipment type of each device in the target equipment combination, determine the target networking function table that matches the equipment type of each device in the target equipment combination;
[0146] The target networking function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and actual test data that match the device types of each device in the target device combination.
[0147] Based on the target device combination and the target networking function table, determine the networking function that matches the target device combination;
[0148] Configure the networking functions that match the combination of devices in the current device network topology diagram according to the pre-set networking function configuration table.
[0149] Of course, the computer-executable instructions provided in the embodiments of the present invention are not limited to the method operations described above, but can also execute related operations in the network function configuration method provided in any embodiment of the present invention.
[0150] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0151] It is worth noting that in the embodiments of the above-mentioned networking function configuration device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of the present invention.
[0152] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A method for configuring networking functions, characterized in that, include: A device difference information table matching each device type is determined; the device difference information table is used to represent the differences in the support of each networking function for each branch coding device matching the device type. In the device difference information table, the number 1 or the letter T indicates that the branch coding device supports networking function, and the number 0 or the letter F indicates that the branch coding device does not support networking function. Among them, branch coding devices are devices belonging to different branches under the same device type, and devices under the same branch have the same support for each network function; Based on the functions of each network, a function conversion logic table is determined; the function conversion logic table is used to represent the support status of each branch coding device for each network function when the support status of each branch coding device for each network function is converted; different branch coding devices have different support statuses for network functions, and the function conversion logic table represents the conversion of the support status of the device combination for network functions when the branch coding devices are different; Obtain the current device network topology diagram, which includes at least one pair of devices; Based on the equipment type of each device in the target equipment combination, determine the target networking function table that matches the equipment type of each device in the target equipment combination; The target networking function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and actual test data that match the device types of each device in the target device combination. Based on the target device combination and the target networking function table, determine the networking function that matches the target device combination; Configure the networking functions that match the combination of devices in the current device network topology diagram according to the pre-set networking function configuration table.
2. The method according to claim 1, characterized in that, The process for setting the target networking function table is as follows: Determine the basic equipment information table, which includes at least two equipment types and branch-coded equipment that matches each equipment type; Based on the equipment basic information table, determine at least two equipment combinations for the branch coding equipment; Based on the measured data, each equipment combination, the equipment difference information table, and the function conversion logic table, determine the support of each equipment combination for each network function; Based on the support of each device combination for each network function, a target network function table is generated.
3. The method according to claim 1, characterized in that, Before determining the support of each device combination for each network function based on measured data, various device combinations, device difference information tables, and function conversion logic tables, the following steps are also included: Identify the actual branch coding devices that match each device type; The network function support of each network combination composed of each measured branch coding device was tested, and the measured data was obtained.
4. The method according to claim 3, characterized in that, Based on measured data, various device combinations, device difference information tables, and function conversion logic tables, the support status of each device combination for each network function is determined, including: The different devices are determined based on the combination of devices to be expanded and the actual combination of devices; the combination of devices to be expanded refers to the other combinations of devices besides the actual combination of devices in each combination. Based on the equipment difference information table and the function conversion logic table, determine the equipment difference information and function conversion logic that match the difference equipment; Based on the actual support of the equipment combination for each network function, the equipment difference information matching the different equipment, and the function conversion logic, the support of the equipment combination to be expanded for each network function is determined.
5. The method according to claim 1, characterized in that, Based on the target device combination and the target networking function table, determine the networking functions that match the target device combination, including: Based on the network function support status of each network combination that matches the target device combination in the target network function table, the network functions supported by the target device combination are determined.
6. The method according to claim 1, characterized in that, Based on the pre-set network function configuration table, configure the network functions that match the combinations of devices in the current device network topology diagram, including: Determine the network functions that match the combinations of devices in the current network topology diagram, and provide each network function to the user interface for display. If it is confirmed that the target network function configuration instruction sent by the user interface has been received, the target network function will be configured according to the pre-set network function configuration table.
7. A configuration device for networking functions, characterized in that, include: The device difference information table determination module is used to determine the device difference information table that matches each device type. The device difference information table is used to represent the differences in the support of each networking function for each branch coding device that matches the device type. In the device difference information table, the number 1 or the letter T indicates that the branch coding device supports networking function, and the number 0 or the letter F indicates that the branch coding device does not support networking function. Among them, branch coding devices are devices belonging to different branches under the same device type, and devices under the same branch have the same support for each network function; The function conversion logic table determination module is used to determine the function conversion logic table according to each network function; the function conversion logic table is used to represent the support status of each branch coding device for each network function when the support status of each branch coding device for each network function is converted; different branch coding devices have different support status for network functions, and the function conversion logic table represents the conversion status of the support status of the device combination for network functions when the branch coding devices are different; The current device network topology acquisition module is used to acquire the current device network topology, which includes at least one pair of devices. The target networking function table determination module is used to determine the target networking function table that matches the device type of each device in the target device combination based on the device type of each device in the target device combination. The target networking function table is obtained based on the device basic information table, device difference information table, function conversion logic table, and actual test data that match the device types of each device in the target device combination. The networking function determination module is used to determine the networking function that matches the target device combination based on the target device combination and the target networking function table. The networking function configuration module is used to configure the networking functions that match the combination of devices in the current device networking topology diagram, according to the pre-set networking function configuration table.
8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the configuration method for the networking function as described in any one of claims 1-6.
9. A storage medium for storing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the configuration method for the networking function as described in any one of claims 1-6.
Citation Information
Patent Citations
Method and device for adding monitoring equipment automatically
CN105187781A
Method, device and system for adding IPC
CN107018360A