CN114745370A - Alarm attachment uploading method, device, equipment and storage medium - Google Patents

Alarm attachment uploading method, device, equipment and storage medium Download PDF

Info

Publication number
CN114745370A
CN114745370A CN202210374514.8A CN202210374514A CN114745370A CN 114745370 A CN114745370 A CN 114745370A CN 202210374514 A CN202210374514 A CN 202210374514A CN 114745370 A CN114745370 A CN 114745370A
Authority
CN
China
Prior art keywords
alarm
uploading
accessory
extracted information
information
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
CN202210374514.8A
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 HUABAO ELECTRONIC TECHNOLOGY CO LTD
Original Assignee
SHENZHEN HUABAO ELECTRONIC 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 HUABAO ELECTRONIC TECHNOLOGY CO LTD filed Critical SHENZHEN HUABAO ELECTRONIC TECHNOLOGY CO LTD
Priority to CN202210374514.8A priority Critical patent/CN114745370A/en
Publication of CN114745370A publication Critical patent/CN114745370A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • G07C5/0866Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses an alarm attachment uploading method, device, equipment and storage medium. An alert accessory upload method comprising: judging whether the current alarm accessory uploading queue has extracted information or not; preferentially searching the alarm accessories corresponding to the extracted information according to the judgment result and uploading the alarm accessories to the platform server; judging whether the supplementary transmission queue has extraction information or not; judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value; if yes, uploading the alarm accessory with the longest waiting time to the platform server; and if not, uploading the alarm attachment with the highest alarm information priority to the platform server. The effect of uploading the current alarm accessories preferentially and supplementing and transmitting the important alarm accessories in time is achieved, the real-time performance of uploading the current alarm accessories to a platform is guaranteed, the loss of the high-priority alarm accessories is reduced, and the success rate of supplementing and transmitting the alarm accessories is improved.

Description

Alarm attachment uploading method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technology of vehicle-mounted safety systems, in particular to an alarm accessory uploading method, device, equipment and storage medium.
Background
In the vehicle-mounted active safety system, when an alarm occurs, pictures during the alarm and video accessories before and after the alarm are required to be captured and uploaded to a platform server.
It is common practice to store the current attachment upload information and the supplementary information in the same queue. However, when the current uploading information and the supplementary transmission information exist at the same time, the method may cause that the attachment of the current alarm information is not uploaded in time, and when the supplementary transmission information is more, the method may also have the problem that the important alarm attachment is lost due to the fact that the supplementary transmission is not in time.
Disclosure of Invention
The invention provides an alarm attachment uploading method, device, equipment and storage medium, which are used for achieving the effects of ensuring the real-time property of uploading current alarm attachments to a platform, reducing the loss of high-priority alarm attachments and improving the success rate of supplementing and transmitting the alarm attachments.
In a first aspect, an embodiment of the present invention provides an alarm accessory uploading method, including:
judging whether the current alarm accessory uploading queue has extracted information or not;
preferentially searching the alarm accessories corresponding to the extracted information according to the judgment result and uploading the alarm accessories to the platform server;
judging whether the supplementary transmission queue has extraction information or not;
judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is larger than a threshold value or not; if so, uploading the alarm accessory with the longest waiting time to a platform server; and if not, uploading the alarm attachment with the highest alarm information priority to a platform server.
Optionally, before the determining whether the extracted information exists in the current alarm accessory uploading queue, the method further includes:
and after the vehicle-mounted safety device is started, reading the alarm accessory information needing to be subjected to supplementary transmission from the disk into a supplementary transmission queue.
Optionally, preferentially searching for the alarm accessory corresponding to the extracted information according to the judgment result and uploading the alarm accessory to the platform server includes:
if the extracted information does not exist, judging whether the extracted information exists in the supplementary transmission queue or not;
and if the extracted information exists, reading the extracted information, and searching the corresponding alarm accessory according to the extracted information.
Optionally, after the searching for the corresponding alarm accessory according to the extracted information, the method further includes:
judging whether the alarm accessory is searched successfully according to the extracted information;
if the alarm attachment is successful, uploading the alarm attachment to a platform server;
and if the judgment result is unsuccessful, deleting the extracted information, and continuously judging whether the extracted information exists in the current alarm accessory uploading queue.
Optionally, after the uploading the alarm accessory to the platform server, the method further includes:
judging whether the alarm accessory is uploaded successfully;
if the judgment is successful, whether the current alarm attachment uploading queue has the extraction information or not is continuously judged;
and if the failure occurs, adding the extracted information of the alarm attachment to a supplementary transmission queue, and synchronizing the extracted information of the alarm attachment to a disk for storage.
Optionally, after determining whether the extracted information exists in the supplementary transmission queue, the method further includes:
if the extracted information exists, judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value;
and if the extracted information does not exist, continuously judging whether the extracted information exists in the current alarm accessory uploading queue or not.
Optionally, after the determining whether the number of supplementary transmission information in the supplementary transmission queue is greater than a threshold, the method further includes:
and when the waiting time/the alarm information priority is the same, uploading the alarm attachment with the least corresponding attachment to a platform server.
In a second aspect, an embodiment of the present invention further provides an alarm accessory uploading device, including:
the first judgment module is used for judging whether the current alarm accessory uploading queue has extraction information or not;
the accessory searching module is used for preferentially searching the alarm accessory corresponding to the extracted information according to the judgment result and uploading the alarm accessory to the platform server;
the second judgment module is used for judging whether the supplementary transmission queue has the extracted information or not;
the judgment execution module is used for judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value; if so, uploading the alarm accessory with the longest waiting time to a platform server; and if not, uploading the alarm attachment with the highest alarm information priority to a platform server.
In a third aspect, an embodiment of the present invention further provides an alarm accessory uploading apparatus, where the alarm accessory uploading apparatus includes:
one or more processors;
a storage device to store one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the alert accessory upload method of any of the first aspects.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the alarm attachment uploading method according to any one of the first aspect.
The invention relates to an alarm accessory uploading method, which comprises the following steps: judging whether the current alarm accessory uploading queue has extracted information or not; preferentially searching the alarm accessories corresponding to the extracted information according to the judgment result and uploading the alarm accessories to the platform server; judging whether the supplementary transmission queue has extraction information or not; judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value; if yes, uploading the alarm accessory with the longest waiting time to the platform server; and if not, uploading the alarm attachment with the highest alarm information priority to the platform server. The problem of current warning annex upload untimely and mend to pass untimely and lead to losing important warning annex is solved, realize preferentially uploading current warning annex, mend in time and pass important warning annex, guarantee the real-time of current warning annex upload to the platform and reduce high priority warning annex and lose, improve the effect of mending the success rate of passing warning annex.
Drawings
Fig. 1 is a schematic flowchart of an alarm attachment uploading method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an alarm accessory uploading device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an alarm accessory uploading device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic flowchart of an alarm accessory uploading method according to an embodiment of the present invention. The method can be applied to the condition of uploading the alarm accessory when the alarm information appears in the vehicle-mounted safety system, and can be executed by an alarm accessory uploading device, and specifically comprises the following steps:
and step 110, judging whether the current alarm attachment uploading queue has extraction information.
Before step 110, further comprising:
and step 100, after the vehicle-mounted safety device is started, reading alarm accessory information needing to be subjected to supplementary transmission from a disk into a supplementary transmission queue.
At present, various vehicles are provided with vehicle-mounted safety devices, and video recording is performed on the environments around the front, the back and the body of the vehicle in the driving process, or the surrounding environments when the vehicle is in a stop state, so that the vehicle-mounted safety devices can be used as evidences to prove when accidents or disputes occur. The vehicle-mounted safety device is provided with a vehicle-mounted active safety system, when a vehicle collides or is in a preset action, an alarm signal is generated, a corresponding picture generated when the alarm signal is generated is captured, monitoring video accessories in a period of time before and after the generation of the alarm signal are captured and uploaded to the platform server for storage. When the vehicle-mounted safety device uploads the alarm attachment to the platform server, the alarm attachment which fails to upload may be stored for supplementary uploading due to unexpected situations such as poor network signals, power failure and the like. And after the vehicle-mounted safety device is started, the alarm accessory information which is stored in the disk and needs to be subjected to supplementary transmission is acquired in time, read into a supplementary transmission queue and waits for supplementary transmission.
When the vehicle-mounted safety device uploads the alarm accessories, the vehicle-mounted safety device is provided with a current alarm accessory uploading queue and a supplementary transmission queue. When the vehicle-mounted safety device uploads the alarm accessories, whether the extraction information exists in the current alarm accessory uploading queue or not is judged, and the priority of the extraction information of the current alarm accessory uploading queue is higher than that of the supplementary uploading queue.
And step 120, preferentially searching the alarm attachment corresponding to the extracted information according to the judgment result and uploading the alarm attachment to the platform server.
Wherein step 120 comprises:
and step 121, if the extracted information does not exist, judging whether the extracted information exists in the supplementary transmission queue or not.
If the extracted information does not exist in the current alarm accessory uploading queue, no alarm information is generated at present, the vehicle-mounted safety device is in an idle state in communication with the platform server, and at the moment, whether the extracted information exists in the supplementary transmission queue or not needs to be judged, namely whether the alarm accessory which needs to be supplemented and transmitted due to network interruption or power failure exists or not needs to be judged.
And step 122, if the extracted information exists, reading the extracted information, and searching for a corresponding alarm accessory according to the extracted information.
When the extracted information exists in the current alarm accessory uploading queue, the current alarm accessory needs to be uploaded preferentially, and the corresponding image and video stored in the disk are searched according to the extracted information to form the alarm accessory.
Further, after step 122, the method further includes:
and 123, judging whether the alarm accessory is searched successfully according to the extracted information, if so, executing step 124, and if not, executing step 125.
And step 124, uploading the alarm attachment to a platform server.
And step 125, deleting the extracted information, and returning to execute step 110.
Searching a corresponding alarm accessory in a magnetic disk according to the extraction information in the current alarm accessory uploading queue, judging whether the search is successful, uploading the alarm accessory to a platform server if the search is successful, judging whether the extraction information is wrong or the alarm accessory is lost if the search is failed, deleting the corresponding extraction information after the search is failed, returning to execute the judgment of whether the extraction information exists in the current alarm accessory uploading queue, and judging whether other extraction information exists in the queue.
Optionally, after step 124, the method further includes:
and step 126, judging whether the uploading of the alarm accessory is successful, if so, returning to the step 110, and if not, executing the step 127.
And 127, adding the extracted information of the alarm accessory to a supplementary transmission queue, and synchronizing the extracted information of the alarm accessory to a disk for storage.
After the alarm attachment is uploaded to the platform server, whether the alarm attachment is uploaded successfully or not is judged, whether returned information of the platform server is received or not can be used as a judgment basis, if the alarm attachment is uploaded successfully, whether extracted information exists in a current alarm attachment uploading queue or not is judged next time, if the alarm attachment is uploaded unsuccessfully, the extracted information of the alarm attachment needs to be added to a supplementary uploading queue, uploading is waited for again, and meanwhile, the extracted information corresponding to the alarm attachment is synchronized to a magnetic disk to be stored, so that the extracted information is prevented from being lost.
And step 130, judging whether the supplementary transmission queue has the extracted information.
After all the accessories in the current alarm accessory uploading queue are uploaded, judging whether the extracted information exists in the supplementary transmission queue or not, and starting to upload the alarm accessories in the supplementary transmission queue according to the judgment result.
Wherein after step 130, comprising:
if the extracted information exists, go to step 140;
if the extracted information does not exist, the step 110 is executed again.
Step 140, judging whether the number of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value; if not, go to step 150, and if yes, go to step 160.
And 150, uploading the alarm attachment with the highest alarm information priority to a platform server.
And step 160, uploading the alarm attachment with the longest waiting time to a platform server.
After the extracted information is judged to exist in the supplementary transmission queue, whether the quantity of the supplementary transmission information in the supplementary transmission queue is larger than a threshold value is further judged, and the threshold value is 80% of the maximum storage quantity. When the number of the supplementary transmission information is larger than the threshold value, the fact that too much supplementary transmission information exists in the current supplementary transmission queue and the possibility of losing the alarm attachment with longer waiting time exists is indicated, and in order to ensure that the alarm attachment corresponding to important alarm information is not lost, the alarm attachment with the longest waiting time is preferentially uploaded to the platform server under the condition; if the number of the supplementary transmission information is less than or equal to the threshold value, the alarm accessories in the supplementary transmission queue are not lost temporarily, and under the condition, the alarm accessories with the highest priority level are uploaded to the platform server to be stored according to the priority level sequence of the alarm information, so that the loss of the alarm accessories with the high priority level is reduced, and the success rate of supplementary transmission of the alarm accessories is improved.
When the number of the supplementary transmission information is less than or equal to the threshold value, finding the alarm attachment with the high priority level, and when more than one alarm attachment with the high priority level exists, searching the alarm attachment with the longest waiting time in the alarm attachments with the high priority level, and uploading the alarm attachment to the platform server.
On the basis of the above embodiment, further, when the waiting time/the alarm information priority is the same, the alarm attachment with the least number of corresponding attachments is uploaded to a platform server.
When the number of the supplementary transmission information is larger than the threshold value, if the waiting time of at least two alarm accessories is the same, the alarm accessory with the least accessories is uploaded to the platform server, and the fact that the alarm accessory uploading task is completed the most within a certain time is guaranteed.
According to the technical scheme of the embodiment, the alarm attachment uploading method comprises the following steps: judging whether the current alarm accessory uploading queue has extracted information or not; preferentially searching the alarm accessories corresponding to the extracted information according to the judgment result and uploading the alarm accessories to the platform server; judging whether the supplementary transmission queue has extraction information or not; judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value or not; if yes, uploading the alarm accessory with the longest waiting time to the platform server; and if not, uploading the alarm attachment with the highest alarm information priority to the platform server. The problem of current warning annex upload untimely and mend to pass untimely and lead to losing important warning annex is solved, realize preferentially uploading current warning annex, mend in time and pass important warning annex, guarantee the real-time of current warning annex upload to the platform and reduce high priority warning annex and lose, improve the effect of mending the success rate of passing warning annex.
Example two
Fig. 2 is a schematic structural diagram of an alarm accessory uploading device according to a second embodiment of the present invention. As shown in fig. 2, an alert accessory upload apparatus comprising:
the first determining module 210 is configured to determine whether the current alarm attachment uploading queue has extraction information.
When the vehicle-mounted safety device uploads the alarm accessories, the vehicle-mounted safety device is provided with a current alarm accessory uploading queue and a supplementary transmission queue. When the vehicle-mounted safety device uploads the alarm accessories, whether the extraction information exists in the current alarm accessory uploading queue or not is judged, and the priority of the extraction information of the current alarm accessory uploading queue is higher than that of the supplementary uploading queue.
And the accessory searching module 220 is used for preferentially searching the alarm accessory corresponding to the extracted information according to the judgment result and uploading the alarm accessory to the platform server.
If the extracted information does not exist in the current alarm accessory uploading queue, no alarm information is generated at present, the vehicle-mounted safety device is in an idle state in communication with the platform server, and at the moment, whether the extracted information exists in the supplementary transmission queue or not needs to be judged, namely whether the alarm accessory which needs to be supplemented and transmitted due to network interruption or power failure exists or not needs to be judged.
When the extracted information exists in the current alarm accessory uploading queue, the current alarm accessory needs to be uploaded preferentially, and the corresponding image and video stored in the disk are searched according to the extracted information to form the alarm accessory.
The second determining module 230 is configured to determine whether the extracted information exists in the supplementary transmission queue.
And after the uploading of all the accessories in the current alarm accessory uploading queue is finished, judging whether the extracted information exists in the supplementary transmission queue, and starting to upload the alarm accessories in the supplementary transmission queue according to the judgment result.
A judgment execution module 240, configured to judge whether the number of retransmission-supplementing information in the retransmission-supplementing queue is greater than a threshold; if yes, uploading the alarm accessory with the longest waiting time to a platform server; and if not, uploading the alarm attachment with the highest alarm information priority to a platform server.
And after the extracted information exists in the supplementary transmission queue, further judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value, wherein the threshold value is 80% of the maximum storage quantity. When the number of the supplementary transmission information is larger than the threshold value, the fact that too much supplementary transmission information exists in the current supplementary transmission queue and the possibility of losing the alarm attachment with longer waiting time exists is indicated, and in order to ensure that the alarm attachment corresponding to important alarm information is not lost, the alarm attachment with the longest waiting time is preferentially uploaded to the platform server under the condition; if the number of the supplementary transmission information is less than or equal to the threshold value, the alarm accessories in the supplementary transmission queue are not lost temporarily, and under the condition, the alarm accessories with the highest priority level are uploaded to the platform server to be stored according to the priority level sequence of the alarm information, so that the loss of the alarm accessories with the high priority level is reduced, and the success rate of supplementary transmission of the alarm accessories is improved.
When the number of the supplementary transmission information is less than or equal to the threshold value, finding the alarm attachment with the high priority level, and when more than one alarm attachment with the high priority level exists, searching the alarm attachment with the longest waiting time in the alarm attachments with the high priority level, and uploading the alarm attachment to the platform server.
Optionally, the alert accessory uploading apparatus further includes:
and the supplementary transmission information reading module is used for reading the alarm accessory information needing supplementary transmission from the disk to the supplementary transmission queue after the vehicle-mounted safety device is started.
Optionally, the accessory searching module 220 includes:
and the first search execution unit is used for judging whether the extracted information exists in the supplementary transmission queue or not if the extracted information does not exist.
And the second search execution unit is used for reading the extracted information if the extracted information exists, and searching the corresponding alarm accessory according to the extracted information.
And the extraction result judging unit is used for judging whether the alarm accessory is searched successfully according to the extraction information.
And the first extraction execution unit is used for uploading the alarm attachment to a platform server.
And the second extraction execution unit is used for deleting the extraction information and continuously judging whether the extraction information exists in the current alarm accessory uploading queue.
And the uploading result judging unit is used for judging whether the alarm attachment is uploaded successfully or not.
And the first uploading execution unit is used for continuously judging whether the current alarm attachment uploading queue has the extraction information.
And the second uploading execution unit is used for adding the extracted information of the alarm attachment to a supplementary transmission queue and synchronizing the extracted information of the alarm attachment to a magnetic disk for storage.
Optionally, the alert accessory uploading apparatus further includes:
the second judgment execution module is used for judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value or not if the extracted information exists;
and if the extracted information does not exist, continuously judging whether the extracted information exists in the current alarm accessory uploading queue or not.
Optionally, the determining and executing module 240 further includes:
and the accessory quantity judging and executing unit is used for uploading the alarm accessory with the least corresponding accessory to a platform server when the waiting time/the alarm information priority are the same.
The alarm accessory uploading device provided by the embodiment of the invention can execute the alarm accessory uploading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, the alarm accessory uploading method comprises the following steps: judging whether the current alarm accessory uploading queue has extracted information or not; preferentially searching the alarm accessories corresponding to the extracted information according to the judgment result and uploading the alarm accessories to the platform server; judging whether the supplementary transmission queue has extraction information or not; judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value or not; if yes, uploading the alarm accessory with the longest waiting time to the platform server; and if not, uploading the alarm attachment with the highest alarm information priority to the platform server. The problem of current warning annex upload untimely and mend to pass untimely and lead to losing important warning annex is solved, realize preferentially uploading current warning annex, mend in time and pass important warning annex, guarantee the real-time of current warning annex upload to the platform and reduce high priority warning annex and lose, improve the effect of mending the success rate of passing warning annex.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an alarm accessory uploading apparatus according to a third embodiment of the present invention, as shown in fig. 3, the alarm accessory uploading apparatus includes a processor 30, a memory 31, an input device 32, and an output device 33; the number of processors 30 in the alert accessory upload device may be one or more, with one processor 30 being illustrated in fig. 3; the processor 30, memory 31, input device 32, and output device 33 in the alert accessory upload device may be connected by a bus or other means, as exemplified by the bus connection in fig. 3.
The memory 31 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the alarm accessory uploading method in the embodiment of the present invention (for example, the first determining module 210, the accessory searching module 220, the second determining module 230, and the determining executing module 240 in the alarm accessory uploading apparatus). The processor 30 executes various functional applications and data processing of the alarm accessory upload device by executing software programs, instructions and modules stored in the memory 31, that is, implements the alarm accessory upload method described above.
The memory 31 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; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 31 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 31 may further include memory located remotely from processor 30, which may be connected to an alert accessory upload device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Input device 32 may be used to receive entered numeric or character information and generate key signal inputs relating to user settings and function controls of the alert accessory upload apparatus. The output device 33 may include a display device such as a display screen.
Example four
A fourth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for uploading an alert accessory, the method comprising:
judging whether the current alarm accessory uploading queue has extracted information or not;
preferentially searching the alarm accessories corresponding to the extracted information according to the judgment result and uploading the alarm accessories to the platform server;
judging whether the supplementary transmission queue has extraction information or not;
judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is larger than a threshold value or not; if so, uploading the alarm accessory with the longest waiting time to a platform server; and if not, uploading the alarm attachment with the highest alarm information priority to a platform server.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the method for uploading an alert accessory provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above alarm accessory uploading apparatus, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An alert accessory upload method, comprising:
judging whether the current alarm accessory uploading queue has extracted information or not;
preferentially searching the alarm accessories corresponding to the extracted information according to the judgment result and uploading the alarm accessories to the platform server;
judging whether the supplementary transmission queue has extraction information or not;
judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value; if so, uploading the alarm accessory with the longest waiting time to a platform server; and if not, uploading the alarm attachment with the highest alarm information priority to a platform server.
2. The alert accessory upload method of claim 1, further comprising, prior to said determining whether extracted information exists in the current alert accessory upload queue:
and after the vehicle-mounted safety device is started, reading the alarm accessory information needing to be subjected to supplementary transmission from the disk into a supplementary transmission queue.
3. The alarm accessory uploading method according to claim 1, wherein the preferentially searching for the alarm accessory corresponding to the extracted information and uploading the alarm accessory to the platform server according to the judgment result comprises:
if the extracted information does not exist, judging whether the extracted information exists in the supplementary transmission queue or not;
and if the extracted information exists, reading the extracted information, and searching the corresponding alarm accessory according to the extracted information.
4. The method for uploading an alarm accessory according to claim 3, wherein after the step of searching for the corresponding alarm accessory according to the extracted information, the method further comprises the steps of:
judging whether the alarm accessory is searched successfully according to the extracted information;
if the alarm attachment is successful, uploading the alarm attachment to a platform server;
and if the judgment result is unsuccessful, deleting the extracted information, and continuously judging whether the extracted information exists in the current alarm accessory uploading queue.
5. The alert accessory upload method of claim 4, further comprising, after the uploading the alert accessory to a platform server:
judging whether the alarm accessory is uploaded successfully;
if the judgment is successful, whether the current alarm attachment uploading queue has the extracted information or not is continuously judged;
and if the failure occurs, adding the extracted information of the alarm attachment to a supplementary transmission queue, and synchronizing the extracted information of the alarm attachment to a disk for storage.
6. The method for uploading an alarm accessory according to claim 1, further comprising, after determining whether the extracted information exists in the retransmission queue:
if the extracted information exists, judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value;
and if the extracted information does not exist, continuously judging whether the extracted information exists in the current alarm accessory uploading queue or not.
7. The method for uploading an alarm accessory according to claim 1, wherein after the determining whether the amount of supplementary transmission information in the supplementary transmission queue is greater than a threshold value, the method further comprises:
and when the waiting time/the alarm information priority is the same, uploading the alarm attachment with the least corresponding attachment to a platform server.
8. An alert accessory upload device, comprising:
the first judgment module is used for judging whether the current alarm accessory uploading queue has extraction information or not;
the accessory searching module is used for preferentially searching the alarm accessory corresponding to the extracted information according to the judgment result and uploading the alarm accessory to the platform server;
the second judgment module is used for judging whether the supplementary transmission queue has the extracted information or not;
the judgment execution module is used for judging whether the quantity of the supplementary transmission information in the supplementary transmission queue is greater than a threshold value; if so, uploading the alarm accessory with the longest waiting time to a platform server; and if not, uploading the alarm attachment with the highest alarm information priority to a platform server.
9. An alert accessory upload device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the alert accessory upload method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the alert accessory upload method of any of claims 1 to 7.
CN202210374514.8A 2022-04-11 2022-04-11 Alarm attachment uploading method, device, equipment and storage medium Pending CN114745370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210374514.8A CN114745370A (en) 2022-04-11 2022-04-11 Alarm attachment uploading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210374514.8A CN114745370A (en) 2022-04-11 2022-04-11 Alarm attachment uploading method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114745370A true CN114745370A (en) 2022-07-12

Family

ID=82282330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210374514.8A Pending CN114745370A (en) 2022-04-11 2022-04-11 Alarm attachment uploading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114745370A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703052A (en) * 2014-02-19 2015-06-10 杭州海康威视数字技术股份有限公司 Method for supplementary transmitting of GPS (global positioning system) information from vehicle-mounted DVR (digital video recorder) to GPS server
CN113452486A (en) * 2021-08-31 2021-09-28 腾讯科技(深圳)有限公司 Vehicle information uploading method, device, equipment and storage medium
CN113986862A (en) * 2021-10-27 2022-01-28 上海星融汽车科技有限公司 Client log collection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703052A (en) * 2014-02-19 2015-06-10 杭州海康威视数字技术股份有限公司 Method for supplementary transmitting of GPS (global positioning system) information from vehicle-mounted DVR (digital video recorder) to GPS server
CN113452486A (en) * 2021-08-31 2021-09-28 腾讯科技(深圳)有限公司 Vehicle information uploading method, device, equipment and storage medium
CN113986862A (en) * 2021-10-27 2022-01-28 上海星融汽车科技有限公司 Client log collection method

Similar Documents

Publication Publication Date Title
WO2017096968A1 (en) Log uploading method and apparatus
CN110471749B (en) Task processing method, device, computer readable storage medium and computer equipment
CN110633168A (en) Data backup method and system for distributed storage system
CN111930695B (en) Method and device for storing running logs of microprocessor of vehicle-mounted terminal
WO2024007995A1 (en) Network fault recovery method and apparatus, device, and storage medium
CN111124761B (en) Equipment restarting method, device, equipment and medium
CN110881224B (en) Network long connection method, device, equipment and storage medium
CN109684128B (en) Cluster overall fault recovery method of message middleware, server and storage medium
CN108833961B (en) Method, server and system for acquiring flight record data
CN114745370A (en) Alarm attachment uploading method, device, equipment and storage medium
CN112969198A (en) Data transmission method, terminal and storage medium
CN116561179A (en) Data query method, device, equipment and program product
CN114302140B (en) Pre-frame-loss method, system, equipment and computer readable storage medium
CN113098978B (en) Data transmission method, device and medium
CN116319826A (en) File synchronization method, system, electronic equipment and storage medium
CN115941382A (en) Flow control method and device for SPI communication, terminal equipment and storage medium
CN114553944A (en) Early warning message pushing method and system
CN113867145A (en) Application control method and device, electronic equipment and storage medium
CN114202947B (en) Internet of vehicles data transmission method and device and automatic driving vehicle
CN112822552A (en) Multimedia resource loading method, device, equipment and computer storage medium
CN115571072B (en) Head-up display mode conversion method and device, electronic equipment and storage medium
CN110971535A (en) Communication congestion control method, device, equipment and storage medium
CN114721717B (en) Dual-system-based mobile phone management system mdm instruction calling method and device
CN114817100B (en) Data reading method and device for single board
CN113568801B (en) Frozen screen detection method and device, terminal equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination