Method and apparatus for controlling video capture device, electronic device, and storage medium

By using two chips in the video acquisition device—one communicating with the business server and the other establishing a heartbeat connection with the hibernation server—the device is controlled to enter hibernation mode, solving the problems of power waste and poor user experience caused by the power supply method, and achieving energy-saving and convenient power management.

CN116170683BActive Publication Date: 2025-12-19HAIER SMART HOME CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111396546.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2025-12-19
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

Existing power supply methods for video capture equipment result in wasted electricity and a poor user experience, especially for equipment with fixed power supplies that require frequent power supply replacements or charging.

Method used

Two chips are installed in the video acquisition device: one for communicating with the business server and the other for establishing a heartbeat connection with the hibernation server. The device can be controlled to enter hibernation mode as needed to save power consumption.

Benefits of technology

It effectively saves power consumption of video capture equipment, improves user experience, and avoids the problem of frequent replacement or charging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116170683B_ABST
    Figure CN116170683B_ABST
Patent Text Reader

Abstract

The application provides a video acquisition device control method and device, electronic equipment and storage medium. The video acquisition device control method is applied to a video acquisition device. A stop instruction sent by a service server is received, the stop instruction being used to instruct the video acquisition device to stop sending information to the service server. According to the stop instruction, a first chip is controlled to disconnect the communication connection with the service server, and a second chip is controlled to establish a heartbeat connection with a hibernation server. A hibernation operation is performed, and the hibernation operation indicates that the video acquisition device enters a hibernation state. In the embodiment of the application, when the video acquisition device does not need to work, the video acquisition device can enter the hibernation state and keep the heartbeat connection with the hibernation server, so that the video acquisition device can be woken up at any time, the power consumption of the video acquisition device is effectively saved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The embodiment of the application relates to the technical field of control of electronic equipment, and particularly relates to a control method and device of a video acquisition equipment, electronic equipment and a storage medium. BACKGROUND

[0002] With the continuous development of the Internet, electronic equipment has become an indispensable device in user life and work. Especially, a video acquisition equipment, such as a monitoring device, can provide a user with a video playing service by acquiring a video. Since the video acquisition equipment needs to be continuously powered during use to ensure normal operation, the smaller the power consumption of the video acquisition equipment is under a certain power, the longer the use time of the video acquisition equipment is. Therefore, power supply of the video acquisition equipment is particularly important. The power consumption of the video acquisition equipment is controlled.

[0003] At present, there are two ways to power the video acquisition equipment. One way is to continuously power the video acquisition equipment by connecting the video acquisition equipment to a power source. The other way is to install a fixed power supply, such as a battery, on the video acquisition equipment to power the video acquisition equipment.

[0004] However, in the existing power supply mode of the video acquisition equipment, if the video acquisition equipment is powered by connecting to a power source, the video acquisition equipment will continuously run, that is, continuously acquire a video. However, during use of the video acquisition equipment, there may be a situation in which the video acquisition equipment does not need to run, for example, when no user needs to watch the video acquired by the video acquisition equipment, which may cause waste of power. For the video acquisition equipment with a fixed power supply, the user may need to frequently replace the power supply or charge the power supply, which reduces the use time of the video acquisition equipment and thus reduces the user experience. SUMMARY

[0005] In order to solve the above problems in the prior art, that is, to solve the problem of poor user experience caused by power waste in the existing power supply mode of the video acquisition equipment, the embodiment of the application provides a control method and device of a video acquisition equipment, electronic equipment and a storage medium.

[0006] The embodiment of the application provides a control method of a video acquisition equipment, applied to the video acquisition equipment, the video acquisition equipment comprising a first chip and a second chip; the control method of the video acquisition equipment comprising:

[0007] receiving a stop instruction sent by a service server, the stop instruction being used for instructing the video acquisition equipment to stop sending information to the service server.

[0008] According to the stop instruction, the first chip is controlled to disconnect the communication connection with the service server, and the second chip is controlled to establish a heartbeat connection with the hibernation server.

[0009] A hibernation operation is performed, the hibernation operation indicating that the video set device enters a hibernation state.

[0010] In a possible implementation, according to the stop instruction, the first chip is controlled to disconnect the communication connection with the service server, and the second chip is controlled to establish a heartbeat connection with the hibernation server, including:

[0011] A time interval between a current time and a time when the stop instruction is received is determined.

[0012] When the time interval is greater than a preset time interval, the first chip is controlled to disconnect the communication connection with the service server, and the second chip is controlled to establish the heartbeat connection with the hibernation server.

[0013] In a possible implementation, when the video set device is in the hibernation state, the method includes:

[0014] An activation request sent by the hibernation server is received, the activation request being sent by the hibernation server when an activation instruction of the service server is received.

[0015] According to the activation request, the second chip is controlled to disconnect the heartbeat connection with the hibernation server, and the first chip is controlled to establish the communication connection with the service server.

[0016] In a possible implementation, before receiving an instruction sent by a service server for stopping sending information to the service server, the method further includes:

[0017] A first data collection request sent by the service server is received, the first data collection request being sent by the service server when a first network address request sent by a first terminal device is received, the first network address request being sent by the first terminal device after the first terminal device is authenticated by the service server and a target video collection device is determined from a video collection device list sent by the service server, the first network address request being used to request the service server to send a target network address corresponding to target data collected by the target video collection device to the first terminal device.

[0018] According to the first data collection request, the target data is collected, and the target data is sent to the service server, the target data being used to instruct the service server to generate the target network address and send the target network address to the first terminal device, so that the first terminal device acquires the target data in the service server according to the target network address.

