CN110620907B - Monitoring calling method and device, electronic equipment and storage medium - Google Patents
Monitoring calling method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110620907B CN110620907B CN201910867403.9A CN201910867403A CN110620907B CN 110620907 B CN110620907 B CN 110620907B CN 201910867403 A CN201910867403 A CN 201910867403A CN 110620907 B CN110620907 B CN 110620907B
- Authority
- CN
- China
- Prior art keywords
- monitoring
- virtual terminal
- terminal number
- video
- target monitoring
- 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.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 675
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000003860 storage Methods 0.000 title claims abstract description 16
- 230000006855 networking Effects 0.000 claims description 38
- 238000004590 computer program Methods 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 18
- 230000008569 process Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 230000015654 memory Effects 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000004806 packaging method and process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a monitoring and calling method, a monitoring and calling device, electronic equipment and a storage medium. The method comprises the following steps: receiving a monitoring and calling request sent by a monitoring and calling system of the television network, wherein the monitoring and calling request comprises a first target monitoring identifier; inquiring whether a first target monitoring resource corresponding to the first target monitoring identifier is bound with a virtual terminal number or not; if the first target monitoring resource is bound, calling the monitoring video acquired by the first target monitoring resource, and returning the monitoring video to the video network monitoring and dispatching system according to the virtual terminal number bound by the first target monitoring resource; and if not, selecting an idle virtual terminal number, binding the first target monitoring resource with the selected virtual terminal number, calling the monitoring video acquired by the first target monitoring resource, and returning the monitoring video to the video network monitoring and scheduling system according to the selected virtual terminal number. The invention saves the number of the virtual terminal, improves the concurrency of calling the monitoring video and improves the user experience.
Description
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a monitoring and retrieving method and apparatus, an electronic device, and a storage medium.
Background
In recent years, with the rapid development of computers, networks, image processing and transmission technologies, video monitoring technologies have been developed. Video surveillance is an important component of security systems. Video monitoring is widely applied to many occasions due to intuition, accuracy, timeliness and rich information content.
In a video monitoring system, each path of monitoring video called by each user occupies one virtual terminal number, so that the occupied number of the virtual terminal numbers is increased rapidly. However, the number of the virtual terminal numbers is limited, and when all the virtual terminal numbers are occupied, the monitoring video cannot be called any more.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a monitoring invocation method, apparatus, electronic device and storage medium that overcome the above problems or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention discloses a monitoring and retrieving method, where the method includes:
receiving a monitoring and calling request sent by a monitoring and calling system of the video networking; the monitoring calling request comprises a first target monitoring identifier;
inquiring whether a first target monitoring resource corresponding to the first target monitoring identifier is bound with a virtual terminal number or not;
if the first target monitoring resource is bound, calling the monitoring video collected by the first target monitoring resource, and returning the monitoring video to the video network monitoring and scheduling system according to the virtual terminal number bound by the first target monitoring resource;
and if not, selecting an idle virtual terminal number, binding the first target monitoring resource with the selected virtual terminal number, calling the monitoring video acquired by the first target monitoring resource, and returning the monitoring video to the video network monitoring and scheduling system according to the selected virtual terminal number.
Optionally, the monitoring invocation request further includes a first user identifier; after the step of querying whether the target monitoring resource corresponding to the first target monitoring identifier has a virtual terminal number bound, the method further includes: if so, binding the virtual terminal number bound by the first target monitoring resource with the first user identifier; after the step of selecting an idle virtual terminal number and binding the target monitoring resource with the selected virtual terminal number, the method further comprises the following steps: and binding the selected virtual terminal number with the first user identification.
Optionally, the method further comprises: receiving a monitoring release request sent by the video network monitoring and scheduling system; the monitoring release request comprises a second target monitoring identifier and a second user identifier; inquiring the virtual terminal number which is corresponding to the second target monitoring identifier and is bound to the second target monitoring resource, and inquiring whether the virtual terminal number which is bound to the second target monitoring resource is bound to the user identifier except the second user identifier; if so, removing the binding between the virtual terminal number bound by the second target monitoring resource and the second user identifier; if not, the binding of the virtual terminal number bound to the second target monitoring resource, the second user identifier and the second target monitoring resource is released.
Optionally, after the step of unbinding the bound virtual terminal number, the second user identifier, and the second target monitoring resource of the second target monitoring resource, the method further includes: and stopping calling the monitoring video acquired by the second target monitoring resource.
In a second aspect, an embodiment of the present invention discloses a monitoring and retrieving device, where the device includes:
the first receiving module is used for receiving a monitoring and calling request sent by the video networking monitoring and calling system; the monitoring calling request comprises a first target monitoring identifier;
the first query module is used for querying whether a first target monitoring resource corresponding to the first target monitoring identifier is bound with a virtual terminal number;
the first calling module is used for calling the monitoring video collected by the first target monitoring resource when the first inquiry module inquires that the first target monitoring resource is bound, and returning the monitoring video to the video network monitoring and scheduling system according to the virtual terminal number of the first target monitoring resource which is bound;
the first binding module is used for selecting an idle virtual terminal number and binding the first target monitoring resource with the selected virtual terminal number when the first inquiry module inquires that the first target monitoring resource is not bound;
and the second calling module is used for calling the monitoring video acquired by the first target monitoring resource and returning the monitoring video to the video network monitoring and scheduling system according to the selected virtual terminal number.
Optionally, the monitoring invocation request further includes a first user identifier; the device further comprises: the second binding module is used for binding the virtual terminal number bound by the first target monitoring resource with the first user identifier when the first query module queries that the virtual terminal number is bound; the first binding module is further configured to bind the selected virtual terminal number with the first user identifier.
Optionally, the apparatus further comprises: the second receiving module is used for receiving a monitoring release request sent by the video network monitoring and scheduling system; the monitoring release request comprises a second target monitoring identifier and a second user identifier; the second query module is used for querying the bound virtual terminal number of the second target monitoring resource corresponding to the second target monitoring identifier, and querying whether the bound virtual terminal number of the second target monitoring resource is bound with the user identifier except the second user identifier; the first releasing module is used for releasing the binding between the virtual terminal number bound to the second target monitoring resource and the second user identifier when the query result of the second query module is yes; and the second releasing module is used for releasing the binding of the virtual terminal number bound with the second target monitoring resource, the second user identifier and the second target monitoring resource when the query result of the second query module is negative.
Optionally, the apparatus further comprises: and the stopping module is used for stopping calling the monitoring video collected by the second target monitoring resource after the second releasing module releases the binding of the virtual terminal number bound by the second target monitoring resource, the second user identifier and the second target monitoring resource.
In a third aspect, an embodiment of the present invention discloses an electronic device, including: one or more processors; and one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the processors to perform a monitoring invocation method as described in any of the above.
In a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the monitoring and retrieving method as described in any one of the above.
In the embodiment of the invention, a monitoring and calling request sent by a video network monitoring and scheduling system is received, wherein the monitoring and calling request comprises a first target monitoring identifier; inquiring whether a first target monitoring resource corresponding to the first target monitoring identifier is bound with a virtual terminal number or not; if the first target monitoring resource is bound, calling the monitoring video collected by the first target monitoring resource, and returning the monitoring video to the video network monitoring and scheduling system according to the virtual terminal number bound by the first target monitoring resource; and if not, selecting an idle virtual terminal number, binding the first target monitoring resource with the selected virtual terminal number, calling the monitoring video acquired by the first target monitoring resource, and returning the monitoring video to the video network monitoring and scheduling system according to the selected virtual terminal number. Therefore, for the same monitoring resource, in the embodiment of the present invention, when the monitoring video of the monitoring resource is first called by a certain user, the monitoring resource is bound with a virtual terminal number, and when other users also call the monitoring video of the monitoring resource, if the monitoring resource is bound with the virtual terminal number, a new virtual terminal number is not selected for the monitoring video of the monitoring resource any more, and the bound virtual terminal number is used. The mechanism that the virtual terminal number occupies when the monitoring is called is optimized, the same path of monitoring video called by a plurality of users occupies a plurality of virtual terminal numbers, the same path of monitoring video called by a plurality of users occupies one virtual terminal number instead, the virtual terminal number is saved, the concurrence amount of calling the monitoring video is improved, and the user experience is improved.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flowchart illustrating steps of a monitoring and retrieving method according to a first embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of a monitoring and retrieving method according to a second embodiment of the present invention;
FIG. 7 is a diagram illustrating an interaction process of a device according to a third embodiment of the present invention;
fig. 8 is a schematic diagram of a specific device interaction process according to a third embodiment of the present invention;
fig. 9 is a block diagram of a monitoring and retrieving device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example one
The information monitoring and calling method of the embodiment of the invention can be applied to a monitoring access server which is accessed into a video network monitoring and calling system.
The monitoring access server may be understood as a gateway responsible for accessing external (e.g., on the internet) monitoring resources (which may also be described as monitoring devices) into the video networking monitoring and scheduling system. The monitoring resources encode the collected monitoring videos based on the corresponding internet protocol, the monitoring access server can acquire the monitoring videos based on the internet protocol after the monitoring resources are encoded, the monitoring access server can convert the monitoring videos based on the internet protocol into the monitoring videos based on the video networking protocol and then transmit the monitoring videos to the video networking monitoring and scheduling system, and therefore the monitoring resources on the internet can be browsed and controlled in the video networking. The monitoring access server can be connected with a plurality of monitoring resources, and the monitoring access server stores the information of the connected monitoring resources. The information of the monitoring resource may include identification, status, connection information, geographical location, etc. of the monitoring resource.
The video network monitoring and scheduling system can comprise a front-end client, a back-end server and a database. The front-end client may be a Web end (such as a browser), and the back-end server may be an Mserver. The front-end client mainly provides interaction with a user; the back-end server may interact with other devices; the database is mainly used for storing relevant data such as information of monitoring resources connected with the monitoring access server accessed by the database.
Referring to fig. 5, a flowchart illustrating steps of a monitoring invoking method according to a first embodiment of the present invention is shown.
The monitoring and calling method of the embodiment of the invention can comprise the following steps:
When a user wants to call a certain path of monitoring video, a monitoring resource list can be obtained at a front-end client of the video network monitoring and scheduling system, and then a first target monitoring resource identifier is selected from the monitoring resource list, wherein the first target monitoring resource identifier is a target monitoring resource identifier to be called, and the first target monitoring resource identifiers can be one or more. And then, the user triggers the calling operation, and the front-end client can generate a monitoring calling request carrying the first target monitoring identifier. The front-end client sends the monitoring and retrieving request to a back-end server of the video networking monitoring and scheduling system, for example, the front-end client may send the monitoring and retrieving request in a Hyper Text Transfer Protocol (HTTP) manner. And the back-end server transmits the monitoring and calling request.
After the monitoring access server accesses the network in the video network, the core server of the video network allocates a plurality of virtual terminal numbers to the monitoring access equipment accessing the network, and the monitoring access server stores the virtual terminal numbers allocated to the monitoring access equipment by the core server of the video network, but the number of the virtual terminal numbers is limited. The transmission of the monitoring video in the video network needs to depend on a virtual terminal number so as to be identified by the video network, and the normal transmission of the monitoring video is ensured. Therefore, each time the monitoring access server calls one path of monitoring video, a virtual terminal number is allocated to the monitoring access server, and the path of monitoring video is returned according to the virtual terminal number.
If a virtual terminal number is allocated to each path of monitoring video called according to each monitoring calling request, multiple virtual terminal numbers are allocated to the monitoring video of the same monitoring resource, which results in waste of the virtual terminal numbers. Therefore, in this embodiment, when a monitoring video acquired by one monitoring resource is first called by a certain user, the monitoring resource is bound with one virtual terminal number. When the monitoring access server receives a monitoring calling request sent by a video network monitoring and scheduling system, the monitoring calling request is analyzed to obtain a first target monitoring identifier carried in the monitoring calling request, but the monitoring access server does not directly allocate a virtual terminal number to a monitoring video acquired by a first target monitoring resource corresponding to the first target monitoring identifier, but firstly inquires whether the first target monitoring resource is bound with the virtual terminal number.
If the monitoring access server inquires that the first target monitoring resource is bound with the virtual terminal number, it can be shown that other users have called the monitoring video acquired by the first target monitoring resource, and under the condition, a new virtual terminal number is not distributed to the monitoring video acquired by the first target monitoring resource.
The monitoring access server calls a monitoring video acquired by the first target monitoring resource, the monitoring video is transmitted in the video network according to the virtual terminal number bound to the first target monitoring resource, the monitoring access server returns the monitoring video acquired by the first target monitoring resource to the video network monitoring scheduling system, and the video network monitoring scheduling system plays the monitoring video.
If the monitoring access server inquires that the first target monitoring resource is not bound with the virtual terminal number, it can be shown that no other user calls the monitoring video acquired by the first target monitoring resource, in this case, the monitoring access server selects an idle virtual terminal number from the virtual terminal numbers stored in the monitoring access server, and the idle virtual terminal number refers to the virtual terminal number which is not bound with the monitoring resource. And the monitoring access server binds the first target monitoring resource corresponding to the first target monitoring resource identifier with the selected idle virtual terminal number.
The monitoring access server calls a monitoring video acquired by the first target monitoring resource, the monitoring video is transmitted in the video network according to the selected idle virtual terminal number, the monitoring access server returns the monitoring video acquired by the first target monitoring resource to the video network monitoring and scheduling system, and the video network monitoring and calling system plays the monitoring video. At this time, the first target monitoring resource binds the virtual terminal number in the process of calling the monitoring video.
It should be noted that, if the monitoring access server queries that the first target monitoring resource is not bound with the virtual terminal number and there is no idle virtual terminal number at this time, the monitoring access server cannot return the monitoring video acquired by the first target monitoring resource, and in this case, response information indicating that the monitoring access server cannot be called may be returned to the video networking monitoring and scheduling system.
In the embodiment of the invention, for the same monitoring resource, when the monitoring video of the monitoring resource is called by a certain user for the first time, the monitoring resource is bound with a virtual terminal number, when other users also call the monitoring video of the monitoring resource, if the monitoring resource is bound with the virtual terminal number, a new virtual terminal number is not selected for the monitoring video of the monitoring resource, and the bound virtual terminal number is used. The mechanism that the virtual terminal number occupies when the monitoring is called is optimized, the same path of monitoring video called by a plurality of users occupies a plurality of virtual terminal numbers, the same path of monitoring video called by a plurality of users occupies one virtual terminal number instead, the virtual terminal number is saved, the concurrence amount of calling the monitoring video is improved, and the user experience is improved.
Example two
Referring to fig. 6, a flowchart illustrating steps of a monitoring invoking method according to a second embodiment of the present invention is shown.
The monitoring and calling method of the embodiment of the invention can comprise the following steps:
In this embodiment, a process of a plurality of users invoking the same monitoring video is specifically described, where the plurality of user invocations may be invoked for a plurality of users at the same time, or may be invoked for a plurality of users at different times, which is not limited in this embodiment.
If a user wants to call a monitoring video in the video network monitoring and scheduling system, the user logs in the video network monitoring and scheduling system through a front-end client of the video network monitoring and scheduling system, and the monitoring and scheduling system stores login information of the user, such as user identification, a user password and the like.
When a user selects a first target monitoring resource identifier and triggers a calling operation at a front-end client of the video network monitoring and scheduling system, the front-end client acquires the first user identifier of the user and the selected first target monitoring resource identifier, and generates a monitoring calling request carrying the first user identifier and the first target monitoring resource identifier. The front-end client sends the monitoring and calling request to a rear-end server of the video network monitoring and scheduling system, and the rear-end server transmits the monitoring and calling request.
And after receiving the monitoring and calling request, the monitoring access server analyzes the monitoring and calling request to obtain a first target monitoring identifier and a first user identifier carried in the monitoring and calling request. And the monitoring access server inquires whether the first target monitoring resource corresponding to the first target monitoring identifier is bound with the virtual terminal number.
In this embodiment, the monitoring access server not only binds the monitoring resource with the virtual terminal number, but also binds the virtual terminal number with the user identifier, so as to mark which users are calling the virtual terminal number to occupy with the monitoring video.
And if the monitoring access server inquires that the first target monitoring resource is bound with the virtual terminal number, no new virtual terminal number is distributed to the monitoring video acquired by the first target monitoring resource. And binding the virtual terminal number bound to the first target monitoring resource with the first user identifier so as to identify that the virtual terminal number bound to the first target monitoring resource is occupied by the monitoring video called by the user corresponding to the first user identifier.
The monitoring access server calls a monitoring video acquired by a first target monitoring resource, the monitoring video is transmitted in the video network according to a virtual terminal number bound to the first target monitoring resource, the monitoring access server returns the monitoring video acquired by the first target monitoring resource and a first user identifier to the video network monitoring and dispatching system, and the video network monitoring and dispatching system plays the monitoring video at a front-end client logged in by a user corresponding to the first user identifier.
And if the monitoring access server inquires that the first target monitoring resource is not bound with the virtual terminal number, selecting an idle virtual terminal number from the virtual terminal numbers stored in the monitoring access server, and binding the first target monitoring resource corresponding to the first target monitoring resource identifier with the selected idle virtual terminal number. And binding the selected idle virtual terminal number with the first user identifier so as to identify that the selected idle virtual terminal number is occupied by the monitoring video called by the user corresponding to the first user identifier.
The monitoring access server calls a monitoring video acquired by the first target monitoring resource, the monitoring video is transmitted in the video network according to the selected virtual terminal number, the monitoring access server returns the monitoring video acquired by the first target monitoring resource and the first user identification to the video network monitoring scheduling system, and the video network monitoring scheduling system plays the monitoring video at a front-end client logged in by a user corresponding to the first user identification.
When a user wants to release a certain path of monitoring video being called, a monitoring resource list can be obtained at a front-end client of the video network monitoring and scheduling system, and then a second target monitoring resource identifier is selected from the monitoring resource list, wherein the second target monitoring resource identifier is a target monitoring resource identifier to be released, and the second target monitoring resource identifiers can be one or more. And then, the user triggers a release operation, and the front-end client generates a monitoring release request carrying a second user identifier of the user and the selected second target monitoring resource identifier. The front-end client sends the monitoring release request to a rear-end server of the video network monitoring and scheduling system, and the rear-end server transmits the monitoring release request.
Because the monitoring video acquired by the second target monitoring resource corresponding to the second target monitoring identifier is being called and viewed by the user corresponding to the second user identifier, the virtual terminal number should be bound to the second target monitoring resource at present, and the virtual terminal number bound to the second target monitoring resource should be bound to the second user identifier.
When the monitoring access server receives a monitoring release request sent by the video network monitoring and scheduling system, the monitoring release request is analyzed to obtain a second target monitoring identifier and a second user identifier carried in the monitoring release request, then a virtual terminal number which corresponds to the second target monitoring identifier and is bound to a second target monitoring resource is inquired, all user identifiers which are bound to the virtual terminal number which is bound to the second target monitoring resource are obtained, and then whether the virtual terminal number which is bound to the second target monitoring resource is bound to a user identifier except the second user identifier is determined.
If the monitoring access server determines that the virtual terminal number bound to the second target monitoring resource also binds to the user identifier other than the second user identifier, it can be said that other users are calling the monitoring video acquired by the second target monitoring resource, and therefore the second target monitoring resource should continue to occupy the bound virtual terminal number, but the virtual terminal number bound to the second target monitoring resource does not need to continue to bind to the second terminal identifier.
Therefore, the monitoring access server can unbind the virtual terminal number bound to the second target monitoring resource from the second subscriber identity. However, since other users are calling the monitoring video acquired by the second target monitoring resource, the monitoring access server should continue to call the monitoring video acquired by the second target monitoring resource, and according to the virtual terminal number bound to the second target monitoring resource, the monitoring video and the user identifiers of the other users are returned to the video network monitoring and dispatching system, and the video network monitoring and dispatching system plays the monitoring video at the front-end client logged in by the other users corresponding to the user identifiers.
If the monitoring access server determines that the virtual terminal number bound to the second target monitoring resource is not bound to the user identifier other than the second user identifier, that is, only the second user identifier is bound, it can be stated that no other user is calling the monitoring video acquired by the second target monitoring resource except the user corresponding to the second user identifier, and therefore the second target monitoring resource does not need to continuously occupy the bound virtual terminal number, and the virtual terminal number bound to the second target monitoring resource does not need to continuously bind the second terminal identifier.
Therefore, the monitoring access server can release the binding of the virtual terminal number bound to the second target monitoring resource, the second user identifier and the second target monitoring resource, and the virtual terminal number becomes an idle virtual terminal number after the release and can be subsequently bound to other monitoring resources. And moreover, because no other user is calling the monitoring video acquired by the second target monitoring resource, the monitoring access server stops calling the monitoring video acquired by the second target monitoring resource and stops returning the monitoring video to the video network monitoring and scheduling system.
In the embodiment of the invention, the monitoring resources are bound with the virtual terminal numbers, and the monitoring videos collected by the same monitoring resources are transmitted in the video network according to the same virtual terminal number, so that the waste of the virtual terminal numbers is avoided, the binding of the virtual terminal numbers can be accurately removed, and the virtual terminal numbers can be timely recovered.
EXAMPLE III
Fig. 7 is a schematic diagram of a device interaction process according to a third embodiment of the present invention.
As shown in fig. 7, the monitoring and scheduling system of the video network is communicatively connected to a sharing server, the sharing server is communicatively connected to a monitoring access server, and the monitoring access server is connected to a monitoring camera (i.e., a monitoring resource).
And the user selects a monitoring name (namely a target monitoring resource identifier) after logging in the video network monitoring and scheduling system. The front-end client of the video network monitoring and dispatching system generates a monitoring and dispatching request carrying the monitoring name, a rear-end server of the video network monitoring and dispatching system packages the monitoring and dispatching request based on a video network protocol, and the monitoring and dispatching request carrying the monitoring name is transmitted to the sharing server. And the sharing server transmits the monitoring calling request to the monitoring access server.
And if the monitoring access server inquires that the virtual terminal number is bound to the monitoring camera corresponding to the monitoring name carried by the monitoring calling request, calling the monitoring video collected by the monitoring camera, packaging the monitoring video based on the video networking protocol, and returning the monitoring video to the sharing server according to the virtual terminal number bound to the monitoring camera corresponding to the monitoring name. If the monitoring access server inquires that the monitoring camera corresponding to the monitoring name carried by the monitoring calling request is not bound with the virtual terminal number, selecting an idle virtual terminal number, binding the monitoring camera with the selected virtual terminal number, calling the monitoring view collected by the monitoring camera, packaging the monitoring video based on the video networking protocol, and returning the monitoring video to the sharing server according to the selected virtual terminal number.
The sharing server can convert the monitoring video into a monitoring video of an RTP (Real-time Transport Protocol), and return the converted monitoring video to the video network monitoring and scheduling system. And the monitoring scheduling system plays the monitoring video to the user.
Fig. 8 is a schematic diagram of a specific device interaction process according to a third embodiment of the present invention.
As shown in fig. 8, the video network monitoring and scheduling system is communicatively connected to a sharing server, the sharing server is communicatively connected to a video network core server, the video network core server is communicatively connected to a monitoring access server, and the monitoring access server is connected to a monitoring camera (i.e., a monitoring resource). The monitoring access server and the sharing server can be used as gateway equipment and registered in the core server of the video network so as to access the video network.
The user 1, the user 2 and the user 3 can all log in the video network monitoring and scheduling system, and the user 1, the user 2 and the user 3 can all select the monitoring name 1 after logging in. The video network monitoring and dispatching system stores the main message number of each sharing server in communication connection with the video network monitoring and dispatching system, the main message number of a monitoring access server in communication connection with the sharing server, and the monitoring name in connection with the monitoring access server, wherein the main message number is used for communicating with corresponding equipment and has the function similar to a telephone number when a call is made. After obtaining the monitoring name 1 selected by the user, the video network monitoring and scheduling system obtains the main message number of the monitoring access server connected with the monitoring name 1 and the main message number of the sharing server connected with the monitoring access server. A front-end client of the video networking monitoring and scheduling system generates a monitoring and invoking request carrying the monitoring name 1 for each user, where the monitoring and invoking request also carries a user identifier, a primary message number of the shared server, and a primary message number of the monitoring access server (not shown in fig. 8), that is, a monitoring and invoking request is generated for each user of the 3 users. The back-end server of the video networking monitoring and scheduling system encapsulates the monitoring and calling request based on the video networking protocol, reads the main message number of the shared server in the monitoring and calling request, finds the corresponding shared server according to the main message number of the shared server, and transmits the monitoring and calling request to the corresponding shared server. The sharing server sends the monitoring calling request to the video network core server, the video network core server reads the main message number of the monitoring access server in the monitoring calling request, finds the corresponding monitoring access server according to the main message number of the monitoring access server, and forwards the monitoring calling request to the corresponding monitoring access server.
If the monitoring access server inquires that the monitoring camera 1 corresponding to the monitoring name 1 carried by the monitoring calling request is bound with the virtual terminal number, the bound virtual terminal number is bound with the user identification carried by the monitoring calling request, the monitoring video collected by the monitoring camera 1 is called, the monitoring video is packaged based on the video networking protocol, the monitoring video is returned to the video networking core server according to the virtual terminal number bound by the monitoring camera 1 corresponding to the monitoring name 1, and then the monitoring video is returned to the shared server by the video networking core server. If the monitoring access server inquires that the monitoring camera 1 corresponding to the monitoring name 1 carried by the monitoring calling request is not bound with the virtual terminal number, selecting an idle virtual terminal number, binding the monitoring camera 1 with the selected virtual terminal number, binding the selected virtual terminal number with the user identification carried in the monitoring calling request, calling the monitoring video collected by the monitoring camera 1, packaging the monitoring video based on the video networking protocol, returning the monitoring video to the video networking core server according to the selected virtual terminal number, and returning the monitoring video to the sharing server by the video networking core server.
The sharing server can convert the monitoring video into the monitoring video of the RTP protocol and return the converted monitoring video to the video network monitoring and dispatching system. And the monitoring scheduling system plays the monitoring video to the corresponding user.
The embodiment of the invention can improve the concurrency of calling and monitoring, optimize the function of the video network monitoring and scheduling system and improve the user experience.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Example four
Referring to fig. 9, a block diagram of a monitoring and retrieving device according to a fourth embodiment of the present invention is shown.
The monitoring and calling device of the embodiment of the invention can comprise the following modules:
a first receiving module 901, configured to receive a monitoring and invoking request sent by a monitoring and scheduling system of the internet of things; the monitoring calling request comprises a first target monitoring identifier;
a first query module 902, configured to query whether a first target monitoring resource corresponding to the first target monitoring identifier has a virtual terminal number bound;
a first retrieving module 903, configured to retrieve a monitoring video acquired by the first target monitoring resource when the first query module queries that the first target monitoring resource is bound, and return the monitoring video to the video network monitoring and scheduling system according to the virtual terminal number to which the first target monitoring resource is bound;
a first binding module 904, configured to select an idle virtual terminal number when the first query module queries that the first target monitoring resource is not bound, and bind the first target monitoring resource with the selected virtual terminal number;
and the second calling module 905 is configured to call the monitoring video acquired by the first target monitoring resource, and return the monitoring video to the video network monitoring and scheduling system according to the selected virtual terminal number.
In an alternative embodiment, the monitoring invocation request further includes a first subscriber identity; the device further comprises: the second binding module is used for binding the virtual terminal number bound by the first target monitoring resource with the first user identifier when the first query module queries that the virtual terminal number is bound; the first binding module is further configured to bind the selected virtual terminal number with the first user identifier.
In an alternative embodiment, the apparatus further comprises: the second receiving module is used for receiving a monitoring release request sent by the video network monitoring and scheduling system; the monitoring release request comprises a second target monitoring identifier and a second user identifier; the second query module is used for querying the bound virtual terminal number of the second target monitoring resource corresponding to the second target monitoring identifier, and querying whether the bound virtual terminal number of the second target monitoring resource is bound with the user identifier except the second user identifier; the first releasing module is used for releasing the binding between the virtual terminal number bound to the second target monitoring resource and the second user identifier when the query result of the second query module is yes; and the second releasing module is used for releasing the binding of the virtual terminal number bound with the second target monitoring resource, the second user identifier and the second target monitoring resource when the query result of the second query module is negative.
In an alternative embodiment, the apparatus further comprises: and the stopping module is used for stopping calling the monitoring video collected by the second target monitoring resource after the second releasing module releases the binding of the virtual terminal number bound by the second target monitoring resource, the second user identifier and the second target monitoring resource.
In the embodiment of the invention, for the same monitoring resource, when the monitoring video of the monitoring resource is called by a certain user for the first time, the monitoring resource is bound with a virtual terminal number, when other users also call the monitoring video of the monitoring resource, if the monitoring resource is bound with the virtual terminal number, a new virtual terminal number is not selected for the monitoring video of the monitoring resource, and the bound virtual terminal number is used. The mechanism that the virtual terminal number occupies when the monitoring is called is optimized, the same path of monitoring video called by a plurality of users occupies a plurality of virtual terminal numbers, the same path of monitoring video called by a plurality of users occupies one virtual terminal number instead, the virtual terminal number is saved, the concurrence amount of calling the monitoring video is improved, and the user experience is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In an embodiment of the invention, an electronic device is also provided. The electronic device may include one or more processors and one or more machine-readable media having instructions, such as an application program, stored thereon. The instructions, when executed by the one or more processors, cause the processors to perform the monitor call method described above.
In an embodiment of the present invention, there is also provided a non-transitory computer readable storage medium, such as a memory, including instructions executable by a processor of an electronic device to perform the above-described monitoring retrieval method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway:
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA | SA | Reserved | Payload | CRC |
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA | SA | Reserved | label (R) | Payload | CRC |
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The monitoring and calling method, the monitoring and calling device, the electronic device and the storage medium provided by the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (8)
1. A method of monitoring retrieval, the method comprising:
receiving a monitoring and calling request sent by a monitoring and calling system of the video networking; the monitoring calling request comprises a first target monitoring identifier;
inquiring whether a first target monitoring resource corresponding to the first target monitoring identifier is bound with a virtual terminal number or not;
if the first target monitoring resource is bound, calling the monitoring video collected by the first target monitoring resource, and returning the monitoring video to the video network monitoring and scheduling system according to the virtual terminal number bound by the first target monitoring resource;
if not, selecting an idle virtual terminal number, binding the first target monitoring resource with the selected virtual terminal number, calling a monitoring video acquired by the first target monitoring resource, and returning the monitoring video to the video network monitoring and scheduling system according to the selected virtual terminal number;
receiving a monitoring release request sent by the video network monitoring and scheduling system; the monitoring release request comprises a second target monitoring identifier and a second user identifier;
inquiring the virtual terminal number which is corresponding to the second target monitoring identifier and is bound to the second target monitoring resource, and inquiring whether the virtual terminal number which is bound to the second target monitoring resource is bound to the user identifier except the second user identifier;
if so, removing the binding between the virtual terminal number bound by the second target monitoring resource and the second user identifier;
if not, the binding of the virtual terminal number bound to the second target monitoring resource, the second user identifier and the second target monitoring resource is released.
2. The method of claim 1, wherein the monitoring invocation request further includes a first subscriber identity;
after the step of querying whether the target monitoring resource corresponding to the first target monitoring identifier has a virtual terminal number bound, the method further includes: if so, binding the virtual terminal number bound by the first target monitoring resource with the first user identifier;
after the step of selecting an idle virtual terminal number and binding the target monitoring resource with the selected virtual terminal number, the method further comprises the following steps: and binding the selected virtual terminal number with the first user identification.
3. The method according to claim 1, further comprising, after the step of unbinding the bound virtual terminal number of the second target monitoring resource from the second subscriber identity and the second target monitoring resource:
and stopping calling the monitoring video acquired by the second target monitoring resource.
4. A monitoring retrieval apparatus, the apparatus comprising:
the first receiving module is used for receiving a monitoring and calling request sent by the video networking monitoring and calling system; the monitoring calling request comprises a first target monitoring identifier;
the first query module is used for querying whether a first target monitoring resource corresponding to the first target monitoring identifier is bound with a virtual terminal number;
the first calling module is used for calling the monitoring video collected by the first target monitoring resource when the first inquiry module inquires that the first target monitoring resource is bound, and returning the monitoring video to the video network monitoring and scheduling system according to the virtual terminal number of the first target monitoring resource which is bound;
the first binding module is used for selecting an idle virtual terminal number and binding the first target monitoring resource with the selected virtual terminal number when the first inquiry module inquires that the first target monitoring resource is not bound;
the second calling module is used for calling the monitoring video collected by the first target monitoring resource and returning the monitoring video to the video network monitoring and scheduling system according to the selected virtual terminal number;
the second receiving module is used for receiving a monitoring release request sent by the video network monitoring and scheduling system; the monitoring release request comprises a second target monitoring identifier and a second user identifier;
the second query module is used for querying the bound virtual terminal number of the second target monitoring resource corresponding to the second target monitoring identifier, and querying whether the bound virtual terminal number of the second target monitoring resource is bound with the user identifier except the second user identifier;
the first releasing module is used for releasing the binding between the virtual terminal number bound to the second target monitoring resource and the second user identifier when the query result of the second query module is yes;
and the second releasing module is used for releasing the binding of the virtual terminal number bound with the second target monitoring resource, the second user identifier and the second target monitoring resource when the query result of the second query module is negative.
5. The apparatus of claim 4, wherein the monitoring invocation request further comprises a first subscriber identity;
the device further comprises: the second binding module is used for binding the virtual terminal number bound by the first target monitoring resource with the first user identifier when the first query module queries that the virtual terminal number is bound;
the first binding module is further configured to bind the selected virtual terminal number with the first user identifier.
6. The apparatus of claim 4, further comprising:
and the stopping module is used for stopping calling the monitoring video collected by the second target monitoring resource after the second releasing module releases the binding of the virtual terminal number bound by the second target monitoring resource, the second user identifier and the second target monitoring resource.
7. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the processors to perform the monitoring invocation method of any of claims 1-3.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the monitoring call method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910867403.9A CN110620907B (en) | 2019-09-12 | 2019-09-12 | Monitoring calling method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910867403.9A CN110620907B (en) | 2019-09-12 | 2019-09-12 | Monitoring calling method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110620907A CN110620907A (en) | 2019-12-27 |
CN110620907B true CN110620907B (en) | 2020-10-27 |
Family
ID=68922877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910867403.9A Active CN110620907B (en) | 2019-09-12 | 2019-09-12 | Monitoring calling method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110620907B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111479136B (en) * | 2020-03-03 | 2023-04-07 | 视联动力信息技术股份有限公司 | Monitoring resource transmission method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106850824A (en) * | 2017-02-22 | 2017-06-13 | 北京爱惠家网络有限公司 | A kind of intelligent service system and implementation method |
CN109788247A (en) * | 2018-12-25 | 2019-05-21 | 视联动力信息技术股份有限公司 | A kind of method and apparatus monitoring instruction identification |
CN110139124A (en) * | 2019-03-25 | 2019-08-16 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus that monitoring is recorded |
CN110166742A (en) * | 2019-04-18 | 2019-08-23 | 视联动力信息技术股份有限公司 | Video distribution method and apparatus based on view networking |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10609283B2 (en) * | 2017-04-01 | 2020-03-31 | Intel Corporation | Sharing panoramic video images over a wireless display session |
US10019860B1 (en) * | 2017-07-25 | 2018-07-10 | Amazon Technologies, Inc. | Remote access authentication and authorization |
CN109451264B (en) * | 2018-10-23 | 2020-06-12 | 视联动力信息技术股份有限公司 | Method and system for monitoring equipment conference entry |
-
2019
- 2019-09-12 CN CN201910867403.9A patent/CN110620907B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106850824A (en) * | 2017-02-22 | 2017-06-13 | 北京爱惠家网络有限公司 | A kind of intelligent service system and implementation method |
CN109788247A (en) * | 2018-12-25 | 2019-05-21 | 视联动力信息技术股份有限公司 | A kind of method and apparatus monitoring instruction identification |
CN110139124A (en) * | 2019-03-25 | 2019-08-16 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus that monitoring is recorded |
CN110166742A (en) * | 2019-04-18 | 2019-08-23 | 视联动力信息技术股份有限公司 | Video distribution method and apparatus based on view networking |
Also Published As
Publication number | Publication date |
---|---|
CN110620907A (en) | 2019-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109525460B (en) | Method and device for monitoring number resources of video network | |
CN110198345B (en) | Data request method, system and device and storage medium | |
CN109672856B (en) | Resource synchronization method and device | |
CN109167960B (en) | Method and system for processing video stream data | |
CN109996086B (en) | Method and device for inquiring service state of video networking | |
CN110190973B (en) | Online state detection method and device | |
CN109474715B (en) | Resource configuration method and device based on video network | |
CN110572433B (en) | Video scheduling method, system and device | |
CN109150905B (en) | Video network resource release method and video network sharing platform server | |
CN110381119B (en) | Method, system and device for acquiring log information and storage medium | |
CN110191315B (en) | Monitoring and checking method and device based on video network | |
CN110602039A (en) | Data acquisition method and system | |
CN110049341B (en) | Video processing method and device | |
CN110839142B (en) | Monitoring directory sharing method and device | |
CN110049280B (en) | Method and device for processing monitoring data | |
CN109347930B (en) | Task processing method and device | |
CN111193767A (en) | Request data sending method and device and clustered server system | |
CN110134892B (en) | Loading method and system of monitoring resource list | |
CN110446058B (en) | Video acquisition method, system, device and computer readable storage medium | |
CN110336710B (en) | Terminal testing method, system and device and storage medium | |
CN110620907B (en) | Monitoring calling method and device, electronic equipment and storage medium | |
CN111212255A (en) | Monitoring resource obtaining method and device and computer readable storage medium | |
CN110324578B (en) | Monitoring video processing method, device and storage medium | |
CN110536148B (en) | Live broadcasting method and equipment based on video networking | |
CN110062259B (en) | Video acquisition method, system, device and computer readable storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113 Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |