CN114630081B - Video playing sequence determining method, device, equipment and medium - Google Patents

Video playing sequence determining method, device, equipment and medium Download PDF

Info

Publication number
CN114630081B
CN114630081B CN202210264029.5A CN202210264029A CN114630081B CN 114630081 B CN114630081 B CN 114630081B CN 202210264029 A CN202210264029 A CN 202210264029A CN 114630081 B CN114630081 B CN 114630081B
Authority
CN
China
Prior art keywords
boundary
equipment
connecting point
determining
devices
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
CN202210264029.5A
Other languages
Chinese (zh)
Other versions
CN114630081A (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.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight 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 Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN202210264029.5A priority Critical patent/CN114630081B/en
Publication of CN114630081A publication Critical patent/CN114630081A/en
Application granted granted Critical
Publication of CN114630081B publication Critical patent/CN114630081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Abstract

The application provides a video playing sequence determining method, a device, equipment and a medium, wherein the method comprises the following steps: obtaining the distance from each boundary device to a boundary connecting point, wherein the distance is determined by position data acquired by the boundary device and the boundary GIS data of the area; filtering the boundary equipment according to the distance from the boundary equipment to the boundary connecting point, and determining boundary equipment meeting a preset distance threshold; sequencing boundary equipment meeting a preset distance threshold according to the boundary connecting points to generate a sequencing result of the boundary equipment; and determining the sequence of playing the video stream by the boundary shots corresponding to the boundary equipment according to the sequencing result of the boundary equipment, sequencing the boundary shots corresponding to the boundary equipment according to the sequence of the boundary inspection direction, and further playing the video according to the sequencing result of the boundary shots, thereby reducing the working pressure of manual edge inspection, effectively improving the edge inspection efficiency and realizing the intelligent application of the edge inspection.

Description

Video playing sequence determining method, device, equipment and medium
Technical Field
The present application relates to the field of security data processing, and in particular, to a method, an apparatus, a device, and a medium for determining a video playing sequence.
Background
With the development of security technology and the construction of smart cities, a complete monitoring system is formed from video shooting, image displaying and recording by utilizing security monitoring and transmitting video signals, and the system can reflect monitored objects in real time, image and reality, so that the observation distance of human eyes is greatly prolonged, the functions of the human eyes are expanded, the system can replace manpower to monitor for a long time in a severe environment, and people can see all conditions actually happening on a monitored site and record the conditions through a video recorder.
Particularly, in the application of the border line security information technology, workers need to periodically patrol the border line, and with the powerful pushing of security image equipment, the working pressure of manual border patrol is reduced by patrol of the video pictures of a camera near the border line, however, the existing border line security monitoring equipment (namely, border equipment) cannot sort according to border line patrol tasks, so that the border line security monitoring video pictures are disordered, and the border line security monitoring equipment cannot be effectively utilized to realize the border line security tasks.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present application is directed to a method, apparatus, device, and medium for determining a video playing sequence, so as to solve the problem that the prior art cannot effectively utilize a border protection monitoring device to implement a border inspection task.
To achieve the above and other related objects, the present application provides a video play order determining method, including:
Obtaining the distance from each boundary device to a boundary connecting point, wherein the distance is determined by position data acquired by the boundary device and the boundary GIS data of the area;
filtering the boundary equipment according to the distance from the boundary equipment to the boundary connecting point, and determining boundary equipment meeting a preset distance threshold;
Sequencing boundary equipment meeting a preset distance threshold according to the boundary connecting points to generate a sequencing result of the boundary equipment;
And determining the sequence of playing the video stream by the boundary lens corresponding to the boundary equipment according to the sequencing result of the boundary equipment.
in an embodiment of the present invention, further includes:
acquiring longitude and latitude of boundary equipment and acquiring longitude and latitude of a boundary connecting point by using a GIS device;
determining the distance from the boundary equipment to the boundary connecting point by utilizing a spherical distance formula according to the longitude and latitude of the boundary equipment and the longitude and latitude of the boundary connecting point;
Determining a minimum boundary connecting point corresponding to the boundary equipment according to the minimum distance corresponding to the boundary equipment;
if the minimum distance corresponding to the boundary equipment is within a preset distance threshold, reserving the boundary equipment; and if the minimum distance corresponding to the boundary equipment is not within a preset distance threshold, filtering the boundary equipment.
in an embodiment of the present invention, further includes:
Sorting the filtered boundary devices meeting the preset distance threshold according to boundary connecting points; determining the sequencing result of boundary devices corresponding to the same boundary connecting points; and combining the sorting results of the different boundary connecting points with the sorting results of the boundary devices corresponding to the same boundary connecting points to obtain a final sorting result of the boundary devices.
in an embodiment of the present invention, the step of determining the ordering result of the boundary devices corresponding to the same boundary connecting point includes:
Acquiring a plurality of boundary devices corresponding to the same boundary connecting point, a minimum boundary connecting point of each boundary device, a previous boundary connecting point and a next boundary connecting point which are related to the minimum boundary connecting point;
Determining a connecting line between the former boundary connecting point and the latter boundary connecting point, and according to the connecting line perpendicular point between the minimum boundary connecting point and the connecting line;
Determining a first vector formed by the former boundary connecting point and the latter boundary connecting point, and determining a second vector formed by coordinates of the boundary equipment and the connecting point;
And determining a distance value according to the dot product between the first vector and the second vector, and determining the sequencing result of a plurality of boundary devices of the same boundary connecting point according to the size of the distance value.
in an embodiment of the present invention, further includes:
If the distance values corresponding to the plurality of boundary devices are the same, sorting is carried out according to the distance from the coordinates of the boundary devices to the minimum boundary connecting point; or/and (or)
and if the coordinates corresponding to the plurality of boundary devices are the same, sorting according to dot products of the orientation vector of the boundary device and the first vector.
in an embodiment of the present invention, the determining, according to the sorting result of the boundary device, the sequence of playing the video stream by the boundary shots corresponding to the boundary device further includes:
determining longitude and latitude of the central position of the map by utilizing the screen center of the display window of the GIS map device;
determining a nearest boundary lens corresponding to boundary equipment nearest to the central position of the map according to the distance between the boundary equipment and the boundary connecting point;
Selecting a plurality of shots in the adjacent range before and after the nearest boundary shot according to the sequencing result of the boundary shots corresponding to the boundary equipment;
and utilizing the video playing device to play the real-time video streams acquired by the plurality of shots in a cross-line mode according to the playing sequence.
in an embodiment of the present invention, further includes:
playing N video streams according to the playing sequence;
Receiving a first input of a target video stream playing sequence in the playing sequences of the N video streams; and responding to the first input, playing K video streams according to the playing sequence of the target video streams, wherein the playing sequence of the target video streams is the playing sequence of the K video streams, K is a positive integer less than or equal to N, and N is a positive integer greater than 1.
Another object of the present application is to provide a video play order determining apparatus, comprising:
The acquisition module is used for acquiring the distance from each boundary device to the boundary connecting point, wherein the distance is determined by the position data acquired by the boundary device and the regional boundary GIS data;
The boundary equipment filtering module is used for filtering the boundary equipment according to the distance from the boundary equipment to the boundary connecting point and determining boundary equipment meeting a preset distance threshold;
the boundary equipment ordering module is used for ordering the boundary equipment meeting the preset distance threshold according to the boundary connecting points to generate an ordering result of the boundary equipment;
and the sequential play module is used for determining the sequence of playing the video stream by the boundary lens corresponding to the boundary device according to the sequencing result of the boundary device.
Another object of the present application is to provide an electronic device, including:
One or more processing devices;
A memory for storing one or more programs; when the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to perform the video play order determination method.
It is still another object of the present application to provide a computer-readable storage medium having stored thereon a computer program for causing the computer to execute the video play order determination method.
As described above, the method, apparatus, device and medium for determining video playing sequence of the present application have the following beneficial effects:
The video playing sequence determining method can accurately sequence the boundary shots corresponding to the boundary equipment according to the sequence of the boundary inspection direction, and then sequentially play the video according to the sequencing result of the boundary shots, thereby reducing the working pressure of manual edge inspection, effectively improving the edge inspection efficiency and realizing the intelligent application of the edge equipment inspection.
Drawings
Fig. 1 is a flowchart of a video playing sequence determining method according to an embodiment of the present application;
fig. 2 is a block diagram showing a video play sequence determining apparatus according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a data flow chart of a video playing sequence according to an embodiment of the present application;
FIG. 5 is a diagram showing a boundary device ordering effect in the related art according to an embodiment of the present application;
Fig. 6 shows a playback sequence effect diagram of a border determination device according to an embodiment of the present application.
Detailed Description
Other advantages and effects of the present application will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present application with reference to specific examples. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present application by way of illustration, and only the components related to the present application are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
Referring to fig. 1, a flowchart of a method for determining a video playing sequence according to an embodiment of the present application includes:
Step S101, obtaining the distance from each boundary device to a boundary connecting point, wherein the distance is determined by position data acquired by the boundary device and GIS data of the boundary of the area;
The boundary devices are video acquisition devices, cameras and the like, each boundary device forms a data acquisition system through protocol networking, video data based on region boundary connection points are acquired, and GIS data are acquired according to a (GIS, geographic information system, geographic information system) system or acquired according to a GIS device or a drawing and measuring device.
For example, when the distances from each boundary device to boundary connecting points (a plurality of boundary connecting points corresponding to the inspection task form a boundary connecting line, i.e. a boundary area) are obtained, the calculation may be performed according to a spherical distance formula, for example:
acquiring longitude and latitude of boundary equipment and acquiring longitude and latitude of a boundary connecting point by using a GIS device;
determining the distance from the boundary equipment to the boundary connecting point by utilizing a spherical distance formula according to the longitude and latitude of the boundary equipment and the longitude and latitude of the boundary connecting point;
For another example, the distance s=r·arc cos [ cos β1cos β2cos (α1- α2) +sin β1sin β2], where R is the sphere radius, latitude angle β1, longitude angle α1, latitude angle β2, longitude angle α2, and the distance between the boundary device and the boundary connecting point is determined in the above manner.
Step S102, filtering the boundary equipment according to the distance from the boundary equipment to the boundary connecting point, and determining boundary equipment meeting a preset distance threshold;
The filtering of the boundary device according to the distance from the boundary device to the boundary connecting point further comprises:
determining a minimum boundary connecting point (namely, a minimum distance boundary connecting point) corresponding to the boundary equipment according to the minimum distance corresponding to the boundary equipment;
if the minimum distance corresponding to the boundary equipment is within a preset distance threshold, reserving the boundary equipment; and if the minimum distance corresponding to the boundary equipment is not within a preset distance threshold, filtering the boundary equipment.
For example, the preset distance threshold is a distance set by a user according to requirements, boundary equipment which does not meet the requirements can be filtered by adjusting the distance, and boundary tasks with a relatively close distance from the boundary connecting line point are reserved, so that the boundary corresponding to the routing inspection task path can be reflected, and relevant videos of the routing inspection task can be reflected truly.
Step S103, sequencing boundary equipment meeting a preset distance threshold according to the boundary connecting points to generate a sequencing result of the boundary equipment;
The boundary equipment which meets the preset distance threshold after filtering is classified and ordered according to boundary connecting line points; determining the sequencing result of boundary devices corresponding to the same boundary connecting points; and combining the sorting results of the different boundary connecting points with the sorting results of the boundary devices corresponding to the same boundary connecting points to obtain a final sorting result of the boundary devices.
in some embodiments, the step of determining the ordering result of the boundary devices corresponding to the same boundary connecting point includes:
Acquiring a plurality of boundary devices corresponding to the same boundary connecting point, a minimum boundary connecting point of each boundary device, a previous boundary connecting point and a next boundary connecting point which are related to the minimum boundary connecting point;
Determining a connecting line between the former boundary connecting point and the latter boundary connecting point, and according to the connecting line perpendicular point between the minimum boundary connecting point and the connecting line;
Determining a first vector formed by the former boundary connecting point and the latter boundary connecting point, and determining a second vector formed by coordinates of the boundary equipment and the connecting point;
And determining a distance value according to the dot product between the first vector and the second vector, and determining the sequencing result of a plurality of boundary devices of the same boundary connecting point according to the size of the distance value.
If the distance values corresponding to the plurality of boundary devices are the same, sorting is carried out according to the distance from the coordinates of the boundary devices to the minimum boundary connecting point; or/and (or)
and if the coordinates corresponding to the plurality of boundary devices are the same, sorting according to dot products of the orientation vector of the boundary device and the first vector.
In the above embodiment, it should be noted that, boundary devices of various boundary connecting points are classified according to the boundary connecting points, and the connection order of the boundary devices is determined, for example, for the same boundary connecting point PminThe next multiple devices are ordered, and the minimum boundary connecting point P is selectedminThe associated previous boundary connecting point is Px-1The latter boundary connecting point is Px+1wherein, the boundary connecting point PminConnecting point P with the previous boundaryx-1The latter boundary connecting point Px+1The vertical point of the straight line is PvThe previous boundary connecting point Px-1Connecting point P with the next boundaryx+1Forming a first vectorAssuming that the boundary device coordinates are P, the point P is verticalvForm a second vector/>, with the boundary device coordinates PCalculating a first vectorAnd a second vector/>Dot product/>Obtaining a distance D, sorting from small to small according to the distance D values obtained by calculation of a plurality of devices, and if the distance D values are the same, obtaining a minimum boundary connecting point P according to a boundary device coordinate PminOrdering from small to large, if the device coordinates are the same, according to the boundary device orientation vector/>θ is the angle between the orientation of the boundary device and the east, the orientation vector of the boundary device and/>Dot product D of (2)dsorting from small to large to finally obtain PminAnd ordering results of the plurality of boundary devices.
By the method, the position data collected by unordered boundary equipment and the regional boundary GIS data are sourced from the GIS device, the boundary equipment data are filtered and sequenced to generate the sequencing result related to the boundary equipment, the sequencing result of the boundary equipment is utilized to generate the sequencing result of the equipment list matched with the patrol task and the boundary region, and then the video streams collected by the boundary shots corresponding to the final boundary equipment are sequenced and played according to the sequence of the sequenced video streams.
Step S104, determining the sequence of playing the video stream by the boundary lens corresponding to the boundary device according to the sequencing result of the boundary device.
the determining the sequence of playing the video stream by the boundary shots corresponding to the boundary equipment according to the sequencing result of the boundary equipment further comprises:
determining longitude and latitude of the central position of the map by utilizing the screen center of the display window of the GIS map device;
determining a nearest boundary lens corresponding to boundary equipment nearest to the central position of the map according to the distance between the boundary equipment and the boundary connecting point;
Selecting a plurality of shots in the adjacent range before and after the nearest boundary shot according to the sequencing result of the boundary shots corresponding to the boundary equipment;
and utilizing the video playing device to play the real-time video streams acquired by the plurality of shots in a cross-line mode according to the playing sequence.
for example, a GIS map device is a software or system for electronic map presentation and computation. The video playback device is a software or library for playing back video streams.
Specifically, the distance between the boundary equipment and the boundary connecting point is calculated, a boundary lens (nearest boundary lens) nearest to the central position is determined as Cx, lenses in the adjacent range before and after the nearest boundary lens Cx are intercepted according to the sequencing result of the boundary lens, and the intercepted lenses are pulled to sequentially play the real-time video stream through the video playing device.
In this embodiment, see fig. 5 in detail, which is a diagram of a boundary device ordering effect in the related art according to an embodiment of the present application; and selecting a plurality of paths of boundary shots in a boundary area of an experiment area, wherein each boundary shot corresponds to position information and longitude and latitude, if the boundary shots are simply sequenced according to longitude or latitude directions, the boundary equipment playing connection conditions are as shown in fig. 5, and the boundary equipment B, the boundary equipment A, the boundary equipment D, the boundary equipment C and the boundary equipment E are sequentially formed to be continuously played, so that the sequencing cannot be performed according to the edge inspection task, the edge protection monitoring video picture is disordered, and the edge inspection task cannot be realized by utilizing the boundary equipment.
Referring to fig. 6 in detail, for a border device play sequence effect diagram provided in the embodiment of the present application, a border shot string play sequence calculation method based on regional border GIS data is adopted to reorder border shots of multiple ways located in a border region, and the border device play connection condition after the ordering is: and sequentially forming a boundary device A, a boundary device B, a boundary device C, a boundary device D and a boundary device E, and continuously playing.
The calculation method of the boundary lens string playing sequence based on the regional boundary GIS data is found by comparing the front and rear connection results, the result of sorting the lenses in the boundary region more accords with the real path of inspection, the real-time video playing is carried out according to the sorting result of the lenses, the working pressure of manual edge inspection is reduced, the edge inspection efficiency is effectively improved, and the intelligent application of the edge equipment inspection is realized.
in some embodiments, further comprising:
playing N video streams according to the playing sequence;
Receiving a first input of a target video stream playing sequence in the playing sequences of the N video streams; and responding to the first input, playing K video streams according to the playing sequence of the target video streams, wherein the playing sequence of the target video streams is the playing sequence of the K video streams, K is a positive integer less than or equal to N, and N is a positive integer greater than 1.
The target video stream comprises N video streams, the target video stream comprises a plurality of video stream playing sequences, each video stream playing sequence is the playing sequence of at least one video stream in the N video streams, N is an integer greater than 1, and N is a positive integer.
For example, in the embodiment of the present application, the first input may be a touch input, a voice input, or a gesture input for playing the target video stream sequentially. For example, the touch input is a click input to the playing order of the target video stream. Of course, the first input may also be an input to a physical key or other possible inputs, which is not limited by the embodiment of the present application.
the playing sequence of the target video stream is the playing sequence of K video streams, and K is a positive integer less than or equal to N.
For example, a plurality of video stream play orders for playing K video streams, including a target video stream play order.
Further, the manner in which K video streams are played in each of the plurality of video stream play orders is different. In this way, the user can view K video streams from different angles.
In the above manner, if the user wants to watch some clips in the target video stream, the video stream selects one video stream playing sequence corresponding to the clips from the determined playing sequence, so that the electronic device can directly play the clips in the target video stream according to the video stream playing sequence. Compared with the prior art, the method and the device have the advantages that the user does not need to trigger the electronic equipment for multiple times to adjust the playing progress of the target video stream to the content to be watched, so that the video playing method and the device can enable the video playing to be more flexible and higher in efficiency.
referring to fig. 2, a block diagram of a video play sequence determining apparatus 200 according to an embodiment of the present application is shown; comprising the following steps:
an obtaining module 201, configured to obtain distances from each boundary device to boundary connection points, where the distances are determined by position data collected by the boundary device and GIS data of a region where the boundary device is located;
The boundary device filtering module 202 is configured to filter the boundary device according to a distance from the boundary device to a boundary connecting point, and determine a boundary device that meets a preset distance threshold;
For example, the boundary device filtering module 202 corresponds to the boundary device filtering step in fig. 4.
the boundary device ordering module 203 is configured to order boundary devices that meet a preset distance threshold according to boundary connection points, and generate an ordering result of the boundary devices;
For example, the boundary device ordering module 203 corresponds to the boundary device ordering step in fig. 4.
And the sequential playing module 204 is configured to determine the sequence of playing the video stream by the boundary shots corresponding to the boundary devices according to the sequencing result of the boundary devices.
It should be noted that, the video playing sequence determining device and the video playing sequence determining method are in a one-to-one correspondence relationship, and the technical details and the technical effects related to each module and the above flow steps are the same, and are not described in detail herein, please refer to the above video playing sequence determining method.
Referring now to fig. 3, there is shown a schematic diagram of an electronic device (e.g., a terminal device or server 300) suitable for use in implementing embodiments of the present disclosure, the terminal device in embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (e.g., car navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, etc., the electronic device shown in fig. 3 is merely an example and should not impose any limitation on the functionality and scope of use of embodiments of the present disclosure.
as shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM302, and the RAM303 are connected to each other via a bus 304. An input/output (I/O) interface 307 is also connected to bus 304.
in general, the following devices may be connected to the I/O interface 307: input devices 307 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 308 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device 309, or installed from a storage device 308, or installed from a ROM 302. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that the above-mentioned computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the above. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present embodiment, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform any of the steps of fig. 1.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
In summary, the boundary shots corresponding to the boundary equipment are sequenced according to the boundary inspection direction sequence, and then the videos are sequentially played according to the sequencing result of the boundary shots, so that the working pressure of manual edge inspection is reduced, the edge inspection efficiency is effectively improved, and the intelligent application of the edge equipment inspection is realized. Therefore, the application effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles of the present application and its effectiveness, and are not intended to limit the application. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the application. Accordingly, it is intended that all equivalent modifications and variations of the application be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.

Claims (7)

1. A video play order determining method, comprising the steps of:
Acquiring longitude and latitude of boundary equipment and acquiring longitude and latitude of a boundary connecting point by using a GIS device; determining the distance from the boundary equipment to the boundary connecting point by utilizing a spherical distance formula according to the longitude and latitude of the boundary equipment and the longitude and latitude of the boundary connecting point; the boundary connecting wire points are points on the boundary connecting wire corresponding to the inspection task;
filtering the boundary equipment according to the distance from the boundary equipment to the boundary connecting point, and determining boundary equipment meeting a preset distance threshold;
Sequencing boundary equipment meeting a preset distance threshold according to the boundary connecting points to generate a sequencing result of the boundary equipment; sorting the filtered boundary devices meeting the preset distance threshold according to boundary connecting points; determining the sequencing result of boundary devices corresponding to the same boundary connecting points; combining the sorting results of the different boundary connecting points with the sorting results of the boundary devices corresponding to the same boundary connecting points to obtain a final sorting result of the boundary devices;
Acquiring a plurality of boundary devices corresponding to the same boundary connecting point, a minimum boundary connecting point of each boundary device, a previous boundary connecting point and a next boundary connecting point which are related to the minimum boundary connecting point; determining a connecting line between the former boundary connecting point and the latter boundary connecting point, and according to the connecting line perpendicular point between the minimum boundary connecting point and the connecting line; determining a first vector formed by the former boundary connecting point and the latter boundary connecting point, and determining a second vector formed by coordinates of the boundary equipment and the connecting point; determining a distance value according to a dot product between the first vector and the second vector, and determining the sequencing result of a plurality of boundary devices of the same boundary connecting point according to the size of the distance value;
If the distance values corresponding to the plurality of boundary devices are the same, sorting is carried out according to the distance from the coordinates of the boundary devices to the minimum boundary connecting point; or/and if the coordinates corresponding to the plurality of boundary devices are the same, sorting according to dot products of the orientation vector of the boundary device and the first vector;
And determining the sequence of playing the video stream by the boundary lens corresponding to the boundary equipment according to the sequencing result of the boundary equipment.
2. The video play order determination method according to claim 1, further comprising:
Determining a minimum boundary connecting point corresponding to the boundary equipment according to the minimum distance corresponding to the boundary equipment;
if the minimum distance corresponding to the boundary equipment is within a preset distance threshold, reserving the boundary equipment; and if the minimum distance corresponding to the boundary equipment is not within a preset distance threshold, filtering the boundary equipment.
3. the method according to claim 1, wherein determining the order of playing video streams by the boundary shots corresponding to the boundary devices according to the ordering result of the boundary devices further comprises:
determining longitude and latitude of the central position of the map by utilizing the screen center of the display window of the GIS map device;
determining a nearest boundary lens corresponding to boundary equipment nearest to the central position of the map according to the distance between the boundary equipment and the boundary connecting point;
Selecting a plurality of shots in the adjacent range before and after the nearest boundary shot according to the sequencing result of the boundary shots corresponding to the boundary equipment;
and utilizing the video playing device to play the real-time video streams acquired by the plurality of shots in a cross-line mode according to the playing sequence.
4. The video play order determination method according to any one of claims 1 or 3, further comprising:
playing N video streams according to the playing sequence;
Receiving a first input of a target video stream playing sequence in the playing sequences of the N video streams; and responding to the first input, playing K video streams according to the playing sequence of the target video streams, wherein the playing sequence of the target video streams is the playing sequence of the K video streams, K is a positive integer less than or equal to N, and N is a positive integer greater than 1.
5. A video play order determining apparatus, characterized by comprising:
The acquisition module is used for acquiring the longitude and latitude of the boundary equipment and acquiring the longitude and latitude of the boundary connecting point by utilizing the GIS device; determining the distance from the boundary equipment to the boundary connecting point by utilizing a spherical distance formula according to the longitude and latitude of the boundary equipment and the longitude and latitude of the boundary connecting point; the boundary connecting wire points are points on the boundary connecting wire corresponding to the inspection task;
The boundary equipment filtering module is used for filtering the boundary equipment according to the distance from the boundary equipment to the boundary connecting point and determining boundary equipment meeting a preset distance threshold;
the boundary equipment ordering module is used for ordering the boundary equipment meeting the preset distance threshold according to the boundary connecting points to generate an ordering result of the boundary equipment; sorting the filtered boundary devices meeting the preset distance threshold according to boundary connecting points; determining the sequencing result of boundary devices corresponding to the same boundary connecting points; combining the sorting results of the different boundary connecting points with the sorting results of the boundary devices corresponding to the same boundary connecting points to obtain a final sorting result of the boundary devices;
Acquiring a plurality of boundary devices corresponding to the same boundary connecting point, a minimum boundary connecting point of each boundary device, a previous boundary connecting point and a next boundary connecting point which are related to the minimum boundary connecting point; determining a connecting line between the former boundary connecting point and the latter boundary connecting point, and according to the connecting line perpendicular point between the minimum boundary connecting point and the connecting line; determining a first vector formed by the former boundary connecting point and the latter boundary connecting point, and determining a second vector formed by coordinates of the boundary equipment and the connecting point; determining a distance value according to a dot product between the first vector and the second vector, and determining the sequencing result of a plurality of boundary devices of the same boundary connecting point according to the size of the distance value;
If the distance values corresponding to the plurality of boundary devices are the same, sorting is carried out according to the distance from the coordinates of the boundary devices to the minimum boundary connecting point; or/and if the coordinates corresponding to the plurality of boundary devices are the same, sorting according to dot products of the orientation vector of the boundary device and the first vector;
and the sequence playing module is used for determining the sequence of playing the video stream by the boundary lens corresponding to the boundary equipment according to the sequencing result of the boundary equipment.
6. an electronic device, characterized in that: comprising the following steps:
One or more processing devices;
A memory for storing one or more programs; when the one or more programs are executed by the one or more processing apparatuses, the one or more processing apparatuses are caused to implement the video play order determination method as set forth in any one of claims 1 to 4.
7. A computer-readable storage medium having stored thereon a computer program for causing the computer to execute the video play order determination method of any one of claims 1 to 4.
CN202210264029.5A 2022-03-17 2022-03-17 Video playing sequence determining method, device, equipment and medium Active CN114630081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210264029.5A CN114630081B (en) 2022-03-17 2022-03-17 Video playing sequence determining method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210264029.5A CN114630081B (en) 2022-03-17 2022-03-17 Video playing sequence determining method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114630081A CN114630081A (en) 2022-06-14
CN114630081B true CN114630081B (en) 2024-03-26

Family

ID=81902063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210264029.5A Active CN114630081B (en) 2022-03-17 2022-03-17 Video playing sequence determining method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114630081B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012169352A1 (en) * 2011-06-07 2012-12-13 株式会社小松製作所 Work vehicle vicinity monitoring device
CN106506955A (en) * 2016-11-10 2017-03-15 国网江苏省电力公司南京供电公司 A kind of transformer substation video polling path planing method based on GIS map
JP2018056982A (en) * 2016-09-26 2018-04-05 株式会社Jvcケンウッド Display control device, display control method, and program
CN109660759A (en) * 2018-12-06 2019-04-19 浙江大华技术股份有限公司 Method, apparatus, system and the equipment of a kind of monitoring of perimeter region, storage medium
CN109729287A (en) * 2018-12-06 2019-05-07 浙江大华技术股份有限公司 A kind of method, apparatus and calculating equipment, storage medium of perimeter region monitoring
CN113365028A (en) * 2021-05-31 2021-09-07 浙江大华技术股份有限公司 Method, device and system for generating routing inspection path
CN113936353A (en) * 2021-09-18 2022-01-14 青岛海信网络科技股份有限公司 Moving path video polling method and device of monitoring target and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8693846B2 (en) * 2009-03-16 2014-04-08 Disney Enterprises, Inc. System and method for dynamic video placement on a display

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012169352A1 (en) * 2011-06-07 2012-12-13 株式会社小松製作所 Work vehicle vicinity monitoring device
JP2018056982A (en) * 2016-09-26 2018-04-05 株式会社Jvcケンウッド Display control device, display control method, and program
CN106506955A (en) * 2016-11-10 2017-03-15 国网江苏省电力公司南京供电公司 A kind of transformer substation video polling path planing method based on GIS map
CN109660759A (en) * 2018-12-06 2019-04-19 浙江大华技术股份有限公司 Method, apparatus, system and the equipment of a kind of monitoring of perimeter region, storage medium
CN109729287A (en) * 2018-12-06 2019-05-07 浙江大华技术股份有限公司 A kind of method, apparatus and calculating equipment, storage medium of perimeter region monitoring
CN113365028A (en) * 2021-05-31 2021-09-07 浙江大华技术股份有限公司 Method, device and system for generating routing inspection path
CN113936353A (en) * 2021-09-18 2022-01-14 青岛海信网络科技股份有限公司 Moving path video polling method and device of monitoring target and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
监控报警联网平台技术在电力行业的应用;张帆;;中国安防;20081001(第10期);全文 *

Also Published As

Publication number Publication date
CN114630081A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
CN112073748B (en) Panoramic video processing method and device and storage medium
CN108491816A (en) The method and apparatus for carrying out target following in video
CN112101305B (en) Multi-path image processing method and device and electronic equipment
CN112488783B (en) Image acquisition method and device and electronic equipment
CN112051961A (en) Virtual interaction method and device, electronic equipment and computer readable storage medium
CN111914784B (en) Method and device for detecting intrusion of trackside obstacle in real time and electronic equipment
CN114630081B (en) Video playing sequence determining method, device, equipment and medium
CN114584709B (en) Method, device, equipment and storage medium for generating zooming special effects
CN116527993A (en) Video processing method, apparatus, electronic device, storage medium and program product
CN110830714B (en) Information acquisition method and device, terminal and storage medium
CN109472873B (en) Three-dimensional model generation method, device and hardware device
CN111710046A (en) Interaction method and device and electronic equipment
CN110047520B (en) Audio playing control method and device, electronic equipment and computer readable storage medium
US20150082346A1 (en) System for Selective and Intelligent Zooming Function in a Crowd Sourcing Generated Media Stream
CN114357348B (en) Display method and device and electronic equipment
CN112822418B (en) Video processing method and device, storage medium and electronic equipment
CN111833459B (en) Image processing method and device, electronic equipment and storage medium
CN112991542B (en) House three-dimensional reconstruction method and device and electronic equipment
US11876843B2 (en) Method, apparatus, medium and electronic device for generating round-table video conference
CN110070600B (en) Three-dimensional model generation method, device and hardware device
CN114501041B (en) Special effect display method, device, equipment and storage medium
US20220392129A1 (en) Sticker processing method and apparatus
CN111368015B (en) Method and device for compressing map
CN112560702A (en) User interest portrait generation method and device, electronic equipment and medium
CN117793477A (en) Video processing method and device and electronic equipment

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