Function realization method, device, storage medium and electronic device
Generating and sending function installation requests through the client solves the problems of insufficient storage and function redundancy of smart cameras, enables on-demand installation and activation of functions, and improves device intelligence and resource utilization efficiency.
Patent Information
- Application Number
- CN202310467084.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-04-24
AI Technical Summary
The problem of insufficient local storage and redundant functions of smart cameras makes it impossible to select and install the functions that users need on demand, resulting in a waste of resources.
The target order and function installation request are generated through the client and sent to the server to install the target function on the camera device. After the installation is completed, the function is enabled so that the camera device performs monitoring based on the target function.
It improves the intelligence of camera equipment, avoids the problems of insufficient local storage and functional redundancy, and releases storage and computing resources.
Smart Images

Figure CN116614703B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a function implementation method, device, storage medium and electronic device. Background Art
[0002] With the development of smart home technology, smart cameras are widely used in homes, offices and other places. At present, developing other functions for smart cameras besides the camera function is a necessary way to improve the intelligence of smart cameras and promote the realization of smart life. Summary of the invention
[0003] The embodiment of the present application provides a function realization method, device, storage medium and electronic device, which can enable the user to set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a function implementation method, which is applied to a client, and the method includes:
[0005] In response to a selection instruction for a target function in a function display page, generating a target order for the target function;
[0006] Generate a target function installation request based on the target order, and send the target function installation request to the server, wherein the target function installation request is used by the server to send a function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function;
[0007] generating a function activation control corresponding to the target function in response to installation completion indication information sent by the target camera device, wherein the installation completion indication information is used to indicate that the installation of the target function is complete;
[0008] In response to a trigger operation on the function start control, an enable instruction for the target function is generated and sent to the target camera device, wherein the enable instruction is used to instruct the target camera device to perform camera monitoring based on the target function.
[0009] In a second aspect, an embodiment of the present application provides a function implementation method, which is applied to a camera device, and the method includes:
[0010] Receiving a function installation file sent by a server based on a target function installation request, and installing the target function based on the function installation file, wherein the target function installation request is sent by a client connected to the camera device to the server;
[0011] An activation instruction for the target function sent by a client is received, and in response to the activation instruction, video surveillance is performed based on the target function.
[0012] In a third aspect, an embodiment of the present application provides a function implementation method, which is applied to a server, and the method includes:
[0013] In response to a target function installation request sent by a client connected to the camera device, searching for a function installation file corresponding to the target function installation request;
[0014] The function installation file is sent to the camera device, so that the camera device installs the target function based on the function installation file and performs camera monitoring based on the target function.
[0015] In a fourth aspect, an embodiment of the present application provides a function implementation device, the device comprising:
[0016] A target order generating module, configured to generate a target order for a target function in response to a selection instruction for the target function in the function display page;
[0017] An installation request generation module, used for generating a target function installation request based on the target order, and sending the target function installation request to a server, wherein the target function installation request is used for the server to send a function installation file corresponding to the target function to a target camera device, so that the target camera device installs the target function;
[0018] An activation control generation module, used to generate a function activation control corresponding to the target function in response to the installation completion indication information sent by the target camera device, wherein the installation completion indication information is used to indicate that the installation of the target function is complete;
[0019] An enabling instruction generating module is used to generate an enabling instruction for the target function in response to a triggering operation on the function start control, and send the enabling instruction to the target camera device, wherein the enabling instruction is used to instruct the target camera device to perform camera monitoring based on the target function.
[0020] In a fifth aspect, an embodiment of the present application provides a function implementation device, the device comprising:
[0021] A target function installation module, configured to receive a function installation file sent by a server based on a target function installation request, and install the target function based on the function installation file, wherein the target function installation request is sent by a client connected to the camera device to the server;
[0022] The target function enabling module is used to receive an enabling instruction for the target function sent by a client, and in response to the enabling instruction, perform video surveillance based on the target function.
[0023] In a sixth aspect, an embodiment of the present application provides a function implementation device, the device comprising:
[0024] An installation file search module, configured to respond to a target function installation request sent by a client connected to the camera device and search for a function installation file corresponding to the target function installation request;
[0025] The installation file sending module is used to send the function installation file to the camera device, so that the camera device installs the target function based on the function installation file and performs camera monitoring based on the target function.
[0026] In a seventh aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores at least one instruction, and the at least one instruction is suitable for being loaded by a processor and executing the above-mentioned method steps.
[0027] In an eighth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores at least one instruction, and the at least one instruction is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0028] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
[0029] By adopting the embodiment of the present application, the client generates a target order for the target function in response to the selection instruction of the target function in the function display page, and then generates a target function installation request based on the target order, and sends the target function installation request to the server. The target function installation request is used by the server to send the function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function. After the installation of the target function is completed, the function activation control corresponding to the target function is generated in response to the installation completion indication information sent by the target camera device. Finally, in response to the triggering operation of the function activation control, an activation instruction for the target function is generated, and the activation instruction is sent to the target camera device. The activation instruction is used to instruct the target camera device to perform video monitoring based on the target function. By adopting the function implementation method provided in the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device while avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage of the camera device. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 A system architecture diagram of a function implementation method provided in an embodiment of the present application;
[0032] Figure 2 A flowchart of a method for implementing a function provided in an embodiment of the present application;
[0033] Figure 3 An example schematic diagram of a function display page provided in an embodiment of the present application;
[0034] Figure 4 This is a schematic diagram of an example of a function details page provided in an embodiment of the present application;
[0035] Figure 5 An example schematic diagram of an installation progress page provided in an embodiment of the present application;
[0036] Figure 6 An example schematic diagram of a function setting page provided in an embodiment of the present application;
[0037] Figure 7 A flowchart of a method for implementing a function provided in an embodiment of the present application;
[0038] Figure 8 A flowchart of a method for implementing a function provided in an embodiment of the present application;
[0039] Fig. 9 A flowchart of a method for implementing a function provided in an embodiment of the present application;
[0040] Fig.10 A flowchart of a method for implementing a function provided in an embodiment of the present application;
[0041] Fig.11 A schematic diagram of the structure of a function implementation device provided in an embodiment of the present application;
[0042] Fig.12 A schematic diagram of the structure of a function implementation device provided in an embodiment of the present application;
[0043] Fig.13 A schematic diagram of the structure of a function implementation device provided in an embodiment of the present application;
[0044] Fig.14A schematic diagram of the structure of a function implementation device provided in an embodiment of the present application;
[0045] Fig.15 A schematic diagram of the structure of a function implementation device provided in an embodiment of the present application;
[0046] Fig.16 A schematic diagram of the structure of a function implementation device provided in an embodiment of the present application;
[0047] Fig.17 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are an "or" relationship.
[0050] In the related art, smart cameras have local storage controls for storing recorded video data and smart camera operating system programs. At present, various functions developed for smart cameras are usually directly integrated into the local storage of smart cameras, which may include both functions required by users and redundant functions that users do not need. Users are unable to select the functions they need for installation as needed, and redundant functions cause a waste of storage resources and computing power resources of smart cameras.
[0051] Based on this, an embodiment of the present application proposes a function implementation method, in which a target order for the target function is generated on the client in response to a selection instruction for the target function in a function display page, and then a target function installation request is generated based on the target order, and the target function installation request is sent to the server. The target function installation request is used by the server to send the function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function. After the target function is installed, a function activation control corresponding to the target function is generated in response to the installation completion indication information sent by the target camera device. Finally, in response to a trigger operation on the function activation control, an activation instruction for the target function is generated, and the activation instruction is sent to the target camera device. The activation instruction is used to instruct the target camera device to perform video monitoring based on the target function. By adopting the function implementation method provided by the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device and avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0052] See also Figure 1 , is a system architecture diagram of a function implementation method provided in an embodiment of the present application. Figure 1 As shown, the system architecture diagram includes a client 101, a network 102, a server 103 and a camera 104. The network 102 can realize the interaction between the distribution terminal 101, the server 103 and the camera 104.
[0053] The client 101 may be hardware or software. When the client is hardware, it may be various electronic devices, including but not limited to smart watches, smart phones, tablet computers, laptop computers, and desktop computers. When the client is software, it may be installed in the electronic devices listed above, which may be implemented as multiple software or software modules (for example, to provide distributed services), or as a single software or software module, which is not specifically limited here.
[0054] The network 102 may include various types of wired communication links or wireless communication links. For example, the wired communication links include optical fiber, twisted pair or coaxial cable, and the wireless communication links include Bluetooth communication links, Wireless-Fidelity (Wi-Fi) communication links or microwave communication links.
[0055] The server 103 may be a server or server cluster that provides various services, such as a background management server that provides services for various functions in the client 101 and the camera device 104 .
[0056] The camera device 104 is a terminal with a camera function. In the embodiment of the present application, the camera device can be a smart camera.
[0057] In one embodiment, the client may generate a target order for the target function in response to a selection instruction for the target function in the function display page, and then generate a target function installation request based on the target order, and send the target function installation request to the server. The server searches for a function installation file corresponding to the target function installation request according to the target function installation request, and sends the function installation file to the target camera device. The target camera device installs the target function according to the function installation file corresponding to the target function. After the installation of the target function is completed, the target camera device sends an installation completion indication to the client, so that the client generates a function enable control corresponding to the target function. Finally, in response to a trigger operation on the function enable control, an enable instruction for the target function is generated, and the enable instruction is sent to the target camera device, so that the target camera device performs video monitoring based on the target function.
[0058] By adopting the function implementation method provided in the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device while avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0059] according to Figure 1 The system architecture shown is described in detail below in conjunction with specific embodiments. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. The flowcharts shown in the accompanying drawings are only exemplary and do not have to be executed according to the steps shown. For example, some steps are parallel and there is no strict logical order, so the actual execution order is variable.
[0060] See also Figure 2 , is a flow chart of a function implementation method provided in an embodiment of the present application. In a specific embodiment, the function implementation method can be applied to a function implementation device or an electronic device equipped with a function implementation device. The following will take the execution subject as an example to illustrate the specific process of this embodiment. Figure 2 The process shown is described in detail, and the function implementation method may specifically include the following steps:
[0061] S101, in response to a selection instruction for a target function in a function display page, generating a target order for the target function;
[0062] Specifically, a function display page is set up on the client for the camera device, which includes various functions that can be applied to the target camera device. The user can select the target function required by the target camera device on the function display page according to needs, and generate a target order based on the target function.
[0063] The function display page may be an application page installed in a target application corresponding to the camera device in the client.
[0064] Optionally, the target order includes a device identifier corresponding to a target camera device, and the target camera device is a camera device on which the target function is to be installed.
[0065] It is understandable that the client can be bound to multiple camera devices, and the client can perform function management on the multiple camera devices bound to the client. The target camera device is the camera device that the user wants to install the target function on among the multiple camera devices bound to the client.
[0066] Optionally, the number of the target camera devices may be one or more. When the number of the target camera devices is multiple, the client may generate a target function installation request for the multiple target camera devices based on the target order.
[0067] In one embodiment, after generating the target order for the target function, the method further includes: obtaining candidate camera devices applicable to the target function from at least one bound camera device, and obtaining a target camera device selected from the candidate camera devices.
[0068] In one embodiment, a function display page includes at least one function option. In response to a first selection instruction for any function option in the function display page, a function details page corresponding to the function option is displayed, the function details page includes function detail information of the function corresponding to the function option, and a target function selected from at least one function option according to the function detail information is obtained. In response to a second selection instruction for the target function on the function details page corresponding to the target function, a target order for the target function is generated.
[0069] Specifically, the function display page includes function options corresponding to various functions developed for the camera device. In response to the first selection instruction for the function option, the function detail page corresponding to the function option is entered. The function detail page includes function detail information of the function corresponding to the function option. The user can select a target function from each function option according to the function detail information on the function detail page display page. After selecting the target function, the second selection instruction can be executed on the target function on the function detail page corresponding to the target function, thereby generating a target order for the target function.
[0070] See also Figure 3, is an example schematic diagram of a function display page provided in an embodiment of the present application. Figure 3 As shown, the function display page includes multiple function options, such as: person recognition, area intrusion reminder, area exit reminder, etc. In response to the selection instruction of the function option, a function detail page of the function corresponding to the function option is generated.
[0071] In one embodiment, the function details page also includes at least one function version corresponding to the target function, at least one function time limit, and function details information corresponding to each function version. In response to a second selection instruction for the target function on the function details page corresponding to the target function, a target order for the target function is generated, including: obtaining the target function version and target function time limit corresponding to the target function selected based on the function details information corresponding to each function version, and generating a target order for the target function based on the target function, the target function version, and the target function time limit.
[0072] Specifically, the function details page also includes at least one function version corresponding to the target function, at least one function time limit, and function details information corresponding to each function version. After determining the target function in each function option, the user can select the target function version and target function time limit corresponding to the target function based on each function version and the function details information corresponding to each function version on the function details page, and then the target function, target function version, and target function time limit selected by the client generate a target order.
[0073] It is understandable that the target function can have multiple function versions, and the target functions of different function versions have certain differences in function content and function implementation. The function time limit is the use time limit of the target function. For example, the function time limit can be one year. When the function time limit is selected as one year, the target function is available for one year. After the target function is used for one year, the target function becomes prohibited.
[0074] See also Figure 4 , is an example schematic diagram of a function details page provided in an embodiment of the present application. Figure 4 As shown, when the target function is person recognition, the function details page includes the function version corresponding to the person recognition function, the function time limit, and the function details information corresponding to the function version.
[0075] S102, generating a target function installation request based on the target order, and sending the target function installation request to the server, where the target function installation request is used by the server to send a function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function;
[0076] Specifically, after selecting the target function and generating the target order, a target function installation request is generated based on the target order, and the target function installation request is sent to the server.
[0077] It should be noted that the server stores the function program scripts corresponding to the functions developed for the camera device. After the client generates the target function installation request corresponding to the target function, the target function installation request is sent to the server. The target function installation request includes the function identifier corresponding to the target function. After receiving the target function installation request sent by the client, the server searches for the function installation file corresponding to the target function according to the function identifier carried in the target function installation request. The function installation file includes the function program script corresponding to the target function. Then, the server sends the function installation file to the target camera device so that the target camera device installs the target function.
[0078] Optionally, the target function installation request also includes a device identification corresponding to the target camera device. After the server finds the function installation file corresponding to the target function, the function installation file is sent to the target camera device based on the device identification corresponding to the target camera device.
[0079] Optionally, there can be multiple target camera devices. When there are multiple target camera devices, the target function installation request includes device identifiers corresponding to the multiple target camera devices respectively. After the server finds the function installation file corresponding to the target function, the function installation file is sent to the multiple target camera devices based on the multiple device identifiers carried in the target function installation request.
[0080] In one embodiment, the server sends the function installation file to the target camera device. During the process of the target camera device installing the target function, the client receives the installation progress of the target function sent by the target camera device and displays the installation progress on the client.
[0081] See also Figure 5 , is an example schematic diagram of an installation progress page provided in an embodiment of the present application. Figure 5 As shown, during the process of installing the target function by the camera device, the client displays the installation progress of the target function based on the installation progress returned by the camera device.
[0082] S103, generating a function activation control corresponding to the target function in response to the installation completion indication information sent by the target camera device, where the installation completion indication information is used to indicate that the installation of the target function is complete;
[0083] Specifically, after the target camera device completes the installation of the target function based on the function installation file, the camera device sends installation completion indication information generated based on the completion of the installation of the target function, and the camera device sends the installation completion indication information to the client, and the client generates a function activation control corresponding to the target function based on the installation completion indication information.
[0084] Optionally, a feature enablement control is generated on the settings page of the target feature.
[0085] See also Figure 6 , is an example schematic diagram of a function setting page provided in an embodiment of the present application. Figure 6 As shown, after the target function is installed, the function start control corresponding to the target function is displayed on the function setting page corresponding to the target function. Figure 6 The target function is person recognition.
[0086] S104, in response to the triggering operation of the function activation control, generating an activation instruction for the target function, and sending the activation instruction to the target camera device, the activation instruction is used to instruct the target camera device to perform camera monitoring based on the target function.
[0087] Specifically, after generating a function activation control corresponding to the target function based on the installation completion indication information of the target function, the client generates an activation instruction corresponding to the target function in response to the user's trigger operation on the function activation control, and sends the activation instruction to the target camera device, so that the target camera device activates the installed target function and performs video monitoring based on the target function.
[0088] In one embodiment, a function uninstall control corresponding to a target function is generated in response to installation completion indication information, a function uninstall instruction for the target function is generated in response to a trigger operation on the function uninstall control, and the function uninstall instruction is sent to a target camera device, wherein the function uninstall instruction is used to instruct the target camera device to uninstall the target function.
[0089] Specifically, after the target camera device completes the installation of the target function based on the function installation file, the camera device sends installation completion indication information generated based on the completion of the installation of the target function, and the camera device sends the installation completion indication information to the client, and the client generates a function uninstallation control corresponding to the target function based on the installation completion indication information. In response to the user's triggering operation on the function uninstallation control, the client generates a function uninstallation instruction corresponding to the target function, and sends the function uninstallation instruction to the target camera device, so that the target camera device uninstalls the installed target function and cleans and deletes all data files corresponding to the target function from the current storage of the target camera device.
[0090] Optionally, the function uninstallation control is generated on the setting page of the target function. Figure 6As shown, after the target function is installed, the function uninstall control corresponding to the target function is displayed on the function setting page corresponding to the target function. Figure 6 The target function is person recognition.
[0091] That is, the client can uninstall and clear the target functions installed in the camera device based on the function uninstall control. When the user does not need certain functions, the unnecessary functions can be cleared from the camera device to release the storage control and computing power resources of the camera device.
[0092] In one embodiment, after the installation of the target function on the camera device is completed, the client receives function update indication information corresponding to the target function sent by the server, generates a function update control corresponding to the target function on the function display page based on the function update indication information, generates a target function update request for the target function in response to a trigger operation on the function update control, and then sends the target function update request to the server, so that the server sends the function update file corresponding to the target function to the target camera device, and the function update file is used for the target camera device to update the target function.
[0093] It is worth mentioning that after the function developers develop the functions corresponding to the camera device, they will store the function program scripts corresponding to each function on the server side, and will update the functions according to the needs. After the developers update the target function, the server side issues the function update indication information corresponding to the target function, and sends the function update indication information to the client to inform the client that the target function has an available update. In response to the function update indication information, the client generates a function update control corresponding to the target function on the function display page, and in response to the trigger operation of the function update control, generates a target function update request for the target function, and then sends the target function update request to the server side, so that the server side sends the function update file corresponding to the target function to the target camera device, and the function update file is used for the target camera device to update the target function.
[0094] In an embodiment of the present application, in response to a selection instruction for a target function in a function display page, a target order for the target function is generated on the client side, and then a target function installation request is generated based on the target order, and the target function installation request is sent to the server side. The target function installation request is used for the server side to send the function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function. After the target function is installed, in response to the installation completion indication information sent by the target camera device, a function activation control corresponding to the target function is generated. Finally, in response to a trigger operation on the function activation control, an activation instruction for the target function is generated, and the activation instruction is sent to the target camera device. The activation instruction is used to instruct the target camera device to perform video monitoring based on the target function. By using the function implementation method provided in the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device and avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0095] See also Figure 7 , which is a flow chart of a function implementation method provided in an embodiment of the present application, applied to a camera device, and may include the following steps:
[0096] S201, receiving a function installation file sent by a server based on a target function installation request, and installing a target function based on the function installation file, wherein the target function installation request is sent by a client connected to a camera device to the server;
[0097] Specifically, the user selects a target function on the client and generates a target function installation request, the client sends the target function installation request to the server, the server obtains a function installation file corresponding to the target function based on the target function installation request, and sends the function installation file to the camera device. The camera device receives the function installation file sent by the server based on the target function installation request, and then installs the target function based on the received function installation file.
[0098] Optionally, during the installation of the target function, the camera device sends the installation progress corresponding to the target function to the client, so that the client displays the installation progress corresponding to the target function.
[0099] S202, receiving an activation instruction for a target function sent by a client, and executing video surveillance based on the target function in response to the activation instruction.
[0100] Specifically, after the camera device completes the installation of the target function, the user can trigger the function enablement control corresponding to the target function on the client to generate an enablement instruction for the target function. The client sends the enablement instruction for the target function to the camera device. After receiving the enablement instruction, the camera device turns on the target function according to the enablement instruction, and then the camera device performs video monitoring based on the target function.
[0101] Optionally, after the camera device completes the installation of the target function, it generates installation completion indication information corresponding to the target function, and sends the installation completion indication information to the client, so that the client generates a function start control corresponding to the target function based on the installation completion indication information.
[0102] In one embodiment, after the target function is installed in the camera device, a function update file is sent by the receiving server based on a target function update request. The target function update request is sent by a client connected to the camera device cloud to the server. The target function update request is generated based on a trigger operation on a function update control in the client, and the target function installed in the camera device is updated based on the function update file.
[0103] Specifically, after developing the functions corresponding to the camera device, the function developers will store the function program scripts corresponding to each function on the server side, and will update the functions according to the needs. After the developers update the target function, the server side issues the function update indication information corresponding to the target function, and sends the function update indication information to the client side to inform the client side that there is an available update for the target function. In response to the function update indication information, the client side generates a function update control corresponding to the target function on the function display page, and in response to the trigger operation of the function update control, generates a target function update request for the target function, and then sends the target function update request to the server side. The server side searches for the function update file corresponding to the target function according to the function identifier of the target function carried in the target function update request, and then the server side sends the function update file corresponding to the target function to the target camera device, and then the camera device receives the function update file sent by the server side, and updates the target function installed on the camera device based on the function update file.
[0104] In one embodiment, see Figure 8 , which is a flowchart of a method for implementing a function provided in an embodiment of the present application. Figure 8 The camera device performs camera monitoring based on the target function, which may include the following steps:
[0105] S301, acquiring the captured media data file, performing content analysis on the media data file, and determining whether the media data file meets a function triggering condition of a target function;
[0106] It should be noted that the target function includes a function triggering condition and a function triggering action. During the activation of the target function, when the function triggering condition of the target function is triggered, the corresponding function triggering action is executed.
[0107] Optionally, the function triggering condition may include one or more, and the function triggering action may include one or more.
[0108] Specifically, the camera device obtains the media data file collected by the camera in real time, and obtains content features corresponding to the media data file by parsing the content of the media data file, and determines whether the content features in the media data file meet the function trigger conditions corresponding to the target function based on the content features.
[0109] In one embodiment, the camera device can upload the captured media data file to the server, and the server can perform content analysis on the media data file to obtain the content analysis result corresponding to the media data file. The server sends the content analysis result to the camera device, and the camera device determines whether the function trigger condition corresponding to the target function is met based on the content analysis result.
[0110] See also Fig. 9 , is a flow chart of a method for implementing a function provided in an embodiment of the present application. Fig. 9 As shown, step S301 may include the following steps:
[0111] S3011, extracting content features corresponding to the media data file, determining a target function corresponding to the media data file based on the content features, and generating a target function identifier corresponding to the target function;
[0112] Specifically, after the camera device acquires the photographed media data file, it extracts content features corresponding to the media data file, determines the target function corresponding to the media data file according to the content features, and generates a target function identifier corresponding to the target function.
[0113] S3012, sending the media data file and the target function identifier to the server, and the server is used to perform content analysis on the media data file according to the target function to obtain a content analysis result corresponding to the media data file;
[0114] It should be noted that for some target functions that require large computing power for content analysis, the local computing power of the camera device is insufficient to accurately analyze the media data file. In an embodiment of the present application, the camera device performs type analysis on the media data based on the local computing power, that is, extracts the content features corresponding to the media data file, and determines the target function corresponding to the media data file based on the content features and generates a target function identifier corresponding to the target function. After determining the target function corresponding to the media data file, the camera device uploads the media data file and the target function identifier to the server. The server sets a content analysis model specifically for content analysis of the target function, and the server has strong computing power. Based on the server, the content analysis of the media data file is performed to obtain the content analysis result corresponding to the media data file, which can improve the accuracy of content analysis.
[0115] S3013, receiving the content analysis result sent by the server, and determining whether the media data file meets the function triggering condition of the target function based on the content analysis result.
[0116] S302: When the media data file meets the function triggering condition of the target function, a function triggering action corresponding to the target function is executed.
[0117] Specifically, the camera device receives the content analysis result sent by the server, and determines whether the media data file meets the function triggering condition of the target function based on the content analysis result.
[0118] Optionally, the target function may be an area intrusion reminder function, an area departure reminder function, a crying detection function, an alarm reminder function, a pet detection function, etc.
[0119] For example, the area intrusion reminder function is that when a person or pet is detected entering the care area, the camera device will sound an alarm. When the target function is the area intrusion reminder function, the function triggering conditions are the detection of a person or pet and the detected person or pet entering the care area, and the function triggering action is to sound an alarm.
[0120] In one embodiment, the media data files corresponding to the target function are stored locally or in the cloud.
[0121] Specifically, the media data files corresponding to the target function are stored locally on the camera device, or the media data files corresponding to the target function are sent to the server for cloud storage.
[0122] In an embodiment of the present application, a camera device receives a function installation file sent by a server based on a target function installation request, and installs the target function based on the function installation file. The target function installation request is sent by a client connected to the camera device to the server. After the target function is installed, an enable instruction for the target function sent by the client is received, and the enable instruction is responded to to perform camera monitoring based on the target function. By adopting the function implementation method provided in an embodiment of the present application, a user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device and avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0123] See also Fig.10 , which is a flow chart of a function implementation method provided in an embodiment of the present application, applied to a server, may include the following steps:
[0124] S401, in response to a target function installation request sent by a client connected to the camera device, searching for a function installation file corresponding to the target function installation request;
[0125] S402: Send the function installation file to the camera device, so that the camera device installs the target function based on the function installation file and performs camera monitoring based on the target function.
[0126] Specifically, the server stores the function program scripts corresponding to the functions developed for the camera device. After the client generates the target function installation request corresponding to the target function, the target function installation request is sent to the server. The target function installation request includes the function identifier corresponding to the target function. After receiving the target function installation request sent by the client, the server searches for the function installation file corresponding to the target function according to the function identifier carried in the target function installation request. The function installation file includes the function program script corresponding to the target function. Then, the server sends the function installation file to the target camera device so that the target camera device installs the target function.
[0127] Optionally, the target function installation request also includes a device identification corresponding to the target camera device. After the server finds the function installation file corresponding to the target function, the function installation file is sent to the target camera device based on the device identification corresponding to the target camera device.
[0128] In one embodiment, the server receives a target function update request for a target function sent by a client, the target function update request is generated based on a trigger operation on a function update control in the client, searches for a corresponding function update file based on the target function update request, sends the function update file to a camera device, and the function update file is used by the camera device to update the target function.
[0129] After developing the functions corresponding to the camera device, the function developers will store the function program scripts corresponding to each function on the server side, and will update the functions according to the needs. After the developers update the target function, the server side issues the function update indication information corresponding to the target function, and sends the function update indication information to the client side to inform the client side that there is an available update for the target function. In response to the function update indication information, the client side generates a function update control corresponding to the target function on the function display page, and in response to the trigger operation of the function update control, generates a target function update request for the target function, and then sends the target function update request to the server side, so that the server side sends the function update file corresponding to the target function to the target camera device, and the function update file is used for the target camera device to update the target function.
[0130] In one embodiment, the server receives a media data file sent by a camera device and a target function identifier corresponding to the media data file, determines the target function corresponding to the media data file based on the target function identifier, searches for a content parsing model corresponding to the target function, performs content parsing on the media data file based on the content parsing model, and obtains a content parsing result corresponding to the media data file.
[0131] In an embodiment of the present application, the server responds to a target function installation request sent by a client connected to the camera device, searches for a function installation file corresponding to the target function installation request, and sends the function installation file to the camera device, so that the camera device installs the target function based on the function installation file and performs camera monitoring based on the target function; using the function implementation method provided in the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device and avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0132] See also Fig.11 , is a schematic diagram of the structure of a function realization device provided in an embodiment of the present application. Fig.11 As shown, the function implementation device 1 can be implemented as all or part of the electronic device through software, hardware or a combination of both. According to some embodiments, the function implementation device 1 includes a target order generation module 11, an installation request generation module 12, an opening control generation module 13 and an activation instruction generation module 14, specifically including:
[0133] A target order generating module 11, configured to generate a target order for a target function in response to a selection instruction for the target function in the function display page;
[0134] An installation request generating module 12 is used to generate a target function installation request based on the target order, and send the target function installation request to the server, wherein the target function installation request is used by the server to send a function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function;
[0135] An activation control generating module 13, configured to generate a function activation control corresponding to the target function in response to the installation completion indication information sent by the target camera device, wherein the installation completion indication information is used to indicate that the installation of the target function is complete;
[0136] The enabling instruction generating module 14 is used to generate an enabling instruction for the target function in response to a triggering operation on the function start control, and send the enabling instruction to the target camera device, wherein the enabling instruction is used to instruct the target camera device to perform camera monitoring based on the target function.
[0137] Optionally, the function display page includes at least one function option, and the target order generating module 11 is specifically used to:
[0138] In response to a first selection instruction for any function option in the function display page, display a function detail page corresponding to the function option, the function detail page including function detail information of the function corresponding to the function option;
[0139] Acquire a target function selected from the at least one function option according to the function detail information;
[0140] In response to a second selection instruction for the target function on a function details page corresponding to the target function, a target order for the target function is generated.
[0141] Optionally, the function details page further includes at least one function version corresponding to the target function, at least one function time limit, and function details information corresponding to each function version. When the target order generating module 11 generates a target order for the target function in response to the second selection instruction for the target function on the function details page corresponding to the target function, it is specifically used to:
[0142] Obtaining a target function version and a target function time limit corresponding to the target function selected based on the function detail information corresponding to each function version;
[0143] A target order for the target function is generated based on the target function, the target function version and the target function time limit.
[0144] Optionally, after executing the second selection instruction for the target function on the function details page corresponding to the target function and generating the target order for the target function, the target order generating module 11 is further configured to:
[0145] Acquire a candidate camera device to which the target function is applicable from at least one bound camera device;
[0146] A target camera device selected from the candidate camera devices is acquired.
[0147] Optional, see Fig.12 , is a schematic diagram of the structure of a function realization device provided in an embodiment of the present application. Fig.12 As shown, the device also includes:
[0148] The installation progress display module 15 is used to receive the installation progress of the target function sent by the target camera device and display the installation progress.
[0149] Optional, such as Fig.12 As shown, the device further includes a target function unloading module 16, which is specifically used to:
[0150] generating a function uninstallation control corresponding to the target function in response to the installation completion indication information;
[0151] In response to a triggering operation on the function uninstallation control, a function uninstallation instruction for the target function is generated and sent to the target camera device, wherein the function uninstallation instruction is used to instruct the target camera device to uninstall the target function.
[0152] Optional, such as Fig.12 As shown, the device also includes a target function updating module 17, which is specifically used to:
[0153] Receiving function update indication information corresponding to the target function sent by the server;
[0154] Generating a function update control corresponding to the target function on the function display page based on the function update indication information;
[0155] In response to a triggering operation on the function update control, generating a target function update request for the target function;
[0156] The target function update request is sent to the server, so that the server sends a function update file corresponding to the target function to the target camera device, and the function update file is used by the target camera device to update the target function.
[0157] By adopting the function realization device provided by the embodiment of the present application, a target order for the target function is generated on the client in response to a selection instruction for the target function in the function display page, and then a target function installation request is generated based on the target order, and the target function installation request is sent to the server. The target function installation request is used by the server to send the function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function. After the installation of the target function is completed, a function activation control corresponding to the target function is generated in response to the installation completion indication information sent by the target camera device. Finally, in response to the triggering operation of the function activation control, an activation instruction for the target function is generated, and the activation instruction is sent to the target camera device. The activation instruction is used to instruct the target camera device to perform video monitoring based on the target function. By adopting the function realization method provided by the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device and avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0158] See also Fig.13 , is a schematic diagram of the structure of a function realization device provided in an embodiment of the present application. Fig.13 As shown, the function implementation device 2 can be implemented as all or part of the electronic device through software, hardware or a combination of both. According to some embodiments, the function implementation device 2 includes a target function installation module 21 and a target function activation module 22, specifically including:
[0159] A target function installation module 21, configured to receive a function installation file sent by a server based on a target function installation request, and install the target function based on the function installation file, wherein the target function installation request is sent by a client connected to the camera device to the server;
[0160] The target function enabling module 22 is used to receive an enabling instruction for the target function sent by the client, and execute video surveillance based on the target function in response to the enabling instruction.
[0161] Optional, see Fig.10 , is a schematic diagram of the structure of a function realization device provided in an embodiment of the present application. Fig.14 As shown, the device also includes:
[0162] The installation progress sending module 23 is used to send the installation progress of the target function to the client.
[0163] Optional, such as Fig.14 As shown, the device also includes a target function updating module 24, which is specifically used to:
[0164] Receiving a function update file sent by the server based on a target function update request, wherein the target function update request is sent to the server by a client connected to the camera device cloud, and the target function update request is generated based on a triggering operation on a function update control in the client;
[0165] The target function installed in the imaging device is updated based on the function update file.
[0166] Optional, such as Fig.14 As shown, the device also includes a target function unloading module 25, which is specifically used to:
[0167] A function uninstallation instruction sent from the client is received, and the target function installed in the camera device is uninstalled based on the function uninstallation instruction, wherein the function uninstallation instruction is generated based on a triggering operation on a function uninstallation control in the client.
[0168] Optionally, when executing the video surveillance based on the target function, the target function enabling module 22 is specifically used to:
[0169] Acquire the photographed media data file, perform content analysis on the media data file, and determine whether the media data file meets the function triggering condition of the target function;
[0170] When the media data file meets the function triggering condition of the target function, a function triggering action corresponding to the target function is executed.
[0171] Optionally, when the target function enabling module 22 executes the acquisition of the photographed media data file, performs content parsing processing on the media data file, and determines whether the media data file meets the function triggering condition of the target function, it is specifically used to:
[0172] Extracting content features corresponding to the media data file, determining a target function corresponding to the media data file based on the content features, and generating a target function identifier corresponding to the target function;
[0173] Sending the media data file and the target function identifier to a server, wherein the server is configured to perform content analysis on the media data file according to the target function to obtain a content analysis result corresponding to the media data file;
[0174] Receive the content analysis result sent by the server, and determine whether the media data file meets the function triggering condition of the target function based on the content analysis result.
[0175] Optional, such as Fig.14As shown, the device also includes a data file storage module 26, which is specifically used for:
[0176] The media data files corresponding to the target function are stored locally or in the cloud.
[0177] By adopting the function realization device provided in the embodiment of the present application, the camera device receives the function installation file sent by the server based on the target function installation request, installs the target function based on the function installation file, and the target function is sent by the client connected to the camera device to the server. After the installation of the target function is completed, the server receives the enable instruction for the target function sent by the client, responds to the enable instruction, and then performs camera monitoring based on the target function; by adopting the function realization method provided in the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device and avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0178] See also Fig.15 , is a schematic diagram of the structure of a function realization device provided in an embodiment of the present application. Fig.15 As shown, the function implementation device 3 can be implemented as all or part of the electronic device through software, hardware or a combination of both. According to some embodiments, the function implementation device 3 includes a target function installation module 21 and a target function activation module 22, specifically including:
[0179] An installation file search module 31 is used to respond to a target function installation request sent by a client connected to the camera device and search for a function installation file corresponding to the target function installation request;
[0180] The installation file sending module 32 is used to send the function installation file to the camera device, so that the camera device installs the target function based on the function installation file and performs camera monitoring based on the target function.
[0181] Optional, see Fig.16 , is a schematic diagram of the structure of a function realization device provided in an embodiment of the present application. Fig.16 As shown, the device also includes a target function updating module 33, which is specifically used to:
[0182] Receiving a target function update request for the target function sent by the client, where the target function update request is generated based on a triggering operation on a function update control in the client;
[0183] Searching for a corresponding function update file based on the target function update request;
[0184] The function update file is sent to the camera device, where the function update file is used by the camera device to update the target function.
[0185] Optional, such as Fig.16 As shown, the device also includes a data file parsing module 34, which is specifically used to:
[0186] Receiving a media data file sent by a camera device and a target function identifier corresponding to the media data file;
[0187] Determining a target function corresponding to the media data file based on the target function identifier, and searching for a content parsing model corresponding to the target function;
[0188] The media data file is subjected to content analysis processing based on the content analysis model to obtain a content analysis result corresponding to the media data file.
[0189] By adopting the function realization device provided in the embodiment of the present application, the server responds to the target function installation request sent by the client connected to the camera device, searches for the function installation file corresponding to the target function installation request, and sends the function installation file to the camera device, so that the camera device installs the target function based on the function installation file and performs video monitoring based on the target function; by adopting the function realization method provided in the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device and avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0190] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figures 1 to 10 The method for implementing the functions of the embodiment shown in the figure can be found in the specific implementation process. Figures 1 to 10 The specific description of the illustrated embodiment will not be repeated here.
[0191] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figures 1 to 10 The method for implementing the functions of the embodiment shown in the figure can be found in the specific implementation process. Figures 1 to 10 The specific description of the illustrated embodiment will not be repeated here.
[0192] Please refer to Fig.17, shows a block diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. The electronic device in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.
[0193] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions and processes data of the terminal 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0194] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets, or instruction sets.
[0195] The input device 130 is used to receive input instructions or data, and the input device 130 includes but is not limited to a keyboard, a mouse, a camera, a microphone or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes but is not limited to a display device and a speaker. In the embodiment of the present application, the input device 130 can be a temperature sensor for obtaining the operating temperature of the terminal. The output device 140 can be a speaker for outputting audio signals.
[0196] In addition, those skilled in the art will appreciate that the structure of the terminal shown in the above drawings does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal also includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module, and other components, which will not be described in detail here.
[0197] In the embodiment of the present application, the execution subject of each step may be the terminal described above. Optionally, the execution subject of each step is the operating system of the terminal. The operating system may be an Android system, an IOS system, or other operating systems, which is not limited in the embodiment of the present application.
[0198] exist Fig.17 In the electronic device, the processor 110 can be used to call the function implementation program stored in the memory 120 and execute it to implement the function implementation method as described in the various method embodiments of the present application.
[0199] In an embodiment of the present application, in response to a selection instruction for a target function in a function display page, a target order for the target function is generated on the client side, and then a target function installation request is generated based on the target order, and the target function installation request is sent to the server side. The target function installation request is used for the server side to send the function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function. After the target function is installed, in response to the installation completion indication information sent by the target camera device, a function activation control corresponding to the target function is generated. Finally, in response to a trigger operation on the function activation control, an activation instruction for the target function is generated, and the activation instruction is sent to the target camera device. The activation instruction is used to instruct the target camera device to perform video monitoring based on the target function. By using the function implementation method provided in the embodiment of the present application, the user can set the required functions for the camera device through the function display page displayed by the client, thereby improving the intelligence of the camera device and avoiding the problem of insufficient local storage and redundant functions of the camera device caused by directly integrating the functions into the camera device, thereby releasing the local storage resources and computing power resources of the camera device.
[0200] Those skilled in the art can clearly understand that the technical solution of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in the present application refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0201] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0202] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0203] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0204] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0205] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0206] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct the relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0207] The above is only an exemplary embodiment of the present application, and the scope of the present application cannot be limited by this. That is, any equivalent changes and modifications made according to the teachings of the present application are still within the scope of the present application. After considering the disclosure of the specification and practice here, those skilled in the art will easily think of other embodiments of the present application. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not recorded in the present application. The specification and examples are only regarded as exemplary, and the scope and spirit of the present application are defined by the claims.
Claims
1. A method for saving storage resources and computing power resources of a camera device, characterized in that: Applied to a client, the method comprises: In response to a first selection instruction for any function option in a function display page, display a function detail page corresponding to the function option, the function detail page including function detail information of the function corresponding to the function option, and the function display page including at least one function option; Acquire a target function selected from the at least one function option according to the function detail information, wherein the function detail page further includes at least one function version corresponding to the target function, at least one function time limit, and function detail information corresponding to each function version; Obtaining a target function version and a target function time limit corresponding to the target function selected based on the function detail information corresponding to each function version; Generate a target order for the target function based on the target function, the target function version and the target function time limit; Generate a target function installation request based on the target order, and send the target function installation request to the server, wherein the target function installation request is used by the server to send a function installation file corresponding to the target function to the target camera device, so that the target camera device installs the target function; generating a function activation control corresponding to the target function in response to installation completion indication information sent by the target camera device, wherein the installation completion indication information is used to indicate that the installation of the target function is complete; In response to a trigger operation on the function start control, an enable instruction for the target function is generated and sent to the target camera device, wherein the enable instruction is used to instruct the target camera device to perform camera monitoring based on the target function.
2. The method according to claim 1, characterized in that: After generating the target order for the target function based on the target function, the target function version and the target function time limit, the method further includes: Acquire a candidate camera device to which the target function is applicable from at least one bound camera device; Acquire a target camera device selected from the candidate camera devices; The generating a target function installation request based on the target order includes: In response to a confirmation operation on the target order, a target function installation request including the target imaging device is generated.
3. The method according to claim 1, characterized in that: After sending the target function installation request to the server, the method further includes: Receive the installation progress of the target function sent by the target camera device and display the installation progress.
4. The method according to claim 1, characterized in that: The method further comprises: generating a function uninstallation control corresponding to the target function in response to the installation completion indication information; In response to a triggering operation on the function uninstallation control, a function uninstallation instruction for the target function is generated and sent to the target camera device, wherein the function uninstallation instruction is used to instruct the target camera device to uninstall the target function.
5. The method according to claim 1, characterized in that: After sending the target function installation request to the server, the method further includes: Receiving function update indication information corresponding to the target function sent by the server; Generating a function update control corresponding to the target function on the function display page based on the function update indication information; In response to a triggering operation on the function update control, generating a target function update request for the target function; The target function update request is sent to the server, so that the server sends a function update file corresponding to the target function to the target camera device, and the function update file is used by the target camera device to update the target function.
6. A method for saving storage resources and computing power resources of a camera device, characterized in that: Applied to a camera device, the method comprises: Receiving a function installation file sent by a server based on a target function installation request, and installing the target function based on the function installation file, wherein the target function installation request is sent by a client connected to the camera device to the server; receiving an activation instruction for the target function sent by a client, and executing video surveillance based on the target function in response to the activation instruction; The target function installation request is generated by the client based on the target order, and the target order is generated by the client for the target function based on the target function, the target function version and the target function time limit; The target function version and target function time limit corresponding to the target function are selected based on the function detail information corresponding to each function version; The target function is obtained by selecting at least one function option according to the function detail information, and at least one function version corresponding to the target function, at least one function time limit and function detail information corresponding to each function version are included in the function detail page; The function details page is a page corresponding to the function option displayed by the client in response to the first selection instruction of any function option in the function display page. The function details page includes function detail information of the function corresponding to the function option. The function display page includes at least one function option.
7. The method according to claim 6, characterized in that The method further comprises: Send the installation progress of the target function to the client.
8. The method according to claim 6, characterized in that The method further comprises: Receiving a function update file sent by the server based on a target function update request, wherein the target function update request is sent to the server by a client connected to the camera device cloud, and the target function update request is generated based on a triggering operation on a function update control in the client; The target function installed in the imaging device is updated based on the function update file.
9. The method according to claim 6, characterized in that The method further comprises: A function uninstallation instruction sent from the client is received, and the target function installed in the camera device is uninstalled based on the function uninstallation instruction, wherein the function uninstallation instruction is generated based on a triggering operation on a function uninstallation control in the client.
10. The method according to claim 6, characterized in that The performing video surveillance based on the target function includes: Acquire the photographed media data file, perform content analysis on the media data file, and determine whether the media data file meets the function triggering condition of the target function; When the media data file meets the function triggering condition of the target function, the function triggering action corresponding to the target function is executed.
11. The method according to claim 10, characterized in that The performing content analysis processing on the media data file to determine whether the media data file meets the function triggering condition of the target function includes: Extracting content features corresponding to the media data file, determining a target function corresponding to the media data file based on the content features, and generating a target function identifier corresponding to the target function; Sending the media data file and the target function identifier to a server, wherein the server is configured to perform content analysis on the media data file according to the target function to obtain a content analysis result corresponding to the media data file; Receive the content analysis result sent by the server, and determine whether the media data file meets the function triggering condition of the target function based on the content analysis result.
12. The method according to claim 10, characterized in that When the media data file meets the function triggering condition of the target function, after executing the function triggering action corresponding to the target function, the method further includes: The media data files corresponding to the target function are stored locally or in the cloud.
13. A method for saving storage resources and computing power resources of a camera device, characterized in that: Applied to the server, the method includes: In response to a target function installation request sent by a client connected to the camera device, searching for a function installation file corresponding to the target function installation request; Sending the function installation file to the camera device so that the camera device installs the target function based on the function installation file and performs camera monitoring based on the target function; The target function installation request is generated by the client based on the target order, and the target order is generated by the client for the target function based on the target function, the target function version and the target function time limit; The target function version and target function time limit corresponding to the target function are selected based on the function detail information corresponding to each function version; The target function is obtained by selecting at least one function option according to the function detail information, and at least one function version corresponding to the target function, at least one function time limit and function detail information corresponding to each function version are included in the function detail page; The function details page is a page corresponding to the function option displayed by the client in response to the first selection instruction of any function option in the function display page. The function details page includes function detail information of the function corresponding to the function option. The function display page includes at least one function option.
14. The method according to claim 13, characterized in that The method further comprises: Receiving a target function update request for the target function sent by the client, where the target function update request is generated based on a triggering operation on a function update control in the client; Searching for a corresponding function update file based on the target function update request; The function update file is sent to the camera device, where the function update file is used by the camera device to update the target function.
15. The method according to claim 13, characterized in that The method further comprises: Receiving a media data file sent by a camera device and a target function identifier corresponding to the media data file; Determining a target function corresponding to the media data file based on the target function identifier, and searching for a content parsing model corresponding to the target function; The media data file is subjected to content analysis processing based on the content analysis model to obtain a content analysis result corresponding to the media data file.
16. A device for saving storage resources and computing resources of a camera device, characterized in that: The device comprises: a target order generating module, configured to, in response to a first selection instruction for any function option in a function display page, display a function detail page corresponding to the function option, wherein the function detail page includes function detail information of the function corresponding to the function option, and the function display page includes at least one function option; The target order generation module is further used to obtain a target function selected from the at least one function option according to the function detail information, wherein the function detail page further includes at least one function version corresponding to the target function, at least one function time limit, and function detail information corresponding to each function version; The target order generation module is further used to obtain a target function version and a target function time limit corresponding to the target function selected based on the function detail information corresponding to each function version; The target order generating module is further used to generate a target order for the target function based on the target function, the target function version and the target function time limit; An installation request generation module, used for generating a target function installation request based on the target order, and sending the target function installation request to a server, wherein the target function installation request is used for the server to send a function installation file corresponding to the target function to a target camera device, so that the target camera device installs the target function; An activation control generation module, used to generate a function activation control corresponding to the target function in response to the installation completion indication information sent by the target camera device, wherein the installation completion indication information is used to indicate that the installation of the target function is complete; An enabling instruction generating module is used to generate an enabling instruction for the target function in response to a triggering operation on the function start control, and send the enabling instruction to the target camera device, wherein the enabling instruction is used to instruct the target camera device to perform camera monitoring based on the target function.
17. A device for saving storage resources and computing resources of a camera device, characterized in that: The device comprises: A target function installation module, configured to receive a function installation file sent by a server based on a target function installation request, and install the target function based on the function installation file, wherein the target function installation request is sent by a client connected to the camera device to the server; A target function enabling module, configured to receive an enabling instruction for the target function sent by a client, and execute video surveillance based on the target function in response to the enabling instruction; The target function installation request is generated by the client based on the target order, and the target order is generated by the client for the target function based on the target function, the target function version and the target function time limit; The target function version and target function time limit corresponding to the target function are selected based on the function detail information corresponding to each function version; The target function is obtained by selecting at least one function option according to the function detail information, and at least one function version corresponding to the target function, at least one function time limit and function detail information corresponding to each function version are included in the function detail page; The function details page is a page corresponding to the function option displayed by the client in response to the first selection instruction of any function option in the function display page. The function details page includes function detail information of the function corresponding to the function option. The function display page includes at least one function option.
18. A device for saving storage resources and computing resources of a camera device, characterized in that: The device comprises: An installation file search module, configured to respond to a target function installation request sent by a client connected to the camera device and search for a function installation file corresponding to the target function installation request; An installation file sending module, used for sending the function installation file to the camera device, so that the camera device installs the target function based on the function installation file and performs camera monitoring based on the target function; The target function installation request is generated by the client based on the target order, and the target order is generated by the client for the target function based on the target function, the target function version and the target function time limit; The target function version and target function time limit corresponding to the target function are selected based on the function detail information corresponding to each function version; The target function is obtained by selecting at least one function option according to the function detail information, and at least one function version corresponding to the target function, at least one function time limit and function detail information corresponding to each function version are included in the function detail page; The function details page is a page corresponding to the function option displayed by the client in response to the first selection instruction of any function option in the function display page. The function details page includes function detail information of the function corresponding to the function option. The function display page includes at least one function option.
19. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 5, 6 to 12 or 13 to 15.
20. An electronic device, comprising: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method as described in any one of claims 1 to 5, 6 to 12 or 13 to 15.
Citation Information
Patent Citations
Plug-in installation method and device of router, equipment and storage medium
CN109558148A
Vehicle upgrading method, device and equipment and storage medium
CN113721955A
Application installation method and device, electronic equipment and computer readable storage medium
CN115002730A