[0019] The embodiment of the application provides another control method of a video collection device, which is applied to a service server, and the control method of the video collection device comprises the following steps:

[0020] A stop instruction is sent to a target video collection device, and the stop instruction is used to instruct the target video collection device to stop sending information to the service server.

[0021] When the communication connection with the target video collection device is disconnected, the dormancy state of the video collection device is recorded.

[0022] In a possible implementation, before the stop instruction is sent to the target video collection device, the method comprises the following steps:

[0023] Identity authentication information sent by a first terminal device is received.

[0024] The identity authentication information is subjected to identity authentication, and when the identity authentication is passed, a video collection device list is sent to the first terminal device.

[0025] A first network address request sent by the first terminal device is received, and the first network address request is used to request the service server to send a target network address corresponding to target data collected by a target video collection device to the first terminal device, the target video collection device being determined by the first terminal device in the video collection device list.

[0026] A first data collection request is sent to the target video collection device, and when the target data sent by the target video collection device is received, the target network address corresponding to the target data is generated.

[0027] The target network address is sent to the first terminal device, and the target network address is used for the first terminal device to acquire target data through the service server.

[0028] In a possible implementation, after the target network address corresponding to the target data is generated, the method further comprises the following steps:

[0029] receive a second network address request sent by a second terminal device, the second network address request being used for requesting the service server to send, to the second terminal device, a target network address corresponding to target data collected by the target video collection device determined by the first terminal device in the video collection device list.

[0030] send the target network address to the second terminal device.

[0031] In a possible implementation, after the communication connection with the target video collection device is disconnected, the method further includes:

[0032] when receiving a third network address request sent by the first terminal device and / or the second terminal device, send an activation instruction to the dormant server, the activation instruction being used for instructing the dormant server to send an activation request to the target collection device, the activation request being used for instructing the first chip of the target video collection device to establish a communication connection.

[0033] The embodiment of the application further provides a control device of a video collection device, including:

[0034] a receiving module, configured to receive a stop instruction sent by a service server, the stop instruction being used for instructing the video collection device to stop sending information to the service server.

[0035] a control module, configured to control, according to the stop instruction, a first chip of the video collection device to disconnect a communication connection with a service server of the video collection device, and control a second chip to establish a heartbeat connection with a dormant server.

[0036] The control module is further configured to perform a dormant operation, the dormant operation indicating that the video collection device enters a dormant state.

[0037] In a possible implementation, the control module is specifically configured to determine a time interval between a current time and a time when the stop instruction is received; when the time interval is greater than a preset time interval, control the first chip to disconnect the communication connection with the service server, and control the second chip to establish the heartbeat connection with the dormant server.

[0038] In a possible implementation, the receiving module is further configured to receive an activation request sent by the dormant server, the activation request being sent by the dormant server when receiving an activation instruction of the service server; and according to the activation request, control the second chip to disconnect the heartbeat connection with the dormant server, and control the first chip to establish a communication connection with the service server.

[0039] In a possible implementation, the receiving module is further configured to receive a first data collection request sent by the service server, the first data collection request being sent by the service server when receiving a first network address request sent by a first terminal device, the first network address request being sent by the first terminal device after passing authentication of the service server and determining a target video collection device from a video collection device list sent by the service server, and the first network address request being used to request the service server to send a target network address corresponding to target data collected by the target video collection device to the first terminal device.

[0040] The collecting module is configured to collect the target data according to the first data collection request, and send the target data to the service server, the target data being used to instruct the service server to generate the target network address and send the target network address to the first terminal device, so that the first terminal device acquires the target data in the service server according to the target network address.

[0041] The embodiment of the application further provides a control device of a video collection device, which comprises:

[0042] The sending module is configured to send a stop instruction to the target video collection device, the stop instruction being used to instruct the target video collection device to stop sending information to the service server.

[0043] The recording module is configured to record a hibernation state of the video collection device when the communication connection with the target video collection device is disconnected.

[0044] In a possible implementation, the device further comprises a processing module, which is configured to receive authentication information sent by a first terminal device, perform authentication on the authentication information, and when the authentication is passed, send a video collection device list to the first terminal device; and receive a first network address request sent by the first terminal device, the first network address request being used to request the service server to send a target network address corresponding to target data collected by a target video collection device to the first terminal device, the target video collection device being determined by the first terminal device from the video collection device list.

[0045] The sending module is further configured to send a first data collection request to the target video collection device, and when receiving the target data sent by the target video collection device, generate a target network address corresponding to the target data; and send the target network address to the first terminal device, the target network address being used by the first terminal device to acquire target data through the service server.

[0046] In a possible implementation, the processing module is further configured to receive a second network address request sent by a second terminal device, the second network address request being used to request the service server to send, to the second terminal device, a target network address corresponding to target data collected by the target video collection device determined by the first terminal device in the video collection device list.

[0047] The sending module is further configured to send the target network address to the second terminal device.

[0048] In a possible implementation, the sending module is further configured to send, to a dormant server, an activation instruction when receiving a third network address request sent by the first terminal device and / or the second terminal device, the activation instruction being used to instruct the dormant server to send an activation request to the target collection device, the activation request being used to instruct to establish a communication connection with a first chip of the target video collection device.

[0049] The embodiment of the present application further provides an electronic device, which comprises a processor and a memory connected with the processor.

[0050] The memory stores computer execution instructions.

[0051] The processor executes the computer execution instructions stored in the memory, and realizes the control method of the video collection device in any one of the preferred technical solutions.

[0052] The embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores computer execution instructions.

[0053] The embodiment of the present application further provides a computer program product, which comprises a computer program.

[0054] Those skilled in the art can understand that the embodiment of the present application provides a video acquisition device control method, device, electronic equipment and storage medium. The video acquisition device control method is applied to a video acquisition device. A stop instruction sent by a service server is received. The stop instruction is used to instruct the video acquisition device to stop sending information to the service server. According to the stop instruction, the first chip is controlled to disconnect the communication connection with the service server, and the second chip is controlled to establish a heartbeat connection with a hibernation server. A hibernation operation is performed, and the hibernation operation indicates that the video acquisition device enters a hibernation state. The technical solution provided by the embodiment of the present application can control the first chip to disconnect the communication connection with the service server and control the second chip to establish a heartbeat connection with the hibernation server when the video acquisition device does not need to work, so that the video acquisition device enters a hibernation state, and the power consumption of the video acquisition device is effectively saved. In addition, the heartbeat connection with the hibernation server enables the video acquisition device to be awakened at any time, thereby improving the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0055] Figure 1 An application scenario diagram of a video acquisition device control method provided by the embodiment of the present application is shown in the figure.

[0056] Figure 2 A flowchart of a video acquisition device control method provided by the embodiment of the present application is shown in the figure.

[0057] Figure 3 A flowchart of another video acquisition device control method provided by the embodiment of the present application is shown in the figure.

[0058] Figure 4 A flowchart of a method for controlling a video acquisition device to enter a hibernation state provided by the embodiment of the present application is shown in the figure.

[0059] Figure 5 A flowchart of a method for waking up a video acquisition device in a hibernation state provided by the embodiment of the present application is shown in the figure.

[0060] Figure 6 A structural diagram of a video acquisition device control device provided by the embodiment of the present application is shown in the figure.

[0061] Figure 7 A structural diagram of another video acquisition device control device provided by the embodiment of the present application is shown in the figure.

[0062] Figure 8 A structural diagram of an electronic equipment provided by the present application is shown in the figure. DETAILED DESCRIPTION

[0063] First, those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application, and are not intended to limit the protection scope of the present application. Those skilled in the art can adjust them as needed to adapt to specific application occasions.

[0064] Secondly, it should be noted that in the description of the embodiments of the present application, the terms indicating the direction or position relationship of the terms "in", "out" and the like are based on the direction or position relationship shown in the drawings, which is only for the convenience of description, and does not indicate or imply that the device or component must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.

[0065] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0066] The technical solutions provided by the embodiments of the present application can be applied to the control scene of electronic equipment, especially the control of the power consumption of the video acquisition equipment. The existing video acquisition equipment is mainly powered by connecting a power supply, or installing a fixed power supply.

[0067] However, the video acquisition equipment may exist in the case of not needing to run, the power supply method of the existing video acquisition equipment, the video acquisition equipment is always in running state, which may cause waste of power, and the video acquisition equipment with fixed power supply may need the user to frequently replace the fixed power supply or charge the fixed power supply, thereby reducing the user experience.

[0068] In order to solve the problem of waste of power caused by the power supply method of the existing video acquisition equipment and poor user experience, two different chips can be installed in the video acquisition equipment. One chip is used to establish a communication connection with a service server, and is used to transmit instructions and data collected by the video acquisition equipment. Another chip is used to connect with a hibernation server, so that when the video acquisition equipment does not need to collect data, the video acquisition equipment is controlled to enter a hibernation state, the video acquisition equipment can be controlled, thereby saving the power consumption of the video acquisition equipment and improving the user experience.

[0069] Among them, the service server and the hibernation server can be the same server, or different servers, and the embodiments of the present application do not make any limitation.

[0070] Figure 1This is a schematic diagram illustrating an application scenario of a control method for a video acquisition device provided in an embodiment of the present invention. According to... Figure 1 As shown, the terminal device can request data from the service server, that is, request to obtain the video captured by the video capture device A. According to the information of the request data sent by the terminal device, the service server sends a video capture request to the video capture device A, so that the video capture device can capture real-time video and send the captured real-time video to the service server, so that the service server can send the captured real-time video to the terminal device, so that the user can watch the real-time video captured by the video capture device A on the terminal device.

[0071] exist Figure 1 In the video acquisition device A, there are a first chip and a second chip. When the video acquisition device A acquires real-time video, it communicates with the business server through the first chip so that the video acquisition device A can receive video acquisition requests sent by the business server and send the acquired real-time video to the business server.

[0072] Understandably, the business server stores information about multiple video capture devices so that terminal devices can choose which device's live video to watch. Users... Figure 1 When a user is viewing real-time video captured by video capture device A on a terminal device, in one possible implementation, the user might want to view real-time video captured by any other video capture device besides video capture device A for some reason. In this case, the terminal device no longer requests data from the service server, meaning the service server no longer sends video capture requests to video capture device A. If video capture device A does not receive a video capture request from the service server within a certain period, it can control the first chip to disconnect from the service server and control the second chip to connect to the hibernation server, causing video capture device A to enter a hibernation state. This allows video capture device A to operate in a low-power hibernation state when real-time video capture is not needed, effectively saving power. The connection between video capture device A and the hibernation server is a heartbeat connection to ensure that video capture device A can enter working mode at any time.

[0073] For example, when video acquisition device A is in sleep mode, if a terminal device requests real-time video acquired by video acquisition device A from the service server, the service server can send an activation command to the sleep server so that the sleep server can activate video acquisition device A and put it into working mode. That is, video acquisition device A disconnects the connection between the second chip and the sleep server and establishes a communication connection between the first chip and the service server, thereby sending the acquired real-time video to the service server.

[0074] The terminal device can be a mobile phone, a computer, or the like in an example. The video collection device can be a monitoring device, such as a network camera, a network video recorder (NVR), a digital video recorder (DVR), a television, or the like, or can be another device for collecting video. The hibernation server and the service server can be two servers or two different modules in the same server. The embodiments of the present application do not make any limitation in this regard.

[0075] The technical solution provided by the embodiments of the present application can be applied to a video collection device or a service server. The following will describe the application of the control method of the video collection device provided by the present application to the video collection device and the service server by means of specific embodiments. It can be understood that the following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in some embodiments.

[0076] Figure 2 FIG. 1 is a flowchart of a control method of a video collection device provided by an embodiment of the present application. The control method of the video collection device is applied to a video collection device and can be executed by software and / or hardware in the video collection device. For example, the hardware can be a control device of the video collection device, which can be a terminal or a processing chip in the terminal. Figure 2 The control method of the video collection device can include the following steps.

[0077] S201, receiving a stop instruction sent by a service server, the stop instruction being used to instruct the video collection device to stop sending information to the service server.

[0078] The stop instruction sent by the service server is sent after receiving an instruction sent by a terminal device, and the instruction sent by the terminal device is used to indicate that the terminal device no longer requests to acquire data collected by the video collection device. The terminal device is a device that is currently acquiring the data collected by the video collection device. The embodiments of the present application do not make any limitation on the instruction sent by the terminal device.

[0079] Before receiving the instruction for stopping sending information to the service server, the video collection device can receive a first data collection request sent by the service server, the first data collection request being sent by the service server when receiving a first network address request sent by the first terminal device, the first network address request being sent by the first terminal device after authenticating the service server and determining a target video collection device from a list of video collection devices sent by the service server, and the first network address request being used to request the service server to send a target network address corresponding to target data collected by the target video collection device to the first terminal device. The video collection device collects the target data according to the first data collection request and sends the target data to the service server, and the target data is used to instruct the service server to generate the target network address and send the target network address to the first terminal device, so that the first terminal device acquires the target data in the service server according to the target network address.

[0080] It can be understood that the target network address can be a uniform resource locator (URL), and the present application is only used as an example for illustration, but does not mean that the embodiments of the present application are limited to this.

[0081] For example, the first terminal device can interact with the service server only after authenticating the service server, and the service server can receive authentication information sent by the first terminal device, verify the authentication information, and interact with the first terminal device when the verification is passed. The process of authentication is not limited in the embodiments of the present application.

[0082] In the embodiments of the present application, the first data collection request sent by the service server is received, and the target data is collected according to the first data request, that is, the video collection device does not need to collect video when the first data collection request is not received, the working of the video collection device is controlled, the problem of power waste caused by the video collection device keeping working all the time is avoided, and the power consumption of the video collection device can be effectively reduced.

[0083] S202, according to the stop instruction, control the first chip to disconnect the communication connection with the service server, and control the second chip to establish a heartbeat connection with the sleep server.

[0084] For example, when the first chip is controlled to disconnect the communication connection with the service server and the second chip is controlled to establish the heartbeat connection with the hibernation server according to the stop instruction, the time interval between the current time and the time when the stop instruction is received can be determined; when the time interval is greater than a preset time interval, the first chip is controlled to disconnect the communication connection with the service server and the second chip is controlled to establish the heartbeat connection with the hibernation server. The preset time interval can be set according to specific conditions, and the embodiment of the application does not make any limitation on this.

[0085] It can be understood that when the heartbeat connection is established between the hibernation server and the second chip, the activity of the video acquisition device can be detected through the heartbeat alive detection mechanism, that is, the hibernation server sends a hibernation heartbeat to the video acquisition device at a fixed time frequency, so as to ensure that the video acquisition device can work at any time.

[0086] In the embodiment of the application, when the first data acquisition request sent by the service server cannot be received within the preset time interval, the second chip of the video acquisition device is controlled to establish the heartbeat connection with the hibernation server, which can effectively save the power consumption of the video acquisition device and ensure the activity of the video acquisition device.

[0087] S203, performing a hibernation operation, the hibernation operation indicating that the video acquisition device enters a hibernation state.

[0088] For example, when the video acquisition device is in the hibernation state, data acquisition is not required, which can reduce the power consumption of the video acquisition device.

[0089] For example, when the video acquisition device is in the hibernation state, an activation request sent by the hibernation server can be received, the activation request being sent by the hibernation server when an activation instruction of the service server is received; according to the activation request, the second chip is controlled to disconnect the heartbeat connection with the hibernation server, and the first chip is controlled to establish the communication connection with the service server.

[0090] According to the above Figure 1 As shown, the activation request is sent by the hibernation server when the activation instruction of the service server is received, and the activation instruction is sent by the hibernation server when the service server receives the data of the video acquisition sent by the terminal device. The embodiment of the application does not make any limitation on the specific process of sending the activation instruction.

[0091] In the embodiment of the present application, the video acquisition device can control the first chip to establish a communication connection with the service server according to the activation request sent by the dormant server, and then interact with the service server, for example, collect data according to the instruction of the service server, so that the state of the video acquisition can be changed according to the needs of the service server, thereby further saving the power consumption, avoiding the user from frequently replacing the power supply of the video acquisition device installed with the fixed power supply, and thereby improving the user experience.

[0092] Therefore, the control method of the video acquisition device provided by the embodiment of the present application is applied to the video acquisition device, receives the stop instruction sent by the service server, the stop instruction is used to instruct the video acquisition device to stop sending information to the service server, controls the first chip to disconnect the communication connection with the service server according to the stop instruction, and controls the second chip to establish a heartbeat connection with the dormant server; and performs the sleep operation, the sleep operation indicates that the video acquisition device enters the sleep state. The technical scheme provided by the embodiment of the present application can control the first chip to disconnect the communication connection with the service server according to the stop instruction sent by the service server, that is, not to collect data. And control the second chip to establish a heartbeat connection with the dormant server, enter the sleep state, can save the power consumption of the video acquisition device, and the heartbeat connection makes the video acquisition device can be awakened at any time, thereby improving the user experience.

[0093] Next, the control method of the video acquisition device is applied to the service server, and the technical scheme provided by the present application is described in detail. Figure 3 Another flowchart of the control method of the video acquisition device provided by the embodiment of the present application. The control method of the video acquisition device is applied to the service server, and can be executed by software and / or hardware devices in the service server, for example, the hardware device can be a control device of the video acquisition device, and the control device of the video acquisition device can be a terminal or a processing chip in the terminal. For example, please refer to Figure 3 The control method of the video acquisition device can include:

[0094] S301, when receiving the instruction of stopping collecting data sent by the first terminal device, sending a stop instruction to the target video acquisition device, the stop instruction is used to instruct the target video acquisition device to stop sending information to the service server.

[0095] In an example, before sending the stop instruction to the target video capture device, the service server can receive the identity authentication information sent by the first terminal device; perform identity authentication on the identity authentication information, and when the identity authentication is passed, send the video capture device list to the first terminal device; receive the first network address request sent by the first terminal device, the first network address request being used to request the service server to send, to the first terminal device, a target network address corresponding to the target data captured by the target video capture device determined by the first terminal device in the video capture device list; send the first data capture request to the target video capture device, and when receiving the target data sent by the target video capture device, generate the target network address corresponding to the target data. The target network address is sent to the first terminal device, and the target network address is used for the first terminal device to obtain the target data through the service server. It can be understood that the target data can be a video, a picture, or other data, and the embodiments of the application do not make any limitation on this.

[0096] In an example, after the first terminal device determines the target video capture device from the video capture device list, the first network address request sent by the first terminal device to the service server can be an identifier of the target video capture device, or other information indicating the target video capture device, and the embodiments of the application do not make any limitation on this.

[0097] In an example, when performing identity authentication on the identity authentication information sent by the first terminal device, there are various possible implementation manners, for example, the service server can store identity authentication information of a plurality of terminal devices, and therefore, the received identity authentication information can be compared with the stored identity authentication information, and if the received identity authentication information is consistent with the stored identity authentication information, it means that the identity authentication is passed. Or identity authentication is performed through other manners, and the embodiments of the application do not make any limitation on the specific method of identity authentication.

[0098] In the embodiments of the application, the service server can receive the first network address request sent by the first terminal device whose identity authentication is passed, and send the first data capture request to the target video capture device to obtain the target data captured by the target video capture device.

[0099] In an example, after the target network address corresponding to the target data is generated, the second network address request sent by the second terminal device can also be received, the second network address request being used to request the service server to send, to the second terminal device, the target network address corresponding to the target data captured by the target video capture device determined by the first terminal device in the video capture device list; and the target network address is sent to the second terminal device.

[0100] It can be understood that the second terminal device is a terminal device whose identity verification is passed, and the second network address request is determined by the second terminal device in the video collection device list sent by the service server. That is, the interaction process between the second terminal device and the service server before sending the second network address request is similar to the interaction process between the first terminal device and the service server, and details can be referred to the above description, which will not be repeated here.

[0101] In the embodiment of the application, after the service server generates the target network address, the target address can be sent to the second terminal device at the same time as being sent to the first terminal device, so that the time for generating the network address can be reduced, thereby improving the efficiency of the terminal device in acquiring the target data.

[0102] S302, when the communication connection with the target video collection device is disconnected, the sleep state of the target video collection device is recorded.

[0103] For example, the information of a plurality of video collection devices is stored in the service server, so that when the communication connection with the target video collection device is disconnected, the sleep state of the video collection device can be recorded. The information corresponding to the target video collection device can be marked to indicate that it is in the sleep state. The embodiment of the application does not make specific limitation on this.

[0104] For example, after the communication connection with the target video collection device is disconnected, the service server sends an activation instruction to the sleep server when receiving a third network address request sent by the first terminal device and / or the second terminal device, and the activation instruction is used to instruct the sleep server to send an activation request to the target collection device, and the activation request is used to instruct to establish a communication connection with the first chip of the target video collection device. It can be understood that the third network address request is the same as the first network address request and the second network address request, and all are requests for the target network address corresponding to the target data collected by the target video collection device.

[0105] In the embodiment of the application, by sending the activation instruction to the sleep server, the target video collection device in the sleep state can be activated, so that the service server and the target video collection device can re-establish the communication connection, so that the target video collection device can interact with the service server, and the state of the target video collection device can be flexibly controlled, thereby effectively saving the power consumption of the target video collection device.

[0106] It can be seen that the control method of the video acquisition device provided in the embodiment of the application, when applied to the service server, when the service server receives the instruction of stopping acquiring data sent by the first terminal device, sends a stop instruction to the target video acquisition device, the stop instruction is used to instruct the target video acquisition device to stop sending information to the service server; when the communication connection with the target video acquisition device is disconnected, records the sleep state of the target video acquisition device. When the instruction of stopping acquiring data sent by the first terminal device is received, the communication connection between the target video acquisition device and the service server can be controlled to be disconnected, and the sleep state of the target video acquisition device is recorded, so that flexible control of the video acquisition device is realized, thereby saving the power consumption of the video acquisition device and improving the user experience.

[0107] In order to facilitate understanding of the control method of the video acquisition device provided in the embodiment of the application, below, taking the interaction between the terminal device, the service server, the sleep server and the video acquisition device as an example, the technical solution provided in the embodiment of the application will be described in detail, and for details, refer to Figure 4 as shown, Figure 4 The flowchart of the method for controlling the video acquisition device to enter the sleep state provided in the embodiment of the application. According to Figure 4 as shown, the method for controlling the video acquisition device to enter the sleep state comprises:

[0108] S401, the terminal device logs in the service server, and sends identity authentication information to the service server, and the service server verifies the identity authentication information of the terminal device.

[0109] For example, the process of verifying the identity authentication information of the terminal device by the service server can refer to the description of the embodiment of the application described above, and the embodiment of the application will not be described here.

[0110] S402, the service server sends information of successful identity authentication and a video resource list to the terminal device, and the terminal device selects a path corresponding to a target video resource in the video resource list.

[0111] It can be understood that the video resource list can store video resources that can be provided by the service server and video acquisition devices corresponding to each video resource. The terminal device selects a path corresponding to a target video resource in the video resource list, that is, the user selects a video path where the target video resource is located through the terminal device according to the user's own demand, that is, selects a video acquisition device providing the video.

[0112] S403, the terminal device sends the path corresponding to the target video resource to the service server, and the service server determines the video acquisition device corresponding to the target video resource according to the received path.

[0113] S404, the service server sends a data collection request to the video collection device, and the video collection device collects a video stream according to the data collection request.

[0114] S405, the video collection device sends the collected video stream to the service server, and the service server generates a target network address corresponding to the video stream according to the obtained video stream.

[0115] In an example, the target network address can be a push stream URL or other forms, and the embodiments of the present application do not make specific limitations thereto.

[0116] S406, the service server sends the target network address to the terminal device, and the terminal device obtains the video stream in the service server according to the target network address.

[0117] S407, the terminal device sends information that the user stops watching the video to the service server.

[0118] S408, the service server sends information that the video stream is stopped to the video collection device. The video collection device stops collecting the video stream, and disconnects the communication connection with the service server after a fixed time without receiving the data collection request.

[0119] In an example, the fixed time can be set according to specific conditions, and the embodiments of the present application do not make any limitations thereto.

[0120] S409, the video collection device sends a request for disconnecting the communication connection to the service server, the service server disconnects the communication connection with the main chip of the video collection device, and records the state of the video collection device as a hibernation state.

[0121] S410, the video collection device sends a request for establishing a heartbeat connection to the hibernation server, and the hibernation chip of the video collection device establishes the heartbeat connection with the hibernation server, and the device enters the hibernation state.

[0122] According to Figure 4 As shown in the method for controlling the video collection device to enter the hibernation state provided by the embodiments of the present application, the chip of the video collection device is expanded to two, and the hibernation server is also expanded, so that when the user stops watching the video, that is, the terminal device no longer needs to obtain the video stream collected by the video collection device, the video collection device is controlled to enter the hibernation state and no longer collects the video, thereby effectively saving the power consumption of the video collection device. In addition, the video collection device, the service server, the hibernation server and the terminal device are independent of each other, which is convenient for technicians to develop and maintain in the later period, thereby improving the user experience.

[0123] Further, when the video acquisition device is in the sleep state, the video acquisition device can be woken up to continue to acquire the video stream, interact with the service server, and thus provide the video stream for the terminal device. Specifically, refer to Figure 5 as shown, Figure 5 A flowchart of a method for waking up a video acquisition device in a sleep state is provided for the embodiments of the present application. According to Figure 5 as shown, the method for waking up the video acquisition device in the sleep state can include:

[0124] S501, the terminal device logs in the service server and sends identity authentication information to the service server, and the service server verifies the identity authentication information of the terminal device.

[0125] S502, the service server sends information of successful identity authentication and a video resource list to the terminal device, and the terminal device selects a path corresponding to a target video resource in the video resource list.

[0126] S503, the terminal device sends the path corresponding to the target video resource to the service server,

[0127] S504, the service server determines the video acquisition device corresponding to the target video resource according to the received path, and sends an activation instruction to the sleep server when the video acquisition device is in the sleep state.

[0128] S505, the sleep server sends an activation request to the video acquisition device, and the sleep chip of the video acquisition device disconnects the heartbeat connection with the sleep server.

[0129] It can be understood that the sleep server also disconnects the heartbeat connection with the sleep chip of the video acquisition device.

[0130] S506, the video acquisition device sends a request for establishing a communication connection to the service server, and the service server establishes a communication connection with the main chip of the video acquisition device.

[0131] In summary, the method for waking up the video acquisition device in the sleep state provided by the present application can wake up the video acquisition device in the sleep state, make the video acquisition enter the working state, and thus ensure that the video acquisition device can enter the working state at any time.

[0132] Figure 6 A structural diagram of a control device 60 of a video acquisition device is provided for the embodiments of the present application. The control device of the video acquisition device is applied to the video acquisition device. For example, refer to Figure 6 as shown, the control device 60 of the video acquisition device can include:

[0133] The receiving module 601 is configured to receive a stop instruction sent by the service server, and the stop instruction is used to instruct the video collection device to stop sending information to the service server.

[0134] The control module 602 is configured to control the first chip of the video collection device to disconnect the communication connection with the service server and control the second chip of the video collection device to establish a heartbeat connection with the hibernation server according to the stop instruction.

[0135] The control module 602 is further configured to perform a hibernation operation, and the hibernation operation indicates that the video collection device enters a hibernation state.

[0136] Optionally, the control module 602 is specifically configured to determine a time interval between a current time and a time when the stop instruction is received, and control the first chip to disconnect the communication connection with the service server and control the second chip to establish the heartbeat connection with the hibernation server when the time interval is greater than a preset time interval.

[0137] Optionally, the receiving module 601 is further configured to receive an activation request sent by the hibernation server, and the activation request is sent by the hibernation server when an activation instruction sent by the service server is received, and control the second chip to disconnect the heartbeat connection with the hibernation server and control the first chip to establish the communication connection with the service server according to the activation request.

[0138] Optionally, the receiving module 601 is further configured to receive a first data collection request sent by the service server, and the first data collection request is sent by the service server when a first network address request sent by a first terminal device is received, and the first network address request is sent by the first terminal device after the first terminal device is authenticated by the service server and a target video collection device is determined from a video collection device list sent by the service server, and the first network address request is used to request the service server to send a target network address corresponding to target data collected by the target video collection device to the first terminal device.

[0139] The collection module 603 is configured to collect the target data according to the first data collection request and send the target data to the service server, and the target data is used to instruct the service server to generate the target network address and send the target network address to the first terminal device, so that the first terminal device acquires the target data in the service server according to the target network address.

[0140] The control device of the video collection device provided in the embodiment of the application can implement the technical solutions of the control method of the video collection device applied to the video collection device in any of the above-mentioned embodiments, and the implementation principles and beneficial effects thereof are similar to those of the control method of the video collection device, and can be referred to the implementation principles and beneficial effects of the control method of the video collection device, which will not be described herein again.

[0141] Figure 7 Another structural schematic diagram of the video acquisition device control apparatus 70 provided by the embodiment of the present application is shown in the figure, and the video acquisition device control apparatus is applied to a service server.

[0142] For example, please refer to Figure 7 As shown in the figure, the video acquisition device control apparatus 70 can include:

[0143] The sending module 701 is configured to send a stop instruction to the target video acquisition device, and the stop instruction is used to instruct the target video acquisition device to stop sending information to the service server.

[0144] The recording module 702 is configured to record the hibernation state of the video acquisition device when the communication connection with the target video acquisition device is disconnected.

[0145] Optionally, the apparatus further includes a processing module 703, which is configured to receive the identity authentication information sent by the first terminal device, perform identity authentication on the identity authentication information, and send the video acquisition device list to the first terminal device when the identity authentication is passed; and receive the first network address request sent by the first terminal device, and the first network address request is used to request the service server to send the target network address corresponding to the target data collected by the target video acquisition device to the first terminal device, and the target video acquisition device is determined by the first terminal device in the video acquisition device list.

[0146] The sending module 701 is further configured to send a first data collection request to the target video acquisition device, and when the target data sent by the target video acquisition device is received, generate the target network address corresponding to the target data; and send the target network address to the first terminal device, and the target network address is used for the first terminal device to acquire the target data through the service server.

[0147] Optionally, the processing module 703 is further configured to receive the second network address request sent by the second terminal device, and the second network address request is used to request the service server to send the target network address corresponding to the target data collected by the target video acquisition device to the second terminal device, and the target video acquisition device is determined by the first terminal device in the video acquisition device list.

[0148] The sending module 701 is further configured to send the target network address to the second terminal device.

[0149] Optionally, the sending module 701 is further configured to send an activation instruction to the hibernation server when the third network address request sent by the first terminal device and / or the second terminal device is accepted, and the activation instruction is used to instruct the hibernation server to send an activation request to the target acquisition device, and the activation request is used to instruct the first chip of the target video acquisition device to establish a communication connection.

[0150] The control device of the video acquisition device provided by the embodiments of the present application can implement the technical solutions of the control method of the video acquisition device applied to the service server in any of the above-mentioned embodiments, and has similar implementation principles and beneficial effects to the control method of the video acquisition device. For details, refer to the implementation principles and beneficial effects of the control method of the video acquisition device, which will not be described here again.

[0151] Figure 8 An electronic device structure diagram is provided by the present application. The electronic device can be used to implement the control method of the video acquisition device applied to the video acquisition device or the service server in any of the above-mentioned embodiments. As shown in the figure, the electronic device 800 can include at least one processor 801 and a memory 802. Figure 8

[0152] The memory 802 is used to store programs. Specifically, the programs can include program codes, and the program codes include computer operation instructions.

[0153] The memory 802 can include a high-speed RAM memory, and can also include a non-volatile memory such as at least one disk memory.

[0154] The processor 801 is used to execute the computer execution instructions stored in the memory 802, so as to implement the control method of the video acquisition device applied to the video acquisition device described in the above-mentioned method embodiments. The processor 801 can be a central processing unit (CPU) or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. Specifically, when implementing the control method of the video acquisition device applied to the video acquisition device described in the above-mentioned method embodiments, the electronic device can be a terminal, a server or other electronic devices with processing functions.

[0155] ​Optionally, the electronic device 800 can further include a communication interface 803. In a specific implementation, if the communication interface 803, the memory 802 and the processor 801 are independently implemented, the communication interface 803, the memory 802 and the processor 801 can be connected with each other through a bus and complete communication between each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0156] Optionally, in a specific implementation, if the communication interface 803, the memory 802 and the processor 801 are integrated on a chip, the communication interface 803, the memory 802 and the processor 801 can complete communication through an internal interface.

[0157] The application further provides a computer readable storage medium, which can include a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk and various storage program codes. Specifically, the computer readable storage medium stores program instructions, and the program instructions are used for the method in the above embodiments.

[0158] The application further provides a program product, which includes execution instructions stored in a readable storage medium. At least one processor of an electronic device can read the execution instructions from the readable storage medium, and the at least one processor executes the execution instructions to make the electronic device implement the control method of the video acquisition device applied to the video acquisition device provided by various embodiments.

[0159] The application further provides a program product, which includes execution instructions stored in a readable storage medium. At least one processor of an electronic device can read the execution instructions from the readable storage medium, and the at least one processor executes the execution instructions to make the electronic device implement the control method of the video acquisition device applied to the service server.

[0160] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit the present application; although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions recorded in the above embodiments can be modified, or some or all of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A control method of a video capturing apparatus, characterized by, The method is applied to a video collection device, and the video collection device comprises a first chip and a second chip. Receiving a first data collection request sent by a service server, and collecting target data according to the first data collection request; Receiving a stop instruction sent by the service server, the stop instruction being used for instructing the video collection device to stop sending information to the service server; If the first data collection request is not received within a preset time interval after the stop instruction is received, then according to the stop instruction, the first chip is controlled to disconnect the communication connection with the service server, and the second chip is controlled to establish a heartbeat connection with a hibernation server, so that the video collection device enters a hibernation state; Receiving an activation request sent by the hibernation server, the activation request being sent by the hibernation server when an activation instruction of the service server is received; According to the activation request, the second chip is controlled to disconnect the heartbeat connection with the hibernation server, and the first chip is controlled to establish a communication connection with the service server, so that the first chip transmits the data collected by the video collection device.

2. A control method of a video capturing apparatus, characterized by, The method is applied to a service server, and the method comprises the following steps: Sending a first data collection request to a target video collection device, the first data collection request being used for instructing the target video collection device to collect target data; When a stop instruction of collecting data is received by a first terminal device, the stop instruction is sent to the target video collection device, so that the target video collection device controls a first chip to disconnect a communication connection with the service server and controls a second chip to establish a heartbeat connection with a hibernation server according to the stop instruction, so that the target video collection device enters a hibernation state, if the first data collection request is not received within a preset time interval after the stop instruction is received; the stop instruction is used for instructing the target video collection device to stop sending information to the service server; the target video collection device comprises the first chip and the second chip; When the communication connection with the target video collection device is disconnected, the hibernation state of the target video collection device is recorded; When a network address request is received by a first terminal device and / or a second terminal device, an activation instruction is sent to the hibernation server, so that the hibernation server sends an activation request to the target video collection device, and then the target video collection device controls the second chip to disconnect the heartbeat connection with the hibernation server and controls the first chip to establish a communication connection with the service server according to the activation request, so that the first chip transmits the data collected by the target video collection device; wherein the activation instruction is used for instructing the hibernation server to send the activation request to the target video collection device, and the activation request is used for instructing the first chip of the target video collection device to establish a communication connection.

3. A control device of a video capturing apparatus, characterized by comprising: The method comprises the following steps: A receiving module is used for receiving a first data collection request sent by a service server; A collecting module is used for collecting target data according to the first data collection request; The receiving module is further configured to receive a stop instruction sent by the service server, the stop instruction being used to instruct the video collection device to stop sending information to the service server. The control module is configured to, in a case where the first data collection request is not received within a preset time interval after the stop instruction is received, control, according to the stop instruction, the first chip of the video collection device to disconnect the communication connection with the service server, and control the second chip of the video collection device to establish a heartbeat connection with the hibernation server, so that the video collection device enters a hibernation state. The receiving module is further configured to receive an activation request sent by the hibernation server, the activation request being sent by the hibernation server when the activation instruction of the service server is received. The control module is further configured to, according to the activation request, control the second chip to disconnect the heartbeat connection with the hibernation server, and control the first chip to establish a communication connection with the service server, so that the first chip transmits the data collected by the target video collection device.

4. A control device of a video capturing apparatus, characterized by comprising: Comprise: The sending module is configured to send a first data collection request to a target video collection device, the first data collection request being used to instruct the target video collection device to collect target data. The sending module is further configured to, when receiving a stop data acquisition instruction sent by the first terminal device, send a stop instruction to the target video collection device, so that, in a case where the first data collection request is not received within a preset time interval after the stop instruction is received, the target video collection device controls, according to the stop instruction, the first chip to disconnect the communication connection with the service server, and controls the second chip to establish a heartbeat connection with the hibernation server, so that the target video collection device enters a hibernation state; the stop instruction is used to instruct the target video collection device to stop sending information to the service server. The target video collection device comprises the first chip and the second chip. The recording module is configured to record the hibernation state of the target video collection device when the communication connection with the target video collection device is disconnected. The sending module is further configured to, when receiving a network address request sent by the first terminal device and / or the second terminal device, send an activation instruction to the hibernation server, so that the hibernation server sends an activation request to the target video collection device, and then the target video collection device controls, according to the activation request, the second chip to disconnect the heartbeat connection with the hibernation server, and controls the first chip to establish a communication connection with the service server, so that the first chip transmits the data collected by the target video collection device; wherein the activation instruction is used to instruct the hibernation server to send the activation request to the target video collection device, and the activation request is used to instruct the first chip of the target video collection device to establish a communication connection.

5. An electronic device comprising: A processor and a memory in communication connection with the processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory to implement the method of claim 1 or 2.

6. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method of claim 1 or 2.

7. A computer program product comprising a computer program, characterized in that, The computer program, when executed by a processor, implements the method of claim 1 or 2.

Citation Information

Patent Citations

  • Multimedia data processing method and device, electronic equipment and storage medium

    CN111629427A

  • Application starting method and device, storage medium and electronic equipment

    CN112988256A