CN113378624A - Data transmission method, system, electronic device and medium based on gateway device - Google Patents

Data transmission method, system, electronic device and medium based on gateway device Download PDF

Info

Publication number
CN113378624A
CN113378624A CN202110425163.4A CN202110425163A CN113378624A CN 113378624 A CN113378624 A CN 113378624A CN 202110425163 A CN202110425163 A CN 202110425163A CN 113378624 A CN113378624 A CN 113378624A
Authority
CN
China
Prior art keywords
data
gateway device
data transmission
contacts
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110425163.4A
Other languages
Chinese (zh)
Inventor
李丽
刘华云
凌益华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Laishang Technology Co ltd
Original Assignee
Shenzhen Laishang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Laishang Technology Co ltd filed Critical Shenzhen Laishang Technology Co ltd
Priority to CN202110425163.4A priority Critical patent/CN113378624A/en
Publication of CN113378624A publication Critical patent/CN113378624A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23608Remultiplexing multiplex streams, e.g. involving modifying time stamps or remapping the packet identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Bioethics (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Alarm Systems (AREA)

Abstract

The invention relates to the technical field of data processing, and provides a data transmission method, a system, electronic equipment and a storage medium based on gateway equipment, wherein the method comprises the steps of monitoring data which are uploaded by the gateway equipment and acquired by a data acquisition terminal in real time, judging whether the monitoring data fall outside a first preset threshold range, if abnormal monitoring data which fall outside the first preset threshold range exist, determining a target data acquisition terminal corresponding to the acquired abnormal monitoring data, and acquiring the position information of the target data acquisition terminal; and acquiring image data of an indoor area, inputting the image data into a pre-trained face recognition model, judging whether an output result contains a target face, if so, acquiring all contacts related to the target face from a database, determining effective contacts from the contacts, and sending reminding information to the effective contacts. The invention can realize remote monitoring on the old without invading the privacy of the old.

Description

Data transmission method, system, electronic device and medium based on gateway device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data transmission method and system based on a gateway device, an electronic device, and a medium.
Background
At present, the aging problem of the Chinese population is increasingly serious, and according to expert prediction, the number of the population at 60 years old and above in China reaches 3.1 hundred million and accounts for 20.42 percent of the total population by 2030; by 2050 years, the mouth of the old can reach 4.37 hundred million, which is 31.2 percent of the total population. China has become one of the countries with the fastest population aging speed in the world, the population proportion of the old people is continuously increased, but the corresponding social service level is difficult to meet the existing monitoring requirement of the old people, and as the proportion of the old people is higher, a plurality of empty nesters or seriously ill old people need to be monitored for 24 hours. In a rapidly developing economic society, children often do not have enough time and energy to monitor the old, thereby causing a series of social problems. The existing indoor monitoring technology for the old people is mainly established on the basis of monitoring by video equipment, but the privacy of the old people is easily invaded by adopting the video equipment to carry out the indoor monitoring of the old people, and the guardian cannot be informed in time when an emergency occurs, so that the indoor monitoring technology cannot be widely popularized and applied.
Therefore, how to realize remote monitoring on the old without invading the privacy of the old becomes an urgent problem to be solved.
Disclosure of Invention
The invention mainly aims to provide a data transmission method, a data transmission system, electronic equipment and a data transmission medium based on gateway equipment, and aims to realize remote monitoring on the elderly on the premise of not invading the privacy of the elderly.
In order to achieve the above object, the present invention provides a data transmission method based on a gateway device, including:
acquiring a source video file, and dividing the source video file into a plurality of data segments according to a time frame, wherein each data segment comprises image data, and each data segment retains a corresponding time stamp;
monitoring data which are uploaded by real-time monitoring gateway equipment and acquired by a data acquisition terminal, judging whether the monitoring data fall outside a first preset threshold range, screening all data sections containing a target object if abnormal monitoring data which fall outside the first preset threshold range exist, and splicing all data sections containing the target object according to the sequence of timestamps to obtain a complete target video file; and
and sending the target video file to a client.
Preferably, the step of screening out all data segments containing the target object comprises:
and inputting the image data in the data segment into a pre-trained face recognition model, and taking the data segment corresponding to the image data containing the target object in the output result as a screening result.
Preferably, the training process of the face recognition model comprises:
acquiring image samples, and allocating a unique image category to each image sample;
dividing the image samples into a training set and a verification set according to a preset proportion, wherein the number of the image samples in the training set is greater than that of the image samples in the verification set;
inputting the image samples in the training set into the face recognition model for training, verifying the face recognition model by using the verification set every other preset period, and verifying the accuracy of the face recognition model by using each image sample and the corresponding image type in the verification set; and
and when the verification accuracy is greater than a second preset threshold value, finishing the training to obtain the trained face recognition model.
Preferably, the data acquisition terminal comprises a gas sensor, a smoke sensor and a sound sensor.
Preferably, the step of "sending the target video file to the client" includes:
and acquiring all contacts related to the target object from a database, sorting all the contacts according to a preset sorting rule, determining effective contacts from the sorted contacts, and sending the target video file to a client of the effective contacts.
Preferably, the step of "determining valid contacts from the sorted contacts" comprises:
selecting the contact persons with the first priority according to the sorting sequence of the contact persons in the database, sending the reminding information to the contact persons, detecting whether receipt information fed back by the contact persons is received within preset time, and if the receipt information is not received within the preset time, selecting the contact persons with the second priority to send the reminding information until the receipt information is received.
In order to achieve the above object, the present invention further provides a data transmission system based on a gateway device, where the data transmission system based on the gateway device includes:
the acquisition module is used for acquiring a source video file and dividing the source video file into a plurality of data segments according to a time frame, wherein each data segment comprises image data, and each data segment retains a corresponding time stamp;
the splicing module is used for monitoring data uploaded by the gateway equipment and acquired by the data acquisition terminal in real time, judging whether the monitoring data fall outside a first preset threshold range, screening all data sections containing a target object if abnormal monitoring data falling outside the first preset threshold range exist, and splicing all data sections containing the target object according to the sequence of timestamps to obtain a complete target video file; and
and the sending module is used for sending the target video file to a client.
Preferably, the step of screening out all data segments containing the target object comprises:
and inputting the image data in the data segment into a pre-trained face recognition model, and taking the data segment corresponding to the image data containing the target object in the output result as a screening result.
To achieve the above object, the present invention further provides an electronic device, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the data transmission method based on the gateway equipment.
To achieve the above object, the present invention further provides a computer readable storage medium, which stores thereon a data transmission program for a gateway device, where the data transmission program for the gateway device is executable by one or more processors to implement the steps of the data transmission method for the gateway device as described above.
According to the data transmission method, the data transmission system, the electronic equipment and the medium based on the gateway equipment, whether the monitoring data fall outside a first preset threshold range or not is judged through monitoring data which are uploaded by the gateway equipment and acquired by at least one data acquisition terminal in real time, if abnormal monitoring data which fall outside the first preset threshold range exist, a target data acquisition terminal corresponding to the acquired abnormal monitoring data is determined, and position information of the target data acquisition terminal is acquired; acquiring image data of an indoor area, inputting the image data into a pre-trained face recognition model, judging whether an output result contains a target face, if so, acquiring all contacts related to the target face from a database, determining effective contacts from the contacts, and sending preset reminding information to the effective contacts. The invention can realize intelligent monitoring of the service condition of the brake pad and timely inform a user when potential safety hazards possibly exist.
Drawings
Fig. 1 is a schematic internal structural diagram of an electronic device implementing a data transmission method based on a gateway device according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a data transmission system based on a gateway device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a data transmission method based on a gateway device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical embodiments and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the technical embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the combination of the technical embodiments contradicts each other or cannot be realized, such combination of the technical embodiments should be considered to be absent and not within the protection scope of the present invention.
The invention provides a data transmission method based on gateway equipment. Fig. 1 is a schematic flowchart of a data transmission method based on a gateway device according to an embodiment of the present invention. The method may be performed by a system, which may be implemented by software and/or hardware.
The method comprises the following steps:
and S110, dividing the image data into a plurality of data segments according to a time frame, wherein each data segment comprises image data, and each data segment retains a corresponding time stamp.
In this embodiment, the server is used as an execution subject to describe the present solution, and an application scenario of the present solution may be set as an intelligent monitor for elderly people, especially people with audiovisual disorders. The server is in communication connection with the gateway device, the gateway device is in communication connection with a data acquisition terminal arranged at an indoor designated position, the data acquisition terminal can be one or more of a gas sensor, a smoke sensor and a sound sensor, for example, the gas sensor can be set to detect whether gas leakage exists indoors, the smoke sensor can be set to detect whether fire exists indoors, and the sound sensor can be set to detect whether abnormal sound exists (for example, a decibel value sent by an indoor old person exceeds a certain decibel value, and a party can be suspected to be calling for help). The server judges whether the monitoring data fall outside a first preset threshold range or not through monitoring data which are uploaded by the real-time monitoring gateway equipment and acquired by at least one data acquisition terminal, if abnormal monitoring data which fall outside the first preset threshold range exist, the target data acquisition terminal corresponding to the acquired abnormal monitoring data is determined, and position information of the target data acquisition terminal is acquired, so that the specific position where the abnormality occurs is determined.
S120, acquiring image data of an indoor area, inputting the image data into a pre-trained face recognition model, judging whether an output result contains a target face, if so, acquiring all contacts related to the target face from a database, determining effective contacts from the contacts, and sending preset reminding information to the effective contacts.
In this embodiment, when the server receives that the detection data uploaded by the gateway device is abnormal, the server acquires image data of an indoor area, inputs the image data into a pre-trained face recognition model, and determines whether an output result includes a target face, for example, a monitored elderly person, and if the determination result indicates that the target face is included, it indicates that the monitored elderly person exists in the indoor area, and needs to contact a family or a guardian associated with the elderly person urgently. And acquiring all contacts related to the target face from a database, determining effective contacts from the database, and sending preset reminding information to the effective contacts, wherein the reminding information also comprises position information of the monitored abnormal monitoring data.
Wherein, the face recognition model can select the convolution neural network model for use, and the specific training process is as follows:
acquiring image samples, and distributing a unique face label to each image sample;
dividing the image samples into a training set and a verification set according to a preset proportion, wherein the number of the image samples in the training set is greater than that of the image samples in the verification set;
inputting the image samples in the training set into the face recognition model for training, verifying the face recognition model by using the verification set every other preset period, and verifying the accuracy of the face recognition model by using each image sample in the verification set and the corresponding face label; and
and when the verification accuracy is greater than a second preset threshold value, finishing training to obtain the face recognition model.
In another embodiment, the data transmission method based on the gateway device further includes a sorting step:
and acquiring all the contacts related to the target face, and sequencing all the contacts according to a preset sequencing rule.
In this embodiment, the ranking rule may be ranking according to the degree of closeness of the association relationship between the persons corresponding to the target face.
It should be explained that the specific steps of determining valid contacts include:
selecting the contact persons with the first priority according to the sorting sequence of the contact persons in the database, sending the reminding information to the contact persons, detecting whether receipt information fed back by the contact persons is received within preset time, and if the receipt information is not received within the preset time, selecting the contact persons with the second priority to send the reminding information until the receipt information is received.
Fig. 2 is a functional block diagram of a data transmission system 100 based on a gateway device according to the present invention.
The gateway device based data transmission system 100 of the present invention may be installed in an electronic device. According to the realized functions, the judgment module 110 and the reminding module 120. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the determining module 110 is configured to monitor, in real time, monitoring data uploaded by the gateway device and acquired by at least one data acquisition terminal, determine whether the monitoring data falls outside a first preset threshold range, determine, if there is abnormal monitoring data falling outside the first preset threshold range, a target data acquisition terminal corresponding to the acquired abnormal monitoring data, and acquire position information of the target data acquisition terminal.
In this embodiment, the server is used as an execution subject to describe the present solution, and an application scenario of the present solution may be set as an intelligent monitor for elderly people, especially people with audiovisual disorders. The server is in communication connection with the gateway device, the gateway device is in communication connection with a data acquisition terminal arranged at an indoor designated position, the data acquisition terminal can be one or more of a gas sensor, a smoke sensor and a sound sensor, for example, the gas sensor can be set to detect whether gas leakage exists indoors, the smoke sensor can be set to detect whether fire exists indoors, and the sound sensor can be set to detect whether abnormal sound exists (for example, a decibel value sent by an indoor old person exceeds a certain decibel value, and a party can be suspected to be calling for help). The server judges whether the monitoring data fall outside a first preset threshold range or not through monitoring data which are uploaded by the real-time monitoring gateway equipment and acquired by at least one data acquisition terminal, if abnormal monitoring data which fall outside the first preset threshold range exist, the target data acquisition terminal corresponding to the acquired abnormal monitoring data is determined, and position information of the target data acquisition terminal is acquired, so that the specific position where the abnormality occurs is determined.
And the reminding module 120 is configured to acquire image data of an indoor area, input the image data into a pre-trained face recognition model, determine whether an output result includes a target face, acquire all contacts associated with the target face from a database if the output result includes the target face, determine valid contacts from the contacts, and send preset reminding information to the valid contacts.
In this embodiment, when the server receives that the detection data uploaded by the gateway device is abnormal, the server acquires image data of an indoor area, inputs the image data into a pre-trained face recognition model, and determines whether an output result includes a target face, for example, a monitored elderly person, and if the determination result indicates that the target face is included, it indicates that the monitored elderly person exists in the indoor area, and needs to contact a family or a guardian associated with the elderly person urgently. And acquiring all contacts related to the target face from a database, determining effective contacts from the database, and sending preset reminding information to the effective contacts, wherein the reminding information also comprises position information of the monitored abnormal monitoring data.
Wherein, the face recognition model can select the convolution neural network model for use, and the specific training process is as follows:
acquiring image samples, and distributing a unique face label to each image sample;
dividing the image samples into a training set and a verification set according to a preset proportion, wherein the number of the image samples in the training set is greater than that of the image samples in the verification set;
inputting the image samples in the training set into the face recognition model for training, verifying the face recognition model by using the verification set every other preset period, and verifying the accuracy of the face recognition model by using each image sample in the verification set and the corresponding face label; and
and when the verification accuracy is greater than a second preset threshold value, finishing training to obtain the face recognition model.
In another embodiment, the data transmission system based on the gateway device further includes a sorting module, configured to acquire all contacts associated with the target face, and sort all contacts according to a preset sorting rule.
In this embodiment, the ranking rule may be ranking according to the degree of closeness of the association relationship between the persons corresponding to the target face.
It should be explained that the specific steps of determining valid contacts include:
selecting the contact persons with the first priority according to the sorting sequence of the contact persons in the database, sending the reminding information to the contact persons, detecting whether receipt information fed back by the contact persons is received within preset time, and if the receipt information is not received within the preset time, selecting the contact persons with the second priority to send the reminding information until the receipt information is received.
Fig. 3 is a schematic structural diagram of an electronic device implementing a data transmission method based on a gateway device according to the present invention.
The electronic device 1 may comprise a processor 12, a memory 11 and a bus, and may further comprise a computer program stored in the memory 11 and executable on the processor 12, such as a data transfer program 10 for a gateway device based data transfer.
Wherein the memory 11 includes at least one type of readable storage medium, and the computer usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like. The readable storage medium includes flash memory, removable hard disks, multimedia cards, card type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes for the gateway device-based data transmission program 10, but also to temporarily store data that has been output or is to be output.
The processor 12 may be formed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various determination chips. The processor 12 is a Control Unit of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (for example, data transmission programs based on a gateway device, and the like) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a judgment bus, and the like. The bus is arranged to enable connection communication between the memory 11 and at least one processor 12 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 12 through a power management system, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management system. The power supply may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface 13, and optionally, the network interface 13 may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The memory 11 in the electronic device 1 stores a data transmission program 10 for a gateway device based gateway device, which is a combination of instructions that, when executed in the processor 12, enable:
monitoring data which is uploaded by a real-time monitoring gateway device and acquired by at least one data acquisition terminal, judging whether the monitoring data falls outside a first preset threshold range, if abnormal monitoring data which falls outside the first preset threshold range exists, determining a target data acquisition terminal corresponding to the acquired abnormal monitoring data, and acquiring position information of the target data acquisition terminal; and
acquiring image data of an indoor area, inputting the image data into a pre-trained face recognition model, judging whether an output result contains a target face, if so, acquiring all contacts related to the target face from a database, determining effective contacts from the contacts, and sending preset reminding information to the effective contacts.
In another embodiment, the program further performs the sorting step:
and acquiring all the contacts related to the target face, and sequencing all the contacts according to a preset sequencing rule.
Specifically, the specific implementation method of the instruction by the processor 12 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, which is not described herein again.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, system, and method may be implemented in other ways. For example, the system embodiments described above are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or systems recited in the system claims may also be implemented by one unit or system in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A data transmission method based on gateway equipment is characterized by comprising the following steps:
acquiring a source video file, and dividing the source video file into a plurality of data segments according to a time frame, wherein each data segment comprises image data, and each data segment retains a corresponding time stamp;
monitoring data which are uploaded by real-time monitoring gateway equipment and acquired by a data acquisition terminal, judging whether the monitoring data fall outside a first preset threshold range, screening all data sections containing a target object if abnormal monitoring data which fall outside the first preset threshold range exist, and splicing all data sections containing the target object according to the sequence of timestamps to obtain a complete target video file; and
and sending the target video file to a client.
2. The gateway device-based data transmission method according to claim 1, wherein the step of screening out all data segments containing the target object comprises:
and inputting the image data in the data segment into a pre-trained face recognition model, and taking the data segment corresponding to the image data containing the target object in the output result as a screening result.
3. The gateway device-based data transmission method of claim 2, wherein the training process of the face recognition model comprises:
acquiring image samples, and allocating a unique image category to each image sample;
dividing the image samples into a training set and a verification set according to a preset proportion, wherein the number of the image samples in the training set is greater than that of the image samples in the verification set;
inputting the image samples in the training set into the face recognition model for training, verifying the face recognition model by using the verification set every other preset period, and verifying the accuracy of the face recognition model by using each image sample and the corresponding image type in the verification set; and
and when the verification accuracy is greater than a second preset threshold value, finishing the training to obtain the trained face recognition model.
4. The gateway device-based data transmission method of claim 1, wherein the data acquisition terminal comprises a gas sensor, a smoke sensor, and a sound sensor.
5. The gateway device-based data transmission method according to claim 1, wherein the step of "sending the target video file to the client" comprises:
and acquiring all contacts related to the target object from a database, sorting all the contacts according to a preset sorting rule, determining effective contacts from the sorted contacts, and sending the target video file to a client of the effective contacts.
6. The gateway device based data transmission method of claim 4, wherein said step of determining valid contacts from the sorted contacts comprises:
selecting the contact persons with the first priority according to the sorting sequence of the contact persons in the database, sending the reminding information to the contact persons, detecting whether receipt information fed back by the contact persons is received within preset time, and if the receipt information is not received within the preset time, selecting the contact persons with the second priority to send the reminding information until the receipt information is received.
7. A data transmission system based on a gateway device, the data transmission system based on the gateway device comprising:
the acquisition module is used for acquiring a source video file and dividing the source video file into a plurality of data segments according to a time frame, wherein each data segment comprises image data, and each data segment retains a corresponding time stamp;
the splicing module is used for monitoring data uploaded by the gateway equipment and acquired by the data acquisition terminal in real time, judging whether the monitoring data fall outside a first preset threshold range, screening all data sections containing a target object if abnormal monitoring data falling outside the first preset threshold range exist, and splicing all data sections containing the target object according to the sequence of timestamps to obtain a complete target video file; and
and the sending module is used for sending the target video file to a client.
8. The gateway device-based data transmission system of claim 7, wherein said step of screening out all data segments containing the target object comprises:
and inputting the image data in the data segment into a pre-trained face recognition model, and taking the data segment corresponding to the image data containing the target object in the output result as a screening result.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the gateway device based data transmission method of any one of claims 1 to 6.
10. A computer-readable storage medium, having stored thereon a data transmission program for a gateway device, the program being executable by one or more processors to implement the steps of the gateway device-based data transmission method according to any one of claims 1-6.
CN202110425163.4A 2021-04-20 2021-04-20 Data transmission method, system, electronic device and medium based on gateway device Pending CN113378624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110425163.4A CN113378624A (en) 2021-04-20 2021-04-20 Data transmission method, system, electronic device and medium based on gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110425163.4A CN113378624A (en) 2021-04-20 2021-04-20 Data transmission method, system, electronic device and medium based on gateway device

Publications (1)

Publication Number Publication Date
CN113378624A true CN113378624A (en) 2021-09-10

Family

ID=77569827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110425163.4A Pending CN113378624A (en) 2021-04-20 2021-04-20 Data transmission method, system, electronic device and medium based on gateway device

Country Status (1)

Country Link
CN (1) CN113378624A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326730A (en) * 2021-04-20 2021-08-31 深圳市莱尚科技有限公司 Indoor elderly safety monitoring method and system, electronic equipment and medium
CN116320321A (en) * 2023-05-11 2023-06-23 山东建筑大学 Agricultural information transmission method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326730A (en) * 2021-04-20 2021-08-31 深圳市莱尚科技有限公司 Indoor elderly safety monitoring method and system, electronic equipment and medium
CN116320321A (en) * 2023-05-11 2023-06-23 山东建筑大学 Agricultural information transmission method and device, electronic equipment and storage medium
CN116320321B (en) * 2023-05-11 2023-09-19 山东建筑大学 Agricultural information transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111723727A (en) Cloud monitoring method and device based on edge computing, electronic equipment and storage medium
CN112668479A (en) Safety monitoring method and system for intelligent power distribution room, electronic equipment and medium
CN111814646B (en) AI vision-based monitoring method, device, equipment and medium
CN113378624A (en) Data transmission method, system, electronic device and medium based on gateway device
CN111770317B (en) Video monitoring method, device, equipment and medium for intelligent community
CN113780691A (en) Data testing method and device, electronic equipment and storage medium
CN107679683B (en) Software development progress early warning method and device
CN112104626A (en) Block chain-based data access verification method and device, electronic equipment and medium
CN111950936A (en) Air quality monitoring method, device, equipment and medium
CN111988198B (en) Online user number counting method and device, electronic equipment and computer medium
CN112396547A (en) Course recommendation method, device, equipment and medium based on unsupervised learning
CN114387762A (en) Building data management method, device, equipment and storage medium
CN112016905A (en) Information display method and device based on approval process, electronic equipment and medium
CN111985545A (en) Target data detection method, device, equipment and medium based on artificial intelligence
CN116449762A (en) Safety early warning method and device for realizing intelligent equipment based on Internet of things
CN113326730A (en) Indoor elderly safety monitoring method and system, electronic equipment and medium
CN111858604B (en) Data storage method and device, electronic equipment and storage medium
CN113911872A (en) Fault processing method and system and early warning and rescue system
CN111401691B (en) Business progress monitoring method and device and computer readable storage medium
CN115641668A (en) Method and device for intelligently and safely monitoring two doors and storage medium
CN111193617B (en) Webpage tampering identification method and device, electronic equipment and storage medium
CN112785811A (en) Video-based safety monitoring method and safety monitoring device
CN113095284A (en) Face selection method, device, equipment and computer readable storage medium
CN113285913A (en) Data acquisition method and system based on intelligent lock, electronic equipment and storage medium
CN112199207A (en) Alarm information pushing method, device, system, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication