Configuration Method, Device and Material Inspection System of a Material Inspection System

By automatically configuring the hardware information and management password of the material acceptance system, the problems of complex and low efficiency of software configuration in the existing technology are solved, and more efficient system configuration and work efficiency are achieved.

CN114710636BActive Publication Date: 2025-05-30BEIJING GLODON MENGLONG SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210198951.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-02
Publication Date
2025-05-30
Estimated Expiration
2042-03-02

AI Technical Summary

Technical Problem

The software configuration process of the existing material acceptance system is complex, the manual configuration efficiency is low and the accuracy is difficult to guarantee, resulting in abnormal use of hardware equipment, problems with software functions, and affecting work efficiency.

Method used

By obtaining the hardware information of the hard disk recorder, the serial number and connection channel information are parsed, the management password is generated and configured as an administrator password, and the hardware information is configured at the attribute information is configured to realize automated software configuration.

Benefits of technology

It improves the software configuration efficiency of the material acceptance system, reduces manual configuration errors, simplifies the hardware installation and configuration process, and improves the system's working efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114710636B_ABST
    Figure CN114710636B_ABST
Patent Text Reader

Abstract

The present invention provides a configuration method, device and material acceptance system for a material acceptance system. The method includes: obtaining first hardware information of a digital video recorder; parsing the first hardware information to obtain the serial number corresponding to the digital video recorder and the connection channel information of each image acquisition device; generating an administrative password based on the serial number; configuring the administrative password as the administrative password of the digital video recorder and each image acquisition device; and configuring the attribute information of the digital video recorder based on the first hardware information and the connection channel information. By using the unique serial number of the digital video recorder to distinguish the material acceptance system and configuring the administrative password of the material acceptance system accordingly, and by configuring the attribute information of the digital video recorder, the relevant settings of the digital video recorder are automatically completed, and software adaptation is achieved at the industrial control end, realizing the automatic configuration of the material acceptance system, improving the software configuration efficiency of the material acceptance system, and further improving the working efficiency of the material acceptance system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of material acceptance, and specifically relates to a configuration method and device for a material acceptance system and a material acceptance system. Background Art

[0002] Under the guidance of the "Internet +" concept, new technologies such as Internet of Things technology, cloud computing technology, and big data technology are being applied more and more deeply and maturely in the material acceptance control system, which has indeed brought great changes to the traditional material acceptance method. Through the material acceptance system, it is possible to replace manual labor to achieve rapid weighing of materials, obtain the data of each material weighing, and automatically upload it to the cloud for further data analysis.

[0003] Currently, the material acceptance system mainly uses a combination of software and hardware and relies on Internet of Things technology to achieve full - range control over the inbound and outbound weighing acceptance links of bulk materials. In the prior art, a material acceptance system has 4 monitoring cameras, 2 license plate recognition cameras, 1 hard disk video recorder, 1 switch and other hardware devices. After the hardware configuration of these hardware devices is completed, software configuration is still required. Due to the large variety and quantity of hardware devices, the software configuration process of the material acceptance system is complex. Since there are many software - side setting items, manual configuration or verification of default values needs to be carried out in real time. Slight deviation in the manual software configuration process will cause abnormal use of hardware devices, resulting in problems with software functions, and it is not easy to troubleshoot the cause of the problems, which affects the software configuration efficiency of the material acceptance system and thus the working efficiency of the entire material acceptance system. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a configuration method, device and material acceptance system for a material acceptance system to solve the problems of low configuration efficiency and difficult accuracy guarantee in the prior art when manually configuring the software of the material acceptance system.

[0005] According to the first aspect, an embodiment of the present invention provides a configuration method for a material acceptance system. The material acceptance system includes: a hard disk video recorder and a plurality of image acquisition devices connected to the hard disk video recorder. The method includes:

[0006] Obtain the first hardware information of the hard disk video recorder;

[0007] Analyze the first hardware information to obtain the serial number corresponding to the hard disk video recorder and the connection channel information of each image acquisition device;

[0008] Generate a management password based on the serial number;

[0009] Configure the management password as the administrator password for the DVR and each image acquisition device;

[0010] Configure the attribute information of the DVR based on the first hardware information and the connection channel information.

[0011] Optionally, the method further includes:

[0012] Extract the target connection channel corresponding to the target image acquisition device from the connection channel information, where the target image acquisition device is any image acquisition device connected to the DVR;

[0013] Obtain the second hardware information of the target image acquisition device based on the target connection channel;

[0014] Configure the attribute information of the target image acquisition device based on the second hardware information.

[0015] Optionally, the obtaining the second hardware information of the target image acquisition device based on the target connection channel includes:

[0016] Determine the target IP address of the target image acquisition device based on the target connection channel;

[0017] Use the target IP address to call the hardware information interface of the target image acquisition device to obtain the second hardware information.

[0018] Optionally, the method further includes:

[0019] Call the new implementation dedicated account interface of the DVR to set a fixed dedicated account for implementation.

[0020] Optionally, the obtaining the first hardware information of the DVR includes:

[0021] Obtain the IP address of the DVR;

[0022] Based on the IP address of the DVR, call the hardware information interface of the DVR to obtain the first hardware information.

[0023] Optionally, before obtaining the first hardware information of the DVR, the method further includes:

[0024] Obtain the IP address range corresponding to the DVR;

[0025] Use the DHCP technology to assign IP addresses to each image acquisition device within the IP address range.

[0026] According to a second aspect, an embodiment of the present invention provides a configuration device for a material acceptance system, where the material acceptance system includes: a hard disk video recorder and a plurality of image acquisition devices connected to the hard disk video recorder. The device includes:

[0027] An acquisition module, configured to acquire first hardware information of the hard disk video recorder;

[0028] A first processing module, configured to parse the first hardware information to obtain a serial number corresponding to the hard disk video recorder and connection channel information of each image acquisition device;

[0029] A second processing module, configured to generate an administrative password based on the serial number;

[0030] A third processing module, configured to configure the administrative password as the administrator password of the hard disk video recorder and each image acquisition device;

[0031] A fourth processing module, configured to configure attribute information of the hard disk video recorder based on the first hardware information and the connection channel information.

[0032] According to a third aspect, an embodiment of the present invention provides a material acceptance system, which includes:

[0033] A hard disk video recorder;

[0034] A plurality of image acquisition devices connected to the hard disk video recorder;

[0035] An industrial control computer respectively connected to the hard disk video recorder and the image acquisition device;

[0036] The industrial control computer includes: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the method according to the first aspect of the present invention and any one of its optional implementations.

[0037] Optionally, the hard disk video recorder is a hard disk video recorder integrated with a router function;

[0038] The hard disk video recorder is connected to external devices through a POE interface, and the external devices include: a power supply device and the image acquisition device.

[0039] According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions, and when the computer instructions are executed by a processor, the method according to the first aspect of the present invention and any one of its optional implementations is implemented.

[0040] The technical solution of the present invention has the following advantages:

[0041] An embodiment of the present invention provides a configuration method, device, and material acceptance system for a material acceptance system. By obtaining the first hardware information of a digital video recorder (DVR); parsing the first hardware information to obtain the serial number corresponding to the DVR and the connection channel information of each image acquisition device; generating a management password based on the serial number; configuring the management password as the administrator password for the DVR and each image acquisition device; and configuring the attribute information of the DVR based on the first hardware information and the connection channel information. Thus, by identifying the hardware information of the DVR, differentiating the material acceptance system using the unique serial number of the DVR, and configuring the administrator password of the material acceptance system accordingly, and by configuring the attribute information of the DVR, the relevant settings of the DVR are automatically completed, software adaptation is achieved at the industrial control end, automatic configuration of the material acceptance system is realized, the software configuration efficiency of the material acceptance system is improved, and further the working efficiency of the material acceptance system is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0043] Figure 1 It is a schematic structural diagram of the material acceptance system in an embodiment of the present invention;

[0044] Figure 2 It is a flowchart of the configuration method of the material acceptance system in an embodiment of the present invention;

[0045] Figures 3A - 3B It is a schematic diagram of the configuration result of the digital video recorder in an embodiment of the present invention;

[0046] Figure 4A and Figure 4B It is a schematic diagram of the configuration result of the license plate recognition device in an embodiment of the present invention;

[0047] Figure 5 It is a schematic structural diagram of the configuration device of the material acceptance system in an embodiment of the present invention;

[0048] Figure 6 It is a schematic structural diagram of the central control unit of the material acceptance system in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0049] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0050] In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0051] Under the guidance of the "Internet +" concept, new technologies such as Internet of Things technology, cloud computing technology, and big data technology are being applied more and more deeply and maturely in the material acceptance and control system, which has indeed brought great changes to the traditional material acceptance method. Through the material acceptance system, it is possible to replace manual labor to achieve rapid weighing of materials, obtain the data of each material weighing, and automatically upload it to the cloud for further data analysis.

[0052] At present, the material acceptance system mainly realizes all-round control of the weighing acceptance link of bulk materials through the combination of software and hardware and with the help of Internet of Things technology. If it is possible to quickly and accurately install the material acceptance system, achieve plug-and-play, reduce the types of equipment, simplify the installation, effectively improve work efficiency, and reduce maintenance costs, it will be very meaningful.

[0053] In addition, there are still problems in the material acceptance site that need to be solved urgently, such as complex data, a large number and variety of hardware types of the acceptance system, complex wiring and configuration, complex configuration in the software, long installation cycle, difficult troubleshooting in case of problems, and high maintenance costs. The specific problems are as follows:

[0054] (1) There are many types and quantities of hardware devices: 4 monitoring cameras, 2 license plate recognition cameras, 1 hard disk video recorder, 1 switch, and each device needs to be equipped with 1 independent power supply, 1 power supply waterproof box, 1 power cord, 1 network cable and other miscellaneous devices such as plugs, screws, cable ties, etc.

[0055] (2) The wiring of hardware devices is complex and the installation is troublesome: each device needs to be configured with an independent power supply, a power supply waterproof box, a network cable, and an electric wire, and the network cable and the power cord need to be made according to the actual situation on site.

[0056] (3) The configuration of hardware devices is complex: all 4 video monitoring cameras need to be manually configured into the channels of the hard disk video recorder, and during the process, it is necessary to ensure that the cameras, the hard disk video recorder, and the industrial control computer are in the same local area network and the same network segment; for the 2 license plate recognition cameras, it is necessary to configure the recognition area and recognition line of the cameras in the IE browser on the industrial control computer side according to the actual situation on site.

[0057] (4) Complicated software configuration: After the hardware device configuration is completed, settings need to be made in the software. There are a total of 17 settings on the software side, and manual configuration or verification of the default values needs to be implemented.

[0058] (5) High subsequent maintenance cost: After all the above-mentioned complicated connections and configurations, the probability of problems is very high. Even a slight deviation in the connection or configuration will cause abnormal use of the hardware device, resulting in problems with the software function. Moreover, problem troubleshooting is extremely difficult because there are too many possible problem links.

[0059] Based on the above problems, an embodiment of the present invention provides a material acceptance system, as Figure 1 shown. The material acceptance system specifically includes: a hard disk video recorder 201; a plurality of image acquisition devices 202 connected to the hard disk video recorder 201; and an industrial control computer 203 respectively connected to the hard disk video recorder 201 and the image acquisition devices 202. Among them, the industrial control computer 203 is used to perform software configuration on the hard disk video recorder 201 and each image acquisition device 202 to implement the automated software configuration function of the material acceptance system. For the specific working principle and working mode of the industrial control computer 203, refer to the relevant description in the method embodiment below, and details will not be elaborated here.

[0060] Specifically, in one embodiment, the hard disk video recorder 201 is a hard disk video recorder 201 integrated with a router function. The hard disk video recorder 201 integrates the router function and has an independent subnet function. It is the storage and forwarding part of the network video monitoring system. The hard disk video recorder 201 works in cooperation with a video encoder or a network camera to collect information and complete the functions of video recording, storage, and forwarding, thus greatly reducing the types of devices, increasing the on-site installation rate of the material acceptance system, reducing the installation difficulty, and saving hardware costs.

[0061] Specifically, in one embodiment, the hard disk video recorder 201 uses a POE (Power Over Ethernet) interface to connect to external devices. The external devices include: a power supply device and the image acquisition devices 202, etc. In the case of no special requirements, the switch can be removed on-site. By using the POE connection method, the information transmission and power supply of the camera are completed through a single network cable. For each camera, an independent power supply, a power supply waterproof box, a power cord, and other miscellaneous devices such as plugs, screws, and cable ties are reduced.

[0062] The interfaces of the digital video recorder 201 all use POE ports and are powered by POE. Power and data can be transmitted to the device through twisted pair in the Ethernet network. POE enables small network devices such as IP phones, WLAN access points, and network cameras to directly obtain power from the Ethernet cable (transmitted through 2 pairs of the 4 pairs of twisted pairs), eliminating the need for separate power line laying, simplifying system wiring, and reducing the construction cost of network infrastructure. Since the POE connection method is adopted, the types of devices are reduced. During wiring, only one network cable needs to be considered for deployment, and fewer power supply lines are made during installation, and the installation of devices such as power supply boxes does not need to be considered. Therefore, by using the POE connection method, there is no need for separate power line laying, reducing the complexity of wiring and making the installation simple.

[0063] Exemplarily, as Figure 1 shown, the image acquisition device 202 of the material acceptance system consists of: bullet camera 1, bullet camera 2, bullet camera 3, dome camera, license plate recognition 4, and license plate recognition 5. Among them, the dome camera represents a dome camera, and license plate recognition 4 and license plate recognition 5 represent cameras for license plate recognition. Each image acquisition device 202 is respectively connected to the corresponding connection channel on the digital video recorder 201 through POE. The industrial control computer 203 is also connected to the SDK interface of the digital video recorder 201 through POE to access the digital video recorder 201 through the SDK interface, obtain videos of a certain channel in a certain period of time, and be able to capture pictures, etc. In addition, as Figure 1 shown, the server 204 is connected to the POE port of the above-mentioned digital video recorder 201 through the Internet to realize the communication function between the server 204 and the material acceptance system. The specified POE port of the digital video recorder 201 accesses the Internet, and the cloud performs basic maintenance, video viewing, and data analysis.

[0064] Through software and hardware customization, the digital video recorder 201 integrates the router function, and the default gateway of the industrial control computer 203 directly points to the digital video recorder 201. Using DHCP technology (Dynamic Host Configuration Protocol), the server 204 controls a range of IP addresses. When the client logs in to the server 204, it can automatically obtain the IP address and subnet mask assigned by the server 204, and automatically assign a local area network IP to the connected camera, eliminating the need for manual configuration. By formulating a hardware-free configuration solution, the industrial control end is docked and adapted to the hardware, and wired according to requirements, enabling automatic software and hardware configuration and reducing the possibility of problems during installation and configuration. Therefore, by adopting DHCP technology, IP addresses are automatically assigned to various devices connected to the digital video recorder 201, realizing software and hardware customization, plug-and-play, and eliminating the need for complex matching at the hardware end.

