CN111212255B - Monitoring resource obtaining method and device and computer readable storage medium - Google Patents

Monitoring resource obtaining method and device and computer readable storage medium Download PDF

Info

Publication number
CN111212255B
CN111212255B CN201911400645.3A CN201911400645A CN111212255B CN 111212255 B CN111212255 B CN 111212255B CN 201911400645 A CN201911400645 A CN 201911400645A CN 111212255 B CN111212255 B CN 111212255B
Authority
CN
China
Prior art keywords
directory
resource identifier
target
resource
code
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
Application number
CN201911400645.3A
Other languages
Chinese (zh)
Other versions
CN111212255A (en
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911400645.3A priority Critical patent/CN111212255B/en
Publication of CN111212255A publication Critical patent/CN111212255A/en
Application granted granted Critical
Publication of CN111212255B publication Critical patent/CN111212255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method and a device for acquiring monitoring resources and a computer readable storage medium, wherein a corotation server returns catalogues and resource identifiers according to levels, a video scheduling platform is fused to send a code corresponding to the catalogues or the resource identifiers under a selected level to the corotation server each time, and the catalogues and the resource identifiers are read in sequence through the levels, so that the problem that the response speed is slow or the catalogues and the resource identifiers cannot be read successfully due to the fact that all the catalogues and the resource identifiers are read at one time is solved, the success rate of reading the catalogues and the resource identifiers is improved, the speed of reading the catalogues and the resource identifiers is optimized, the acquisition efficiency of the monitoring resources is improved, the robustness of a system is improved, and the user experience is improved.

Description

Monitoring resource obtaining method and device and computer readable storage medium
Technical Field
The present invention relates to the field of monitoring technologies, and in particular, to a method and an apparatus for acquiring monitoring resources, and a computer-readable storage medium.
Background
With the development of video networking technology, video networking technology has been applied to a large number of services, such as tens of services of video, voice, picture, text, communication, data, and the like, including high-definition video conferencing, video surveillance, intelligent surveillance analysis, emergency command, digital broadcast television, time-delay television, network education, live broadcast, VOD on demand, television mail, personal Video Recorder (PVR), intranet (self-office) channel, intelligent video broadcast control, information distribution, and the like.
In a current internet-of-view monitoring resource management system, a video network protocol server usually accesses a large number of monitoring directories and monitoring resource identifiers (i.e., camera identifiers), so that a superior platform connected to the video network protocol server is prone to slow reading or failure reading when reading the monitoring directories and the monitoring resource identifiers, and further slow acquisition or failure acquisition of monitoring resources is caused.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a monitoring resource acquisition method, apparatus, and computer-readable storage medium that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for acquiring a monitoring resource, which is applied to a protocol conversion server in a monitoring resource management system, wherein the video network monitoring resource management system further includes a fusion video scheduling platform, a directory database and a resource database, the video network protocol conversion server is connected to the fusion video scheduling platform through a video network, and the video network protocol conversion server is connected to the directory database and the resource database through the internet, respectively, and the method includes:
receiving a directory resource reading request sent by the fusion video scheduling platform;
responding to the directory resource reading request, acquiring a first source top-level directory from the directory database, wherein each directory or resource identifier in the directory database has a unique code;
sending the first source top-level directory to the converged video scheduling platform, so that the converged video scheduling platform determines a target top-level directory from the first source top-level directory;
receiving the codes of the target top-level directory sent by the fusion video scheduling platform;
according to the code of the target top-level directory, acquiring a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory from the directory database, wherein the first secondary directory and the first secondary resource identifier are positioned under the target top-level directory;
sending the first secondary catalog and the first secondary resource identifier to the fusion video scheduling platform, so that the fusion video scheduling platform determines a target resource identifier according to the first secondary catalog and the first secondary resource identifier;
receiving the codes of the target resource identifiers sent by the fusion video scheduling platform;
and acquiring the monitoring resource corresponding to the code of the target resource identifier from a resource database according to the code of the target resource identifier.
The embodiment of the invention discloses a monitoring resource acquisition method, which is applied to a fusion video scheduling platform in a monitoring resource management system, wherein the video network monitoring resource management system also comprises a protocol conversion server, a directory database and a resource database, the fusion video scheduling platform is connected with the video network protocol conversion server through a video network, the video network protocol conversion server is respectively connected with the directory database and the resource database through the internet, and the method comprises the following steps:
sending a directory resource reading request to the co-transformation server so that the co-transformation server obtains a first source top-level directory from the directory database according to the directory resource reading request, wherein each directory or resource identifier in the directory database has a unique code;
receiving the first source top-level directory sent by the protocol conversion server;
determining a target top-level directory from the first source top-level directory according to a first user selection instruction;
sending the code of the target top-level directory to the corotation server so that the corotation server obtains a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory from the directory database according to the code of the target top-level directory, wherein the first secondary directory and the first secondary resource identifier are located under the target top-level directory;
receiving the first secondary directory and the first secondary resource identifier sent by the protocol conversion server;
according to a second user selection instruction, determining a target resource identifier from the first secondary directory and the first secondary resource identifier;
and sending the code of the target resource identifier to the corotation server so that the corotation server acquires the monitored resource corresponding to the code of the target resource identifier from the resource database according to the code of the target resource identifier.
The embodiment of the invention also discloses a monitoring resource acquisition device, which comprises:
the first receiving module is used for receiving a directory resource reading request sent by the fusion video scheduling platform;
a first obtaining module, configured to obtain, in response to the directory resource reading request, a first source top-level directory from the directory database, where each directory or resource identifier in the directory database has a unique code;
a first sending module, configured to send the first source top-level directory to the converged video scheduling platform, so that the converged video scheduling platform determines a target top-level directory from the first source top-level directory;
the second receiving module is used for receiving the codes of the target top-level directory sent by the fusion video scheduling platform;
a second obtaining module, configured to obtain, from the directory database, a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory according to the code of the target top-level directory, where the first secondary directory and the first secondary resource identifier are located below the target top-level directory;
a second sending module, configured to send the first secondary directory and the first secondary resource identifier to the fusion video scheduling platform, so that the fusion video scheduling platform determines a target resource identifier according to the first secondary directory and the first secondary resource identifier;
a third receiving module, configured to receive the code of the target resource identifier sent by the fusion video scheduling platform;
and the third acquisition module is used for acquiring the monitoring resource corresponding to the code of the target resource identifier from a resource database according to the code of the target resource identifier.
The embodiment of the invention also discloses a monitoring resource acquisition device, which comprises:
a fourth sending module, configured to send a directory resource reading request to the co-transformation server, so that the co-transformation server obtains a first source top-level directory from the directory database according to the directory resource reading request, where each directory or resource identifier in the directory database has a unique code;
a fifth receiving module, configured to receive the first source top-level directory sent by the collaboration server;
the first determining module is used for determining a target top-level directory from the first source top-level directory according to a first user selection instruction;
a fifth sending module, configured to send the code of the target top-level directory to the corotation server, so that the corotation server obtains, according to the code of the target top-level directory, a first secondary directory and a first secondary resource identifier, which correspond to the code of the target top-level directory, from the directory database, where the first secondary directory and the first secondary resource identifier are located under the target top-level directory;
a sixth receiving module, configured to receive the first secondary directory and the first secondary resource identifier sent by the collaboration server;
the second determining module is used for determining a target resource identifier from the first secondary directory and the first secondary resource identifier according to a second user selection instruction;
a sixth sending module, configured to send the code of the target resource identifier to the coordination server, so that the coordination server obtains, according to the code of the target resource identifier, the monitored resource corresponding to the code of the target resource identifier from the resource database.
The embodiment of the invention also discloses a monitoring resource acquisition device, which comprises:
one or more processors; and
one or more computer-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the apparatus to perform a monitoring resource acquisition method according to any one of the embodiments of the present invention.
The embodiment of the invention also discloses a computer readable storage medium, and a stored computer program enables a processor to execute the monitoring resource acquisition method.
The embodiment of the invention has the following advantages:
in the embodiment, the protocol conversion server returns the directory and the resource identifier according to the hierarchy, the video scheduling platform is fused to send the code corresponding to the directory or the resource identifier under the selected hierarchy to the protocol conversion server at each time, and the directory and the resource identifier are sequentially read through the hierarchy, so that the problem that the response speed is slow or the resource identifier cannot be successfully read due to the fact that all the directory and the resource identifier are read at one time is solved, the success rate of reading the directory and the resource identifier is improved, the speed of reading the directory and the resource identifier is optimized, the acquisition efficiency of monitoring resources is improved, the robustness of a system is improved, and the user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a monitoring resource management system of a video network according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a directory database structure according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of a monitoring resource obtaining method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of another monitoring resource obtaining method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an exemplary interaction process between parts in a video networking monitoring resource management system according to an embodiment of the present invention;
fig. 6 is a block diagram of a monitoring resource obtaining apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of another monitoring resource acquiring apparatus according to an embodiment of the present invention;
FIG. 8 is a networking schematic of a video network of the present invention;
FIG. 9 is a diagram of a hardware architecture of a node server according to the present invention;
fig. 10 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 11 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
Referring to fig. 1, fig. 1 shows a schematic structural diagram of a video network monitoring resource management system according to an embodiment of the present invention, which may specifically include a converged video scheduling platform 101, a video network protocol conversion server 102, a directory database 103, and a resource database 104. The video network protocol conversion server is connected with the fusion video scheduling platform through a video network, and the video network protocol conversion server is connected with the directory database and the resource database through the internet respectively.
The directory database stores directories and monitoring resource identifiers corresponding to the monitoring resources, including a top-level directory and a secondary directory, wherein the secondary directory may have multiple levels, and the secondary directory of each level may have multiple levels, and a plurality of levels of the secondary directories and level monitoring resource identifiers. Referring to fig. 2, fig. 2 shows a schematic structural diagram of a directory database provided in an embodiment of the present application, in fig. 2, a first layer is a top-level directory, and other layers are secondary directories, for example, 2 nd, 3 rd, and 4 th layers, where the secondary directories of the 2 nd, 3 th, and 4 th layers further have multiple secondary directories and level monitoring resource identifiers of the same level, for example, a secondary directory of the same level is located between a rectangle 1 and a rectangle 2 below the second layer, and a secondary monitoring resource identifier of the same level is located between a circle 1 and a circle 2 below the second layer.
The method for reading the directories and the resource identifiers accessed by the protocol conversion server by the fusion video scheduling platform at present is to read all the directories and the resource identifiers accessed by the protocol conversion server at one time. When the protocol conversion server accesses a large number of directories and resource identifiers, it is time-consuming to return all the directories and resource identifiers, and the protocol conversion server needs to allocate a large amount of data of the memory storage directories and resource identifiers at a time, even the problem of memory leakage occurs.
Based on the defects of the related technologies, one of the core concepts of the embodiments of the present invention is provided, the protocol conversion server follows the video networking protocol and the internet protocol, and returns the directory and the resource identifier according to the hierarchy, and the fusion video scheduling platform only sends the directory under the selected hierarchy or the code corresponding to the resource identifier to the protocol conversion server each time, so as to avoid reading the directory and the resource identifier all at one time, so as to improve the response speed and the success rate of reading the directory and the resource identifier of the protocol conversion server, and further improve the speed of acquiring the monitoring resource by the fusion video scheduling platform.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of a monitoring resource obtaining method according to an embodiment of the present invention, where the method is applied to a coordination server in a monitoring resource management system, and the method specifically includes the following steps:
step S301, receiving a directory resource reading request sent by the fusion video scheduling platform.
The converged video scheduling platform may be Pamir (pamier) and is used for scheduling monitoring resources in a video conference. When a video conference of a video network, a fusion video scheduling platform needs to call monitoring resources, and the common method is to first obtain a code of a resource identifier of the monitoring resource to be called, and then call the monitoring resource from a resource database according to the code of the resource identifier of the monitoring resource to be called.
When the monitoring resources are called in the video conference, the fusion video scheduling platform can firstly send a directory resource reading request to the co-transformation server, and the co-transformation server can read the top directory in the directory database according to the directory resource reading request, so that all directories and resource identifiers in the directory database do not need to be read.
Step S302, in response to the directory resource reading request, obtaining a first source top-level directory from the directory database, where each directory or resource identifier in the directory database has a unique code.
In this embodiment, the first source top-level directory refers to an unprocessed top-level directory based on an internet protocol, and only a directory exists in the first source top-level directory, and no resource identifier exists.
After receiving a directory resource reading request sent by the fusion video scheduling platform, the protocol conversion server can respond to the directory resource reading request and read the first source top-level directory from the directory database.
In addition, in the monitoring resource management system, the incidence relation between the catalogue or resource identification and the code can be pre-established, so that after the catalogue or resource identification is selected on the fusion video scheduling platform, the code of the selected catalogue or resource identification can be known, and the lower-level catalogue or resource identification corresponding to the code can be conveniently searched from the catalogue database.
Step S303, sending the first source top-level directory to the converged video scheduling platform, so that the converged video scheduling platform determines a target top-level directory from the first source top-level directory.
After reading the first source top-level directory from the directory database, the protocol conversion processing may be performed on the first source top-level directory by the collaboration server, so that the first source top-level directory can be sent to the converged video scheduling platform based on the video networking protocol.
After receiving the first source top-level directory sent by the protocol conversion server, the fusion video scheduling platform can analyze and display the first source top-level directory on a display page of the fusion video scheduling platform for a user to view and select. The user can send a first user selection instruction to the fusion video scheduling platform, a required target top-level directory is selected from the first source top-level directories, and after the fusion video scheduling platform determines the target top-level directory, the encoding of the target top-level directory can be known, so that the encoding of the target top-level directory can be carried in a reading request of the lower-level directory sent by the fusion video scheduling platform to the corotation server.
Step S304, receiving the encoding of the target top-level directory sent by the fusion video scheduling platform.
The protocol conversion server can receive the reading request of the lower directory sent by the fusion video scheduling platform and analyze the carried code of the target top directory from the reading request of the lower directory, so that the protocol conversion server can receive the code of the target top directory sent by the fusion video scheduling platform.
Step S305, according to the code of the target top-level directory, acquiring a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory from the directory database.
And the first secondary directory and the first secondary resource identifier are positioned under the target top directory.
After receiving the code of the target top-level directory, the collaboration server may read the code of the lower-level directory and the code of the resource identifier corresponding to the code of the target top-level directory from the directory database, thereby reading the first secondary directory and the first secondary resource identifier.
Step S306, sending the first secondary catalog and the first secondary resource identifier to the fusion video scheduling platform, so that the fusion video scheduling platform determines a target resource identifier according to the first secondary catalog and the first secondary resource identifier.
Similarly, after reading the first secondary directory and the first secondary resource identifier from the directory database, the collaboration server may first perform protocol conversion processing on the first secondary directory and the first secondary resource identifier, so that the first secondary directory and the first secondary resource identifier can be sent to the converged video scheduling platform based on the video networking protocol, where the first secondary directory may be one or multiple or none, and the first secondary resource identifier may also be one or multiple or none, and in a normal case, the first secondary directory and the first secondary resource identifier may not be simultaneously absent.
After receiving the first secondary directory and the first secondary resource identifier sent by the protocol conversion server, the fusion video scheduling platform can analyze and display the first secondary directory and the first secondary resource identifier on a display page of the fusion video scheduling platform for a user to view and select. Illustratively, 2 first secondary directories, directory 1 and directory 2, and 2 first secondary resource identifiers, camera 1 and camera 2, may be displayed on the converged video scheduling platform.
If the user finds the target resource identification required by the user on the fusion video scheduling platform, a second user selection instruction can be sent to the fusion video scheduling platform, the target resource identification is selected, a monitoring resource acquisition request is generated, and the monitoring resource acquisition request is sent to the coordination server. Assuming that the camera 1 is a target resource identifier required by the user, the user may issue a second user instruction, select the camera 1, for example, generate a monitoring resource acquisition request by clicking the camera 1, and send the monitoring resource acquisition request to the coordination server.
And step S307, receiving the codes of the target resource identifiers sent by the fusion video scheduling platform.
The protocol conversion server can receive the monitoring resource acquisition request sent by the fusion video scheduling platform and analyze the carried code of the target resource identifier from the monitoring resource acquisition request, so that the protocol conversion server can receive the code of the target resource identifier sent by the fusion video scheduling platform.
Step S308, according to the code of the target resource identifier, acquiring the monitoring resource corresponding to the code of the target resource identifier from a resource database.
After receiving the code of the target resource identifier, the collaboration server can acquire the monitoring resource corresponding to the code of the target resource identifier from the resource database, and then send the monitoring resource to the fusion video scheduling platform, so that in a video conference scene of the video network, the monitoring resource can be pulled into a conference through the fusion video scheduling platform.
In the embodiment, the protocol conversion server returns the directory and the resource identifier according to the hierarchy, the video scheduling platform is fused to send the code corresponding to the directory or the resource identifier under the selected hierarchy to the protocol conversion server at each time, and the directory and the resource identifier are sequentially read through the hierarchy, so that the problem that the response speed is slow or the resource identifier cannot be successfully read due to the fact that all the directories and the resource identifiers are read at one time is solved, the success rate of reading the directory and the resource identifier is improved, the speed of reading the directory and the resource identifier is optimized, the acquisition efficiency of monitoring resources is improved, the robustness of a system is improved, and the user experience is improved.
In an implementation manner, in consideration that the user may not find the target resource identifier required by the user in the first secondary resource identifier, after step S305, the monitoring resource obtaining method according to the embodiment of the present application may further include the following steps:
step S309, sending the first secondary catalog and the first secondary resource identifier to the fusion video scheduling platform, so that the fusion video scheduling platform determines a first target secondary catalog according to the first secondary catalog and the first secondary resource identifier.
Step S310, receiving the encoding of the first target secondary directory sent by the converged video scheduling platform.
Step S311, according to the code of the first target secondary directory, obtaining a second secondary directory and a second secondary resource identifier corresponding to the code of the first target secondary directory from the directory database, where the second secondary directory and the second secondary resource identifier are located under the first secondary directory.
Step S312, taking the second secondary catalog as the first secondary catalog, and taking the second secondary resource identifier as the first secondary resource identifier, and returning to the step: and sending the first secondary catalog and the first secondary resource identifier to the fusion video scheduling platform until the monitoring resource corresponding to the code of the target resource identifier is obtained from the resource database.
Similarly, after reading the first secondary directory and the first secondary resource identifier from the directory database, the protocol conversion processing may be performed on the first secondary directory and the first secondary resource identifier first, so that the first secondary directory and the first secondary resource identifier can be sent to the converged video scheduling platform based on the video networking protocol.
After receiving the first secondary directory and the first secondary resource identifier sent by the protocol conversion server, the fusion video scheduling platform can analyze and display the first secondary directory and the first secondary resource identifier on a display page of the fusion video scheduling platform for a user to view and select.
If the user does not find the target resource identifier needed by the user from the fusion video scheduling platform, a third user selection instruction can be sent to the fusion video scheduling platform, a first target secondary directory is determined from the first secondary directory and the first secondary resource identifier, the code of the determined first target secondary directory is sent to the coordination server, after the coordination server receives the code of the first target secondary directory sent by the fusion video scheduling platform, a second secondary directory and a second secondary resource identifier corresponding to the code of the first target secondary directory can be continuously obtained from the directory database according to the code of the first target secondary directory, then the obtained second secondary directory and the obtained second secondary resource identifier are subjected to protocol conversion and then sent to the fusion video scheduling platform, so that the second secondary directory and the second secondary resource identifier are displayed again after being analyzed by the fusion video scheduling platform and are selected by the user, and if the user finds the target resource identifier needed by the user from the second secondary resource identifier, the code of the target resource identifier is sent to the coordination server, and the coordination server obtains the monitored resource from the source database according to the code of the target resource identifier; if the user still does not find the target resource identifier required by the user in the second secondary resource identifier, the user can continue to select the second secondary target directory from the second secondary directory and send the code of the second secondary target directory to the collaboration server, so that the collaboration server obtains the third secondary directory and the third secondary resource identifier, the steps are repeated until the user finds the target resource identifier, and the collaboration server obtains the monitored resource corresponding to the code of the target resource identifier from the resource database.
The resource database may be a DB database.
In the embodiment, the directory and the resource identifier are sequentially read in a hierarchical manner, so that the problem that the response speed is low or the directory and the resource identifier cannot be successfully read due to the fact that all the directory and the resource identifier are read at one time is solved, the success rate of reading the directory and the resource identifier is improved, the speed of reading the directory and the resource identifier is optimized, the acquisition efficiency of monitoring resources is improved, the robustness of a system is improved, and the user experience is improved.
In an implementation manner, in consideration of a large number of monitoring resources accessed in the monitoring resource management system, which results in a large number of first source top-level directories in the directory database, so that, in order to avoid occupying too many resources when the first source top-level directories are sent, before step S303, the monitoring resource obtaining method according to the embodiment of the present application may further include the following steps: and sequentially formatting and compressing the first source top-level directory to obtain a packaged second source top-level directory.
After the first source top-level directory is formatted and compressed in sequence to obtain a second source top-level directory, the second source top-level directory can be sent to the converged video scheduling platform, then the converged video scheduling platform receives and de-encapsulates the second source top-level directory to obtain the first source top-level directory, and selects the target top-level directory from the first source top-level directory.
The first source top-level directory is sequentially formatted and compressed to obtain the second source top-level directory and then sent, so that the number of transmitted characters can be reduced, and network transmission is optimized.
Preferably, the formatting may be JSON formatting.
In an embodiment, each time the protocol conversion server sends a directory to the fusion video scheduling platform independently or sends a directory and a resource identifier simultaneously, the protocol conversion server can format and compress the directory and the resource sequentially, so as to reduce the number of transmitted characters and optimize network transmission.
Referring to fig. 4, fig. 4 is a flowchart illustrating steps of a monitoring resource obtaining method according to an embodiment of the present invention, where the method is applied to a converged video scheduling platform in a monitoring resource management system of a video network, and the method specifically includes the following steps:
step S401, sending a directory resource reading request to the co-transformation server, so that the co-transformation server obtains a first source top-level directory from the directory database according to the directory resource reading request, where each directory or resource identifier in the directory database has a unique code.
Step S402, receiving the first source top-level directory sent by the collaboration server.
Step S403, according to the first user selection instruction, determining a target top-level directory from the first source top-level directory.
Step S404, sending the code of the target top-level directory to the corotation server, so that the corotation server obtains, according to the code of the target top-level directory, a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory from the directory database, where the first secondary directory and the first secondary resource identifier are located under the target top-level directory.
Step S405, receiving the first secondary directory and the first secondary resource identifier sent by the collaboration server.
Step S406, according to a second user selection instruction, determining a target resource identifier from the first secondary directory and the first secondary resource identifier.
Step S407, sending the code of the target resource identifier to the coordination server, so that the coordination server obtains the monitored resource corresponding to the code of the target resource identifier from the resource database according to the code of the target resource identifier.
For specific contents of this embodiment, reference may be made to the contents of steps S301 to S308, which are not described herein again.
Optionally, in this embodiment of the present invention, after receiving the first secondary directory and the first secondary resource identifier sent by the collaboration server, the method may further include the following steps:
step S408, according to a third user selection instruction, determining a first target subordinate catalog from the first subordinate catalog and the first subordinate resource identifier.
Step S409, sending the code of the first target secondary directory to the collaboration server, so that the collaboration server obtains, according to the code of the first target secondary directory, a second secondary directory and a second secondary resource identifier corresponding to the code of the first target secondary directory from the directory database, where the second secondary directory and the second secondary resource identifier are located under the first target secondary directory.
Step S410, taking the second secondary catalog as the first secondary catalog, and taking the second secondary resource identifier as the first secondary resource identifier, and returning to the step: and receiving the first secondary directory and the first secondary resource identifier sent by the co-transfer server until receiving the monitoring resource corresponding to the code of the target resource identifier acquired by the co-transfer server from the resource database.
Similarly, for the specific content of this embodiment, reference may be made to the content of the foregoing steps S309 to S312, which is not described herein again.
Optionally, in an embodiment of the present invention, the step S402 may specifically include the following steps:
step S4021, receiving an encapsulated second source top-level directory sent by the protocol conversion server, where the encapsulated second source top-level directory is obtained by the protocol conversion server sequentially formatting and compressing the first source top-level directory.
Step S4022, decapsulate the second source top level directory to obtain the first source top level directory.
Similarly, for the specific content of this embodiment, reference may be made to the content in the foregoing embodiment, which is not described herein again.
In the embodiment, the directory and the resource identifier are sequentially read in a hierarchical manner, so that the problem that the response speed is low or the directory and the resource identifier cannot be successfully read due to the fact that all the directory and the resource identifier are read at one time is solved, the success rate of reading the directory and the resource identifier is improved, the speed of reading the directory and the resource identifier is optimized, the acquisition efficiency of monitoring resources is improved, the robustness of a system is improved, and the user experience is improved.
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 depending on the embodiment of the invention. Further, those of skill 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 embodiments of the invention.
Referring to fig. 5, fig. 5 further shows a schematic diagram of an exemplary interaction process between each part in the video network monitoring resource management system, in fig. 5, taking an example that a user reads a subordinate directory and a resource identifier of a subordinate directory on Pamir as an example, a specific process is as follows:
pamir requests a protocol co-transformation server to acquire a subordinate directory and a resource identifier of a certain subordinate directory through a video networking protocol, and the request is accompanied with the code of the subordinate directory. The corotation server receives the request, analyzes the code of the secondary catalog, and queries the lower-level catalog and the resource identifier corresponding to the code of the secondary catalog through the DB. And the cooperative conversion server carries out JSON formatting on the read lower-level directory and resource identification, and then carries out compression processing on the formatted directory and resource identification. After the encapsulation process is completed, the protocol converter returns the encapsulated directory and resource identification data to Pamir via the video networking protocol. Pamir parses the encapsulated directory and resources for presentation.
Based on the same technical concept, please refer to fig. 6, fig. 6 shows a monitoring resource obtaining apparatus 60 according to an embodiment of the present invention, the apparatus includes:
a first receiving module 61, configured to receive a directory resource reading request sent by the fusion video scheduling platform;
a first obtaining module 62, configured to, in response to the directory resource reading request, obtain a first source top-level directory from the directory database, where each directory or resource identifier in the directory database has a unique code;
a first sending module 63, configured to send the first source top-level directory to the converged video scheduling platform, so that the converged video scheduling platform determines a target top-level directory from the first source top-level directory;
a second receiving module 64, configured to receive the code of the target top-level directory sent by the fusion video scheduling platform;
a second obtaining module 65, configured to obtain, according to the code of the target top-level directory, a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory from the directory database, where the first secondary directory and the first secondary resource identifier are located under the target top-level directory;
a second sending module 66, configured to send the first secondary directory and the first secondary resource identifier to the converged video scheduling platform, so that the converged video scheduling platform determines a target resource identifier according to the first secondary directory and the first secondary resource identifier;
a third receiving module 67, configured to receive the code of the target resource identifier sent by the fusion video scheduling platform;
a third obtaining module 68, configured to obtain, according to the code of the target resource identifier, the monitoring resource corresponding to the code of the target resource identifier from the resource database.
Optionally, the apparatus further comprises:
a third sending module, configured to send the first secondary directory and the first secondary resource identifier to the fusion video scheduling platform, so that the fusion video scheduling platform determines a first target secondary directory according to the first secondary directory and the first secondary resource identifier.
A fourth receiving module, configured to receive the code of the first target secondary directory sent by the fusion video scheduling platform;
a fourth obtaining module, configured to obtain, from the directory database, a second secondary directory and a second secondary resource identifier corresponding to the code of the first target secondary directory according to the code of the first target secondary directory, where the second secondary directory and the second secondary resource identifier are located below the first secondary directory;
a first repeated execution module, configured to use the second secondary directory as the first secondary directory, and use the second secondary resource identifier as the first secondary resource identifier, and return to the step: and sending the first secondary catalog and the first secondary resource identifier to the fusion video scheduling platform until the monitoring resource corresponding to the code of the target resource identifier is obtained from the resource database.
Optionally, the apparatus comprises:
the packaging module is used for sequentially formatting and compressing the first source top-level directory to obtain a packaged second source top-level directory;
the first sending module includes:
and the sending submodule is used for sending the second source top-level directory to the fusion video scheduling platform so that the fusion video scheduling platform unpacks the second source top-level directory to obtain the first source top-level directory, and selects the target top-level directory from the first source top-level directory.
Referring to fig. 7, fig. 7 shows another monitoring resource obtaining apparatus 70 according to an embodiment of the present invention, where the apparatus includes:
a fourth sending module 71, configured to send a directory resource reading request to the co-transformation server, so that the co-transformation server obtains the first source top-level directory from the directory database according to the directory resource reading request, where each directory or resource identifier in the directory database has a unique code;
a fifth receiving module 72, configured to receive the first source top-level directory sent by the collaboration server;
a first determining module 73, configured to determine, according to a first user selection instruction, a target top-level directory from the first source top-level directory;
a fifth sending module 74, configured to send the code of the target top-level directory to the corotation server, so that the corotation server obtains, according to the code of the target top-level directory, a first secondary directory and a first secondary resource identifier, which correspond to the code of the target top-level directory, from the directory database, where the first secondary directory and the first secondary resource identifier are located under the target top-level directory;
a sixth receiving module 75, configured to receive the first secondary directory and the first secondary resource identifier sent by the collaboration server;
a second determining module 76, configured to determine, according to a second user selection instruction, a target resource identifier from the first secondary directory and the first secondary resource identifier;
a sixth sending module 77, configured to send the code of the target resource identifier to the coordination server, so that the coordination server obtains, according to the code of the target resource identifier, the monitored resource corresponding to the code of the target resource identifier from the resource database.
Optionally, the apparatus further comprises:
a third determining module, configured to determine a first target subordinate catalog from the first subordinate catalog and the first subordinate resource identifier according to a third user selection instruction;
a seventh sending module, configured to send the code of the first target secondary directory to the corotation server, so that the corotation server obtains, according to the code of the first target secondary directory, a second secondary directory and a second secondary resource identifier, which correspond to the code of the first target secondary directory, from the directory database, where the second secondary directory and the second secondary resource identifier are located in the first target secondary directory;
a second repeat execution module, configured to use the second secondary directory as the first secondary directory, and use the second secondary resource identifier as the first secondary resource identifier, and return to the step: and receiving the first secondary directory and the first secondary resource identifier sent by the co-transfer server until receiving the monitoring resource corresponding to the code of the target resource identifier acquired by the co-transfer server from the resource database.
Optionally, the fifth receiving module includes:
the receiving submodule is used for receiving an encapsulated second source top-level directory sent by the corotation server, wherein the encapsulated second source top-level directory is obtained by the corotation server through formatting and compressing the first source top-level directory in sequence;
and the decapsulation submodule is used for decapsulating the second source top-level directory to obtain the first source top-level directory.
An embodiment of the present invention further provides a device for acquiring monitoring resources, including:
one or more processors; and
one or more computer-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform a method for monitoring resource acquisition as in any one of the embodiments of the invention.
The embodiment of the present invention further provides a computer-readable storage medium, in which a stored computer program causes a processor to execute the monitoring resource obtaining method according to the embodiment of the present invention.
For the embodiment of the monitoring resource obtaining device, since it is basically similar to the embodiment of the monitoring resource obtaining method, the description is relatively simple, and for relevant points, reference may be made to part of the description of the embodiment of the monitoring resource obtaining method.
The video networking technology used in the present application will be described in detail below.
The video networking is an important milestone of 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 is face-to-face.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services such as high-definition video conferences, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mails, personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like into a system platform, and realizes high-definition quality video broadcast through a television or a computer.
To enable those skilled in the art to better understand the embodiments of the present invention, the following description is given of 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 video networking technology adopts Packet Switching 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 network is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the large-scale high-definition video real-time transmission of the whole network which can not be realized by the current 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 moving capability of a video window is irrelevant to 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 video window movement, and the efficiency is greatly improved by over 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 eradicates the network security problem disturbing the Internet from the structure by the modes of independent admission control of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, stops 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, but also connected with a single user, a private network user or the sum of one network. 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 matching 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:
an internet of view is a centrally controlled network structure, which may be of the tree, star, ring, etc. type, but on this basis a centralized control node is required in the network to control the entire network.
As shown in fig. 8, the view network is divided into two parts, 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 central control function in the metropolitan area network and can control the node switch and the 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 controlled by a hierarchical centralized way, and the network controlled by the node server and the metropolitan area server can be in various structures such as a tree, a star, a ring and the like.
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.
Visio 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 gateway), terminal (including various set-top box, coding 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 switch (including Ethernet protocol 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. 9, the network interface module 701, the switching engine module 702, the CPU module 703, and the disk array module 704 are mainly included;
the packets coming from the network interface module 701, the cpu module 703 and the disk array module 704 all enter the switching engine module 702; the switching engine module 702 performs an operation of looking up the address table 705 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a corresponding queue of the packet buffer 706 based on the packet's steering information; if the queue of the packet buffer 706 is nearly full, discard; the switching engine module 702 polls all packet buffer queues and forwards if the following conditions are met: 1) The port send buffer is not full; 2) The queued packet counter is greater than zero. The disk array module 704 mainly implements control over the hard disk, including initialization, read-write, and other operations; the CPU module 703 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 705 (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 704.
The access switch:
as shown in fig. 10, the network interface module mainly includes a network interface module (a downlink network interface module 801, an uplink network interface module 802), a switching engine module 803, and a CPU module 804;
wherein, the packet (uplink data) coming from the downlink network interface module 801 enters the packet detection module 805; the packet detection module 805 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 803, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 802 enters the switching engine module 803; the incoming data packet from the CPU module 804 enters the switching engine module 803; the switching engine module 803 performs an operation of looking up the address table 806 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 803 is from the downlink network interface to the uplink network interface, the packet is stored in a queue of the corresponding packet buffer 807 in association with a stream identifier (stream-id); if the queue of the packet buffer 807 is nearly full, it is discarded; if the packet entering the switching engine module 803 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 807 according to the packet guiding information; if the queue of the packet buffer 807 is close to full, it is discarded.
The switching engine module 803 polls all packet buffer queues, which 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 808 is configured by the CPU module 804, and generates tokens for packet buffer queues from all downlink network interfaces to the uplink network interfaces at programmable intervals, so as to control the rate of uplink forwarding.
The CPU module 804 is mainly responsible for protocol processing with the node server, configuration of the address table 806, and configuration of the code rate control module 808.
Ethernet protocol gateway:
as shown in fig. 11, the apparatus mainly includes a network interface module (a downlink network interface module 901 and an uplink network interface module 902), a switching engine module 903, a CPU module 904, a packet detection module 905, a rate control module 908, an address table 906, a packet buffer 907, a MAC adding module 909, and a MAC deleting module 910.
Wherein, the data packet coming from the downlink network interface module 901 enters the packet detection module 905; the packet detection module 905 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 910 subtracts MAC DA, MAC SA, length or frame type (2 byte), and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 901 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 MAC SA of the ethernet protocol 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 byte, payload (PDU), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
Figure BDA0002347394820000201
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), and is defined to be the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to the types of different datagrams, 64 bytes if it is a packet of various protocols, 32+1024=1056 bytes if it is a packet of unicast data, and certainly 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 packet definition for metropolitan area networks
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., more than 2 connections between a node switch and a node server, between a node switch and a node switch, and between a node switch and a node server. However, the 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 the present 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 there are 2 labels for the packet from the device B to the device a. The label is divided into an in label and an out label, and assuming that the label (in label) of the data packet entering the device a is 0x0000, the label (out label) of the data packet leaving the device a may become 0x0001. 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 all passively executed, which is different from label allocation of MPLS, which 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:
Figure BDA0002347394820000211
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, which is located between the reserved bytes and the payload of the packet.
The embodiments in the present specification are all described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same and similar between the embodiments may be referred to each other.
As will be appreciated by one of skill 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 so forth) 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 apparatus 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 the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present 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 phrases "comprising one of \ 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The above detailed description is provided for a monitoring resource obtaining method, a monitoring resource obtaining apparatus and a computer readable storage medium, and specific examples are applied herein to explain the principles and embodiments of the present invention, and the descriptions of the above embodiments are only used to help understanding the method and the core idea of the present 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 (10)

1. A method for acquiring monitoring resources is applied to a cooperative conversion server in a monitoring resource management system, and comprises the following steps:
receiving a directory resource reading request sent by a fusion video scheduling platform;
responding to the directory resource reading request, acquiring a first source top-level directory from a directory database, wherein each directory or resource identifier in the directory database has a unique code;
sending the first source top-level directory to the converged video scheduling platform so that the converged video scheduling platform determines a target top-level directory from the first source top-level directory, wherein the first source top-level directory is an Internet protocol-based unprocessed top-level directory, and no resource identifier exists in the first source top-level directory;
receiving the codes of the target top-level directory sent by the fusion video scheduling platform;
acquiring a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory from the directory database according to the code of the target top-level directory, wherein the first secondary directory and the first secondary resource identifier are positioned under the target top-level directory;
sending the first secondary catalog and the first secondary resource identifier to the fusion video scheduling platform, so that the fusion video scheduling platform determines a target resource identifier according to the first secondary catalog and the first secondary resource identifier;
receiving the codes of the target resource identifiers sent by the fusion video scheduling platform;
and acquiring the monitoring resource corresponding to the code of the target resource identifier from a resource database according to the code of the target resource identifier.
2. The method of claim 1, wherein after obtaining the first secondary catalog corresponding to the code of the target top-level catalog and the first secondary resource identification from the catalog database, the method further comprises:
sending the first secondary catalog and the first secondary resource identifier to the fusion video scheduling platform, so that the fusion video scheduling platform determines a first target secondary catalog according to the first secondary catalog and the first secondary resource identifier;
receiving the coding of the first target secondary catalog sent by the converged video scheduling platform;
acquiring a second secondary directory and a second secondary resource identifier corresponding to the code of the first target secondary directory from the directory database according to the code of the first target secondary directory, wherein the second secondary directory and the second secondary resource identifier are positioned under the first secondary directory;
taking the second secondary directory as the first secondary directory and the second secondary resource identifier as the first secondary resource identifier, and returning to the step: and sending the first secondary catalog and the first secondary resource identifier to the fusion video scheduling platform until the monitoring resource corresponding to the code of the target resource identifier is obtained from the resource database.
3. The method of claim 1, wherein prior to sending the first source top-level directory to the converged video scheduling platform, the method further comprises:
sequentially formatting and compressing the first source top-level directory to obtain a second source top-level directory after encapsulation;
the sending the first source top-level directory to the converged video scheduling platform to cause the converged video scheduling platform to select a target top-level directory in the first source top-level directory comprises:
and sending the second source top-level directory to the converged video scheduling platform so that the converged video scheduling platform de-encapsulates the second source top-level directory to obtain the first source top-level directory, and selecting the target top-level directory from the first source top-level directory.
4. A monitoring resource obtaining method is applied to a fusion video scheduling platform in a monitoring resource management system, and comprises the following steps:
sending a directory resource reading request to a corotation server so that the corotation server obtains a first source top-level directory from a directory database according to the directory resource reading request, wherein each directory or resource identifier in the directory database has a unique code, the first source top-level directory is an unprocessed top-level directory based on an internet protocol, and no resource identifier exists in the first source top-level directory;
receiving the first source top-level directory sent by the protocol conversion server;
determining a target top-level directory from the first source top-level directory according to a first user selection instruction;
sending the code of the target top-level directory to the corotation server so that the corotation server obtains a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory from the directory database according to the code of the target top-level directory, wherein the first secondary directory and the first secondary resource identifier are located under the target top-level directory;
receiving the first secondary directory and the first secondary resource identifier sent by the co-transfer server;
according to a second user selection instruction, determining a target resource identifier from the first secondary directory and the first secondary resource identifier;
and sending the code of the target resource identifier to the cooperative conversion server so that the cooperative conversion server acquires the monitored resource corresponding to the code of the target resource identifier from a resource database according to the code of the target resource identifier.
5. The method of claim 4, wherein after the receiving the first secondary directory and the first secondary resource identifier sent by the collaboration server, the method further comprises:
determining a first target subordinate catalog from the first subordinate catalog and the first subordinate resource identifier according to a third user selection instruction;
sending the code of the first target secondary directory to the corotation server, so that the corotation server obtains a second secondary directory and a second secondary resource identifier corresponding to the code of the first target secondary directory from the directory database according to the code of the first target secondary directory, wherein the second secondary directory and the second secondary resource identifier are located under the first target secondary directory;
taking the second secondary catalog as the first secondary catalog and the second secondary resource identifier as the first secondary resource identifier, and returning to the step: and receiving the first secondary directory and the first secondary resource identifier sent by the co-transfer server until receiving the monitoring resource corresponding to the code of the target resource identifier acquired by the co-transfer server from the resource database.
6. The method of claim 4, wherein the receiving the first source top-level directory sent by the collaboration server comprises:
receiving an encapsulated second source top-level directory sent by the corotation server, wherein the encapsulated second source top-level directory is obtained by the corotation server through formatting and compressing the first source top-level directory in sequence;
and de-encapsulating the second source top-level directory to obtain the first source top-level directory.
7. A monitoring resource acquisition apparatus, comprising:
the first receiving module is used for receiving a directory resource reading request sent by the fusion video scheduling platform;
a first obtaining module, configured to, in response to the directory resource reading request, obtain a first source top-level directory from the directory database, where each directory or resource identifier in the directory database has a unique code, where the first source top-level directory is an internet protocol-based unprocessed top-level directory, and no resource identifier exists in the first source top-level directory;
a first sending module, configured to send the first source top-level directory to the converged video scheduling platform, so that the converged video scheduling platform determines a target top-level directory from the first source top-level directory;
the second receiving module is used for receiving the codes of the target top-level directory sent by the fusion video scheduling platform;
a second obtaining module, configured to obtain, from the directory database, a first secondary directory and a first secondary resource identifier corresponding to the code of the target top-level directory according to the code of the target top-level directory, where the first secondary directory and the first secondary resource identifier are located below the target top-level directory;
a second sending module, configured to send the first secondary directory and the first secondary resource identifier to the fusion video scheduling platform, so that the fusion video scheduling platform determines a target resource identifier according to the first secondary directory and the first secondary resource identifier;
the third receiving module is used for receiving the codes of the target resource identifiers sent by the fusion video scheduling platform;
and the third acquisition module is used for acquiring the monitoring resource corresponding to the code of the target resource identifier from a resource database according to the code of the target resource identifier.
8. A monitoring resource acquisition apparatus, comprising:
a fourth sending module, configured to send a directory resource reading request to a corotation server, so that the corotation server obtains, according to the directory resource reading request, a first source top-level directory from the directory database, where each directory or resource identifier in the directory database has a unique code, where the first source top-level directory is an internet protocol-based top-level directory that is not processed, and there is no resource identifier in the first source top-level directory;
a fifth receiving module, configured to receive the first source top-level directory sent by the corotation server;
the first determining module is used for determining a target top-level directory from the first source top-level directory according to a first user selection instruction;
a fifth sending module, configured to send the code of the target top-level directory to the corotation server, so that the corotation server obtains, according to the code of the target top-level directory, a first secondary directory and a first secondary resource identifier, which correspond to the code of the target top-level directory, from the directory database, where the first secondary directory and the first secondary resource identifier are located under the target top-level directory;
a sixth receiving module, configured to receive the first secondary directory and the first secondary resource identifier sent by the corotation server;
a second determining module, configured to determine, according to a second user selection instruction, a target resource identifier from the first secondary directory and the first secondary resource identifier;
and a sixth sending module, configured to send the code of the target resource identifier to the coordination server, so that the coordination server obtains, according to the code of the target resource identifier, the monitored resource corresponding to the code of the target resource identifier from a resource database.
9. A monitoring resource acquisition apparatus, comprising:
one or more processors; and
one or more computer-readable storage media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the monitoring resource acquisition method of any of claims 1-6.
10. A computer-readable storage medium storing a computer program for causing a processor to execute the monitoring resource acquisition method according to any one of claims 1 to 6.
CN201911400645.3A 2019-12-30 2019-12-30 Monitoring resource obtaining method and device and computer readable storage medium Active CN111212255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911400645.3A CN111212255B (en) 2019-12-30 2019-12-30 Monitoring resource obtaining method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911400645.3A CN111212255B (en) 2019-12-30 2019-12-30 Monitoring resource obtaining method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111212255A CN111212255A (en) 2020-05-29
CN111212255B true CN111212255B (en) 2022-10-18

Family

ID=70788335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911400645.3A Active CN111212255B (en) 2019-12-30 2019-12-30 Monitoring resource obtaining method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111212255B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709231B (en) * 2021-08-24 2024-02-20 广州文远知行科技有限公司 Data packet loading method, client, server, equipment and storage medium
CN113949732A (en) * 2021-10-18 2022-01-18 重庆紫光华山智安科技有限公司 Analysis task management method, device and system, main management equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9313455B1 (en) * 2014-04-09 2016-04-12 Arkansas State University—Jonesboro Automated audio/video distribution system
CN109617956A (en) * 2018-12-04 2019-04-12 视联动力信息技术股份有限公司 A kind of data processing method and device
CN109819209A (en) * 2019-01-09 2019-05-28 视联动力信息技术股份有限公司 A kind of system, method and apparatus that monitoring resource is transferred
CN109889780A (en) * 2019-01-31 2019-06-14 视联动力信息技术股份有限公司 Method of data synchronization and device
CN110263030A (en) * 2019-05-06 2019-09-20 视联动力信息技术股份有限公司 Data capture method and device based on view networking
CN110381029A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of monitoring resource synchronization method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9313455B1 (en) * 2014-04-09 2016-04-12 Arkansas State University—Jonesboro Automated audio/video distribution system
CN109617956A (en) * 2018-12-04 2019-04-12 视联动力信息技术股份有限公司 A kind of data processing method and device
CN109819209A (en) * 2019-01-09 2019-05-28 视联动力信息技术股份有限公司 A kind of system, method and apparatus that monitoring resource is transferred
CN109889780A (en) * 2019-01-31 2019-06-14 视联动力信息技术股份有限公司 Method of data synchronization and device
CN110263030A (en) * 2019-05-06 2019-09-20 视联动力信息技术股份有限公司 Data capture method and device based on view networking
CN110381029A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of monitoring resource synchronization method and device

