CN104391721B - A kind of data calling method and device based on Vehicular video monitoring system - Google Patents
A kind of data calling method and device based on Vehicular video monitoring system Download PDFInfo
- Publication number
- CN104391721B CN104391721B CN201410711992.9A CN201410711992A CN104391721B CN 104391721 B CN104391721 B CN 104391721B CN 201410711992 A CN201410711992 A CN 201410711992A CN 104391721 B CN104391721 B CN 104391721B
- Authority
- CN
- China
- Prior art keywords
- data
- vehicular video
- event
- video
- data call
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The present invention is suitable for Vehicular video monitoring technical field, provide a kind of data calling method and device based on Vehicular video monitoring system, the data calling method based on Vehicular video monitoring system includes: using broadcast message mechanism, and broadcast data calls event;Receive the data call event;According to the data call event, in preconfigured Vehicular video data sharing library, data are called.The present invention without function call mode, just it is capable of calling data, complete the separation between Vehicular video software and Vehicular video hardware, it solves Vehicular video software to need that data could be called in Vehicular video hardware by the way of function call, high couple state is between Vehicular video software and Vehicular video hardware, the problem of being unfavorable for function modification and maintenance, it individually modifies and safeguards so that Vehicular video software can be separated with Vehicular video hardware, both coupling is reduced, the efficiency of function modification and maintenance is also improved.
Description
Technical field
The invention belongs to Vehicular video monitoring technical field more particularly to a kind of data based on Vehicular video monitoring system
Call method and device.
Background technique
With popularizing for Vehicular video monitoring system, it is fitted with Vehicular video monitoring system on many vehicles, passes through vehicle
Video monitoring system is carried, the information in vehicle travel process is recorded, generates Vehicular video.When generation traffic accident or traffic dispute
When, responsible party can be judged by checking Vehicular video, therefore Vehicular video monitoring system is the indispensable system of vehicle.
However, existing Vehicular video monitoring system, Vehicular video software needs by the way of function call could be
Vehicular video hardware calls data, so that being in high couple state between Vehicular video software and Vehicular video hardware, is unfavorable for
Function modification and maintenance.The reason is that existing Vehicular video monitoring system, using traditional embedded system, by hardware
Control and business mix it is miscellaneous together with, be programmed on circuit boards and cross debugging, that is, establish Vehicular video software and vehicle
Corresponding function calling relationship between vision hardware is carried, so that coupling between Vehicular video software and Vehicular video hardware in height
State, and hardware is fixed once manufacture later, cannot be modified.If Vehicular video monitoring system needs to increase new function
When, the function call between Vehicular video software and Vehicular video hardware can only be just redesigned, just can solve problem, in this way meeting
The quality of Vehicular video monitoring system and the Time To Market of hardware are seriously affected, and is unfavorable for the modification and maintenance of function.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of data calling method based on Vehicular video monitoring system, it is intended to
Existing Vehicular video monitoring system, Vehicular video software is needed could be in Vehicular video hardware tune by the way of function call
It is unfavorable for function modification and maintenance so that being in high couple state between Vehicular video software and Vehicular video hardware with data
The problem of.
The embodiments of the present invention are implemented as follows, a kind of data calling method based on Vehicular video monitoring system, comprising:
Using broadcast message mechanism, broadcast data calls event;
Receive the data call event;
According to the data call event, in preconfigured Vehicular video data sharing library, data are called.
The another object of the embodiment of the present invention is to provide a kind of data call device based on Vehicular video monitoring system,
Include:
Data call event broadcast module, for using broadcast message mechanism, broadcast data calls event;
Data call event receiving module, for receiving the data call event;
Data call module is used for according to the data call event, in preconfigured Vehicular video data sharing library
In, call data.
The present invention receives the data call event of broadcast, and according to the data call event, preconfigured vehicle-mounted
In video data shared library, data is called to complete vehicle-mounted without being just capable of calling data by the way of function call
Separation between video software and Vehicular video hardware.It solves Vehicular video software and needs the ability by the way of function call
Data are called in Vehicular video hardware, high couple state is between Vehicular video software and Vehicular video hardware, is unfavorable for function
The problem of capable of modifying and safeguarding.It individually modifies and safeguards so that Vehicular video software can be separated with Vehicular video hardware,
Both coupling is reduced, the efficiency of function modification and maintenance is also improved.
Detailed description of the invention
Fig. 1 is the implementation process of the data calling method provided in an embodiment of the present invention based on Vehicular video monitoring system
Figure;
Fig. 2 is step S103 in the data calling method provided in an embodiment of the present invention based on Vehicular video monitoring system
Implementation flow chart;
Fig. 3 is the first structure frame of the data call device provided in an embodiment of the present invention based on Vehicular video monitoring system
Figure;
Fig. 4 is the second structural frames of the data call device provided in an embodiment of the present invention based on Vehicular video monitoring system
Figure;
Fig. 5 is the third structural frames of the data call device provided in an embodiment of the present invention based on Vehicular video monitoring system
Figure;
Fig. 6 is the 4th structural frames of the data call device provided in an embodiment of the present invention based on Vehicular video monitoring system
Figure.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Embodiment one
Fig. 1 is the implementation process of the data calling method provided in an embodiment of the present invention based on Vehicular video monitoring system
Figure, details are as follows:
In step s101, using broadcast message mechanism, broadcast data calls event;
Wherein, the data call event includes that graphic user interface data call event, storing data call event, outer
If data call event, audio, video data call at least one of event and network data calling event.
In step s 102, the data call event is received;
Wherein, before step S102 or S101, Vehicular video data sharing library is configured.
In step s 103, it according to the data call event, in preconfigured Vehicular video data sharing library, adjusts
Use data.
Wherein, after receiving data call event, the content of data call event is parsed, obtains and calls region, match in advance
In the Vehicular video data sharing library set, according to the calling region of parsing, data are called.
By taking practical application as an example, for example, details are as follows:
First embodiment, audio and video module receive message by broadcast audio, video data writing events, storing data module
Afterwards, storage audio-video document is saved to local, and audio and video module can first create one piece of shared drive, the audio/video flow compressed
Media are written in shared section key, and memory module reads data by way of poll, and audio and video stream media file is read out
It is saved on local memory device, for example, hard disk or SD card.
Storing data module belongs to Vehicular video software, is only used for writing data into storage region.
Audio and video module belongs to Vehicular video hardware, and audio and video module includes audio-video chip, loudspeaker.
Wherein, it is all by Vehicular video data sharing library that audio and video module and memory module, which are related to the interaction of big data,
Come what is realized.So that directly, many and diverse data interaction has not reached high cohesion, low between audio and video module and memory module
The purpose of coupling.
Second embodiment, graphic user interface data module, broadcast audio, video data call event, and audio and video module receives
To after audio, video data calling event, according to the type of message and message body content in audio, video data calling event, according to setting
The parameter triggering audio/video encoding/decoding business set calls audio-video, and complete in preconfigured Vehicular video data sharing library
At decoding.
For purposes of illustration only, graphic user interface data module, broadcast audio, video data calls thing by taking practical application as an example
Part, after audio and video module receives audio, video data calling event, according in audio, video data calling event type of message and
Message body content triggers audio/video encoding/decoding business according to the parameter of setting, in preconfigured Vehicular video data sharing library
In, audio-video is called, and complete to decode.
Graphic user interface data module belongs to Vehicular video software.
Audio and video module belongs to Vehicular video hardware, and audio and video module includes audio-video chip, loudspeaker.
It wherein, is all by Vehicular video data sharing library reality between graphic user interface data module and audio and video module
Association is showed, there is no any intersection on code level, therefore has reduced between Vehicular video software and Vehicular video hardware
Coupling.
In the present embodiment, the data call event of broadcast is received, and according to the data call event, is being pre-configured with
Vehicular video data sharing library in, call data, without using function call by the way of, being just capable of calling data, completion
Separation between Vehicular video software and Vehicular video hardware.So that Vehicular video software and Vehicular video hardware can be with
Individually modification and maintenance are separated, coupling is both reduced, also improves the efficiency of function modification and maintenance, by reducing vehicle-mounted view
Coupling between frequency software and Vehicular video hardware achievees the purpose that Vehicular video monitoring system efficient operation.
Embodiment two
Fig. 2 is step S103 in the data calling method provided in an embodiment of the present invention based on Vehicular video monitoring system
Implementation flow chart, details are as follows:
In step s 201, it according to the data call event, is connected by data call interface preconfigured vehicle-mounted
Video data shared library;
In step S202, in Vehicular video data sharing library, data are called.
Receiving module parse data call event content, in the content extract call region, obtain call region and
Data are calling the store path in region, in preconfigured Vehicular video data sharing library, into region is called, are adjusting
With in region, data are called according to store path.
In embodiments of the present invention, in Vehicular video data sharing library, data is called, complete the separation of data, just
In reducing coupling, the efficiency of function modification and maintenance is also improved.
Embodiment three
The present embodiment essentially describes the implementing procedure for updating data call event, and details are as follows:
Every default renewal time, the content of the data call event is updated.
Wherein, the execution time limit for reading system time and configuration judges to execute whether the time limit reaches, be limited in the execution
Up to when, connect data call event server, the data call event updated storage.
Wherein, the more new command of the data call event of storage can be the update start command touching that user is actively entered
Hair, is also possible to system according to the execution time limit of configuration, automatic trigger when being limited to when being executed.
For example, user can be pre-configured with the execution time limit of the data call event of storage, such as it is configured to daily, weekly
Or inferior, a system monitoring execution time limit is updated within every 10 days, it is automatic to connect data call Event Service when being limited to when being executed
Device initiates the renewal process of the data call event of storage.
In the present embodiment, when needing modification or maintenance system, the content of data call event can be directly updated,
To reduce the time of modification or maintenance, the efficiency of modification and maintenance is improved.
Example IV
Fig. 3 is the first structure frame of the data call device provided in an embodiment of the present invention based on Vehicular video monitoring system
Figure, being somebody's turn to do the data call device based on Vehicular video monitoring system can run in vehicle-mounted video monitoring device.For the ease of
Illustrate, only the parts related to this embodiment are shown.
Referring to Fig. 3, it is somebody's turn to do the data call device based on Vehicular video monitoring system, comprising:
Data call event broadcast module 31, for using broadcast message mechanism, broadcast data calls event;
Wherein, data call event broadcast module use broadcast message mechanism, to except data call event broadcast module with
Outer all modules, broadcast data call event.
Wherein, data call event broadcast module includes graphic user interface data module, storing data module, peripheral hardware number
According at least one of module, audio, video data module and network data model.
Data call event receiving module 32, for receiving the data call event;
Wherein, data call event receiving module receives the data call event.
Wherein, data call event receiving module includes graphic user interface data module, storing data module, peripheral hardware number
According at least one of module, audio, video data module and network data model.
Data call module 33 is used for according to the data call event, in preconfigured Vehicular video data sharing
In library, data are called.
In a kind of implementation of the present embodiment, in the data call device based on Vehicular video monitoring system,
The data call event includes graphic user interface data call event, storing data calling event, peripheral data calling thing
Part, audio, video data call at least one of event and network data calling event.
It is provided in an embodiment of the present invention based on vehicle-mounted view with reference to Fig. 4, Fig. 4 in a kind of implementation of the present embodiment
Second structural block diagram of the data call device of frequency monitoring system is somebody's turn to do the data call device based on Vehicular video monitoring system,
Further include:
Vehicular video data sharing library configuration module 34, for configuring Vehicular video data sharing library.
It is provided in an embodiment of the present invention based on vehicle-mounted view with reference to Fig. 5, Fig. 5 in a kind of implementation of the present embodiment
The third structural block diagram of the data call device of frequency monitoring system, in the data call device based on Vehicular video monitoring system
In, the data call module 33, comprising:
Vehicular video data sharing library connection unit 331, for being connect by data call according to the data call event
Mouth connection preconfigured Vehicular video data sharing library;
Data call unit 332, for calling data in Vehicular video data sharing library.
It is provided in an embodiment of the present invention based on vehicle-mounted view with reference to Fig. 6, Fig. 6 in a kind of implementation of the present embodiment
4th structural block diagram of the data call device of frequency monitoring system, in the data call device based on Vehicular video monitoring system
In, further includes:
Data call event update module 35, for updating the interior of the data call event every default renewal time
Hold.
Device provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method, and details are referring to above-mentioned reality
The description of example is applied, details are not described herein.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize.The program can store in read/write memory medium, described
Storage medium, as random access memory, flash memory, read-only memory, programmable read only memory, electrically erasable programmable storage
Device, register etc..The storage medium is located at memory, and processor reads the information in memory, executes this hair in conjunction with its hardware
Method described in bright each embodiment.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of data calling method based on Vehicular video monitoring system characterized by comprising
Using broadcast message mechanism, broadcast data calls event;
Receive the data call event;According to the data call event, the content of the data call event is parsed, is obtained
Region is called, in preconfigured Vehicular video data sharing library, according to the calling region of parsing, calls data;When described
When data call event is that audio data calls event, audio and video module creates one piece of shared drive, the audio-video compressed
Streaming Media is written in shared section key, and memory module reads data by way of poll, and audio and video stream media file is read
It is saved on local memory device out, wherein the memory module belongs to Vehicular video software, is only used for writing data into and deposit
Storage area domain, the audio and video module belong to Vehicular video hardware, and the audio and video module includes audio-video chip, loudspeaker.
2. as described in claim 1 based on the data calling method of Vehicular video monitoring system, which is characterized in that the data
Calling event includes graphic user interface data call event, storing data calling event, peripheral data calling event, audio-video
At least one of data call event and network data calling event.
3. as described in claim 1 based on the data calling method of Vehicular video monitoring system, which is characterized in that at described
According to the data call event, in preconfigured Vehicular video data sharing library, before calling data, comprising:
Configure Vehicular video data sharing library.
4. as described in claim 1 based on the data calling method of Vehicular video monitoring system, which is characterized in that the basis
The data call event calls data in preconfigured Vehicular video data sharing library, specifically:
According to the data call event, preconfigured Vehicular video data sharing library is connected by data call interface;
In Vehicular video data sharing library, data are called.
5. the data calling method as described in claim 1 or 4 based on Vehicular video monitoring system, which is characterized in that in institute
It states according to the data call event, in preconfigured Vehicular video data sharing library, after calling data, comprising:
Every default renewal time, the content of the data call event is updated.
6. a kind of data call device based on Vehicular video monitoring system characterized by comprising
Data call event broadcast module, for using broadcast message mechanism, broadcast data calls event;
Data call event receiving module, for receiving the data call event;
Data call module is obtained and is called for parsing the content of the data call event according to the data call event
, according to the calling region of parsing, data are called in preconfigured Vehicular video data sharing library in region;When the data
When calling event is that audio data calls event, audio and video module creates one piece of shared drive, the audio/video flow matchmaker compressed
Body is written in shared section key, and memory module reads data by way of poll, and audio and video stream media file is read out
It is saved on local memory device, wherein the storing data module belongs to Vehicular video software, is only used for writing data into and deposit
Storage area domain, the audio and video module belong to Vehicular video hardware, and the audio and video module includes audio-video chip, loudspeaker.
7. the data call device based on Vehicular video monitoring system as claimed in claim 6, which is characterized in that the data
Calling event includes graphic user interface data call event, storing data calling event, peripheral data calling event, audio-video
At least one of data call event and network data calling event.
8. the data call device based on Vehicular video monitoring system as claimed in claim 6, which is characterized in that described to be based on
The data call device of Vehicular video monitoring system further include:
Vehicular video data sharing library configuration module, for configuring Vehicular video data sharing library.
9. the data call device based on Vehicular video monitoring system as claimed in claim 6, which is characterized in that the data
Calling module includes:
Vehicular video data sharing library connection unit, for being connected by data call interface according to the data call event
Preconfigured Vehicular video data sharing library;
Data call unit, for calling data in Vehicular video data sharing library.
10. the data call device based on Vehicular video monitoring system as described in claim 6 or 9, which is characterized in that described
Data call device based on Vehicular video monitoring system further include:
Data call event update module, for updating the content of the data call event every default renewal time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410711992.9A CN104391721B (en) | 2014-11-28 | 2014-11-28 | A kind of data calling method and device based on Vehicular video monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410711992.9A CN104391721B (en) | 2014-11-28 | 2014-11-28 | A kind of data calling method and device based on Vehicular video monitoring system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104391721A CN104391721A (en) | 2015-03-04 |
CN104391721B true CN104391721B (en) | 2018-12-25 |
Family
ID=52609629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410711992.9A Active CN104391721B (en) | 2014-11-28 | 2014-11-28 | A kind of data calling method and device based on Vehicular video monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104391721B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202077133U (en) * | 2010-12-29 | 2011-12-14 | 上海遥薇(集团)有限公司 | Vehicle-mounted information processing device based on EVDO (Evolution-Data Only) |
CN102447965A (en) * | 2011-08-25 | 2012-05-09 | 深圳市佳信捷电子有限公司 | Method and device supporting access of video plug-in for quickly and smoothly displaying video |
CN103079050A (en) * | 2012-11-16 | 2013-05-01 | 陈利 | Vehicle-mounted networked audio/video monitoring system |
CN103206961A (en) * | 2013-03-31 | 2013-07-17 | 惠州市德赛西威汽车电子有限公司 | Vehicle navigation system and information storing method thereof |
CN103747062A (en) * | 2013-12-27 | 2014-04-23 | 上海聚力传媒技术有限公司 | Method, device and system for managing a plurality of vehicle-mounted devices |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09159581A (en) * | 1995-12-06 | 1997-06-20 | Sony Corp | Information collecting system regarding vehicular condition and on-vehicle electronic equipment |
CN101232620A (en) * | 2008-02-27 | 2008-07-30 | 杭州华三通信技术有限公司 | Video decoding method and apparatus as well as device and method for implementing video data storage |
-
2014
- 2014-11-28 CN CN201410711992.9A patent/CN104391721B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202077133U (en) * | 2010-12-29 | 2011-12-14 | 上海遥薇(集团)有限公司 | Vehicle-mounted information processing device based on EVDO (Evolution-Data Only) |
CN102447965A (en) * | 2011-08-25 | 2012-05-09 | 深圳市佳信捷电子有限公司 | Method and device supporting access of video plug-in for quickly and smoothly displaying video |
CN103079050A (en) * | 2012-11-16 | 2013-05-01 | 陈利 | Vehicle-mounted networked audio/video monitoring system |
CN103206961A (en) * | 2013-03-31 | 2013-07-17 | 惠州市德赛西威汽车电子有限公司 | Vehicle navigation system and information storing method thereof |
CN103747062A (en) * | 2013-12-27 | 2014-04-23 | 上海聚力传媒技术有限公司 | Method, device and system for managing a plurality of vehicle-mounted devices |
Also Published As
Publication number | Publication date |
---|---|
CN104391721A (en) | 2015-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102314348B (en) | Android system development framework and development device | |
US9436557B2 (en) | Method and computation node for processing application data | |
CN105763602A (en) | Data request processing method, server and cloud interactive system | |
CN103369508A (en) | Data loading method and terminal device | |
CN102624762B (en) | Based on method and the cloud computing server of cloud computing hoisting machine people software function | |
US9003107B2 (en) | Method for adjusting storage space of partition of embedded multimedia card and terminal | |
US20200021772A1 (en) | Multimedia recording data obtaining method and terminal device | |
CN109960589B (en) | Method and device for realizing system software layer of embedded system and readable medium | |
EP3713243A1 (en) | Mp4 file processing method and related device therefor | |
CN103455349A (en) | Method and device for accessing intelligent card by application program | |
CN104486823A (en) | Method, device and system for controlling data service awakening source | |
CN102609466A (en) | Method and system for controlling shared memory | |
CN111176701A (en) | Firmware upgrading method and device based on external memory card | |
CN112860322B (en) | Operating system switching method, device, equipment and storage medium | |
CN112069260A (en) | Data storage and account checking method and system | |
CN103686195A (en) | Video information processing method and video information processing equipment | |
CN104391721B (en) | A kind of data calling method and device based on Vehicular video monitoring system | |
CN102855898A (en) | Memory device | |
CN105453518B (en) | Synchronization of metering networks | |
CN106919812B (en) | Application process authority management method and device | |
RU2679187C2 (en) | Method, device for setting system data and terminal | |
CN105338077A (en) | Smart home management method and terminal | |
CN102789795B (en) | Method and system used for playing vehicle-mounted compact disc and based on Android operating system | |
WO2020259045A1 (en) | Method and device for identifying terminal experiencing anomaly, storage medium, and electronic device | |
CN103686644A (en) | Remote control method and remote control system for terminal switching and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |