CN117857653A - Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system - Google Patents

Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system Download PDF

Info

Publication number
CN117857653A
CN117857653A CN202311768990.9A CN202311768990A CN117857653A CN 117857653 A CN117857653 A CN 117857653A CN 202311768990 A CN202311768990 A CN 202311768990A CN 117857653 A CN117857653 A CN 117857653A
Authority
CN
China
Prior art keywords
video
equipment
iot
configuration
demand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311768990.9A
Other languages
Chinese (zh)
Inventor
宋杨
吴伟
郑戴卫
刘源
花京武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Diji Intelligent Technology Co ltd
Original Assignee
Hangzhou Diji Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Diji Intelligent Technology Co ltd filed Critical Hangzhou Diji Intelligent Technology Co ltd
Priority to CN202311768990.9A priority Critical patent/CN117857653A/en
Publication of CN117857653A publication Critical patent/CN117857653A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to a method for endowing video capability to an internet of things (IoT) device based on an operation system of the Internet of things, service application can carry out video enabling configuration through video configuration, after the configuration, the application does not need to be concerned about whether the device is IoT equipment or video equipment, after the enabling, all the enabled Iot devices have video capability, interfaces of all videos can be called for real-time monitoring, and the functions such as historical video playing and the like can greatly save development cost of the upper application. The video configuration method has the advantages that the video configuration is adopted to configure the Iot device where the corresponding video device is located, any Iot device is bound to the video device, all the capabilities of the video device are enabled to be provided, the device type of the video device is not required to be distinguished, the bound video device capability can be easily called only by directly passing through the device Id of the Iot device when video is required to be called on a service, development complexity of the service is greatly reduced, and unified maintenance and management of all the devices are facilitated.

Description

Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system
Technical Field
The disclosure relates to the technical field of internet of things, in particular to a universal video equipment access platform based on an internet of things operating system, a method for endowing video capability to an internet of things (IoT) device based on the internet of things operating system and electronic equipment.
Background
At present, in the scene of the internet of things, a general mode is not found at all times in the access of video equipment, and the reason is as follows:
the access mode of the IOT device in the internet of things scene is different from the access mode of the video device, and the video device cannot be accessed in the mode of accessing the IOT device:
the data accessed by the Iot device is discrete data (attribute information of the device at a certain moment), and the access of the video device is mostly streaming data (video stream);
the access protocol of the Iot device is mostly MQTT protocol, which provides better support for the weak network environment, and the protocol of the video device is more widely, including SIP protocol, onvif protocol, RTSP protocol, RTMP protocol, HLS protocol, etc.
Although protocols of all video platform manufacturers follow national standard protocols (GB/T28181), proprietary protocols still exist, so that video equipment cannot be connected according to a unified protocol, and unified scheduling and video enabling application cannot be performed on video equipment supporting different protocols.
Therefore, in the field of the internet of things, the Iot device and the video device are often accessed and processed respectively due to the difference of protocols and the like, and when the service logic is realized based on the upper application of the device access, the distinction processing is needed, so that the complexity of developing the service logic is brought, and meanwhile, the unified maintenance and management of all Iot video devices are not facilitated.
Disclosure of Invention
In order to solve the problems, the application provides a universal video device access platform based on an internet of things operating system, a method for endowing video capability to an internet of things (IoT) device based on the internet of things operating system and an electronic device.
In one aspect of the present application, a universal video device access platform based on an operating system of the internet of things is provided, including:
the video configuration is used for connecting different video platforms in a plug-in mode, synchronizing video equipment accessed to the video platforms as the Iot equipment to equipment integration, and binding the plug-in, the video platforms and the equipment ids of the Iot equipment accessed to the video platforms;
the device integration is used for centrally managing the device ids of the ion devices;
the business application is used for calling the device id of the corresponding Iot device from the device integration, calling the plug-in the video configuration through the device id of the Iot device, and realizing video operation on the corresponding Iot device by utilizing the called plug-in;
the video configuration is in integrated communication connection with the device;
and the service application is respectively in integrated communication connection with the video configuration and the equipment.
As an optional implementation of the present application, optionally, the video configuration includes:
database, cache, file storage services: providing basic services for system operation;
task center: providing a timed task service;
configuration center: providing configuration management, including configuration services of video downloading number, wheel display group and monitoring scene;
plug-in center: providing a management plug-in and a dynamic loading plug-in;
streaming media service: providing streaming media services including real-time streaming acquisition, historical video acquisition and historical video downloading;
and (3) device management: providing a service for managing video devices and synchronizing the video devices to device integration;
device binding video: providing a service for enabling video capability for IOT devices;
message gateway: and providing alarm information of the video equipment in the unified collection platform and synchronizing the alarm information to the equipment integrated service.
As an optional implementation of the present application, optionally, the video configuration is further used for:
configuring the binding of the non-video equipment and the video equipment;
the method comprises the steps of,
the binding relationship is stored in its own database.
As an optional implementation of the present application, optionally, the video configuration is further used for:
and adding a video tag for the Iot device where the non-video device is located in the device integration in an interface calling mode, wherein the video tag is used for distinguishing the Iot device with video capability from the Iot device without video capability.
As an optional embodiment of the present application, optionally, the service application is further configured to:
acquiring a device list of all the Iot devices from the device integration in an interface calling mode;
the method comprises the steps of,
traversing the device tags of each Iot device in the device list, and judging whether the device tags contain the video tag or not:
if yes, adding an on-demand button to the Iot device containing the video tag, and taking the Iot device as the on-demand video device;
otherwise, giving up.
As an optional embodiment of the present application, optionally, the service application is further configured to:
when the user performs the video-on-demand, clicking a video-on-demand button, and sending a request for requesting the video-on-demand equipment to the video configuration.
As an optional implementation of the present application, optionally, the video configuration is further used for:
responding to the request of on-demand sent by the service application:
according to the device ID of the video-on-demand device, associating and identifying the video device ID bound with the video-on-demand device;
and acquiring the stream address of the corresponding video equipment according to the video equipment ID, and feeding back the stream address to the service application.
As an optional embodiment of the present application, optionally, the service application is further configured to:
and receiving the stream address, and requesting according to the stream address.
In another aspect of the present application, a method for imparting video capability to IoT devices based on an internet of things operating system is provided, implemented by means of a universal video device access platform based on the internet of things operating system, comprising the following steps:
and (3) carrying out plug-in configuration:
correspondingly adding plug-ins connected with each video platform, binding the plug-ins with the corresponding video platform, and binding the device ids of the video devices accessed by each video platform with the plug-ins;
the video equipment is connected to the video platform through a protocol;
the video configuration is connected with different video platforms by a plug-in mode;
the video configuration synchronizes the video equipment through the plug-in unit, and synchronizes the video equipment as the Iot equipment to the equipment integration;
the service application acquires all video equipment information through calling an OpenAPI interface integrated by equipment, wherein the information contains video equipment id;
the service application calls a plug-in of video configuration through the video equipment id, acquires and plays the real-time video stream address of the corresponding video equipment to perform on-demand configuration:
the user configures the binding between the non-video equipment and the video equipment through the video configuration, and stores the binding relation in a database of the user;
after binding is finished, adding a video tag for the Iot device where the non-video device is located in the device integration in the mode of calling the video configuration through an interface;
and (5) on-demand sowing:
controlling the service application, and acquiring a device list of all the Iot devices from the device integration in an interface calling mode;
traversing the device tags of each Iot device in the device list, and judging whether the device tags contain the video tag or not:
if yes, adding an on-demand button to the Iot device containing the video tag, and taking the Iot device as the on-demand video device;
otherwise, giving up;
when a user performs on-demand, clicking an on-demand button on the service application, and sending a request for on-demand video equipment to the video configuration;
the video configuration responds to the request of on-demand sent by the service application:
according to the device ID of the video-on-demand device, associating and identifying the video device ID bound with the video-on-demand device;
acquiring a stream address of corresponding video equipment according to the video equipment ID, and feeding back the stream address to the service application;
and the service application receives the stream address and performs on-demand according to the stream address.
In another aspect of the present application, an electronic device is further provided, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of imparting video capabilities to IoT devices based on an internet of things operating system when executing the executable instructions.
The invention has the technical effects that:
the service application can carry out video enabling configuration through video configuration, after the configuration, the upper application does not need to care whether equipment is Iot equipment or video equipment, after the enabling, all the enabled Iot equipment has video capability, all video interfaces can be called for real-time monitoring, the development cost of the upper application can be greatly saved through functions such as historical video playing, and functions such as alarm linkage and video linkage can be better realized. The video configuration is carried out on the Iot equipment where the corresponding video equipment is located through the video configuration, the capability of the video configuration is expanded, any Iot equipment can be bound to the video equipment in a configuration mode, the video equipment is enabled to have all the capabilities of the video equipment, then the upper application does not need to distinguish equipment types, the bound video equipment capability can be easily called only by directly passing through the equipment Id of the Iot equipment when video is required to be called on a service, the development complexity of the upper service is greatly reduced, and unified maintenance and management of all the equipment are facilitated.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features and aspects of the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a schematic technical architecture of a general video device access platform based on an operating system of the internet of things according to the present invention;
FIG. 2 is a schematic diagram of a video configuration of the present invention;
FIG. 3 shows a schematic flow chart of the implementation of the method of the present invention;
fig. 4 shows a schematic application diagram of the electronic device of the invention.
Detailed Description
Various exemplary embodiments, features and aspects of the disclosure will be described in detail below with reference to the drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
In addition, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, well known means, elements, and circuits have not been described in detail so as not to obscure the present disclosure.
Term interpretation:
IPC: and a network camera.
NVR: network hard disk recorders, network cameras and network hard disk recorders may be collectively referred to as video devices.
According to the scheme, the video equipment can be IPC or NVR, each video equipment can be used as one Iot equipment and added into the Internet of things network.
The method for imparting video capability to IoT devices needs to be implemented by relying on a general-purpose video device access platform (already filed) based on the internet of things operating system provided in the following embodiment 1, and therefore, the architecture and principles of the general-purpose video device access platform based on the internet of things operating system are described herein first.
Example 1
As shown in fig. 1, in one aspect, the present application proposes a universal video device access platform based on an operating system of the internet of things, including:
the video configuration is used for connecting different video platforms in a plug-in mode, synchronizing video equipment accessed to the video platforms as the Iot equipment to equipment integration, and binding the plug-in, the video platforms and the equipment ids of the Iot equipment accessed to the video platforms;
the device integration is used for centrally managing the device ids of the ion devices;
the business application is used for calling the device id of the corresponding Iot device from the device integration, calling the plug-in the video configuration through the device id of the Iot device, and realizing video operation on the corresponding Iot device by utilizing the called plug-in;
the video configuration is in integrated communication connection with the device;
and the service application is respectively in integrated communication connection with the video configuration and the equipment.
In the scene of the internet of things, the access of video equipment always has an access scheme which cannot be flexible and unified: or, the video devices are accessed one by one in a driving mode according to the access mode of the Iot device, and the self-registration of the devices cannot be achieved in the mode; or the video equipment is accessed as a platform alone, and the purpose of unified management of the video equipment and the Iot equipment cannot be achieved in the mode.
For the up-service, the device integration is the portal for all internet of things devices (IoT devices), and all devices (including video devices) are queried through the device integration, so that unification can be achieved. And the video configuration is directly inquired, so that the unification is not realized, and the value of the operation system of the Internet of things is weakened.
Therefore, the interfaces of the IoT devices (including the device ids) are synchronized to the "device integration", instead of directly reporting the "IoT device ids" to the service application directly through the "video configuration" (mainly because of the protocol mismatch), which is equivalent to the device integration providing the interface conversion function to realize the unified query and management of all the internet of things devices.
According to the technical scheme, in order to solve the technical problem, the video equipment is mainly connected to the Internet of things operating system and is uniformly managed with the Iot equipment by adopting the mode of docking the video platform through the plug-in, so that the universal method for connecting the video equipment in the Internet of things scene is solved, and the heterogeneous video equipment connection problem is solved.
The heterogeneous different video platforms are connected in a plug-in mode, protocol differences of the video platforms are smoothed, a unified interface is provided for the upper business application, the video equipment and the Iot equipment are processed in a unified mode, and development cost of the upper business is reduced.
The invention is developed based on IsyscoreOS (instruction set Internet of things operating system).
In the scene of the internet of things, the scenes aimed by the video equipment are different. Therefore, the Internet of things protocol used by the adopted IOT equipment is different. For example, in office areas, in other indoor and outdoor monitoring, different video data needs to be collected, and there may be a difference in data format. The accessed video devices may not be unified into an upper obligation call because of protocol mismatch.
According to the scheme, through the video configuration plug-in, the interface of video configuration to each video platform is completed.
The interface conversion of each video platform is realized by deploying equipment integration and video configuration on an operation system of the Internet of things. The video configuration is in butt joint with each video platform in a plug-in mode, and video data streams of each video platform are accessed and uniformly deployed into the equipment integration through the plug-in. And the service application acquires and plays the corresponding real-time video stream according to the called interface plug-in by an interface calling mode so as to solve the problem of data non-uniformity caused by heterogeneous video access.
In the scheme, the required plug-ins can be selected differently according to the protocols of heterogeneous video equipment, and the plug-ins can be used according to user definition and selection by means of the plug-ins.
The design scheme of the plug-in is solved, designed and applied by the user, and the embodiment is not limited.
In operation, the video configuration and the device integration are both deployed on an instruction set internet of things operating system, isyscoreOS.
And the video configuration and the equipment integration are communicated with the business application by adopting an Open API interface. And an Open API interface is configured and adopted on the system to realize communication with the business application terminal.
After the plug-in is configured, the plug-in connected with each video platform can bind the plug-in with the corresponding video platform, and also can bind the device id of each video device accessed by each video platform with the plug-in. And the corresponding plug-in unit is associated and bound with the corresponding video platform and each IOT video device accessed to the video platform.
The subsequent user can call the plug-in of the video configuration through the video equipment id by a service application terminal in an interface call mode, and perform video equipment operations such as real-time video stream address acquisition, playing and the like of the corresponding video equipment.
The specific operation is as follows:
the video equipment is connected to a video platform (national standard platform/private platform) through a protocol (national standard/private protocol);
the video configuration is connected with different video platforms by a plug-in mode;
the video configuration synchronizes the video equipment through the plug-in unit, and synchronizes the video equipment as the Iot equipment to the equipment integration;
the business application acquires information of all video equipment (including video equipment) through calling an OpenAPI interface integrated by the equipment, wherein the information contains video equipment id;
and the service application calls the plug-in of the video configuration through the video equipment id to perform video equipment operations such as real-time video stream address acquisition, playing and the like of the corresponding video equipment.
The video configuration and the equipment integration are both deployed on an instruction set Internet of things operating system-IsyscoreOS.
The service application can be APP or applet or other terminal application, can log in the system, enter video configuration for configuration and management.
As shown in fig. 2, as an alternative embodiment of the present application, optionally, the video configuration includes:
database, cache, file storage services: providing basic services for system operation;
task center: providing a timed task service;
configuration center: providing configuration management, including configuration services of video downloading number, wheel display group and monitoring scene;
plug-in center: providing a management plug-in and a dynamic loading plug-in;
streaming media service: providing streaming media services including real-time streaming acquisition, historical video acquisition and historical video downloading;
and (3) device management: providing a service for managing video devices and synchronizing the video devices to device integration;
device binding video: providing a service for enabling video capability for IOT devices;
message gateway: and providing alarm information of the video equipment in the unified collection platform and synchronizing the alarm information to the equipment integrated service.
The video configuration is provided with storage services, management center services, data interfacing (API), and the like. The storage service mainly provides database cache and file storage and provides basic service for the system. The accessed information and video data can be stored, and various plug-ins can be stored at the same time.
When the plug-in connection and configuration are performed, a user can enter a video configuration, select a corresponding plug-in from stored plug-ins and perform plug-in configuration.
For different video platforms, a user can select a corresponding plug-in for plug-in configuration through a communication protocol and a file format supported by corresponding video equipment, and the plug-in configuration is connected with the video platform. The corresponding plug-in can be selected from the plug-ins stored in the database through the plug-in center, the plug-ins are dynamically loaded, and the loaded plug-ins are used for connecting the corresponding video platforms.
The user can also manage the plug-in according to the running state of the internet of things video device, such as deleting the plug-in, so as to disconnect the connection with the video platform, or add the plug-in, etc.
The respective functions of the video configuration are understood in conjunction with those of embodiment 2.
In the scheme, the user can also realize the video capability for the Iot device by using the platform.
Specific:
the service application can carry out video enabling configuration (mainly video on demand configuration) through video configuration, after the configuration, the application does not need to care whether the equipment is Iot equipment or video equipment, after the enabling, all the enabled Iot equipment has video capability, can call all video interfaces to carry out real-time monitoring, historical video playing and other functions, can greatly save development cost of the application, and can better realize functions of alarm linkage, video linkage and the like.
The video configuration is carried out on the Iot equipment where the corresponding video equipment is located through the video configuration, the capability of the video configuration is expanded, any Iot equipment can be bound to the video equipment in a configuration mode, the video equipment is enabled to have all the capabilities of the video equipment, then the upper application does not need to distinguish equipment types, the bound video equipment capability can be easily called only by directly passing through the equipment Id of the Iot equipment when video is required to be called on a service, the development complexity of the upper service is greatly reduced, and unified maintenance and management of all the equipment are facilitated.
The ability of video configuration, business applications and devices to integrate into a specific "video enabled" operation (as will be understood in conjunction with fig. 3) is described below.
As an optional implementation of the present application, optionally, the video configuration is further used for:
configuring the binding of the non-video equipment and the video equipment;
the method comprises the steps of,
the binding relationship is stored in its own database.
As an optional implementation of the present application, optionally, the video configuration is further used for:
and adding a video tag for the Iot device where the non-video device is located in the device integration in an interface calling mode, wherein the video tag is used for distinguishing the Iot device with video capability from the Iot device without video capability.
As an optional embodiment of the present application, optionally, the service application is further configured to:
acquiring a device list of all the Iot devices from the device integration in an interface calling mode;
the method comprises the steps of,
traversing the device tags of each Iot device in the device list, and judging whether the device tags contain the video tag or not:
if yes, adding an on-demand button to the Iot device containing the video tag, and taking the Iot device as the on-demand video device;
otherwise, giving up.
As an optional embodiment of the present application, optionally, the service application is further configured to:
when the user performs the video-on-demand, clicking a video-on-demand button, and sending a request for requesting the video-on-demand equipment to the video configuration.
As an optional implementation of the present application, optionally, the video configuration is further used for:
responding to the request of on-demand sent by the service application:
according to the device ID of the video-on-demand device, associating and identifying the video device ID bound with the video-on-demand device;
and acquiring the stream address of the corresponding video equipment according to the video equipment ID, and feeding back the stream address to the service application.
As an optional embodiment of the present application, optionally, the service application is further configured to:
and receiving the stream address, and requesting according to the stream address.
The specific on-demand process by utilizing the main bodies is shown as follows:
1. as shown in fig. 3, when a user performs on-demand deployment (video device enabling) through a service application, a common device needs to be bound to a camera in a video configuration (namely, non-video devices and video devices are distinguished, wherein the non-video devices refer to specific video devices designated/suspended by the user and video devices used for realizing special behavior monitoring, such as an on-demand IoT device, and the video devices refer to conventional monitored IoT video devices);
2. the video configuration stores the binding relation in a database of the video configuration;
3. the video configuration is carried out by calling the bound equipment through an interface, and in the application of equipment integration, the Iot equipment (mainly non-video equipment) is added with a video tag, and the purpose of the video tag is to identify which Iot equipment has video capability (such as Iot equipment needing to be requested) and which Iot equipment does not have the designated video capability, and meanwhile, whether the equipment has video capability or not can be quickly identified after equipment information is acquired for the business application;
4. when on-demand is carried out, the service application is carried out, and the information of all the Iot devices is obtained in an interface calling mode, wherein the information comprises labels; specifically, firstly acquiring a device list of all the IoT devices, traversing each device label (original factory label) in the list in a traversing manner, judging whether the IoT device marked with a video label exists, if so, adding the device as an on-demand device, and adding an on-demand button for subsequent on-demand of a user; there are several, several are added, and the subsequent user can select the required on-demand button through screening. If so, the user can click the plurality of on-demand buttons in sequence, and the on-demand videos are distributed and played on a large screen of the service application in an interface calling mode. Correspondingly, the video configuration needs to address the video device IDs of the video-on-demand videos at the same time, find the corresponding stream addresses respectively, and send the stream addresses to the service application to play the video streams of the video-on-demand stream addresses. The effect of multi-site broadcasting is realized.
5. And (3) applying the service, identifying that the equipment has video capability through the identification tag, and calling all video capability interfaces of the video configuration directly through the equipment ID of the Iot equipment according to the service requirement when the service is required.
6. The video configuration provides the capability of all the binding video devices for the service application according to the device Id of the Iot device, so that the service application can call the device ID of the Iot device without perception (namely, the upper application can call all the video capabilities of the binding video devices through the device ID of the Iot device, and the service can be called according to the needs of the upper application).
Therefore, the video processing method and the video processing device can enable the Iot device to be endowed with video capability in the scene of the Internet of things.
It should be apparent to those skilled in the art that implementing all or part of the above-described embodiments may be accomplished by computer programs to instruct related hardware, and the programs may be stored in a computer readable storage medium, which when executed may include the processes of the embodiments of the controls described above. It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiments may be accomplished by computer programs to instruct related hardware, and the programs may be stored in a computer readable storage medium, which when executed may include the processes of the embodiments of the controls described above. The storage medium may be a magnetic disk, an optical disc, a Read-only memory (ROM), a random access memory (RandomAccessMemory, RAM), a flash memory (flash memory), a hard disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Example 2
Based on the implementation principle of embodiment 1, another aspect of the present application provides a method for imparting video capability to IoT devices based on an internet of things operating system, implemented by relying on a universal video device access platform based on the internet of things operating system, comprising the following steps:
and (3) performing on-demand configuration:
the user configures the binding between the non-video equipment and the video equipment through the video configuration, and stores the binding relation in a database of the user;
after binding is finished, adding a video tag for the Iot device where the non-video device is located in the device integration in the mode of calling the video configuration through an interface;
and (5) on-demand sowing:
controlling the service application, and acquiring a device list of all the Iot devices from the device integration in an interface calling mode;
traversing the device tags of each Iot device in the device list, and judging whether the device tags contain the video tag or not:
if yes, adding an on-demand button to the Iot device containing the video tag, and taking the Iot device as the on-demand video device;
otherwise, giving up;
when a user performs on-demand, clicking an on-demand button on the service application, and sending a request for on-demand video equipment to the video configuration;
the video configuration responds to the request of on-demand sent by the service application:
according to the device ID of the video-on-demand device, associating and identifying the video device ID bound with the video-on-demand device;
acquiring a stream address of corresponding video equipment according to the video equipment ID, and feeding back the stream address to the service application;
and the service application receives the stream address and performs on-demand according to the stream address.
For the above method, please refer to the description in example 1.
The modules or steps of the invention described above may be implemented in a general-purpose computing device, they may be centralized in a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by a computing device, such that they may be stored in a memory device and executed by a computing device, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
Example 3
As shown in fig. 4, in another aspect, the present application further provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of imparting video capabilities to IoT devices based on an internet of things operating system when executing the executable instructions.
Embodiments of the present disclosure provide for an electronic device that includes a processor and a memory for storing processor-executable instructions. Wherein the processor is configured to implement any of the methods described above for imparting video capabilities to IoT devices based on an internet of things operating system when executing the executable instructions.
Here, it should be noted that the number of processors may be one or more. Meanwhile, in the electronic device of the embodiment of the disclosure, an input device and an output device may be further included. The processor, the memory, the input device, and the output device may be connected by a bus, or may be connected by other means, which is not specifically limited herein.
The memory is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and various modules, such as: a program or module corresponding to a method for imparting video capability to IoT devices based on an internet of things operating system in an embodiment of the present disclosure. The processor executes various functional applications and data processing of the electronic device by running software programs or modules stored in the memory.
The input device may be used to receive an input number or signal. Wherein the signal may be a key signal generated in connection with user settings of the device/terminal/server and function control. The output means may comprise a display device such as a display screen.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvement of the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. The method for endowing the video capability to the IoT device based on the internet of things operating system is characterized by being implemented by depending on a universal video device access platform based on the internet of things operating system, and comprises the following steps:
and (3) performing on-demand configuration:
the user configures the binding between the non-video equipment and the video equipment through the video configuration, and stores the binding relation in a database of the user;
after binding is finished, adding a video tag for the Iot device where the non-video device is located in the device integration in the mode of calling the video configuration through an interface;
and (5) on-demand sowing:
controlling the service application, and acquiring a device list of all the Iot devices from the device integration in an interface calling mode;
traversing the device tags of each Iot device in the device list, and judging whether the device tags contain the video tag or not:
if yes, adding an on-demand button to the Iot device containing the video tag, and taking the Iot device as the on-demand video device;
otherwise, giving up;
when a user performs on-demand, clicking an on-demand button on the service application, and sending a request for on-demand video equipment to the video configuration;
the video configuration responds to the request of on-demand sent by the service application:
according to the device ID of the video-on-demand device, associating and identifying the video device ID bound with the video-on-demand device;
acquiring a stream address of corresponding video equipment according to the video equipment ID, and feeding back the stream address to the service application;
the service application receives the stream address and performs on-demand broadcasting according to the stream address;
the universal video equipment access platform based on the Internet of things operating system comprises:
the video configuration is used for connecting different video platforms in a plug-in mode, synchronizing video equipment accessed to the video platforms as the Iot equipment to equipment integration, and binding the plug-in, the video platforms and the equipment ids of the Iot equipment accessed to the video platforms;
the device integration is used for centrally managing the device ids of the ion devices;
the business application is used for calling the device id of the corresponding Iot device from the device integration, calling the plug-in the video configuration through the device id of the Iot device, and realizing video operation on the corresponding Iot device by utilizing the called plug-in;
the video configuration is in integrated communication connection with the device;
and the service application is respectively in integrated communication connection with the video configuration and the equipment.
2. The method of assigning video capabilities to IoT devices based on the internet of things operating system of claim 1, further comprising, prior to ordering:
and (3) carrying out plug-in configuration:
correspondingly adding plug-ins connected with each video platform, binding the plug-ins with the corresponding video platform, and binding the device ids of the video devices accessed by each video platform with the plug-ins;
the video equipment is connected to the video platform through a protocol;
the video configuration is connected with different video platforms by a plug-in mode;
the video configuration synchronizes the video equipment through the plug-in unit, and synchronizes the video equipment as the Iot equipment to the equipment integration;
the service application acquires all video equipment information through calling an OpenAPI interface integrated by equipment, wherein the information contains video equipment id;
and the service application calls the plug-in of the video configuration through the video equipment id to acquire and play the real-time video stream address of the corresponding video equipment.
3. The method of assigning video capabilities to IoT devices based on the internet of things operating system of claim 2, wherein the video configuration comprises:
database, cache, file storage services: providing basic services for system operation;
task center: providing a timed task service;
configuration center: providing configuration management, including configuration services of video downloading number, wheel display group and monitoring scene;
plug-in center: providing a management plug-in and a dynamic loading plug-in;
streaming media service: providing streaming media services including real-time streaming acquisition, historical video acquisition and historical video downloading;
and (3) device management: providing a service for managing video devices and synchronizing the video devices to device integration;
device binding video: providing a service for enabling video capability for IOT devices;
message gateway: and providing alarm information of the video equipment in the unified collection platform and synchronizing the alarm information to the equipment integrated service.
4. The method of assigning video capabilities to IoT devices based on the internet of things operating system of claim 2, wherein the video configuration is further to:
configuring the binding of the non-video equipment and the video equipment;
the method comprises the steps of,
the binding relationship is stored in its own database.
5. The method of assigning video capabilities to IoT devices based on the internet of things operating system of claim 2, wherein the video configuration is further to:
and adding a video tag for the Iot device where the non-video device is located in the device integration in an interface calling mode, wherein the video tag is used for distinguishing the Iot device with video capability from the Iot device without video capability.
6. The method of assigning video capabilities to IoT devices based on the internet of things operating system of claim 5, wherein the business application is further to:
acquiring a device list of all the Iot devices from the device integration in an interface calling mode;
the method comprises the steps of,
traversing the device tags of each Iot device in the device list, and judging whether the device tags contain the video tag or not:
if yes, adding an on-demand button to the Iot device containing the video tag, and taking the Iot device as the on-demand video device;
otherwise, giving up.
7. The method of assigning video capabilities to IoT devices based on the internet of things operating system of claim 6, wherein the business application is further to:
when the user performs the video-on-demand, clicking a video-on-demand button, and sending a request for requesting the video-on-demand equipment to the video configuration.
8. The method of assigning video capabilities to IoT devices based on the internet of things operating system of claim 7, wherein the video configuration is further to:
responding to the request of on-demand sent by the service application:
according to the device ID of the video-on-demand device, associating and identifying the video device ID bound with the video-on-demand device;
and acquiring the stream address of the corresponding video equipment according to the video equipment ID, and feeding back the stream address to the service application.
9. The method of assigning video capabilities to IoT devices based on the internet of things operating system of claim 8, wherein the business application is further to:
and receiving the stream address, and requesting according to the stream address.
10. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of claim 9 of imparting video capabilities to IoT devices based on an internet of things operating system when executing the executable instructions.
CN202311768990.9A 2023-12-21 2023-12-21 Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system Pending CN117857653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311768990.9A CN117857653A (en) 2023-12-21 2023-12-21 Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311768990.9A CN117857653A (en) 2023-12-21 2023-12-21 Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system

Publications (1)

Publication Number Publication Date
CN117857653A true CN117857653A (en) 2024-04-09

Family

ID=90541299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311768990.9A Pending CN117857653A (en) 2023-12-21 2023-12-21 Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system

Country Status (1)

Country Link
CN (1) CN117857653A (en)

Similar Documents

Publication Publication Date Title
CN109168021B (en) Plug flow method and device
US10516856B2 (en) Network video recorder cluster and method of operation
WO2021185302A1 (en) Live streaming and configuration method based on cloud phones, and related apparatus and system
CN106572139B (en) Multi-terminal control method, terminal, server and system
CA2987758C (en) Systems and methods for relating configuration data to ip cameras
CN113347477B (en) Method, device and system for sharing camera by multiple applications
CN103491122A (en) Multiple screen display interactive system and airsharing method
US11044343B2 (en) Method and apparatus for serving and managing storage of data streams in a surveillance and/or monitoring system
CN112379963B (en) Remote application window control method and device and computer equipment
CN111105521A (en) Data reading method and device
CN113938640A (en) Selective use of cameras in a distributed surveillance system
CN104053045A (en) Display device and share control method thereof
CN105589705A (en) File updating method and device, and equipment
US8544034B2 (en) Method and system for automated monitoring of video assets
CN104780408A (en) Smart television control method and system based on smart terminal
US20200021862A1 (en) Multimedia streaming and routing apparatus and operation method of the same
CN1666468A (en) Method for establishing a default connection in network, and associated source and sink devices
CN117857653A (en) Method for endowing video capability to internet of things (IoT) device based on Internet of things operating system
CN117749901A (en) General video equipment access platform based on Internet of things operating system and application method thereof
CN117768552A (en) General monitoring video history video downloading method based on Internet of things operating system
CN112596752B (en) Internet of things method and system for electronic evidence obtaining equipment
CN112052377A (en) Resource recommendation method, device, server and storage medium
CN114827690B (en) Network resource display method, device and system
CN112911386B (en) Material processing method, device, electronic equipment and readable storage medium
CN115776598A (en) Server, display equipment and loading method of video playing component

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination