WO2024164928A1 - Early warning method and apparatus, and electronic device and storage medium - Google Patents
Early warning method and apparatus, and electronic device and storage medium Download PDFInfo
- Publication number
- WO2024164928A1 WO2024164928A1 PCT/CN2024/075218 CN2024075218W WO2024164928A1 WO 2024164928 A1 WO2024164928 A1 WO 2024164928A1 CN 2024075218 W CN2024075218 W CN 2024075218W WO 2024164928 A1 WO2024164928 A1 WO 2024164928A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- video data
- pedestrian
- warning
- early warning
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 238000012545 processing Methods 0.000 claims abstract description 25
- 238000006243 chemical reaction Methods 0.000 claims abstract description 19
- 238000007906 compression Methods 0.000 claims abstract description 7
- 230000006835 compression Effects 0.000 claims abstract description 6
- 230000006399 behavior Effects 0.000 claims description 108
- 238000004590 computer program Methods 0.000 claims description 23
- 230000009471 action Effects 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 11
- 230000033001 locomotion Effects 0.000 claims description 11
- 238000004458 analytical method Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 15
- 230000003287 optical effect Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 229920001690 polydopamine Polymers 0.000 description 3
- 230000008054 signal transmission Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000003542 behavioural effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000003550 marker Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000036544 posture Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/005—Traffic control systems for road vehicles including pedestrian guidance indicator
Definitions
- the present invention relates to the field of artificial intelligence technology, and in particular to an early warning method, device, electronic equipment and storage medium.
- Traffic lights are used as signal lights at intersections to provide traffic signals to passers-by.
- Existing traffic light equipment basically only serves as a signal light. For pedestrians who run red lights, they can only be warned by nearby traffic police. However, whether it is processed through monitoring records or handled by traffic police on the scene, there is a certain delay. As a result, relevant warning and education can only be carried out after pedestrians have completed the dangerous behavior of running red lights, and it is impossible to effectively prevent the occurrence of such behavior.
- the embodiments of the present application provide an early warning method, device, electronic device and storage medium, which can promptly issue warnings to pedestrians who engage in dangerous behaviors such as running red lights, prevent pedestrians from continuing their current dangerous behaviors, have higher timeliness, and can effectively prevent the occurrence of dangerous behaviors.
- an embodiment of the present application provides an early warning method, which is applied to a cloud server in an early warning system, wherein the early warning system further includes a user device, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud service and the audio playback device is greater than a first threshold, and the method specifically includes:
- warning information from a user device wherein the warning information is determined by the user device according to the prompt information and the video data
- the third digital information is sent to the audio playback device so as to play the warning information through the audio playback device to warn the pedestrians whose behavior characteristics are dangerous behaviors.
- an embodiment of the present application provides an information sending method, which is applied to a user device in an early warning system, wherein the early warning system further includes a cloud server, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud server and the audio playback device is greater than a first threshold, and the method specifically includes:
- an embodiment of the present application provides an early warning device, which is applied to a cloud server in an early warning system.
- the early warning system also includes a user device, and a camera device and an audio playback device arranged at both ends of the pedestrian passage, and The distance between the cloud service and the audio playback device is greater than a first threshold, and the device specifically includes:
- a first receiving module used for acquiring video data collected by a camera device in real time
- An analysis module used to analyze the video data and determine the behavior characteristics of each pedestrian in the video data
- a first sending module used for sending prompt information and video data to a user device when the behavior characteristics of each pedestrian include dangerous behavior
- the first receiving module is further used to receive warning information from the user equipment, wherein the warning information is determined by the user equipment according to the prompt information and the video data;
- the analysis module is further used to perform analog-to-digital conversion processing on the warning information to obtain first digital information, perform compression processing on the first digital information to obtain second digital information, and perform channel coding processing on the second digital information to obtain third digital information;
- the first sending module is further used to send third digital information to the audio playback device so as to play the warning information through the audio playback device to warn pedestrians whose behavior characteristics are dangerous behaviors.
- an embodiment of the present application provides an information sending device, which is applied to a user device in an early warning system, wherein the early warning system also includes a cloud server, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud service and the audio playback device is greater than a first threshold, and the device specifically includes:
- a second receiving module is used to receive prompt information and video data from a cloud server, wherein the video data includes a mark;
- a display module is used to display prompt information and video data to users
- the second receiving module is further used to receive warning information input by the user
- the second sending module is used to send warning information to the cloud server.
- an embodiment of the present application provides an early warning device, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method of the first aspect.
- an embodiment of the present application provides an information sending device, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method of the second aspect.
- an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute a method as described in the first aspect or the second aspect.
- an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is computer-operable to cause the computer to execute the method of the first aspect or the second aspect.
- the video data of the pedestrian passage is obtained in real time by the camera equipment arranged at both ends of the pedestrian passage, and then the obtained video data is analyzed to determine the behavior characteristics of each pedestrian in the video data. Then, the action of each pedestrian is predicted according to the behavior characteristics of each pedestrian.
- the behavior characteristics can be determined to be dangerous behaviors.
- prompt information and video data are sent to the user device, prompting the backstage staff to pay attention to the pedestrian through the user device, and then when the pedestrian makes dangerous behaviors such as running a red light, a warning is issued to the pedestrian in time to prevent the pedestrian from continuing the current dangerous behavior.
- the warning information is converted by analog to digital, compressed and channel coded, and then the processed first warning voice is sent to the audio playback device for playback through the long-range radio (Long Range Radio, LoRa) protocol, which overcomes the problem of easy packet loss in the LoRa protocol and realizes low-cost and long-distance signal transmission.
- LoRa Long Range Radio
- FIG1 is a schematic diagram of the hardware structure of an early warning device provided in an embodiment of the present application.
- FIG2 is a framework diagram of an early warning system provided in an embodiment of the present application.
- FIG3 is a schematic diagram of a flow chart of an early warning method provided in an embodiment of the present application.
- FIG4 is a schematic diagram of a video data screen with a mark provided in an embodiment of the present application.
- FIG5 is a block diagram of the functional modules of an early warning device provided in an embodiment of the present application.
- FIG6 is a block diagram of the functional modules of an information sending device provided in an embodiment of the present application.
- FIG7 is a schematic diagram of the structure of an early warning device provided in an embodiment of the present application.
- FIG8 is a schematic diagram of the structure of an information sending device provided in an embodiment of the present application.
- FIG1 is a schematic diagram of the hardware structure of an early warning device provided in an embodiment of the present application.
- the early warning device 100 includes at least one processor 101 , a communication line 102 , a memory 103 and at least one communication interface 104 .
- the processor 101 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
- CPU central processing unit
- ASIC application-specific integrated circuit
- the communication link 102 may include a path to transmit information between the above components.
- the communication interface 104 can be any transceiver-like device (such as an antenna, etc.) used to communicate with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc.
- transceiver-like device such as an antenna, etc.
- WLAN wireless local area networks
- the memory 103 may be a read-only memory (ROM) or other static storage device that can store static information and instructions, a random access memory (RAM) or other dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EPROM).
- ROM read-only memory
- RAM random access memory
- EPROM electrically erasable programmable read-only memory
- EEPROM programmable read-only memory
- CD-ROM compact disc read-only memory
- optical disc storage including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.
- magnetic disk storage media or other magnetic storage devices or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
- the memory 103 can exist independently and be connected to the processor 101 via the communication line 102.
- the memory 103 can also be integrated with the processor 101.
- the memory 103 provided in the embodiment of the present application can generally be non-volatile.
- the memory 103 is used to store computer-executable instructions for executing the scheme of the present application, and the execution is controlled by the processor 101.
- the processor 101 is used to execute the computer-executable instructions stored in the memory 103, thereby implementing the method provided in the following embodiment of the present application.
- the computer-executable instructions may also be referred to as application code, which is not specifically limited in this application.
- the processor 101 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 1 .
- the early warning device 100 may include multiple processors, such as the processor 101 and the processor 107 in FIG. 1. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
- the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
- the early warning device 100 can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
- the early warning device 100 can also include an output device 105 and an input device 106.
- the output device 105 communicates with the processor 101 and can display information in a variety of ways.
- the output device 105 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector.
- the input device 106 communicates with the processor 101 and can receive user input in a variety of ways.
- the input device 106 can be a mouse, a keyboard, a touch screen device, or a sensor device.
- the above-mentioned early warning device 100 can be a general device or a special device.
- the embodiment of the present application does not limit the type of the early warning device 100.
- Figure 2 is a framework diagram of an early warning system provided by an embodiment of the present application.
- the system may include: a cloud server 201, a camera device 202, an audio playback device 203, a user device 204 and a display device 205, wherein the distance between the cloud server 201 and the audio playback device 203 is greater than a first threshold.
- the cloud server 201 can be a smart phone (such as an Android phone, an iOS phone, a Windows Phone, etc.), a tablet computer, a PDA, a laptop computer, a mobile Internet device MID (Mobile Internet Devices, referred to as: MID), a server, a chip, a chipset, etc., which is used to receive data transmitted by other devices, and process these data to generate new data and send it to the corresponding device.
- MID Mobile Internet Devices, referred to as: MID
- server a chip, a chipset, etc., which is used to receive data transmitted by other devices, and process these data to generate new data and send it to the corresponding device.
- the camera devices 202 can be grouped in two and respectively arranged at the two ends of the pedestrian passage to fully capture the pedestrians at both ends of the pedestrian passage, and accurately locate the pedestrians in the shooting area based on the principle of binocular visual positioning.
- the camera device 202 can be a mobile Internet device MID with a camera function, such as various types of cameras, video cameras, etc., for acquiring the target area including the pedestrian passage, that is, the real-time video stream data of the common shooting area of the two camera devices 202, and sending it to the cloud server 201 for analysis.
- the audio playing devices 203 can also be grouped in two and respectively disposed at the two ends of the pedestrian passage. Specifically, it can be a device with voice playback and voice collection functions, used to receive voice information sent by the cloud server 201 for playback, or obtain voice information at the device and send it to the cloud server 201 for processing.
- the user device 204 can be a personal mobile device such as a smart phone, a tablet computer, a PDA, a laptop computer, or a fixed device such as a server.
- the user device 204 is provided with an alarm device, a display device, and an input device, wherein the alarm device is used to generate a corresponding alarm according to the received prompt information to remind the background user to pay attention to the display device; the display device is used to display the received video data; and the input device is used to receive the input information of the background user and convert it into a warning message and send it to the cloud server 201.
- the display devices 205 can also be arranged in groups of two, respectively, at the two ends of the pedestrian passage. Specifically, it can be a device with a display function, such as a light-emitting diode (LED) display screen, a liquid crystal display screen, etc., for receiving text, video or image information sent by the cloud server 201 for display.
- a display function such as a light-emitting diode (LED) display screen, a liquid crystal display screen, etc.
- the early warning method proposed in this application can also be applied to other access restriction scenarios, such as highly confidential scientific research sites, factory workshops, etc., and then in different scenarios, the management personnel can also change accordingly.
- the early warning method proposed in this application can be changed into an early warning method for scientific researchers, which is used to warn scientific researchers who have insufficient access rights to enter places; similarly, for factory scenarios, the early warning method proposed in this application can be changed into a workshop worker method, which is used to warn workshop workers who enter the wrong place.
- the pedestrian passage scenario is taken as an example, and pedestrians are taken as the execution object to illustrate the early warning method proposed in this application.
- the early warning methods in other scenarios are similar to the early warning methods in the pedestrian passage scenario, and will not be repeated here.
- FIG 3 is a schematic diagram of a flow chart of an early warning method provided in an embodiment of the present application.
- the early warning method can be applied to the cloud server 201 in the early warning system shown in Figure 2, and can specifically include the following steps:
- the cloud server obtains the video data collected by the camera device in real time.
- a camera device 202 is respectively provided at both ends of the pedestrian passage, for real-time acquisition of video stream data in the shooting area, and synchronization of the acquired video data to the cloud server 201 in real time.
- each camera device 202 can capture the entire pedestrian passage, and the intersection of the shooting areas of the two camera devices 202 includes the entire pedestrian passage.
- the images of pedestrians at both ends of the pedestrian passage can be better acquired, and the setting of dual camera devices is used to simulate binocular vision, and then the principle of binocular vision positioning can be used to more accurately identify the position of each pedestrian in the video data.
- the cloud server analyzes the video data to determine the behavior characteristics of each pedestrian in the video data.
- the video data may be framed to obtain at least one video image.
- the framed images may be screened to select images of a series of different actions and arrange them in the order in the video data to obtain at least one video image.
- the motion features of each pedestrian in at least one video image can be extracted to obtain the motion feature sequence of each pedestrian.
- the features of the postures of each pedestrian in the above-mentioned series of different motion images arranged in sequence can be extracted respectively, and the extracted features can be horizontally spliced according to the order of the corresponding images to obtain the motion feature sequence.
- the action feature sequence of each pedestrian can be compared with the preset dangerous behavior feature library to determine the behavior feature of each pedestrian.
- the historical data can be analyzed to extract the behavior features of pedestrians who have performed dangerous behaviors such as running red lights in the historical data center before performing dangerous behaviors such as running red lights.
- the probability of performing dangerous behaviors such as running red lights after each behavior feature is determined, and each behavior feature is associated with its corresponding probability and stored in the dangerous behavior feature library. Therefore, after obtaining the action feature sequence of each pedestrian, It is compared with the behavior features stored in the dangerous behavior feature library, and then the probability of each pedestrian performing dangerous behaviors such as running a red light is predicted, and then the behavior features of the pedestrian are determined based on the probability.
- the behavior characteristics of the pedestrian can be determined as dangerous behaviors.
- the probability of performing dangerous behaviors such as running a red light is less than a preset threshold, the behavior characteristics of the pedestrian can be determined as normal behaviors.
- the cloud server sends prompt information and video data to the user device.
- the probability of each dangerous behavior that the pedestrian may perform can be determined in the dangerous behavior feature library according to the action feature sequence in step 302, for example: [running a red light, 50%]; [crossing the road in a non-pedestrian passage, 20%]; [crossing the road on a bicycle, 30%], as prompt information.
- the pedestrian whose behavior characteristics are dangerous behaviors is marked. For example: use a red box to frame its image in the video, and the box can move synchronously with the movement of the pedestrian in the video, and the above prompt information can be marked next to the box, as shown in Figure 4.
- the prompt information may also include audio prompt information. Specifically, after obtaining the probability of each dangerous behavior that the pedestrian may perform and marking the pedestrian in the video, a corresponding probability broadcast voice and prompt voice may be generated according to the probability of each dangerous behavior to broadcast to the user of the user device, so as to prevent the user from being away from the user device and not being able to notice the synchronized real-time video in the first place.
- the video data marked with prompt information is converted into digital form, compressed and channel encoded, and then sent to the user device through the Long Range Radio (LoRa) protocol, thereby overcoming the problem of easy packet loss in the LoRa protocol and achieving low-cost, long-distance signal transmission.
- LoRa Long Range Radio
- information can also be transmitted through other transmission protocols, such as the Narrow Band Internet of Things (NB-IoT) protocol, the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, referred to as 5G) protocol, and other transmission protocols, and this application does not impose any restrictions on this.
- NB-IoT Narrow Band Internet of Things
- 5G Fifth Generation Mobile Communication Technology
- the user device displays prompt information and video data to the user.
- the user device after receiving the prompt information and video data, the user device can determine the prompt level according to the prompt information, and then call the corresponding level of prompt sound to play through the alarm device of the user device to attract the attention of the backstage personnel.
- the video data is played through the display device, so that the backstage personnel can observe the real-time situation of the pedestrian in the pedestrian passage through the display device.
- the user device receives the warning information input by the user.
- the backstage personnel can input warning information through the input device of the user device.
- the input device can be a microphone, a keyboard, a virtual keyboard, a touch screen, etc. Based on this, when the backstage personnel see the marked pedestrian or other pedestrians performing dangerous behaviors through the display device, they can shout through the microphone, or input text through the keyboard or virtual keyboard, or select the edited text or voice through the touch screen, and input it into the user device as warning information.
- the user device sends a warning message to the cloud server.
- the method in which the user device sends the warning information to the cloud server is similar to the method in which the cloud server sends the prompt information and video data to the user device in step 303, and will not be repeated here.
- the cloud server performs analog-to-digital conversion on the warning information to obtain first digital information.
- the warning information may be first extracted to obtain key information; the key information may then be reorganized and converted into voice to obtain a warning voice; the warning voice may then be converted into analogue digital form to obtain the first digital information.
- the cloud server may The system extracts the appearance features of pedestrians, such as age, gender, clothing, etc., and then reorganizes these features together with key information into a new warning voice for conversion, ensuring that the warning voice can be correctly conveyed to pedestrians with dangerous behavior characteristics.
- the cloud server compresses the first digital information to obtain second digital information.
- the compression process may be compression coding.
- the cloud server performs channel coding processing on the second digital information to obtain third digital information.
- the channel coding process may be forward error correction coding.
- the cloud server sends third digital information to the audio playback device.
- the method in which the cloud server sends the third digital information to the audio playback device is similar to the method in which the cloud server sends the prompt information and video data to the user device in step 303, and will not be repeated here.
- the nearest audio playback device can be determined as a receiving device based on the location of the pedestrian to receive the third digital information and play the warning voice, or the third digital information can be sent to multiple audio playback devices near the pedestrian at the same time to ensure that the pedestrian can hear the warning voice.
- the audio playback device plays a warning message.
- the direction of the pedestrian can be determined based on the video data of the pedestrian, and then the video data of the pedestrian can be sent to a display device in the direction of the pedestrian, so that the display device can display the video data to further warn the pedestrian and improve the warning effect.
- the warning information can be audio information, text information, or instruction information.
- the audio playback device can directly play the audio information when receiving the warning information; when the warning information is text information, the audio playback device first converts the text information into corresponding audio through voice-to-text technology, and then the audio playback device plays the audio; when the warning information is instruction information, the audio playback device first parses the instruction to obtain the voice template corresponding to the instruction (multiple voice templates are pre-recorded in the audio playback device), and then plays the voice template.
- the video data of the pedestrian passage is obtained in real time by the camera equipment set at both ends of the pedestrian passage, and then the obtained video data is analyzed to determine the behavior characteristics of each pedestrian in the video data. Then, the action of each pedestrian is predicted according to the behavior characteristics of each pedestrian.
- the behavior characteristics can be determined as dangerous behaviors.
- prompt information and video data are sent to the user device to prompt the backstage staff to pay attention to the pedestrian through the user device, and then when the pedestrian makes dangerous behaviors such as running a red light, a warning is issued to the pedestrian in time to prevent the pedestrian from continuing the current dangerous behavior.
- the warning information is converted by analog-to-digital conversion, compression and channel coding, and then the processed first warning voice is sent to the audio playback device for playback through the Long Range Radio (LoRa) protocol, which overcomes the problem of easy packet loss in the LoRa protocol and realizes low-cost and long-distance signal transmission.
- LoRa Long Range Radio
- FIG5 is a functional module block diagram of an early warning device provided in an embodiment of the present application.
- the early warning device can be applied to the cloud server 201 in the early warning system shown in FIG2 .
- the early warning device 500 includes:
- the first receiving module 501 is used to obtain video data collected by a camera device in real time;
- An analysis module 502 is used to analyze the video data and determine the behavior characteristics of each pedestrian in the video data
- a first sending module 503, configured to send prompt information and video data to a user device when the behavior characteristics of each pedestrian include dangerous behavior
- the first receiving module 501 is further configured to receive warning information from a user device, wherein the warning information is a signal received by the user device according to Prompt information and video data determined;
- the analysis module 502 is further used to perform analog-to-digital conversion processing on the warning information to obtain first digital information, perform compression processing on the first digital information to obtain second digital information, and perform channel coding processing on the second digital information to obtain third digital information;
- the first sending module 503 is further used to send third digital information to the audio playback device, so as to play warning information through the audio playback device to warn pedestrians whose behavior characteristics are dangerous behaviors.
- the analysis module 502 in analyzing the video data to determine the behavior characteristics of each pedestrian in the video data, is specifically used to:
- the analysis module 502 before sending the prompt information and the video data to the user equipment, the analysis module 502 is further used to:
- the analysis module 502 before performing analog-to-digital conversion on the warning information to obtain the first digital information, the analysis module 502 is further used to:
- FIG6 is a functional module block diagram of an information sending device provided in an embodiment of the present application.
- the information sending device can be applied to the user equipment 204 in the early warning system shown in FIG2 .
- the information sending device 600 includes:
- the second receiving module 601 is used to receive prompt information and video data from the cloud server, wherein the video data includes a mark;
- a display module 602 is used to display prompt information and video data to the user
- the second receiving module 601 is further used to receive warning information input by the user;
- the second sending module 603 is used to send warning information to the cloud server.
- the early warning device 700 includes a first transceiver 701, a first processor 702, and a first memory 703. They are connected via a first bus 704.
- the first memory 703 is used to store computer programs and data, and can transmit the data stored in the first memory 703 to the first processor 702.
- the early warning device can be the cloud server 201 in the early warning system shown in FIG. 2 .
- the first processor 702 is used to read the computer program in the first memory 703 and perform the following operations:
- warning information from a user device wherein the warning information is determined by the user device according to the prompt information and the video data
- the third digital information is sent to the audio playback device so as to play the warning information through the audio playback device to warn the pedestrians whose behavior characteristics are dangerous behaviors.
- the first processor 702 in analyzing the video data to determine the behavior characteristics of each pedestrian in the video data, is specifically configured to perform the following operations:
- the first processor 702 before sending the prompt information and the video data to the user equipment, the first processor 702 is further configured to perform the following operations:
- the first processor 702 before performing analog-to-digital conversion on the warning information to obtain the first digital information, the first processor 702 is further configured to perform the following operations:
- the information sending device 800 includes a second transceiver 801, a second processor 802, and a second memory 803. They are connected via a second bus 804.
- the second memory 803 is used to store computer programs and data, and can transmit the data stored in the second memory 803 to the second processor 802.
- the information sending device can be the user device 204 in the early warning system shown in FIG2 .
- the second processor 802 is used to read the computer program in the second memory 803 and perform the following operations:
- warning device and information sending device in the present application may include smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptops, mobile Internet devices MID (Mobile Internet Devices, referred to as: MID), robots or wearable devices, etc.
- smart phones such as Android phones, iOS phones, Windows Phone phones, etc.
- tablet computers PDAs, laptops
- mobile Internet devices MID Mobile Internet Devices, referred to as: MID
- robots or wearable devices etc.
- the above-mentioned warning devices and information sending devices are only examples, not exhaustive, and include but are not limited to the above-mentioned warning devices and information sending devices. In actual applications, the above-mentioned warning devices and information sending devices may also include: smart vehicle terminals, computer equipment, etc.
- the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement some or all of the steps of any early warning method and/or information sending method described in the above method implementation.
- the storage medium may include a hard disk, a floppy disk, an optical disk, a tape, a disk, a USB flash drive, a flash memory, etc.
- An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the early warning methods and/or information sending methods recorded in the above method implementation.
- the disclosed device can be implemented in other ways.
- the device implementation described above is only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
- Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software program module.
- the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory.
- the computer software product is stored in a memory, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
- the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
- a person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable memory, which can include a flash drive, a read-only memory (ROM), a random access memory (RAM), and a memory. Access Memory, referred to as RAM), disk or CD, etc.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Alarm Systems (AREA)
- Traffic Control Systems (AREA)
Abstract
An early warning method and apparatus, and an electronic device and a storage medium. The method comprises: acquiring, in real time, video data which is collected by a camera device; analyzing the video data to determine behavior features of each pedestrian in the video data; when the behavior features of the pedestrians comprise a dangerous behavior, sending prompt information and the video data to a user equipment; receiving warning information from the user equipment, wherein the warning information is determined by the user equipment according to the prompt information and the video data; performing analog-to-digital conversion processing on the warning information, so as to obtain first digital information; performing compression processing on the first digital information, so as to obtain second digital information; performing channel coding processing on the second digital information, so as to obtain third digital information; and sending third digital information to an audio playing device, so as to play the warning information by means of the audio playing device and warn the pedestrian whose behavior feature is a dangerous behavior.
Description
本申请要求于2023年02月08日提交中国专利局、申请号为202310084476.7、申请名称为“行人预警方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the China Patent Office on February 8, 2023, with application number 202310084476.7 and application name “Pedestrian Warning Method, Device, Electronic Device and Storage Medium”, all contents of which are incorporated by reference in this application.
本发明涉及人工智能技术领域,具体涉及一种预警方法、装置、电子设备及存储介质。The present invention relates to the field of artificial intelligence technology, and in particular to an early warning method, device, electronic equipment and storage medium.
红绿灯,作为路口提示的信号灯,用于给通行人员提供交通信号,现有的红绿灯设备基本上只起到信号灯提示的作用。对于闯红灯的行人,目前只能通过附近的交警进行警示,但是,无论是通过监控记录后处理,或者现场的交警处理,都具有一定的延后性。导致只能在行人完成闯红灯的危险行为后,进行相关警示教育处理,无法有效阻值该行为的发生。Traffic lights are used as signal lights at intersections to provide traffic signals to passers-by. Existing traffic light equipment basically only serves as a signal light. For pedestrians who run red lights, they can only be warned by nearby traffic police. However, whether it is processed through monitoring records or handled by traffic police on the scene, there is a certain delay. As a result, relevant warning and education can only be carried out after pedestrians have completed the dangerous behavior of running red lights, and it is impossible to effectively prevent the occurrence of such behavior.
发明内容Summary of the invention
为了解决现有技术中存在的上述问题,本申请实施方式提供了一种预警方法、装置、电子设备及存储介质,可以对做出闯红灯等危险行为的行人及时发出警示,阻值行人继续进行当前的危险行为,具有更高的时效性,同时可以有效阻值危险行为的发生。In order to solve the above-mentioned problems existing in the prior art, the embodiments of the present application provide an early warning method, device, electronic device and storage medium, which can promptly issue warnings to pedestrians who engage in dangerous behaviors such as running red lights, prevent pedestrians from continuing their current dangerous behaviors, have higher timeliness, and can effectively prevent the occurrence of dangerous behaviors.
第一方面,本申请的实施方式提供了一种预警方法,该方法应用于预警系统中的云端服务器,预警系统还包括用户设备,以及设置于人行通道两端的摄像设备和音频播放设备,且云端服务和音频播放设备之间的距离大于第一阈值,该方法具体包括:In a first aspect, an embodiment of the present application provides an early warning method, which is applied to a cloud server in an early warning system, wherein the early warning system further includes a user device, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud service and the audio playback device is greater than a first threshold, and the method specifically includes:
实时获取摄像设备采集的视频数据;Obtain video data collected by camera equipment in real time;
对视频数据进行分析,确定视频数据中每个行人的行为特征;Analyze the video data to determine the behavioral characteristics of each pedestrian in the video data;
当每个行人的行为特征中包含危险行为时,向用户设备发送提示信息和视频数据;When the behavior characteristics of each pedestrian include dangerous behavior, prompt information and video data are sent to the user device;
从用户设备接收警示信息,其中,警示信息是用户设备根据提示信息和视频数据确定的;Receiving warning information from a user device, wherein the warning information is determined by the user device according to the prompt information and the video data;
对警示信息进行模数转换处理,得到第一数字信息;Performing analog-to-digital conversion on the warning information to obtain first digital information;
对第一数字信息进行压缩处理,得到第二数字信息;compressing the first digital information to obtain second digital information;
对第二数字信息进行信道编码处理,得到第三数字信息;performing channel coding processing on the second digital information to obtain third digital information;
向音频播放设备发送第三数字信息,以通过音频播放设备播放警示信息,对行为特征为危险行为的行人进行警示。The third digital information is sent to the audio playback device so as to play the warning information through the audio playback device to warn the pedestrians whose behavior characteristics are dangerous behaviors.
第二方面,本申请的实施方式提供了一种信息发送方法,该方法应用于预警系统中的用户设备,预警系统还包括云端服务器,以及设置于人行通道两端的摄像设备和音频播放设备,且云端服务和音频播放设备之间的距离大于第一阈值,该方法具体包括:In a second aspect, an embodiment of the present application provides an information sending method, which is applied to a user device in an early warning system, wherein the early warning system further includes a cloud server, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud server and the audio playback device is greater than a first threshold, and the method specifically includes:
从云端服务器接收提示信息和视频数据,其中,视频数据中包括标记;receiving prompt information and video data from a cloud server, wherein the video data includes a marker;
向用户展示提示信息和视频数据;Display prompt information and video data to users;
接收用户输入的警示信息;Receive warning information input by the user;
向云端服务器发送警示信息。Send warning information to the cloud server.
第三方面,本申请的实施方式提供了一种预警装置,该装置应用于预警系统中的云端服务器,预警系统还包括用户设备,以及设置于人行通道两端的摄像设备和音频播放设备,且
云端服务和音频播放设备之间的距离大于第一阈值,该装置具体包括:In a third aspect, an embodiment of the present application provides an early warning device, which is applied to a cloud server in an early warning system. The early warning system also includes a user device, and a camera device and an audio playback device arranged at both ends of the pedestrian passage, and The distance between the cloud service and the audio playback device is greater than a first threshold, and the device specifically includes:
第一接收模块,用于实时获取摄像设备采集的视频数据;A first receiving module, used for acquiring video data collected by a camera device in real time;
分析模块,用于对视频数据进行分析,确定视频数据中每个行人的行为特征;An analysis module, used to analyze the video data and determine the behavior characteristics of each pedestrian in the video data;
第一发送模块,用于在每个行人的行为特征中包含危险行为时,向用户设备发送提示信息和视频数据;A first sending module, used for sending prompt information and video data to a user device when the behavior characteristics of each pedestrian include dangerous behavior;
第一接收模块,还用于从用户设备接收警示信息,其中,警示信息是用户设备根据提示信息和视频数据确定的;The first receiving module is further used to receive warning information from the user equipment, wherein the warning information is determined by the user equipment according to the prompt information and the video data;
分析模块,还用于对警示信息进行模数转换处理,得到第一数字信息,对第一数字信息进行压缩处理,得到第二数字信息,对第二数字信息进行信道编码处理,得到第三数字信息;The analysis module is further used to perform analog-to-digital conversion processing on the warning information to obtain first digital information, perform compression processing on the first digital information to obtain second digital information, and perform channel coding processing on the second digital information to obtain third digital information;
第一发送模块,还用于向音频播放设备发送第三数字信息,以通过音频播放设备播放警示信息,对行为特征为危险行为的行人进行警示。The first sending module is further used to send third digital information to the audio playback device so as to play the warning information through the audio playback device to warn pedestrians whose behavior characteristics are dangerous behaviors.
第四方面,本申请的实施方式提供了一种信息发送装置,该装置应用于预警系统中的用户设备,预警系统还包括云端服务器,以及设置于人行通道两端的摄像设备和音频播放设备,且云端服务和音频播放设备之间的距离大于第一阈值,该装置具体包括:In a fourth aspect, an embodiment of the present application provides an information sending device, which is applied to a user device in an early warning system, wherein the early warning system also includes a cloud server, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud service and the audio playback device is greater than a first threshold, and the device specifically includes:
第二接收模块,用于从云端服务器接收提示信息和视频数据,其中,视频数据中包括标记;A second receiving module is used to receive prompt information and video data from a cloud server, wherein the video data includes a mark;
展示模块,用于向用户展示提示信息和视频数据;A display module is used to display prompt information and video data to users;
第二接收模块,还用于接收用户输入的警示信息;The second receiving module is further used to receive warning information input by the user;
第二发送模块,用于向云端服务器发送警示信息。The second sending module is used to send warning information to the cloud server.
第五方面,本申请实施方式提供一种预警设备,包括:处理器,处理器与存储器相连,存储器用于存储计算机程序,处理器用于执行存储器中存储的计算机程序,以使得电子设备执行如第一方面的方法。In a fifth aspect, an embodiment of the present application provides an early warning device, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method of the first aspect.
第六方面,本申请实施方式提供一种信息发送设备,包括:处理器,处理器与存储器相连,存储器用于存储计算机程序,处理器用于执行存储器中存储的计算机程序,以使得电子设备执行如第二方面的方法。In a sixth aspect, an embodiment of the present application provides an information sending device, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method of the second aspect.
第七方面,本申请实施方式提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序使得计算机执行如第一方面或第二方面的方法。In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute a method as described in the first aspect or the second aspect.
第八方面,本申请实施方式提供一种计算机程序产品,计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,计算机可操作来使计算机执行如第一方面或第二方面的方法。In an eighth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is computer-operable to cause the computer to execute the method of the first aspect or the second aspect.
实施本申请实施方式,具有如下有益效果:The implementation of the present application has the following beneficial effects:
在本申请实施方式中,通过设置于人行通道两端的摄像设备实时获取人行通道的视频数据,继而对获取到的视频数据进行分析,确定视频数据中每个行人的行为特征。然后,根据每个行人的行为特征对每个行人的行动进行预测,当预测其做出闯红灯等危险行为的可能性高与预设值时,即可确定其行为特征为危险行为。当每个行人的行为特征中包含危险行为时,向用户设备发送提示信息和视频数据,提示后台工作人员通过用户设备对该行人进行关注,继而在该行人做出闯红灯等危险行为时,及时对其发出警示,阻值行人继续进行当前的危险行为。相较于传统的警示方式,具有更高的时效性,同时可以有效阻值危险行为的发生。同时,警示信息通过模数转换、压缩和信道编码,继而通过远距离无线电(Long Range Radio,LoRa)协议将处理后的第一警示语音发送至音频播放设备进行播放,克服了LoRa协议中易丢包的问题,实现了低成本、远距离的信号传输。
In the implementation mode of the present application, the video data of the pedestrian passage is obtained in real time by the camera equipment arranged at both ends of the pedestrian passage, and then the obtained video data is analyzed to determine the behavior characteristics of each pedestrian in the video data. Then, the action of each pedestrian is predicted according to the behavior characteristics of each pedestrian. When the probability of the pedestrian making dangerous behaviors such as running a red light is predicted to be higher than the preset value, the behavior characteristics can be determined to be dangerous behaviors. When the behavior characteristics of each pedestrian include dangerous behaviors, prompt information and video data are sent to the user device, prompting the backstage staff to pay attention to the pedestrian through the user device, and then when the pedestrian makes dangerous behaviors such as running a red light, a warning is issued to the pedestrian in time to prevent the pedestrian from continuing the current dangerous behavior. Compared with the traditional warning method, it has higher timeliness and can effectively prevent the occurrence of dangerous behaviors. At the same time, the warning information is converted by analog to digital, compressed and channel coded, and then the processed first warning voice is sent to the audio playback device for playback through the long-range radio (Long Range Radio, LoRa) protocol, which overcomes the problem of easy packet loss in the LoRa protocol and realizes low-cost and long-distance signal transmission.
为了更清楚地说明本申请实施方式中的技术方案,下面将对实施方式描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the implementation modes of the present application, the drawings required for use in the description of the implementation modes will be briefly introduced below. Obviously, the drawings described below are some implementation modes of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
图1为本申请实施方式提供的一种预警装置的硬件结构示意图;FIG1 is a schematic diagram of the hardware structure of an early warning device provided in an embodiment of the present application;
图2为本申请实施方式提供的一种预警系统的框架图;FIG2 is a framework diagram of an early warning system provided in an embodiment of the present application;
图3为本申请实施方式提供的一种预警方法的流程示意图;FIG3 is a schematic diagram of a flow chart of an early warning method provided in an embodiment of the present application;
图4为本申请实施方式提供的一种带标记的视频数据画面的示意图;FIG4 is a schematic diagram of a video data screen with a mark provided in an embodiment of the present application;
图5为本申请实施方式提供的一种预警装置的功能模块组成框图;FIG5 is a block diagram of the functional modules of an early warning device provided in an embodiment of the present application;
图6为本申请实施方式提供的一种信息发送装置的功能模块组成框图;FIG6 is a block diagram of the functional modules of an information sending device provided in an embodiment of the present application;
图7为本申请实施方式提供的一种预警设备的结构示意图;FIG7 is a schematic diagram of the structure of an early warning device provided in an embodiment of the present application;
图8为本申请实施方式提供的一种信息发送设备的结构示意图。FIG8 is a schematic diagram of the structure of an information sending device provided in an embodiment of the present application.
下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式是本申请一部分实施方式,而不是全部的实施方式。基于本申请中的实施方式,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施方式,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施方式”意味着,结合实施方式描述的特定特征、结果或特性可以包含在本申请的至少一个实施方式中。在说明书中的各个位置出现该短语并不一定均是指相同的实施方式,也不是与其它实施方式互斥的独立的或备选的实施方式。本领域技术人员显式地和隐式地理解的是,本文所描述的实施方式可以与其它实施方式相结合。Reference to "embodiment" herein means that a particular feature, result, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
首先,参阅图1,图1为本申请实施方式提供的一种预警装置的硬件结构示意图。该预警装置100包括至少一个处理器101,通信线路102,存储器103以及至少一个通信接口104。First, refer to FIG1 , which is a schematic diagram of the hardware structure of an early warning device provided in an embodiment of the present application. The early warning device 100 includes at least one processor 101 , a communication line 102 , a memory 103 and at least one communication interface 104 .
在本实施方式中,处理器101,可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。In this embodiment, the processor 101 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
通信线路102,可以包括一通路,在上述组件之间传送信息。The communication link 102 may include a path to transmit information between the above components.
通信接口104,可以是任何收发器一类的装置(如天线等),用于与其他设备或通信网络通信,例如以太网,RAN,无线局域网(wireless local area networks,WLAN)等。The communication interface 104 can be any transceiver-like device (such as an antenna, etc.) used to communicate with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc.
存储器103,可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable
programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 103 may be a read-only memory (ROM) or other static storage device that can store static information and instructions, a random access memory (RAM) or other dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EPROM). programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
在本实施方式中,存储器103可以独立存在,通过通信线路102与处理器101相连接。存储器103也可以和处理器101集成在一起。本申请实施方式提供的存储器103通常可以具有非易失性。其中,存储器103用于存储执行本申请方案的计算机执行指令,并由处理器101来控制执行。处理器101用于执行存储器103中存储的计算机执行指令,从而实现本申请下述实施方式中提供的方法。In this embodiment, the memory 103 can exist independently and be connected to the processor 101 via the communication line 102. The memory 103 can also be integrated with the processor 101. The memory 103 provided in the embodiment of the present application can generally be non-volatile. Among them, the memory 103 is used to store computer-executable instructions for executing the scheme of the present application, and the execution is controlled by the processor 101. The processor 101 is used to execute the computer-executable instructions stored in the memory 103, thereby implementing the method provided in the following embodiment of the present application.
在可选的实施方式中,计算机执行指令也可以称之为应用程序代码,本申请对此不作具体限定。In an optional implementation, the computer-executable instructions may also be referred to as application code, which is not specifically limited in this application.
在可选的实施方式中,处理器101可以包括一个或多个CPU,例如图1中的CPU0和CPU1。In an optional implementation, the processor 101 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 1 .
在可选的实施方式中,该预警装置100可以包括多个处理器,例如图1中的处理器101和处理器107。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In an optional embodiment, the early warning device 100 may include multiple processors, such as the processor 101 and the processor 107 in FIG. 1. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
在可选的实施方式中,若预警装置100为服务器,例如,可以是独立的服务器,也可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。则预警装置100还可以包括输出设备105和输入设备106。输出设备105和处理器101通信,可以以多种方式来显示信息。例如,输出设备105可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备106和处理器101通信,可以以多种方式接收用户的输入。例如,输入设备106可以是鼠标、键盘、触摸屏设备或传感设备等。In an optional embodiment, if the early warning device 100 is a server, for example, it can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. Then the early warning device 100 can also include an output device 105 and an input device 106. The output device 105 communicates with the processor 101 and can display information in a variety of ways. For example, the output device 105 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 106 communicates with the processor 101 and can receive user input in a variety of ways. For example, the input device 106 can be a mouse, a keyboard, a touch screen device, or a sensor device.
上述的预警装置100可以是一个通用设备或者是一个专用设备。本申请实施方式不限定预警装置100的类型。The above-mentioned early warning device 100 can be a general device or a special device. The embodiment of the present application does not limit the type of the early warning device 100.
其次,图2为本申请实施方式提供的一种预警系统的框架图。具体而言,该系统可以包括:云端服务器201、摄像设备202、音频播放设备203、用户设备204和显示设备205,其中,云端服务器201与音频播放设备203之间的距离大于第一阈值。Secondly, Figure 2 is a framework diagram of an early warning system provided by an embodiment of the present application. Specifically, the system may include: a cloud server 201, a camera device 202, an audio playback device 203, a user device 204 and a display device 205, wherein the distance between the cloud server 201 and the audio playback device 203 is greater than a first threshold.
在本实施方式中,云端服务器201可以是智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备MID(Mobile Internet Devices,简称:MID)、服务器、芯片、芯片组等,用于接收其他设备传输的数据,并对这些数据进行处理生成新的数据发送至相应的设备。In this embodiment, the cloud server 201 can be a smart phone (such as an Android phone, an iOS phone, a Windows Phone, etc.), a tablet computer, a PDA, a laptop computer, a mobile Internet device MID (Mobile Internet Devices, referred to as: MID), a server, a chip, a chipset, etc., which is used to receive data transmitted by other devices, and process these data to generate new data and send it to the corresponding device.
在本实施方式中,摄像设备202可以两个为一组,分别设置于人行通道的两端,以全面捕捉人行通道两端的行人情况,并基于双目视觉定位的原理,对拍摄区域内的行人进行精准定位。具体而言,该摄像设备202可以带有摄像功能的移动互联网设备MID,例如:各种类型的摄像头、摄像机等,用于获取包括人行通道在内的目标区域,即两个摄像设备202的公共拍摄区域的实时视频流数据,并将其发送至云端服务器201进行分析。In this embodiment, the camera devices 202 can be grouped in two and respectively arranged at the two ends of the pedestrian passage to fully capture the pedestrians at both ends of the pedestrian passage, and accurately locate the pedestrians in the shooting area based on the principle of binocular visual positioning. Specifically, the camera device 202 can be a mobile Internet device MID with a camera function, such as various types of cameras, video cameras, etc., for acquiring the target area including the pedestrian passage, that is, the real-time video stream data of the common shooting area of the two camera devices 202, and sending it to the cloud server 201 for analysis.
在本实施方式中,音频播放设备203同样可以两个为一组,分别设置于人行通道的两端。
具体而言,可以是带有语音播放和语音采集功能的设备,用于接收云端服务器201发送的语音信息进行播放,或获取设备处的语音信息发送至云端服务器201进行处理。In this embodiment, the audio playing devices 203 can also be grouped in two and respectively disposed at the two ends of the pedestrian passage. Specifically, it can be a device with voice playback and voice collection functions, used to receive voice information sent by the cloud server 201 for playback, or obtain voice information at the device and send it to the cloud server 201 for processing.
在本实施方式中,用户设备204可以是智能手机、平板电脑、掌上电脑、笔记本电脑等个人移动式设备,可以是服务器等固定式设备。该用户设备204带有报警装置、显示装置和输入装置,其中,报警装置用于根据接收到的提示信息产生相应的警报提醒后台用户对显示装置进行关注;显示装置则用于显示接收到的视频数据;输入装置用于接收后台用户的输入信息,并将其转化为警示信息发送至云端服务器201。In this embodiment, the user device 204 can be a personal mobile device such as a smart phone, a tablet computer, a PDA, a laptop computer, or a fixed device such as a server. The user device 204 is provided with an alarm device, a display device, and an input device, wherein the alarm device is used to generate a corresponding alarm according to the received prompt information to remind the background user to pay attention to the display device; the display device is used to display the received video data; and the input device is used to receive the input information of the background user and convert it into a warning message and send it to the cloud server 201.
在本实施方式中,显示设备205同样可以两个为一组,分别设置于人行通道的两端。具体而言,可以是具有显示功能的设备,例如发光二极管(Light-Emitting Diode,LED)显示屏、液晶显示屏等,用于接收云端服务器201发送的文字、视频或图像信息进行展示。In this embodiment, the display devices 205 can also be arranged in groups of two, respectively, at the two ends of the pedestrian passage. Specifically, it can be a device with a display function, such as a light-emitting diode (LED) display screen, a liquid crystal display screen, etc., for receiving text, video or image information sent by the cloud server 201 for display.
最后,本申请所提出的一种预警方法还可以应用于其他通行限制场景,例如:高度保密的科研场所、工厂车间等,继而在不同的场景下,管理的人员也可以随之变化。例如,对于科研场景而言,本申请所提出的一种预警方法即可变更为一种科研人员预警方法,用于对进入权限不够访问的场所的科研人员进行警示提醒;同理,对于工厂场景而言,本申请所提出的一种预警方法可变更为一种车间工人方法,用于对进入错误场所的车间工人进行警示提醒。在本实施方式中,将以人行通道场景为例,以行人为执行对象,对本申请所提出的一种预警方法进行说明,其他场景下的预警方法与人行通道场景下的预警方法类似,在此不再赘述。Finally, the early warning method proposed in this application can also be applied to other access restriction scenarios, such as highly confidential scientific research sites, factory workshops, etc., and then in different scenarios, the management personnel can also change accordingly. For example, for scientific research scenarios, the early warning method proposed in this application can be changed into an early warning method for scientific researchers, which is used to warn scientific researchers who have insufficient access rights to enter places; similarly, for factory scenarios, the early warning method proposed in this application can be changed into a workshop worker method, which is used to warn workshop workers who enter the wrong place. In this embodiment, the pedestrian passage scenario is taken as an example, and pedestrians are taken as the execution object to illustrate the early warning method proposed in this application. The early warning methods in other scenarios are similar to the early warning methods in the pedestrian passage scenario, and will not be repeated here.
以下,将以交通场景为例,对本申请所公开的预警方法进行说明:The following will take the traffic scenario as an example to illustrate the warning method disclosed in this application:
参阅图3,图3为本申请实施方式提供的一种预警方法的流程示意图。该预警方法可以应用于图2所示的预警系统中的云端服务器201,具体可以包括以下步骤:Refer to Figure 3, which is a schematic diagram of a flow chart of an early warning method provided in an embodiment of the present application. The early warning method can be applied to the cloud server 201 in the early warning system shown in Figure 2, and can specifically include the following steps:
301:云端服务器实时获取摄像设备采集的视频数据。301: The cloud server obtains the video data collected by the camera device in real time.
在本实施方式中,人行通道的两端分别设置有一个摄像设备202,用于实时采集拍摄区域内的视频流数据,并将采集到的视频数据实时同步至云端服务器201。具体而言,每个摄像设备202均可以拍摄到完整的人行通道,且两个摄像设备202拍摄区域的交集包括整个人行通道。由此,可以更好的采集人行通道两端行人的影像,同时采用双摄像设备的设置模拟双目视觉,继而采用双目视觉定位的原理可以更加精准的识别视频数据中每个行人的位置。In this embodiment, a camera device 202 is respectively provided at both ends of the pedestrian passage, for real-time acquisition of video stream data in the shooting area, and synchronization of the acquired video data to the cloud server 201 in real time. Specifically, each camera device 202 can capture the entire pedestrian passage, and the intersection of the shooting areas of the two camera devices 202 includes the entire pedestrian passage. Thus, the images of pedestrians at both ends of the pedestrian passage can be better acquired, and the setting of dual camera devices is used to simulate binocular vision, and then the principle of binocular vision positioning can be used to more accurately identify the position of each pedestrian in the video data.
302:云端服务器对视频数据进行分析,确定视频数据中每个行人的行为特征。302: The cloud server analyzes the video data to determine the behavior characteristics of each pedestrian in the video data.
在本实施方式中,可以对视频数据进行分帧处理,得到至少一张视频图像。具体而言,可以对分帧后的图像进行筛选,选出互不相同的一系列动作的图像,并将其按照在视频数据中的顺序进行排列,得到至少一张视频图像。In this embodiment, the video data may be framed to obtain at least one video image. Specifically, the framed images may be screened to select images of a series of different actions and arrange them in the order in the video data to obtain at least one video image.
然后,可以对每个行人在至少一张视频图像中的每张视频图像的动作特征进行提取,得到每个行人的动作特征序列。具体而言,可以对每个行人在上述按顺序的排列的互不相同的一系列动作的图像中的姿态分别进行特征提取,并将提取到的特征按照对应的图像的顺序进行横向拼接,得到该动作特征序列。Then, the motion features of each pedestrian in at least one video image can be extracted to obtain the motion feature sequence of each pedestrian. Specifically, the features of the postures of each pedestrian in the above-mentioned series of different motion images arranged in sequence can be extracted respectively, and the extracted features can be horizontally spliced according to the order of the corresponding images to obtain the motion feature sequence.
最后,可以根据每个行人的动作特征序列,在预设的危险行为特征库中进行比对,确定每个行人的行为特征。在本实施方式中,可以通过对历史数据进行分析,提取历史数据中心做出闯红灯等危险行为的行人,在做出闯红灯等危险行为前的行为特征。通过机器学习的方式,确定做出每个行为特征后会进行闯红灯等危险行为的概率,并将每个行为特征与其对应的概率相关联,存储进危险行为特征库中。由此,在得到每个行人的动作特征序列后,即可
将其与危险行为特征库中存储的这些行为特征进行比对,继而预测出每个行人做出闯红灯等危险行为的概率,继而根据该概率确定该行人的行为特征。Finally, the action feature sequence of each pedestrian can be compared with the preset dangerous behavior feature library to determine the behavior feature of each pedestrian. In this embodiment, the historical data can be analyzed to extract the behavior features of pedestrians who have performed dangerous behaviors such as running red lights in the historical data center before performing dangerous behaviors such as running red lights. Through machine learning, the probability of performing dangerous behaviors such as running red lights after each behavior feature is determined, and each behavior feature is associated with its corresponding probability and stored in the dangerous behavior feature library. Therefore, after obtaining the action feature sequence of each pedestrian, It is compared with the behavior features stored in the dangerous behavior feature library, and then the probability of each pedestrian performing dangerous behaviors such as running a red light is predicted, and then the behavior features of the pedestrian are determined based on the probability.
具体而言,在本实施方式中,当做出闯红灯等危险行为的概率大于或等于预设的阈值时,可以将该行人的行为特征确定危险行为。当做出闯红灯等危险行为的概率小于预设的阈值时,可以将该行人的行为特征确定正常行为。Specifically, in this embodiment, when the probability of performing dangerous behaviors such as running a red light is greater than or equal to a preset threshold, the behavior characteristics of the pedestrian can be determined as dangerous behaviors. When the probability of performing dangerous behaviors such as running a red light is less than a preset threshold, the behavior characteristics of the pedestrian can be determined as normal behaviors.
303:当每个行人的行为特征中包含危险行为时,云端服务器向用户设备发送提示信息和视频数据。303: When the behavior characteristics of each pedestrian include dangerous behavior, the cloud server sends prompt information and video data to the user device.
在本实施方式中,可以根据步骤302中的动作特征序列在危险行为特征库中确定出该行人可能做出的各个危险行为的概率,例如:[闯红灯,50%];[非人行通道过马路,20%];[骑行过马路,30%],作为提示信息。同时,在视频数据中,对该行为特征为危险行为的行人进行标记。例如:使用红色的方框将其在视频中的影像框住,该方框可以随着视频中该行人的移动而同步移动,同时可以在方框的旁边标注上述提示信息,如图4所示。In this embodiment, the probability of each dangerous behavior that the pedestrian may perform can be determined in the dangerous behavior feature library according to the action feature sequence in step 302, for example: [running a red light, 50%]; [crossing the road in a non-pedestrian passage, 20%]; [crossing the road on a bicycle, 30%], as prompt information. At the same time, in the video data, the pedestrian whose behavior characteristics are dangerous behaviors is marked. For example: use a red box to frame its image in the video, and the box can move synchronously with the movement of the pedestrian in the video, and the above prompt information can be marked next to the box, as shown in Figure 4.
在可选的实施方式中,该提示信息还可以包括音频提示信息。具体而言,在得到行人可能做出的各个危险行为的概率,对视频中的该行人进行标注后。可以根据各个危险行为的概率生成相应的概率播报语音和提示语音进行播报,以对用户设备的用户进行播报,防止用户远离用户设备等情况而无法第一时间注意到同步过来的实时视频的问题。In an optional implementation, the prompt information may also include audio prompt information. Specifically, after obtaining the probability of each dangerous behavior that the pedestrian may perform and marking the pedestrian in the video, a corresponding probability broadcast voice and prompt voice may be generated according to the probability of each dangerous behavior to broadcast to the user of the user device, so as to prevent the user from being away from the user device and not being able to notice the synchronized real-time video in the first place.
然后,将带有提示信息标记的视频数据进行模数转换、压缩和信道编码,继而通过远距离无线电(Long Range Radio,LoRa)协议将其发送至用户设备,继而克服LoRa协议中易丢包的问题,实现了低成本、远距离的信号传输。Then, the video data marked with prompt information is converted into digital form, compressed and channel encoded, and then sent to the user device through the Long Range Radio (LoRa) protocol, thereby overcoming the problem of easy packet loss in the LoRa protocol and achieving low-cost, long-distance signal transmission.
在可选的实施方式中,还可以通过其他传输协议,例如窄带物联网(Narrow Band Internet of Things,NB-IoT)协议、第五代移动通信技术(5th Generation Mobile Communication Technology,简称5G)协议等传输协议进行信息传输,本申请对此不做限制。In an optional implementation, information can also be transmitted through other transmission protocols, such as the Narrow Band Internet of Things (NB-IoT) protocol, the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, referred to as 5G) protocol, and other transmission protocols, and this application does not impose any restrictions on this.
304:用户设备向用户展示提示信息和视频数据。304: The user device displays prompt information and video data to the user.
在本实施方式中,用户设备接收到提示信息和视频数据后,可以根据提示信息确定提示等级,继而调用对应等级的提示音通过用户设备自带的报警装置进行播放,以吸引后台人员的注意。同时,通过显示装置播放视频数据,使后台人员可以通过显示装置观察人行通道处该行人的实时情况。In this embodiment, after receiving the prompt information and video data, the user device can determine the prompt level according to the prompt information, and then call the corresponding level of prompt sound to play through the alarm device of the user device to attract the attention of the backstage personnel. At the same time, the video data is played through the display device, so that the backstage personnel can observe the real-time situation of the pedestrian in the pedestrian passage through the display device.
305:用户设备接收用户输入的警示信息。305: The user device receives the warning information input by the user.
在本实施方式中,后台人员可以通过用户设备自带的输入装置输入警示信息。具体而言,该输入装置可以是麦克风、键盘、虚拟键盘、触控屏等。基于此,在后台人员通过显示装置看到被标记的行人或其他行人做出危险行为时,可以通过麦克风进行喊话,或通过键盘、虚拟键盘进行文字输入,或通过触控屏选择已编辑好的文字或语音,作为警示信息输入用户设备。In this embodiment, the backstage personnel can input warning information through the input device of the user device. Specifically, the input device can be a microphone, a keyboard, a virtual keyboard, a touch screen, etc. Based on this, when the backstage personnel see the marked pedestrian or other pedestrians performing dangerous behaviors through the display device, they can shout through the microphone, or input text through the keyboard or virtual keyboard, or select the edited text or voice through the touch screen, and input it into the user device as warning information.
306:用户设备向云端服务器发送警示信息。306: The user device sends a warning message to the cloud server.
在本实施方式中,用户设备向云端服务器发送警示信息的方法与步骤303中云端服务器向用户设备发送提示信息和视频数据的方法类似,在此不再赘述。In this embodiment, the method in which the user device sends the warning information to the cloud server is similar to the method in which the cloud server sends the prompt information and video data to the user device in step 303, and will not be repeated here.
307:云端服务器对警示信息进行模数转换处理,得到第一数字信息。307: The cloud server performs analog-to-digital conversion on the warning information to obtain first digital information.
在本实施方式中,在对警示信息进行模数转换处理前,还可以先对警示信息进行信息提取,得到关键信息;继而对关键信息进行重组处理和语音转化,得到警示语音;继而对警示语音进行模数转换处理,得到第一数字信息。由此,可以确定该警示信息中是否存在信息缺失,例如:没有描述行人的外形特征,导致喊话对象不清楚。此时,云端服务器可以对行人
的外形特征进行提取,例如:年龄、性别、衣着等,继而将这些特征与关键信息一起重组成新的警示语音在进行转换,保证警示语音可以正确的传达至行为特征为危险行为的行人。In this embodiment, before the warning information is converted into analogue digital form, the warning information may be first extracted to obtain key information; the key information may then be reorganized and converted into voice to obtain a warning voice; the warning voice may then be converted into analogue digital form to obtain the first digital information. Thus, it may be determined whether there is any missing information in the warning information, for example, the appearance of the pedestrian is not described, resulting in an unclear target of the call. At this point, the cloud server may The system extracts the appearance features of pedestrians, such as age, gender, clothing, etc., and then reorganizes these features together with key information into a new warning voice for conversion, ensuring that the warning voice can be correctly conveyed to pedestrians with dangerous behavior characteristics.
308:云端服务器对第一数字信息进行压缩处理,得到第二数字信息。308: The cloud server compresses the first digital information to obtain second digital information.
在本实施方式中,该压缩处理可以是压缩编码。In this embodiment, the compression process may be compression coding.
309:云端服务器对第二数字信息进行信道编码处理,得到第三数字信息。309: The cloud server performs channel coding processing on the second digital information to obtain third digital information.
在本实施方式中,该信道编码处理可以是前向纠错编码。In this embodiment, the channel coding process may be forward error correction coding.
310:云端服务器向音频播放设备发送第三数字信息。310: The cloud server sends third digital information to the audio playback device.
在本实施方式中,云端服务器向音频播放设备发送第三数字信息的方法与步骤303中云端服务器向用户设备发送提示信息和视频数据的方法类似,在此不再赘述。In this embodiment, the method in which the cloud server sends the third digital information to the audio playback device is similar to the method in which the cloud server sends the prompt information and video data to the user device in step 303, and will not be repeated here.
在本实施方式中,可以根据该行人的位置,确定其最近的音频播放设备作为接收设备,接收该第三数字信息进行警示语音的播放,或者也可以同时向该行人附近的多个音频播放设备发送该第三数字信息,以确保行人可以听到该警示语音。In this embodiment, the nearest audio playback device can be determined as a receiving device based on the location of the pedestrian to receive the third digital information and play the warning voice, or the third digital information can be sent to multiple audio playback devices near the pedestrian at the same time to ensure that the pedestrian can hear the warning voice.
311:音频播放设备播放警示信息。311: The audio playback device plays a warning message.
此外,在本实施方式中,还可以根据行人的视频数据数据,确定其朝向,继而向其朝向方向的显示设备发送该行人的视频数据数据,以使显示设备显示视频数据数据,对行人进行进一步的警示,提升警示效果。In addition, in this embodiment, the direction of the pedestrian can be determined based on the video data of the pedestrian, and then the video data of the pedestrian can be sent to a display device in the direction of the pedestrian, so that the display device can display the video data to further warn the pedestrian and improve the warning effect.
在本实施方式中,警示信息可以是音频信息,也可以是文本信息,还可以是指令信息。应说明,当该警示信息是音频信息时,音频播放设备接收到该警示信息时,可直接播放该音频信息;当该警示信息是文本信息时,音频播放设备先通过语音转文本技术将文本信息转化成相应的音频,然后音频播放设备再播放该音频;当该警示信息是指令信息时,音频播放设备先解析该指令,以获取与该指令对应的语音模板(音频播放设备中预先录入有多种语音模板),然后再播放该语音模板。In this embodiment, the warning information can be audio information, text information, or instruction information. It should be noted that when the warning information is audio information, the audio playback device can directly play the audio information when receiving the warning information; when the warning information is text information, the audio playback device first converts the text information into corresponding audio through voice-to-text technology, and then the audio playback device plays the audio; when the warning information is instruction information, the audio playback device first parses the instruction to obtain the voice template corresponding to the instruction (multiple voice templates are pre-recorded in the audio playback device), and then plays the voice template.
综上所述,本发明所提供的预警方法中,通过设置于人行通道两端的摄像设备实时获取人行通道的视频数据,继而对获取到的视频数据进行分析,确定视频数据中每个行人的行为特征。然后,根据每个行人的行为特征对每个行人的行动进行预测,当预测其做出闯红灯等危险行为的可能性高与预设值时,即可确定其行为特征为危险行为。当每个行人的行为特征中包含危险行为时,向用户设备发送提示信息和视频数据,提示后台工作人员通过用户设备对该行人进行关注,继而在该行人做出闯红灯等危险行为时,及时对其发出警示,阻值行人继续进行当前的危险行为。相较于传统的警示方式,具有更高的时效性,同时可以有效阻值危险行为的发生。同时,警示信息通过模数转换、压缩和信道编码,继而通过远距离无线电(Long Range Radio,LoRa)协议将处理后的第一警示语音发送至音频播放设备进行播放,克服了LoRa协议中易丢包的问题,实现了低成本、远距离的信号传输。In summary, in the early warning method provided by the present invention, the video data of the pedestrian passage is obtained in real time by the camera equipment set at both ends of the pedestrian passage, and then the obtained video data is analyzed to determine the behavior characteristics of each pedestrian in the video data. Then, the action of each pedestrian is predicted according to the behavior characteristics of each pedestrian. When the probability of the pedestrian making dangerous behaviors such as running a red light is higher than the preset value, the behavior characteristics can be determined as dangerous behaviors. When the behavior characteristics of each pedestrian include dangerous behaviors, prompt information and video data are sent to the user device to prompt the backstage staff to pay attention to the pedestrian through the user device, and then when the pedestrian makes dangerous behaviors such as running a red light, a warning is issued to the pedestrian in time to prevent the pedestrian from continuing the current dangerous behavior. Compared with the traditional warning method, it has higher timeliness and can effectively prevent the occurrence of dangerous behaviors. At the same time, the warning information is converted by analog-to-digital conversion, compression and channel coding, and then the processed first warning voice is sent to the audio playback device for playback through the Long Range Radio (LoRa) protocol, which overcomes the problem of easy packet loss in the LoRa protocol and realizes low-cost and long-distance signal transmission.
参阅图5,图5为本申请实施方式提供的一种预警装置的功能模块组成框图。该预警装置可以应用于图2所示的预警系统中的云端服务器201,具体而言,如图5所示,该预警装置500包括:Refer to FIG5 , which is a functional module block diagram of an early warning device provided in an embodiment of the present application. The early warning device can be applied to the cloud server 201 in the early warning system shown in FIG2 . Specifically, as shown in FIG5 , the early warning device 500 includes:
第一接收模块501,用于实时获取摄像设备采集的视频数据;The first receiving module 501 is used to obtain video data collected by a camera device in real time;
分析模块502,用于对视频数据进行分析,确定视频数据中每个行人的行为特征;An analysis module 502 is used to analyze the video data and determine the behavior characteristics of each pedestrian in the video data;
第一发送模块503,用于在每个行人的行为特征中包含危险行为时,向用户设备发送提示信息和视频数据;A first sending module 503, configured to send prompt information and video data to a user device when the behavior characteristics of each pedestrian include dangerous behavior;
第一接收模块501,还用于从用户设备接收警示信息,其中,警示信息是用户设备根据
提示信息和视频数据确定的;The first receiving module 501 is further configured to receive warning information from a user device, wherein the warning information is a signal received by the user device according to Prompt information and video data determined;
分析模块502,还用于对警示信息进行模数转换处理,得到第一数字信息,对第一数字信息进行压缩处理,得到第二数字信息,对第二数字信息进行信道编码处理,得到第三数字信息;The analysis module 502 is further used to perform analog-to-digital conversion processing on the warning information to obtain first digital information, perform compression processing on the first digital information to obtain second digital information, and perform channel coding processing on the second digital information to obtain third digital information;
第一发送模块503,还用于向音频播放设备发送第三数字信息,以通过音频播放设备播放警示信息,对行为特征为危险行为的行人进行警示。The first sending module 503 is further used to send third digital information to the audio playback device, so as to play warning information through the audio playback device to warn pedestrians whose behavior characteristics are dangerous behaviors.
在本发明的实施方式中,在对视频数据进行分析,确定视频数据中每个行人的行为特征方面,分析模块502,具体用于:In the embodiment of the present invention, in analyzing the video data to determine the behavior characteristics of each pedestrian in the video data, the analysis module 502 is specifically used to:
对视频数据进行分帧处理,得到至少一张视频图像;Performing frame processing on the video data to obtain at least one video image;
对每个行人在至少一张视频图像中的每张视频图像的动作特征进行提取,得到每个行人的动作特征序列;Extracting the motion features of each pedestrian in at least one video image to obtain a motion feature sequence of each pedestrian;
根据每个行人的动作特征序列,在预设的危险行为特征库中进行比对,确定每个行人的行为特征。According to the action feature sequence of each pedestrian, a comparison is made in the preset dangerous behavior feature library to determine the behavior characteristics of each pedestrian.
在本发明的实施方式中,在向用户设备发送提示信息和视频数据之前,分析模块502,还用于:In an embodiment of the present invention, before sending the prompt information and the video data to the user equipment, the analysis module 502 is further used to:
根据行为特征为危险行为的行人的行为特征,生成行为提示信息;Generate behavior prompt information according to the behavior characteristics of pedestrians with dangerous behavior characteristics;
在视频数据中,对行为特征为危险行为的行人进行标记,其中,标记包括提示信息。In the video data, pedestrians whose behavior characteristics are dangerous behaviors are marked, wherein the marking includes prompt information.
在本发明的实施方式中,在对警示信息进行模数转换处理,得到第一数字信息之前,分析模块502,还用于:In an embodiment of the present invention, before performing analog-to-digital conversion on the warning information to obtain the first digital information, the analysis module 502 is further used to:
对警示信息进行信息提取,得到关键信息;Extract the warning information to obtain key information;
对关键信息进行重组处理和语音转化,得到警示语音;Reorganize and convert key information into voice to obtain warning voice;
对警示信息进行模数转换处理,得到第一数字信息,包括:Perform analog-to-digital conversion on the warning information to obtain first digital information, including:
对警示语音进行模数转换处理,得到第一数字信息。Perform analog-to-digital conversion on the warning voice to obtain first digital information.
参阅图6,图6为本申请实施方式提供的一种信息发送装置的功能模块组成框图。该信息发送装置可以应用于图2所示的预警系统中的用户设备204,具体而言,如图6所示,该信息发送装置600包括:Refer to FIG6 , which is a functional module block diagram of an information sending device provided in an embodiment of the present application. The information sending device can be applied to the user equipment 204 in the early warning system shown in FIG2 . Specifically, as shown in FIG6 , the information sending device 600 includes:
第二接收模块601,用于从云端服务器接收提示信息和视频数据,其中,视频数据中包括标记;The second receiving module 601 is used to receive prompt information and video data from the cloud server, wherein the video data includes a mark;
展示模块602,用于向用户展示提示信息和视频数据;A display module 602 is used to display prompt information and video data to the user;
第二接收模块601,还用于接收用户输入的警示信息;The second receiving module 601 is further used to receive warning information input by the user;
第二发送模块603,用于向云端服务器发送警示信息。The second sending module 603 is used to send warning information to the cloud server.
参阅图7,图7为本申请实施方式提供的一种预警设备的结构示意图。如图7所示,预警设备700包括第一收发器701、第一处理器702和第一存储器703。它们之间通过第一总线704连接。第一存储器703用于存储计算机程序和数据,并可以将第一存储器703存储的数据传输给第一处理器702。在一种可能的实施方式中,该预警设备可以为图2所示的预警系统中的云端服务器201。Refer to FIG. 7 , which is a schematic diagram of the structure of an early warning device provided in an embodiment of the present application. As shown in FIG. 7 , the early warning device 700 includes a first transceiver 701, a first processor 702, and a first memory 703. They are connected via a first bus 704. The first memory 703 is used to store computer programs and data, and can transmit the data stored in the first memory 703 to the first processor 702. In a possible implementation, the early warning device can be the cloud server 201 in the early warning system shown in FIG. 2 .
其中,第一处理器702用于读取第一存储器703中的计算机程序执行以下操作:The first processor 702 is used to read the computer program in the first memory 703 and perform the following operations:
实时获取摄像设备采集的视频数据;Obtain video data collected by camera equipment in real time;
对视频数据进行分析,确定视频数据中每个行人的行为特征;
Analyze the video data to determine the behavioral characteristics of each pedestrian in the video data;
当每个行人的行为特征中包含危险行为时,向用户设备发送提示信息和视频数据;When the behavior characteristics of each pedestrian include dangerous behavior, prompt information and video data are sent to the user device;
从用户设备接收警示信息,其中,警示信息是用户设备根据提示信息和视频数据确定的;Receiving warning information from a user device, wherein the warning information is determined by the user device according to the prompt information and the video data;
对警示信息进行模数转换处理,得到第一数字信息;Performing analog-to-digital conversion on the warning information to obtain first digital information;
对第一数字信息进行压缩处理,得到第二数字信息;compressing the first digital information to obtain second digital information;
对第二数字信息进行信道编码处理,得到第三数字信息;performing channel coding processing on the second digital information to obtain third digital information;
向音频播放设备发送第三数字信息,以通过音频播放设备播放警示信息,对行为特征为危险行为的行人进行警示。The third digital information is sent to the audio playback device so as to play the warning information through the audio playback device to warn the pedestrians whose behavior characteristics are dangerous behaviors.
在本发明的实施方式中,在对视频数据进行分析,确定视频数据中每个行人的行为特征方面,第一处理器702,具体用于执行以下操作:In the embodiment of the present invention, in analyzing the video data to determine the behavior characteristics of each pedestrian in the video data, the first processor 702 is specifically configured to perform the following operations:
对视频数据进行分帧处理,得到至少一张视频图像;Performing frame processing on the video data to obtain at least one video image;
对每个行人在至少一张视频图像中的每张视频图像的动作特征进行提取,得到每个行人的动作特征序列;Extracting the motion features of each pedestrian in at least one video image to obtain a motion feature sequence of each pedestrian;
根据每个行人的动作特征序列,在预设的危险行为特征库中进行比对,确定每个行人的行为特征。According to the action feature sequence of each pedestrian, a comparison is made in the preset dangerous behavior feature library to determine the behavior characteristics of each pedestrian.
在本发明的实施方式中,在向用户设备发送提示信息和视频数据之前,第一处理器702,还用于执行以下操作:In an embodiment of the present invention, before sending the prompt information and the video data to the user equipment, the first processor 702 is further configured to perform the following operations:
根据行为特征为危险行为的行人的行为特征,生成行为提示信息;Generate behavior prompt information according to the behavior characteristics of pedestrians with dangerous behavior characteristics;
在视频数据中,对行为特征为危险行为的行人进行标记,其中,标记包括提示信息。In the video data, pedestrians whose behavior characteristics are dangerous behaviors are marked, wherein the marking includes prompt information.
在本发明的实施方式中,在对警示信息进行模数转换处理,得到第一数字信息之前,第一处理器702,还用于执行以下操作:In an embodiment of the present invention, before performing analog-to-digital conversion on the warning information to obtain the first digital information, the first processor 702 is further configured to perform the following operations:
对警示信息进行信息提取,得到关键信息;Extract the warning information to obtain key information;
对关键信息进行重组处理和语音转化,得到警示语音;Reorganize and convert key information into voice to obtain warning voice;
对警示信息进行模数转换处理,得到第一数字信息,包括:Perform analog-to-digital conversion on the warning information to obtain first digital information, including:
对警示语音进行模数转换处理,得到第一数字信息。Perform analog-to-digital conversion on the warning voice to obtain first digital information.
参阅图8,图8为本申请实施方式提供的一种信息发送设备的结构示意图。如图8所示,信息发送设备800包括第二收发器801、第二处理器802和第二存储器803。它们之间通过第二总线804连接。第二存储器803用于存储计算机程序和数据,并可以将第二存储器803存储的数据传输给第二处理器802。在一种可能的实施方式中,该信息发送设备可以为图2所示的预警系统中的用户设备204。Refer to FIG8 , which is a schematic diagram of the structure of an information sending device provided in an embodiment of the present application. As shown in FIG8 , the information sending device 800 includes a second transceiver 801, a second processor 802, and a second memory 803. They are connected via a second bus 804. The second memory 803 is used to store computer programs and data, and can transmit the data stored in the second memory 803 to the second processor 802. In a possible implementation, the information sending device can be the user device 204 in the early warning system shown in FIG2 .
其中,第二处理器802用于读取第二存储器803中的计算机程序执行以下操作:The second processor 802 is used to read the computer program in the second memory 803 and perform the following operations:
从云端服务器接收提示信息和视频数据,其中,视频数据中包括标记;receiving prompt information and video data from a cloud server, wherein the video data includes a marker;
向用户展示提示信息和视频数据;Display prompt information and video data to users;
接收用户输入的警示信息;Receive warning information input by the user;
向云端服务器发送警示信息。Send warning information to the cloud server.
应理解,本申请中的预警装置和信息发送装置可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备MID(Mobile Internet Devices,简称:MID)、机器人或穿戴式设备等。上述预警装置和信息发送装置仅是举例,而非穷举,包含但不限于上述预警装置和信息发送装置。在实际应用中,上述预警装置和信息发送装置还可以包括:智能车载终端、计算机设备等等。
It should be understood that the warning device and information sending device in the present application may include smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptops, mobile Internet devices MID (Mobile Internet Devices, referred to as: MID), robots or wearable devices, etc. The above-mentioned warning devices and information sending devices are only examples, not exhaustive, and include but are not limited to the above-mentioned warning devices and information sending devices. In actual applications, the above-mentioned warning devices and information sending devices may also include: smart vehicle terminals, computer equipment, etc.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件结合硬件平台的方式来实现。基于这样的理解,本发明的技术方案对背景技术做出贡献的全部或者部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施方式或者实施方式的某些部分所述的方法。Through the description of the above implementation modes, those skilled in the art can clearly understand that the present invention can be implemented by combining software with a hardware platform. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, which can be stored in a storage medium such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various implementation modes of the present invention or some parts of the implementation modes.
因此,本申请实施方式还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行以实现如上述方法实施方式中记载的任何一种预警方法和/或信息发送方法的部分或全部步骤。例如,所述存储介质可以包括硬盘、软盘、光盘、磁带、磁盘、优盘、闪存等。Therefore, the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement some or all of the steps of any early warning method and/or information sending method described in the above method implementation. For example, the storage medium may include a hard disk, a floppy disk, an optical disk, a tape, a disk, a USB flash drive, a flash memory, etc.
本申请实施方式还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施方式中记载的任何一种预警方法和/或信息发送方法的部分或全部步骤。An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the early warning methods and/or information sending methods recorded in the above method implementation.
需要说明的是,对于前述的各方法实施方式,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施方式均属于可选的实施方式,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the above-mentioned method implementations, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by this application.
在上述实施方式中,对各个实施方式的描述都各有侧重,某个实施方式中没有详述的部分,可以参见其他实施方式的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
在本申请所提供的几个实施方式中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device implementation described above is only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
另外,在本申请各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software program module.
所述集成的单元如果以软件程序模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施方式所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施方式的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random
Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable memory, which can include a flash drive, a read-only memory (ROM), a random access memory (RAM), and a memory. Access Memory, referred to as RAM), disk or CD, etc.
以上对本申请实施方式进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施方式的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。
The above is a detailed introduction to the implementation methods of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims (11)
- 一种预警方法,其特征在于,所述方法应用于预警系统中的云端服务器,所述预警系统还包括用户设备,以及设置于人行通道两端的摄像设备和音频播放设备,且所述云端服务和所述音频播放设备之间的距离大于第一阈值,所述方法包括:An early warning method, characterized in that the method is applied to a cloud server in an early warning system, the early warning system also includes a user device, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud service and the audio playback device is greater than a first threshold, and the method includes:实时获取所述摄像设备采集的视频数据;Acquire video data collected by the camera device in real time;对所述视频数据进行分析,确定所述视频数据中每个行人的行为特征;Analyzing the video data to determine the behavior characteristics of each pedestrian in the video data;当所述每个行人的行为特征中包含危险行为时,向所述用户设备发送提示信息和所述视频数据;When the behavior characteristics of each pedestrian include dangerous behavior, sending prompt information and the video data to the user equipment;从所述用户设备接收警示信息,其中,所述警示信息是所述用户设备根据所述提示信息和所述视频数据确定的;Receiving warning information from the user equipment, wherein the warning information is determined by the user equipment according to the prompt information and the video data;对所述警示信息进行模数转换处理,得到第一数字信息;Performing analog-to-digital conversion on the warning information to obtain first digital information;对所述第一数字信息进行压缩处理,得到第二数字信息;compressing the first digital information to obtain second digital information;对所述第二数字信息进行信道编码处理,得到第三数字信息;performing channel coding processing on the second digital information to obtain third digital information;向所述音频播放设备发送所述第三数字信息,以通过所述音频播放设备播放所述警示信息,对行为特征为危险行为的行人进行警示。The third digital information is sent to the audio playback device so that the warning information is played through the audio playback device to warn pedestrians whose behavior characteristics are dangerous behaviors.
- 根据权利要求1所述的方法,其特征在于,所述对所述视频数据进行分析,确定所述视频数据中每个行人的行为特征,包括:The method according to claim 1, characterized in that the step of analyzing the video data to determine the behavior characteristics of each pedestrian in the video data comprises:对所述视频数据进行分帧处理,得到至少一张视频图像;Performing frame processing on the video data to obtain at least one video image;对所述每个行人在至少一张视频图像中的每张视频图像的动作特征进行提取,得到所述每个行人的动作特征序列;Extracting the motion features of each of the pedestrians in at least one video image to obtain a motion feature sequence of each of the pedestrians;根据所述每个行人的动作特征序列,在预设的危险行为特征库中进行比对,确定所述每个行人的行为特征。According to the action feature sequence of each pedestrian, a comparison is performed in a preset dangerous behavior feature library to determine the behavior feature of each pedestrian.
- 根据权利要求1所述的方法,其特征在于,在所述向所述用户设备发送提示信息和所述视频数据之前,所述方法还包括:The method according to claim 1, characterized in that before sending the prompt information and the video data to the user equipment, the method further comprises:根据所述行为特征为危险行为的行人的行为特征,生成行为提示信息;generating behavior prompt information according to the behavior characteristics of the pedestrian whose behavior characteristics are dangerous behaviors;在所述视频数据中,对所述行为特征为危险行为的行人进行标记,其中,所述标记包括所述提示信息。In the video data, pedestrians whose behavior characteristics are dangerous behaviors are marked, wherein the mark includes the prompt information.
- 根据权利要求1-3中任意一项所述的方法,其特征在于,在所述对所述警示信息进行模数转换处理,得到第一数字信息之前,所述方法还包括:The method according to any one of claims 1 to 3, characterized in that before performing analog-to-digital conversion on the warning information to obtain the first digital information, the method further comprises:对所述警示信息进行信息提取,得到关键信息;Extracting information from the warning information to obtain key information;对所述关键信息进行重组处理和语音转化,得到警示语音;Reorganizing and converting the key information into voice to obtain a warning voice;所述对所述警示信息进行模数转换处理,得到第一数字信息,包括:The step of performing analog-to-digital conversion on the warning information to obtain first digital information includes:所述对所述警示语音进行模数转换处理,得到第一数字信息。The warning voice is subjected to analog-to-digital conversion processing to obtain first digital information.
- 一种信息发送方法,其特征在于,所述方法应用于预警系统中的用户设备,所述预警系统还包括云端服务器,以及设置于人行通道两端的摄像设备和音频播放设备,且所述云端服务和所述音频播放设备之间的距离大于第一阈值,所述方法包括:An information sending method, characterized in that the method is applied to a user device in an early warning system, the early warning system also includes a cloud server, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud server and the audio playback device is greater than a first threshold, and the method includes:从所述云端服务器接收提示信息和视频数据,其中,所述视频数据中包括标记; Receiving prompt information and video data from the cloud server, wherein the video data includes a mark;向用户展示所述提示信息和所述视频数据;Displaying the prompt information and the video data to the user;接收用户输入的警示信息;Receive warning information input by the user;向所述云端服务器其发送所述警示信息。The warning information is sent to the cloud server.
- 一种预警装置,其特征在于,所述装置应用于预警系统中的云端服务器,所述预警系统还包括用户设备,以及设置于人行通道两端的摄像设备和音频播放设备,且所述云端服务和所述音频播放设备之间的距离大于第一阈值,所述装置包括:An early warning device, characterized in that the device is applied to a cloud server in an early warning system, the early warning system also includes a user device, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud service and the audio playback device is greater than a first threshold, and the device includes:第一接收模块,用于实时获取所述摄像设备采集的视频数据;A first receiving module, used for acquiring the video data collected by the camera device in real time;分析模块,用于对所述视频数据进行分析,确定所述视频数据中每个行人的行为特征;An analysis module, used to analyze the video data to determine the behavior characteristics of each pedestrian in the video data;第一发送模块,用于在所述每个行人的行为特征中包含危险行为时,向所述用户设备发送提示信息和所述视频数据;A first sending module, configured to send prompt information and the video data to the user equipment when the behavior characteristics of each pedestrian include dangerous behavior;所述第一接收模块,还用于从所述用户设备接收警示信息,其中,所述警示信息是所述用户设备根据所述提示信息和所述视频数据确定的;The first receiving module is further configured to receive warning information from the user equipment, wherein the warning information is determined by the user equipment according to the prompt information and the video data;所述分析模块,还用于对所述警示信息进行模数转换处理,得到第一数字信息,对所述第一数字信息进行压缩处理,得到第二数字信息,对所述第二数字信息进行信道编码处理,得到第三数字信息;The analysis module is further configured to perform analog-to-digital conversion processing on the warning information to obtain first digital information, perform compression processing on the first digital information to obtain second digital information, and perform channel coding processing on the second digital information to obtain third digital information;所述第一发送模块,还用于向所述音频播放设备发送所述第三数字信息,以通过所述音频播放设备播放所述警示信息,对行为特征为危险行为的行人进行警示。The first sending module is further used to send the third digital information to the audio playback device, so that the warning information is played through the audio playback device to warn pedestrians whose behavior characteristics are dangerous behaviors.
- 一种信息发送装置,其特征在于,所述装置应用于预警系统中的用户设备,所述预警系统还包括云端服务器,以及设置于人行通道两端的摄像设备和音频播放设备,且所述云端服务和所述音频播放设备之间的距离大于第一阈值,所述装置包括:An information sending device, characterized in that the device is applied to a user device in an early warning system, the early warning system also includes a cloud server, and a camera device and an audio playback device arranged at both ends of a pedestrian passage, and the distance between the cloud server and the audio playback device is greater than a first threshold, and the device includes:第二接收模块,用于从所述云端服务器接收提示信息和视频数据,其中,所述视频数据中包括标记;A second receiving module, configured to receive prompt information and video data from the cloud server, wherein the video data includes a mark;展示模块,用于向用户展示所述提示信息和所述视频数据;A display module, used to display the prompt information and the video data to the user;所述第二接收模块,还用于接收用户输入的警示信息;The second receiving module is further used to receive warning information input by the user;第二发送模块,用于向所述云端服务器发送所述警示信息。The second sending module is used to send the warning information to the cloud server.
- 一种预警设备,其特征在于,包括第一处理器、第一存储器、第一通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述第一存储器中,并且被配置由所述第一处理器执行,所述一个或多个程序包括用于执行权利要求1-4任一项方法中所述的步骤的指令。An early warning device, characterized in that it comprises a first processor, a first memory, a first communication interface and one or more programs, wherein the one or more programs are stored in the first memory and are configured to be executed by the first processor, and the one or more programs include instructions for executing the steps described in any one of the methods of claims 1-4.
- 一种信息发送设备,其特征在于,包括第二处理器、第二存储器、第二通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述第二存储器中,并且被配置由所述第二处理器执行,所述一个或多个程序包括用于执行权利要求5所述的方法中所述的步骤的指令。An information sending device, characterized in that it includes a second processor, a second memory, a second communication interface and one or more programs, wherein the one or more programs are stored in the second memory and are configured to be executed by the second processor, and the one or more programs include instructions for executing the steps described in the method described in claim 5.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行以实现如权利要求1-5任一项所述的方法。 A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 5.
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,计算机可操作来使计算机执行如权利要求1-5任一项所述的方法。 A computer program product, characterized in that the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, and the computer is operable to cause the computer to execute the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202480001460.8A CN118696361A (en) | 2023-02-08 | 2024-02-01 | Early warning method, early warning device, electronic equipment and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310084476.7 | 2023-02-08 | ||
CN202310084476 | 2023-02-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024164928A1 true WO2024164928A1 (en) | 2024-08-15 |
Family
ID=92262000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2024/075218 WO2024164928A1 (en) | 2023-02-08 | 2024-02-01 | Early warning method and apparatus, and electronic device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN118696361A (en) |
WO (1) | WO2024164928A1 (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100100324A1 (en) * | 2008-10-22 | 2010-04-22 | Toyota Motor Engineering & Manufacturing North America, Inc. | Communication based vehicle-pedestrian collision warning system |
CN104091446A (en) * | 2014-07-11 | 2014-10-08 | 厦门磐道电子有限公司 | Intelligent video analyzing method for pedestrians crossing zebra stripes |
EP2851841A2 (en) * | 2013-09-23 | 2015-03-25 | Toyota Motor Engineering & Manufacturing North America, Inc. | System and method of alerting a driver that visual perception of pedestrian may be difficult |
CN205281786U (en) * | 2015-12-29 | 2016-06-01 | 北京旷视科技有限公司 | Alarm system |
CN106340179A (en) * | 2016-09-30 | 2017-01-18 | 南京蓝泰交通设施有限责任公司 | Pedestrian crossing signal lamp system with red light running evidence obtaining function and method |
CN109118768A (en) * | 2018-09-10 | 2019-01-01 | 合肥巨清信息科技有限公司 | A kind of management system of making a dash across the red light based on emphasis traffic zone video |
CN208706049U (en) * | 2018-09-25 | 2019-04-05 | 苏州金螳螂怡和科技有限公司 | A kind of pedestrian running red light violation snap-shooting device based on video detection |
CN113114416A (en) * | 2021-03-30 | 2021-07-13 | 深圳市冠标科技发展有限公司 | Information transmission system, method and computer storage medium |
CN113852788A (en) * | 2021-09-03 | 2021-12-28 | 泰华智慧产业集团股份有限公司 | City management system based on video intelligent analysis |
CN115393798A (en) * | 2022-09-01 | 2022-11-25 | 深圳市冠标科技发展有限公司 | Early warning method and device, electronic equipment and storage medium |
-
2024
- 2024-02-01 CN CN202480001460.8A patent/CN118696361A/en active Pending
- 2024-02-01 WO PCT/CN2024/075218 patent/WO2024164928A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100100324A1 (en) * | 2008-10-22 | 2010-04-22 | Toyota Motor Engineering & Manufacturing North America, Inc. | Communication based vehicle-pedestrian collision warning system |
EP2851841A2 (en) * | 2013-09-23 | 2015-03-25 | Toyota Motor Engineering & Manufacturing North America, Inc. | System and method of alerting a driver that visual perception of pedestrian may be difficult |
CN104091446A (en) * | 2014-07-11 | 2014-10-08 | 厦门磐道电子有限公司 | Intelligent video analyzing method for pedestrians crossing zebra stripes |
CN205281786U (en) * | 2015-12-29 | 2016-06-01 | 北京旷视科技有限公司 | Alarm system |
CN106340179A (en) * | 2016-09-30 | 2017-01-18 | 南京蓝泰交通设施有限责任公司 | Pedestrian crossing signal lamp system with red light running evidence obtaining function and method |
CN109118768A (en) * | 2018-09-10 | 2019-01-01 | 合肥巨清信息科技有限公司 | A kind of management system of making a dash across the red light based on emphasis traffic zone video |
CN208706049U (en) * | 2018-09-25 | 2019-04-05 | 苏州金螳螂怡和科技有限公司 | A kind of pedestrian running red light violation snap-shooting device based on video detection |
CN113114416A (en) * | 2021-03-30 | 2021-07-13 | 深圳市冠标科技发展有限公司 | Information transmission system, method and computer storage medium |
CN113852788A (en) * | 2021-09-03 | 2021-12-28 | 泰华智慧产业集团股份有限公司 | City management system based on video intelligent analysis |
CN115393798A (en) * | 2022-09-01 | 2022-11-25 | 深圳市冠标科技发展有限公司 | Early warning method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN118696361A (en) | 2024-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111723727B (en) | Cloud monitoring method and device based on edge computing, electronic equipment and storage medium | |
CN106527892B (en) | Screen capturing method and system of electronic equipment | |
CN112965804A (en) | Method, device, terminal, system and storage medium for processing information | |
CN114006894B (en) | Data processing system, method, electronic device, and computer storage medium | |
CN110930220A (en) | Display method, display device, terminal equipment and medium | |
CN110100460A (en) | Based on head position and time there is non-head to track stereosonic ambisonics audio | |
CN115103157A (en) | Video analysis method and device based on edge cloud cooperation, electronic equipment and medium | |
WO2024051823A1 (en) | Method for managing reception information and back-end device | |
WO2022062860A1 (en) | Data processing method, apparatus and device for point cloud media, and storage medium | |
CN114187541A (en) | Intelligent video analysis method and storage device for user-defined service scene | |
CN106377401A (en) | Blind guiding front-end equipment, blind guiding rear-end equipment and blind guiding system | |
CN102904918A (en) | Method and system for processing display of network media information | |
CN112699754A (en) | Signal lamp identification method, device, equipment and storage medium | |
WO2024164928A1 (en) | Early warning method and apparatus, and electronic device and storage medium | |
CN106507172A (en) | Information coding method, coding/decoding method and device | |
CN112542172A (en) | Communication auxiliary method, device, equipment and medium based on online conference | |
CN115442739B (en) | Temporary communication processing method and device for subway construction, electronic equipment and medium | |
CN114758296B (en) | Power grid equipment remote monitoring method and system based on VR technology | |
WO2024164922A1 (en) | Early warning method and apparatus, and electronic device and storage medium | |
CN116723353A (en) | Video monitoring area configuration method, system, device and readable storage medium | |
CN116824480A (en) | Monitoring video analysis method and system based on deep stream | |
CN215186950U (en) | Pedestrian red light running behavior evidence acquisition device based on face recognition technology | |
CN115348441A (en) | Time delay measuring method, system, device, equipment and storage medium | |
CN116055762A (en) | Video synthesis method and device, electronic equipment and storage medium | |
CN117176962B (en) | Video encoding and decoding method and device and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 202480001460.8 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24752784 Country of ref document: EP Kind code of ref document: A1 |