Network camera parameter configuration methods, devices, and computer-readable storage media

By dynamically managing configuration versions and files between the client and server, the problem of complex updates to the network camera parameter configuration interface is solved, achieving efficient configuration interface updates and management, and adapting to the needs of different types of network cameras.

CN121750977BActive Publication Date: 2026-06-30SHENZHEN WHALE VISION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN WHALE VISION TECH CO LTD
Filing Date
2026-02-28
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing methods for configuring network camera parameters require modifying client code and releasing new versions to update the configuration interface, resulting in a complex and inefficient update process that cannot meet the configuration requirements of different types of network cameras.

Method used

By comparing configuration version numbers between the client and server, obtaining and applying the updated configuration file from the server, dynamically generating a parameter configuration interface, and managing configuration file upgrades on both the client and server, frequent releases of client installation packages are avoided.

Benefits of technology

It improves the update efficiency of the parameter configuration interface, simplifies the management process of configuration items, adapts to the configuration needs of different types of network cameras, and enhances the readability and update accuracy of the configuration interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121750977B_ABST
    Figure CN121750977B_ABST
Patent Text Reader

Abstract

This application relates to the field of network camera technology, and discloses a network camera parameter configuration method, device, and computer-readable storage medium. The method is applied to a client and includes: obtaining a first configuration version number locally on the client and a second configuration version number on the server; if the first and second configuration version numbers are different, sending an update request to the server and receiving a configuration file corresponding to the second configuration version number sent by the server; generating a parameter configuration interface locally on the client based on the configuration file; generating configuration information in response to editing the parameter configuration interface, and sending the configuration information to the network camera. When the client's configuration version number and the server's configuration version number are different, obtaining the server's configuration file to generate the client's local parameter configuration interface avoids the need to release a new client installation package to update the parameter configuration interface, thus improving the update efficiency of the parameter configuration interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network camera technology, and in particular to a network camera parameter configuration method, device, and computer-readable storage medium. Background Technology

[0002] The parameter configuration of network cameras (IPC devices) relies entirely on the client's device configuration tool. However, in existing parameter configuration methods, the configuration items in the device configuration tool's interface are stored internally on the client. When changes are needed to these configuration items, it's necessary to modify the code, compile, and release a new client installation package. Updated configuration items are only available after downloading the new client. In other words, updating the parameter configuration interface of existing device configuration tools requires very complex low-level code modifications; sometimes even a small update necessitates code re-modification. Different types of network cameras also require different client configurations. This makes the process of updating configuration items in the network camera's device configuration tool's interface complex and inefficient. Summary of the Invention

[0003] In view of this, the purpose of this application is to overcome the shortcomings of the prior art and provide a method for configuring network camera parameters, the method being applied to a client, the method comprising:

[0004] Obtain the first configuration version number of the client's local system and the second configuration version number of the server.

[0005] If the first configuration version number and the second configuration version number are different, an update request is sent to the server, and the configuration file corresponding to the second configuration version number is received from the server.

[0006] Based on the configuration file, generate the parameter configuration interface locally on the client.

[0007] In response to the editing operation of the parameter configuration interface, configuration information is generated and sent to the network camera.

[0008] In one embodiment, the step of generating the local parameter configuration interface for the client based on the configuration file includes:

[0009] Based on the configuration file, determine the list of configuration items, and iterate through the list of configuration items to obtain the target field for each configuration item;

[0010] Based on the target field, determine the control generation logic for each configuration item, and create a configuration control for each configuration item based on the control generation logic;

[0011] Based on the configuration control, a parameter configuration interface is generated locally on the client side.

[0012] In one embodiment, the step of generating configuration information in response to an editing operation on the parameter configuration interface and sending the configuration information to the network camera includes:

[0013] In response to the editing operation of the parameter configuration interface, the network camera number and configuration item parameters are determined;

[0014] Configuration information is generated based on the configuration item parameters, and the configuration information is sent to the network camera corresponding to the network camera number, so that the network camera can complete the parameter configuration based on the configuration information.

[0015] In one embodiment, the method further includes:

[0016] In response to an update operation on the parameter configuration interface, a configuration upgrade file is generated;

[0017] The configuration upgrade file is uploaded to the server so that the server updates the configuration file and the version number of the configuration file based on the configuration upgrade file.

[0018] In one embodiment, the method further includes:

[0019] In response to the configuration display command, the configuration information is parsed to obtain the configuration items and configuration item parameters in the configuration information;

[0020] The configuration items and their parameters are displayed.

[0021] This application also provides a method for configuring parameters of a network camera, the method being applied to a server, the method comprising:

[0022] The system receives a configuration version number retrieval request from a client and sends a second configuration version number to the client, so that the client can compare the local first configuration version number with the second configuration version number.

[0023] The system receives an update request from the client and sends the configuration file corresponding to the second configuration version number to the client, so that the client can generate a local parameter configuration interface based on the configuration file.

[0024] In one embodiment, the method further includes:

[0025] Receive the configuration upgrade file sent by the client, and parse the configuration upgrade file to obtain the configuration upgrade information;

[0026] The configuration upgrade information is used to update the local configuration file on the server and the version number of the configuration file.

[0027] In one embodiment, the method further includes:

[0028] The client receives a configuration key sent by the network camera. The configuration key is generated by the client based on the configuration file issued by the server and the production batch number of the network camera, and then sent to the network camera.

[0029] Based on the configuration key, the updated configuration file is sent to the network camera so that the network camera can complete the parameter configuration based on the configuration file.

[0030] This application also provides a computer device, which includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the above-described network camera parameter configuration method.

[0031] This application also provides a computer-readable storage medium storing a computer program that, when run on a processor, executes the above-described network camera parameter configuration method.

[0032] The embodiments of this application have the following beneficial effects:

[0033] In this embodiment, the server receives a configuration version number retrieval request from the client and sends a second configuration version number to the client. The client retrieves its local first configuration version number and the server's second configuration version number. If the first and second configuration version numbers differ, the client sends an update request to the server. The server receives the update request and sends the configuration file corresponding to the second configuration version number to the client. The client receives the configuration file from the server and generates a local parameter configuration interface based on the configuration file. In response to editing the parameter configuration interface, the client generates configuration information and sends it to the network camera. When the client's configuration version number and the server's configuration version number differ, the server's configuration file is retrieved to generate the client's local parameter configuration interface. This avoids the need to release a new client installation package to update the parameter configuration interface, thus improving the update efficiency of the parameter configuration interface. Attached Figure Description

[0034] To more clearly illustrate the technical solutions of this application, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this application and therefore should not be considered as a limitation on the scope of protection of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0035] Figure 1 A flowchart illustrating the first embodiment of the network camera parameter configuration method provided in this application;

[0036] Figure 2 A schematic diagram of the local parameter configuration interface for the client provided in this application;

[0037] Figure 3 A flowchart illustrating a second embodiment of the network camera parameter configuration method provided in this application;

[0038] Figure 4 A flowchart illustrating the third embodiment of the network camera parameter configuration method provided in this application;

[0039] Figure 5 A schematic diagram of all configuration items and parameters provided in this application;

[0040] Figure 6 A flowchart illustrating the fourth embodiment of the network camera parameter configuration method provided in this application;

[0041] Figure 7 A flowchart illustrating the fifth embodiment of the network camera parameter configuration method provided in this application;

[0042] Figure 8 A flowchart illustrating the sixth embodiment of the network camera parameter configuration method provided in this application;

[0043] Figure 9 This is a schematic diagram of the client-side structure provided in this application;

[0044] Figure 10 A schematic diagram of the server structure provided in this application. Detailed Implementation

[0045] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0046] The components of the embodiments of this application described and illustrated in the accompanying drawings can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0047] In the following, the terms “comprising,” “having,” and their cognates, which may be used in various embodiments of this application, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as excluding, firstly, the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations thereof.

[0048] Furthermore, the terms "first," "second," and "third" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0049] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of this application pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be construed as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.

[0050] It is understood that the method of this application is applied to the client and server, and the client and server can be mounted on smart terminals, PC terminals, mobile terminals, etc., without limitation.

[0051] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0052] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a first embodiment of the network camera parameter configuration method provided in this application. The method is applied to a client and includes:

[0053] Step S101: Obtain the first configuration version number of the client's local system and the second configuration version number of the server.

[0054] In this embodiment, the client is an application, app, or parameter configuration tool used to configure the network camera's parameters. The client can communicate and connect with the network camera to read its current configuration items and parameters, and can also send updated configuration parameters to the network camera. Upon startup, the client sends a configuration version number retrieval request to the server, causing the server to send its locally stored second configuration version number to the client based on the request. The client then obtains its locally stored first configuration version number and the server's second configuration version number.

[0055] It should be noted that the server is used to store the latest set of configuration items and configuration version number for the network cameras. Understandably, when developers need to add or remove configuration items for network cameras, they will store the updated set of configuration items as a JSON list on the server. Each time the set of configuration items is updated, the corresponding configuration version number will also be updated.

[0056] Step S102: If the first configuration version number and the second configuration version number are different, an update request is sent to the server, and the configuration file corresponding to the second configuration version number is received from the server.

[0057] In this embodiment, after the client obtains the first configuration version number on its local machine and the second configuration version number on the server, it compares the first configuration version number with the second configuration version number. If the comparison result is that the first configuration version number and the second configuration version number are different, it sends an update request to the server and receives the configuration file corresponding to the second configuration version number sent by the server.

[0058] For example, the client's local first configuration version number is 1.0.4, and the server's second configuration version number is 1.0.5. In this case, the first and second configuration version numbers are different, and the second configuration version number is greater than the first configuration version number. The client sends an update request to the server and receives the configuration file corresponding to the second configuration version number from the server. The configuration file includes the set of configuration items corresponding to the second configuration version number.

[0059] Step S103: Generate the parameter configuration interface on the client's local machine according to the configuration file.

[0060] In this embodiment, the client generates a local parameter configuration interface based on the configuration file sent by the server. For example, the client's local parameter configuration interface is as follows: Figure 2 As shown, the client mainly generates based on configuration files. Figure 2 The configuration items in the settings are used to update the local parameter configuration interface on the client. The configuration items include: language, device model, image, indicator lights, etc.

[0061] In one embodiment, the step of generating the local parameter configuration interface for the client based on the configuration file includes:

[0062] Step S1031: Determine the configuration item list according to the configuration file, and traverse the configuration item list to obtain the target field of each configuration item.

[0063] In this embodiment, the client determines the list of configuration items based on the configuration file, and iterates through the list to obtain the target fields for each configuration item. It should be noted that the configuration file is an array, where each element represents a configuration item. Each configuration item contains the following target fields: unique identifier (id), display name (label), control type (type), default value (defaultValue), binding key name (bindKey), and extended attributes required by type.

[0064] Step S1032: Based on the target field, determine the control generation logic for each configuration item, and create a configuration control for each configuration item based on the control generation logic.

[0065] In this embodiment, for each configuration item, the client determines the control generation logic for that configuration item based on its target field, and then creates the configuration control for each configuration item based on the control generation logic. It should be noted that the client identifies the type of control to be generated based on the control type field in the target field of each configuration item, including but not limited to: the control type field "options" corresponds to a drop-down selection box control (ComboBox); the control type field "explain" corresponds to a single-line text input box control with explanatory text (TextBox); the control type field "rangeSlider" corresponds to a slider control (Slider) with numerical range adjustment functionality and a text box that synchronously displays the current value; other types (such as switches, multi-line text, etc.) follow the same pattern, all within a preset type system. The client determines the control generation logic for each configuration item based on its control type, and then creates the configuration control for each configuration item based on the control generation logic.

[0066] Step S1033: Based on the configuration control, generate the parameter configuration interface on the client's local machine.

[0067] In this embodiment, after the client completes the creation of the configuration control for each configuration item, it sets basic properties for each configuration control (such as display name, initial value, value range, option list, etc.); all controls are added to the client's main configuration panel in a preset order to form a linear or grid layout of the client's local parameter configuration interface.

[0068] Step S104: In response to the editing operation of the parameter configuration interface, configuration information is generated and the configuration information is sent to the network camera.

[0069] In this embodiment, after generating the latest local parameter configuration interface, the client obtains the original configuration parameters of the network camera and displays them in the latest parameter configuration interface for the user. The user can edit the original configuration parameters in the parameter configuration interface. After editing, the client generates configuration information and sends the configuration information to the network camera, which can then modify its local configuration parameters based on the configuration information.

[0070] In one embodiment, the step of generating configuration information in response to an editing operation on the parameter configuration interface and sending the configuration information to the network camera includes:

[0071] Step S1041: In response to the editing operation of the parameter configuration interface, determine the network camera number and configuration item parameters.

[0072] In this embodiment, after generating the latest local parameter configuration interface, the client, in response to the editing operation of the parameter configuration interface, determines the network camera number and configuration item parameters. It should be noted that, as... Figure 2 As shown, the parameter configuration interface includes a network camera number editing control (device IP). Users can enter the network camera number, at which point the client can confirm the network camera number. When the user clicks the device configuration control in the parameter configuration interface, the client obtains the original configuration parameters of the network camera corresponding to the network camera number, displays the original configuration parameters in the latest parameter configuration interface, and shows them to the user. Users can edit the original configuration parameters in the parameter configuration interface, and after editing, the client can confirm the configuration parameters.

[0073] Step S1042: Generate configuration information based on the configuration item parameters, and send the configuration information to the network camera corresponding to the network camera number, so that the network camera completes the parameter configuration based on the configuration information.

[0074] In this embodiment, after determining the configuration item parameters edited by the user, the client generates configuration information based on the configuration item parameters, and in response to the user clicking the parameter configuration interface, configures the write device control, and sends the configuration information to the network camera corresponding to the network camera number, so that the network camera completes the parameter configuration based on the configuration information.

[0075] In this embodiment, the client obtains its local first configuration version number and the server's second configuration version number. If the first and second configuration version numbers differ, an update request is sent to the server, and the client receives the configuration file corresponding to the second configuration version number from the server. Based on the configuration file, a parameter configuration interface is generated locally on the client. In response to editing operations on the parameter configuration interface, configuration information is generated and sent to the network camera. When the client's configuration version number and the server's configuration version number differ, the server's configuration file is obtained to generate the client's local parameter configuration interface. This avoids the need to release a new client installation package to update the parameter configuration interface, thus improving the update efficiency of the parameter configuration interface.

[0076] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of the network camera parameter configuration method provided in this application. The difference between the second embodiment and the first embodiment is that the method further includes:

[0077] Step S201: In response to the update operation of the parameter configuration interface, a configuration upgrade file is generated.

[0078] Step S202: Upload the configuration upgrade file to the server so that the server updates the configuration file and the version number of the configuration file based on the configuration upgrade file.

[0079] In this embodiment, when relevant R&D personnel need to add or remove configuration items for network cameras, they can update the parameter configuration interface on the client. The client responds to the R&D personnel's update operation on the parameter configuration interface, generates a configuration upgrade file, and uploads the configuration upgrade file to the server, so that the server updates the locally stored configuration file and the version number of the configuration file based on the configuration file.

[0080] In one embodiment, such as Figure 2 As shown, when R&D personnel need to add Vietnamese language configuration items to network cameras, they can directly update the parameter configuration interface in the client, add Vietnamese language configuration parameters to the language configuration items, and click the upload upgrade file control in the parameter configuration interface. The client generates a configuration upgrade file, which includes Vietnamese language configuration parameters. The client uploads the configuration upgrade file to the server, and the server obtains the updated configuration file and its version number based on the configuration upgrade file.

[0081] In one embodiment, when researchers need to add Vietnamese language configuration options to a network camera, they bring up the underlying configuration file of the parameter configuration interface and add the Vietnamese language configuration option to the language settings in the underlying configuration file to obtain a configuration upgrade file. Then, the researchers click the upload upgrade file control in the parameter configuration interface and select the configuration upgrade file. The client uploads the configuration upgrade file to the server, and the server obtains the updated configuration file and its version number based on the configuration upgrade file.

[0082] In this embodiment, the client, in response to an update operation on the parameter configuration interface, generates a configuration upgrade file. This upgrade file is then uploaded to the server, enabling the server to update the configuration file and its version number based on the upgrade file. This allows developers to directly update the parameter configuration interface on the client, and then the client uploads the upgrade file to the server, allowing the server to update its local configuration file and its version number. Because the client's parameter configuration interface clearly displays various configuration items, it improves the readability of these items for developers, facilitating updates and avoiding errors caused by poor readability of the server's local configuration file when updating directly. This improves the accuracy of updating the server's local configuration file.

[0083] Please refer to Figure 4 , Figure 4 This is a flowchart illustrating a third embodiment of the network camera parameter configuration method provided in this application. The difference between the third embodiment and the first to second embodiments is that the method further includes:

[0084] Step S301: In response to the configuration display command, parse the configuration information to obtain the configuration items and configuration item parameters in the configuration information.

[0085] Step S302: Display the configuration items and the configuration item parameters.

[0086] In this embodiment, the client responds to the user's editing operation on the parameter configuration interface, generates configuration information, and then responds to the user's configuration display command, parses the configuration information to obtain the configuration items and configuration item parameters. The configuration items and configuration item parameters are then displayed.

[0087] In one embodiment, such as Figure 2 As shown, the parameter configuration interface includes a "Show All Configuration Controls" option. When the user clicks "Show All Configuration Controls," the client responds with the configuration display command, showcasing all configuration items and their parameters after the user has completed editing. Figure 5 As shown, Figure 5 This is a schematic diagram of all configuration items and their parameters provided in this application. Configuration items include language, device model, image, indicator lights, etc., and configuration parameters include Simplified Chinese, card camera / small square camera, main positive / secondary positive, default off, etc.

[0088] The client in this embodiment can display all configuration items and parameters after the user has finished editing, allowing the user to more intuitively check whether all configuration items and parameters have been updated correctly, improving the user experience, and avoiding a series of problems caused by incorrectly updated configuration items and parameters being sent to the network camera.

[0089] Please refer to Figure 6 , Figure 6 This is a flowchart illustrating a fourth embodiment of the network camera parameter configuration method provided in this application. The difference between the fourth embodiment and the first to third embodiments is that the method is applied to a server, and the method includes:

[0090] Step S401: Receive the configuration version number acquisition request sent by the client, and send the second configuration version number to the client so that the client can compare the local first configuration version number and the second configuration version number.

[0091] Step S402: Receive the update request sent by the client, and send the configuration file corresponding to the second configuration version number to the client so that the client can generate a local parameter configuration interface based on the configuration file.

[0092] In this embodiment, the server receives a configuration version number retrieval request from the client and sends a second configuration version number to the client. The client retrieves its local first configuration version number and the server's second configuration version number. If the first and second configuration version numbers are different, the client sends an update request to the server. The server receives the update request from the client and sends the configuration file corresponding to the second configuration version number to the client. The client receives the configuration file corresponding to the second configuration version number sent by the server and generates a local parameter configuration interface based on the configuration file. In response to the editing operation on the parameter configuration interface, the client generates configuration information and sends the configuration information to the network camera.

[0093] In this embodiment, the server obtains the server's configuration file when the configuration version number of the client and the configuration version number of the server are different through data transmission with the client. This generates a local parameter configuration interface on the client, avoiding the need to release a new client installation package to update the parameter configuration interface and improving the update efficiency of the parameter configuration interface.

[0094] Please refer to Figure 7 , Figure 7 This is a flowchart illustrating the fifth embodiment of the network camera parameter configuration method provided in this application. The difference between the fifth embodiment and the first to fourth embodiments is that the method further includes:

[0095] Step S501: Receive the configuration upgrade file sent by the client, and parse the configuration upgrade file to obtain configuration upgrade information.

[0096] Step S502: Update the local configuration file and version number of the configuration file on the server based on the configuration upgrade information.

[0097] In this embodiment, when R&D personnel need to add or remove configuration items for network cameras, they can update the parameter configuration interface on the client side. The client responds to this update by generating a configuration upgrade file and uploading it to the server. The server receives the configuration upgrade file from the client, parses it, and obtains the configuration upgrade information. Based on this information, the server updates its local configuration file and its version number.

[0098] When other clients start up, they send a configuration version number retrieval request to the server. The server then sends its locally stored second configuration version number to the client based on this request. The client obtains its local first configuration version number and the server's second configuration version number. If the first and second configuration version numbers differ, the client sends an update request to the server and receives the configuration file corresponding to the second configuration version number from the server. Based on the configuration file, the client generates its local parameter configuration interface. In response to editing operations on the parameter configuration interface, the client generates configuration information and sends it to the network camera.

[0099] In this embodiment, the server-side interface clearly displays various configuration items on the client, improving the readability of these items for relevant R&D personnel and facilitating their updates. The server receives the configuration upgrade file sent by the client, parses it, and updates the local configuration file and its version number based on the upgrade information. This avoids errors caused by the poor readability of the local configuration file, which can lead to errors when updating the local configuration file directly, thus improving the accuracy of updating the local configuration file.

[0100] Please refer to Figure 8 , Figure 8This is a flowchart illustrating the sixth embodiment of the network camera parameter configuration method provided in this application. The difference between the sixth embodiment and the first to fifth embodiments is that the method further includes:

[0101] Step S601: Receive the configuration key sent by the network camera. The configuration key is generated by the client based on the configuration file issued by the server and the production batch number of the network camera and sent to the network camera.

[0102] In this embodiment, the server receives the configuration key sent by the network camera. The configuration key is generated by the client based on the configuration file issued by the server and the production batch number of the network camera, and then sent to the network camera.

[0103] It should be noted that, as Figure 2 As shown, the client's parameter configuration interface includes a key control. Relevant R&D personnel can enter the production batch number of the network camera in the key control. The client receives the configuration file sent by the server, combines the configuration file and the production batch number to generate a configuration key, and sends the configuration key to the network camera and the server. The server binds the production batch number in the configuration key with the corresponding configuration file.

[0104] It should be noted that a production batch number may correspond to multiple network cameras, and all network cameras in this batch need to be configured with parameters based on the production batch number and the corresponding configuration file.

[0105] Step S602: Based on the configuration key, the updated configuration file is sent to the network camera so that the network camera can complete the parameter configuration based on the configuration file.

[0106] In this embodiment, the server determines the production batch number of the network camera based on the configuration key sent by the network camera, then retrieves the configuration file bound to the production batch number, and sends the configuration file to the network camera so that the network camera can complete the parameter configuration based on the configuration file. It can be understood that the server can batch send configuration files to multiple network cameras in the same batch to complete the parameter configuration of all network cameras.

[0107] In this embodiment, the server distributes configuration files to multiple network cameras in the same batch based on the configuration key to complete the parameter configuration of all network cameras. The production batch number in the configuration key is bound to the corresponding configuration file, which improves the efficiency of network camera parameter configuration and avoids configuration file transmission errors.

[0108] refer to Figure 9 , Figure 9 This is a schematic diagram of the client provided in this application. The client includes:

[0109] The acquisition module 10 is used to acquire the first configuration version number of the client's local system and the second configuration version number of the server.

[0110] The comparison module 20 is used to send an update request to the server if the first configuration version number and the second configuration version number are different, and to receive the configuration file corresponding to the second configuration version number sent by the server.

[0111] The generation module 30 is used to generate a local parameter configuration interface for the client based on the configuration file.

[0112] The distribution module 40 is used to generate configuration information in response to the editing operation of the parameter configuration interface, and distribute the configuration information to the network camera.

[0113] It is understood that the client in this embodiment corresponds to the network camera parameter configuration method in the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described again here.

[0114] refer to Figure 10 , Figure 10 This is a schematic diagram of the server structure provided in this application. The server includes:

[0115] The first receiving and sending module 50 is used to receive a configuration version number acquisition request sent by the client, and send a second configuration version number to the client so that the client can compare the local first configuration version number and the second configuration version number.

[0116] The second receiving and sending module 60 is used to receive the update request sent by the client and send the configuration file corresponding to the second configuration version number to the client so that the client can generate a local parameter configuration interface based on the configuration file.

[0117] It is understood that the server in this embodiment corresponds to the network camera parameter configuration method in the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described again here.

[0118] This application also provides a computer device, exemplary of which includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer device to perform the network camera parameter configuration method described above by running the computer program.

[0119] The processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including at least one of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), Network Processor (NP), Digital Signal Processor (DSP), Application-Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application.

[0120] The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory is used to store computer programs, and the processor can execute the computer programs accordingly after receiving execution instructions.

[0121] This application also provides a computer storage medium for storing the computer program used in the aforementioned computer device. The computer storage medium can be a readable storage medium, a non-volatile storage medium, or a volatile storage medium. For example, the computer storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0122] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, in alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0123] In addition, the functional modules or units in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0124] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0125] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method of configuring a network camera parameter, characterized by, The method is applied to a client, which is a parameter configuration tool for configuring parameters of a network camera. The method includes: Obtain the first configuration version number of the client's local machine and the second configuration version number of the server. The first configuration version number is the current version number of the parameter configuration interface of the parameter configuration tool, and the second configuration version number is the latest version number of the parameter configuration interface of the parameter configuration tool when adding or removing configuration items of the network camera. If the first configuration version number and the second configuration version number are different, an update request is sent to the server, and the configuration file corresponding to the second configuration version number is received from the server. Based on the configuration file, generate the parameter configuration interface locally on the client. In response to the editing operation of the parameter configuration interface, configuration information is generated and the configuration information is sent to the network camera; The step of generating the local parameter configuration interface for the client based on the configuration file includes: Based on the configuration file, determine the list of configuration items, and iterate through the list of configuration items to obtain the target field for each configuration item; Based on the target field, determine the control generation logic for each configuration item, and create a configuration control for each configuration item based on the control generation logic; Based on the configuration control, a parameter configuration interface is generated locally on the client side.

2. The network camera parameter configuration method according to claim 1, characterized in that, The step of generating configuration information in response to an editing operation on the parameter configuration interface and sending the configuration information to the network camera includes: In response to the editing operation of the parameter configuration interface, the network camera number and configuration item parameters are determined; Configuration information is generated based on the configuration item parameters, and the configuration information is sent to the network camera corresponding to the network camera number, so that the network camera can complete the parameter configuration based on the configuration information.

3. The network camera parameter configuration method according to claim 1, characterized in that, The method further includes: In response to an update operation on the parameter configuration interface, a configuration upgrade file is generated; The configuration upgrade file is uploaded to the server so that the server updates the configuration file and the version number of the configuration file based on the configuration upgrade file.

4. The network camera parameter configuration method according to claim 1, characterized in that, The method further includes: In response to the configuration display command, the configuration information is parsed to obtain the configuration items and configuration item parameters in the configuration information; The configuration items and their parameters are displayed.

5. A method for configuring parameters of a network camera, characterized in that, The method is applied to the server side, and the method includes: The system receives a configuration version number retrieval request from a client and sends a second configuration version number to the client, so that the client can compare the local first configuration version number and the second configuration version number. The client is a parameter configuration tool for configuring parameters of a network camera. The first configuration version number is the current version number of the parameter configuration interface of the parameter configuration tool, and the second configuration version number is the latest version number of the parameter configuration interface of the parameter configuration tool when adding or removing configuration items of the network camera. The system receives an update request from the client and sends the configuration file corresponding to the second configuration version number to the client, so that the client generates a local parameter configuration interface based on the configuration file. The step of the client generating a local parameter configuration interface based on the configuration file includes: Based on the configuration file, determine the list of configuration items, and iterate through the list of configuration items to obtain the target field for each configuration item; Based on the target field, determine the control generation logic for each configuration item, and create a configuration control for each configuration item based on the control generation logic; Based on the configuration control, a parameter configuration interface is generated locally on the client side.

6. The network camera parameter configuration method according to claim 5, characterized in that, The method further includes: Receive the configuration upgrade file sent by the client, and parse the configuration upgrade file to obtain the configuration upgrade information; The configuration upgrade information is used to update the local configuration file on the server and the version number of the configuration file.

7. The network camera parameter configuration method according to claim 5, characterized in that, The method further includes: The client receives a configuration key sent by the network camera. The configuration key is generated by the client based on the configuration file issued by the server and the production batch number of the network camera, and then sent to the network camera. Based on the configuration key, the updated configuration file is sent to the network camera so that the network camera can complete the parameter configuration based on the configuration file.

8. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the network camera parameter configuration method according to any one of claims 1-4 or 5-7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a processor, executes the network camera parameter configuration method according to any one of claims 1-4 or 5-7.

Citation Information

Patent Citations

  • Configuration method and apparatus for smart television application

    CN106034247A

  • Method and device for loading control page of intelligent equipment and storage medium

    CN112015450A

  • Method and device for modifying configuration file of camera and electronic equipment

    CN114153527A

  • Network camera configuration method, terminal equipment and storage medium

    CN115706698A