[0065] Through the collaborative cooperation of the above-mentioned various components, the material acceptance system provided by the embodiments of the present invention identifies the hardware information of the digital video recorder, uses the unique serial number of the digital video recorder to distinguish the material acceptance system, and configures the administrator password of the material acceptance system accordingly. By configuring the attribute information of the digital video recorder, the relevant settings of the digital video recorder are automatically completed, and software adaptation is realized at the industrial control end, achieving the automatic configuration of the material acceptance system, improving the software configuration efficiency of the material acceptance system, and further improving the working efficiency of the material acceptance system.

[0066] The embodiments of the present invention also provide a configuration method for a material acceptance system, which is applied to the industrial control computer 203 as shown in Figure 1 shown, as shown in Figure 2 shown, the configuration method of the material acceptance system specifically includes the following steps:

[0067] Step S101: Obtain the first hardware information of the digital video recorder.

[0068] Specifically, obtain the IP address of the digital video recorder; based on the IP address of the digital video recorder, call the hardware information interface of the digital video recorder to obtain the first hardware information. Exemplarily, according to the IP address of the digital video recorder, the corresponding software in the industrial control computer calls the hardware information acquisition interface of the digital video recorder through an http request, and the hardware information acquisition interface returns the corresponding hardware information.

[0069] Step S102: Analyze the first hardware information to obtain the serial number corresponding to the digital video recorder and the connection channel information of each image acquisition device.

[0070] Specifically, the corresponding hardware information returned by the above-mentioned hardware information acquisition interface includes: hardware attribute information such as the serial number corresponding to the digital video recorder and connection channel information such as the external device information connected to each connection channel, so that the above information can be obtained by analyzing the hardware information.

[0071] Step S103: Generate a management password based on the serial number.

[0072] Exemplarily, the management password can be generated according to the serial number according to a preset rule, for example: the management password starts with 0A + the serial number of the digital video recorder, a total of 16 digits. If the number of digits of the serial number exceeds 14 digits, the serial number is intercepted from the end, otherwise 0 is added to the end of the serial number.

[0073] Step S104: Configure the management password as the administrator password of the digital video recorder and each image acquisition device.

[0074] Exemplarily, the rollback administrator interface of the digital video recorder (DVR) is called through an HTTP request to set the administrator password to the above-mentioned management password, and the rollback administrator interface of the license plate recognition camera is called through an HTTP request to set the administrator password to the above-mentioned management password. Since the serial number can be used as the unique identifier of each DVR, correspondingly, it can be used as the unique identifier of the entire material acceptance system. The management password generated based on this identifier is conducive to the unified management of the material acceptance system.

[0075] Step S105: Configure the attribute information of the DVR based on the first hardware information and the connection channel information.

[0076] Specifically, in addition to the serial number, the above-mentioned first hardware information also includes attribute information such as the brand, model, and firmware version of the DVR. The connection channel information refers to the information of each channel of the DVR and the associated cameras, such as channel number, IP, camera brand, model, etc. By automatically corresponding and completing the above information in the relevant software configuration of the DVR, the automatic configuration of the DVR is realized. Exemplarily, the configuration results of the attributes of the DVR and the channels are respectively as Figure 3A and Figure 3B shown.

[0077] By performing the above steps, the configuration method of the material acceptance system provided by the embodiment of the present invention identifies the hardware information of the DVR, uses the unique serial number of the DVR to distinguish the material acceptance system, and configures the administrator password of the material acceptance system accordingly. By configuring the attribute information of the DVR, the relevant settings of the DVR are automatically completed, and software adaptation is realized at the industrial control end, realizing the automatic configuration of the material acceptance system, improving the software configuration efficiency of the material acceptance system, and further improving the working efficiency of the material acceptance system.

[0078] Specifically, in one embodiment, before performing the above step S101, the configuration method of the above-mentioned material acceptance system further includes the following steps:

[0079] Step S201: Obtain the IP address range corresponding to the DVR.

[0080] Among them, this IP address range is the IP address range configured by the server for the DVR through prior communication between the DVR and the server.

[0081] Step S202: Use the DHCP technology to allocate IP addresses to each image acquisition device within the IP address range.

[0082] Specifically, since the digital video recorder integrates the router function, the default gateway of the industrial computer directly points to the digital video recorder. By using the DHCP technology, the server controls a range of IP addresses. When the client logs in to the server, it can automatically obtain the IP address and subnet mask assigned by the server, and automatically assign a local area network IP to the connected camera, eliminating the need for manual configuration. By formulating a hardware-free configuration solution, the industrial control terminal is docked and adapted to the hardware, and the wiring is carried out according to the requirements, enabling automatic configuration of both software and hardware, and reducing the possibility of problems during the installation and configuration process.

[0083] Specifically, in one embodiment, the configuration method of the above-mentioned material acceptance system further includes the following steps:

[0084] Step S301: Extract the target connection channel corresponding to the target image acquisition device from the connection channel information.

[0085] Among them, the target image acquisition device is any image acquisition device connected to the digital video recorder, such as: license plate recognition camera, half-bridge camera, etc.

[0086] Step S302: Obtain the second hardware information of the target image acquisition device based on the target connection channel.

[0087] Specifically, in the above step S302, the target IP address of the target image acquisition device is determined based on the target connection channel; the hardware information interface of the target image acquisition device is called using the target IP address to obtain the second hardware information.

[0088] Exemplarily, the hardware information acquisition interface of the license plate recognition camera is called through an http request, and the corresponding hardware information is returned by the hardware information acquisition interface. The hardware information corresponding to the license plate recognition camera includes: IP, port number, brand, type, number, model, serial number, firmware information, running duration, device time, etc.

[0089] Step S303: Configure the attribute information of the target image acquisition device based on the second hardware information.

[0090] Specifically, by traversing the hardware information returned by all license plate recognition cameras, the relevant settings of the license plate recognition cameras are automatically completed. Thus, the automatic configuration of each image acquisition device in the material acceptance system is achieved. Exemplarily, the configuration results of two license plate recognition cameras are respectively as Figure 4A and Figure 4B shown.

[0091] Step S304: Call the new implementation dedicated account interface of the digital video recorder to set a fixed dedicated account for the implementation.

[0092] Specifically, the interface for adding a dedicated account for implementation of the digital video recorder (DVR) is called through an HTTP request to add a dedicated account for implementation that is fixed. The dedicated account for implementation is used to set some basic functions of the DVR. Access control is implemented, and only with the dedicated account can certain basic functions of the material acceptance system be operated, without threatening the customer's data. Thus, it is convenient for the administrator of the material acceptance system to perform services such as material acceptance management through this dedicated account, improving the user experience.

[0093] In addition to the above-mentioned interfaces exposed inside the hardware firmware of the DVR and license plate recognition camera by rolling back the administrator password, adding a dedicated account for implementation, and obtaining hardware information, the software in the industrial control computer can also send an HTTP to the hardware device of the material acceptance system to perform corresponding operations, ensuring the security of the request through digest authentication. Digest authentication is a prior art, and its specific implementation method and process can refer to the relevant descriptions of the prior art and will not be elaborated here.

[0094] By performing the above steps, the configuration method of the material acceptance system provided by the embodiment of the present invention identifies the hardware information of the DVR, uses the unique serial number of the DVR to distinguish the material acceptance system, and configures the administrator password of the material acceptance system accordingly. By configuring the attribute information of the DVR, the relevant settings of the DVR are automatically completed, and software adaptation is achieved at the industrial control end, realizing the automatic configuration of the material acceptance system, improving the software configuration efficiency of the material acceptance system, and further improving the working efficiency of the material acceptance system.

[0095] The embodiment of the present invention also provides a configuration device for a material acceptance system, which is applied to the industrial control computer 203 as shown in Figure 1 shown, as shown in Figure 5 shown, the configuration device of the material acceptance system specifically includes:

[0096] An acquisition module 101, configured to acquire the first hardware information of the DVR. For detailed content, refer to the relevant description of step S101 in the above method embodiment and will not be elaborated here.

[0097] A first processing module 102, configured to parse the first hardware information to obtain the serial number corresponding to the DVR and the connection channel information of each image acquisition device. For detailed content, refer to the relevant description of step S102 in the above method embodiment and will not be elaborated here.

[0098] A second processing module 103, configured to generate a management password based on the serial number. For detailed content, refer to the relevant description of step S103 in the above method embodiment and will not be elaborated here.

[0099] The third processing module 104 is configured to configure the management password as the administrator password for the DVR and each image acquisition device. For the detailed content, please refer to the relevant description of step S104 in the above method embodiment, which will not be elaborated here.

[0100] The fourth processing module 105 is configured to configure the attribute information of the DVR based on the first hardware information and the connection channel information. For the detailed content, please refer to the relevant description of step S105 in the above method embodiment, which will not be elaborated here.

[0101] The further function descriptions of the above-mentioned respective modules are the same as those in the corresponding method embodiments above, which will not be elaborated here.

[0102] Through the collaborative cooperation of the above-mentioned respective components, the configuration device of the material acceptance system provided by the embodiment of the present invention identifies the hardware information of the DVR, differentiates the material acceptance system by using the unique serial number of the DVR, and configures the administrator password of the material acceptance system accordingly. By configuring the attribute information of the DVR, the relevant settings of the DVR are automatically completed, and software adaptation is achieved at the industrial control end, realizing the automatic configuration of the material acceptance system, improving the software configuration efficiency of the material acceptance system, and further improving the working efficiency of the material acceptance system.

[0103] As Figure 6 shown, the industrial control computer in the material acceptance system provided by the embodiment of the present invention may include a processor 901 and a memory 902, where the processor 901 and the memory 902 may be connected through a bus or other means, Figure 6 and the connection through the bus is taken as an example here.

[0104] The processor 901 may be a central processing unit (CPU). The processor 901 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. chips, or combinations of the above various types of chips.

[0105] The memory 902, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the methods in the embodiments of the present invention. The processor 901 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory 902, that is, implements the above-mentioned method.

[0106] The memory 902 may include a program storage area and a data storage area. Among them, the program storage area can store an operating device and application programs required for at least one function; the data storage area can store data created by the processor 901 and the like. In addition, the memory 902 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 902 may optionally include a memory remotely disposed relative to the processor 901, and these remote memories can be connected to the processor 901 through a network. Examples of the above-mentioned network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0107] One or more modules are stored in the memory 902 and, when executed by the processor 901, implement the above-mentioned method.

[0108] For specific details of the above industrial control computer, reference can be made to the corresponding relevant descriptions and effects in the above method embodiments for understanding, and details will not be elaborated here.

[0109] Those skilled in the art can understand that to implement all or part of the processes in the above method embodiments, it can be completed by instructing relevant hardware through a computer program. The implemented program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. Among them, the storage medium can be a magnetic disk, an optical disc, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (abbreviation: HDD), or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above types of memories.

[0110] The above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications or equivalent replacements can still be made to the specific embodiments of the present invention. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the scope of the claims of the present invention.

Claims

1. A configuration method for a material acceptance system, characterized in that, the material acceptance system includes: a hard disk video recorder and a plurality of image acquisition devices connected to the hard disk video recorder, the material acceptance system further includes an industrial control computer respectively connected to the hard disk video recorder and the image acquisition devices, and the method is applied to the industrial control computer. The method includes: Obtaining first hardware information of the hard disk video recorder, including: obtaining the IP address of the hard disk video recorder; based on the IP address of the hard disk video recorder, calling the hardware information interface of the hard disk video recorder to obtain the first hardware information; Parsing the first hardware information to obtain the serial number corresponding to the hard disk video recorder and the connection channel information of each image acquisition device; Generating a management password based on the serial number; Configuring the management password as the administrator password of the hard disk video recorder and each image acquisition device; wherein, calling the rollback administrator interface of the hard disk video recorder through an http request to set the administrator password as the management password, and calling the rollback administrator interface of each image acquisition device through an http request to set the administrator password as the management password; Configuring the attribute information of the hard disk video recorder based on the first hardware information and the connection channel information; The method further includes: Extracting a target connection channel corresponding to a target image acquisition device from the connection channel information, where the target image acquisition device is any one of the image acquisition devices connected to the hard disk video recorder; Obtaining second hardware information of the target image acquisition device based on the target connection channel, including: determining the target IP address of the target image acquisition device based on the target connection channel; using the target IP address to call the hardware information interface of the target image acquisition device to obtain the second hardware information; Configuring the attribute information of the target image acquisition device based on the second hardware information.

2. The method according to claim 1, characterized in that, further including: Calling the new implementation dedicated account interface of the hard disk video recorder to set a fixed dedicated account for implementation.

3. The method according to claim 1, characterized in that, before obtaining the first hardware information of the hard disk video recorder, the method further includes: Obtaining the IP address range corresponding to the hard disk video recorder; Using the DHCP technology to assign IP addresses to each image acquisition device within the IP address range.

4. A configuration device for a material acceptance system, characterized in that, the material acceptance system includes: a hard disk video recorder and a plurality of image acquisition devices connected to the hard disk video recorder, the material acceptance system further includes an industrial control computer respectively connected to the hard disk video recorder and the image acquisition devices, and the device is applied to the industrial control computer. The device includes: An obtaining module, configured to obtain first hardware information of the hard disk video recorder, including: obtaining the IP address of the hard disk video recorder; based on the IP address of the hard disk video recorder, calling the hardware information interface of the hard disk video recorder to obtain the first hardware information; The first processing module is used to parse the first hardware information to obtain the serial number corresponding to the digital video recorder and the connection channel information of each image acquisition device; The second processing module is used to generate an administrative password based on the serial number; The third processing module is used to configure the administrative password as the administrator password of the digital video recorder and each image acquisition device; wherein, the rollback administrator interface of the digital video recorder is called through an HTTP request to set the administrator password as the administrative password, and the rollback administrator interface of each image acquisition device is called through an HTTP request to set the administrator password as the administrative password; The fourth processing module is used to configure the attribute information of the digital video recorder based on the first hardware information and the connection channel information; extract the target connection channel corresponding to the target image acquisition device from the connection channel information, and the target image acquisition device is any one of the image acquisition devices connected to the digital video recorder; obtain the second hardware information of the target image acquisition device based on the target connection channel, including: determining the target IP address of the target image acquisition device based on the target connection channel; using the target IP address to call the hardware information interface of the target image acquisition device to obtain the second hardware information; configuring the attribute information of the target image acquisition device based on the second hardware information.

5. A material acceptance system Characterized in that It includes: A digital video recorder; A plurality of image acquisition devices connected to the digital video recorder; An industrial control computer respectively connected to the digital video recorder and the image acquisition device; The industrial control computer includes: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the method according to any one of claims 1-3.

6. The material acceptance system according to claim 5, Characterized in that The digital video recorder is a digital video recorder integrated with a router function; The digital video recorder is connected to external devices through a POE interface, and the external devices include: a power supply device and the image acquisition device.

7. A computer-readable storage medium Characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1-3 is implemented.

Citation Information

Patent Citations

  • Method and device for connecting front-end equipment with background media equipment

    CN104253980A

  • Method and system for managing monitoring equipment

    CN105391744A

  • System for setting auto connection of IP cameras on a nvr

    KR1020130119248A