Also Published As

Publication number Publication date
CN111212255A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN108632525B (en) Method and system for processing service
CN108965224B (en) Video-on-demand method and device
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109167960B (en) Method and system for processing video stream data
CN110475102B (en) Monitoring data processing method and system based on video network
CN109996086B (en) Method and device for inquiring service state of video networking
CN110190973B (en) Online state detection method and device
CN109842519B (en) Method and device for previewing video stream
CN109547163B (en) Method and device for controlling data transmission rate
CN109660816B (en) Information processing method and device
CN110191315B (en) Monitoring and checking method and device based on video network
CN110049273B (en) Video networking-based conference recording method and transfer server
CN110475131B (en) Terminal connection method, server and terminal
CN108965930B (en) Video data processing method and device
CN110650313B (en) Catalog display method and device for monitoring resources and storage medium
CN110113564B (en) Data acquisition method and video networking system
CN109802952B (en) Monitoring data synchronization method and device
CN111212255B (en) Monitoring resource obtaining method and device and computer readable storage medium
CN110769297A (en) Audio and video data processing method and system
CN110557370B (en) Method, system, electronic equipment and storage medium for pamir synchronization of terminal information
CN110138729B (en) Data acquisition method and video networking system
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110134892B (en) Loading method and system of monitoring resource list
CN110086773B (en) Audio and video data processing method and system
CN108881148B (en) Data acquisition method and device

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