CN104697513B - multimedia navigation instrument - Google Patents

multimedia navigation instrument Download PDF

Info

Publication number
CN104697513B
CN104697513B CN201310692041.7A CN201310692041A CN104697513B CN 104697513 B CN104697513 B CN 104697513B CN 201310692041 A CN201310692041 A CN 201310692041A CN 104697513 B CN104697513 B CN 104697513B
Authority
CN
China
Prior art keywords
data
module
external
emulation
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310692041.7A
Other languages
Chinese (zh)
Other versions
CN104697513A (en
Inventor
罗建桂
韩小彬
黄锦昌
张嘉尧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201310692041.7A priority Critical patent/CN104697513B/en
Publication of CN104697513A publication Critical patent/CN104697513A/en
Application granted granted Critical
Publication of CN104697513B publication Critical patent/CN104697513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Navigation (AREA)

Abstract

The present invention relates to a kind of multimedia navigation instrument, it includes emulation module, the emulation module exchanges data by way of shared drive with logic module and middleware communication module, the both sides of data exchange carry out data renewal in data exchange process by system event notification other side, it is also communicated by embedded serial communication interface with external computer equipment, the data received from logic module and middleware communication module are sent to external computer equipment, the Data Concurrent obtained from external computer equipment is parsed and gives logic module or middleware communication module.The multimedia navigation instrument of the present invention can realize the emulation to other hardware and the external equipment of navigation in logic module, operating system, processor, vehicle body.Greatly reduce development time and the test human input of project.Solve the problems, such as that reduce software development team member interdepends other side on development progress simultaneously.

Description

Multimedia navigation instrument
Technical field
The present invention relates to multimedia navigation instrument.
Background technology
At present multimedia navigation instrument exploitation and test be required for complete hardware support could run, therefore, research staff Need to build a special hardware test platform to test multimedia navigation instrument.Different automobiles its hardware platform is It is different, it is necessary to establish multiple corresponding hardware platforms, waste time and energy, cost is high, and the progress of exploitation and test is slow.In addition, have Some are also to complete by the hardware test platform built based on the test light of manpower, for example, pressure test, healthy and strong test, Random test etc., it is also necessary to build other test equipments.
The content of the invention
It is an object of the invention to provide it is a kind of it is interior set emulation module, cause exploitation during lack fractional hardware Under conditions of the multimedia navigation instrument that also can be developed and tested.
A kind of multimedia navigation instrument, including human-computer interaction module, logic module, middleware communication module and emulation module. Logic module can read related data according to the system event that receives from shared drive, perform after predetermined registration operation described in notice The corresponding human-computer interaction interface of human-computer interaction module display.Logic module has a logical layer communication module.Middleware communication module Can obtain the communication information that external equipment is sended over by processor, and on a preset condition based by logical layer communication module with Logic module exchanges data by way of shared drive, and both are entered in data exchange process by system event notification other side Row data update.Emulation module is communicated by embedded serial communication interface with external computer equipment, and it is used to coordinating external Computer equipment is realized to the logic module, processor and its operating system and the external equipment for being connected to processor Emulation.The emulation mode of emulation module comprises the following steps:
Data are received from the external computer equipment, the data are parsed, if simulating the processor or operation The data of system or external equipment, then the emulation module writes the data into shared drive, and is patrolled by system event notification Collect module and carry out data renewal;If simulating the data of the logic module, then the emulation module writes the data into altogether Internal memory is enjoyed, and data renewal is carried out by system event notification middleware communication module;And
When the emulation module receives the notifications from logic module and middleware communication module, from shared drive It is middle to read corresponding data, and send the data to external computer equipment.
Preferably, the emulation module and the data that the external computer equipment communicates include with shared drive An enumerated value corresponding to one data are unique, and each enumerated value uniquely corresponds to a shared drive data.The emulation module When receiving the data from external computer equipment, the attribute of the data corresponding to it is judged with the enumerated value parsed, And the data are sent to one in logic module and middleware communication module according to the attribute by way of shared drive.
Preferably, the emulation module and external computer equipment can return to one after the data of other side are received to other side Confirmation signal, the confirmation signal include the enumerated value included in the data that receive.If the emulation module and external meter Calculate machine equipment and do not receive the confirmation signal after data are sent, then send data again after delay scheduled time, if Send pre-determined number successor and do not receive confirmation signal so, then judge Communications failure.The emulation module will pass through Communications failure Information notification logic module by way of shared drive, the logic module notice human-computer interaction module send Communications failure Information.
In one embodiment, the processor includes arm processor and MCU processors, and both pass through Serial Peripheral Interface (SPI) It is connected.In the present embodiment preferably, the step of middleware communication module progress data renewal includes:Middleware communication module Related data is read from shared drive according to system event;And parse data type and judged according to data type under performing One kind in row operation:1)The order related to the data to the transmission of MCU processors, 2)To the operating system of arm processor Operated.
In some embodiments, the external equipment that is connected with arm processor includes the equipment as external memorizer, external One kind in DVD and external air purifier;The external equipment being connected with MCU processors includes vehicle-mounted radio, multimedia guide Control button, touch-control output block and other mobile units being connected by CAN with multimedia navigation instrument of boat instrument.
Preferably, data Caching Mechanism is used in the embedded serial communication interface and external computer communication process To ensure that data can timely be preserved and completely used.
Emulation module is provided with the multimedia navigation instrument of the present invention, embedded serial communication interface and external calculating can be passed through Machine equipment real-time communication exchanges data.Emulation module is handed over by way of shared drive with middleware communication module and logic module Data are changed, and the data of acquisition are sent to by external computer equipment by serial ports in real time and preserves or shows, are realized to logic The emulation of other hardware and the external equipment of navigation in module, operating system, processor, vehicle body.Greatly reduce opening for project Send out time and test human input.Solve to reduce software development team member simultaneously to interdepend on development progress the asking of other side Topic.Constant interrogation is avoided to cause systematic function to consume by the way of system event notification, it is more efficient.
Brief description of the drawings
Fig. 1 is the structural representation of the multimedia navigation instrument of one embodiment of the invention.
Fig. 2 receives the process chart during data of external computer equipment for multimedia navigation instrument in an embodiment.
Fig. 3 is the flow chart that multimedia navigation instrument sends data to external computer equipment in an embodiment.
Embodiment
Multimedia navigation instrument of the present invention is described in further detail below in conjunction with specific embodiment and accompanying drawing.
Emulation module is provided with the multimedia navigation instrument of the present invention, it can set to navigator developer for debugging Standby, it can be tested software to tester in the case where no external hardware is supported, such as the feelings in no car Condition lower stage simulation test CAN data.Simultaneously part Experiment room test function can also be replaced, for example, screen, button with Machine clicks on pressure test.The multimedia navigation instrument realizes that the unit involved by the function includes human-computer interaction module, logic mould Block, operating system, processor and emulation module, as shown in Figure 1.
Wherein human-computer interaction module major function is that the operating result of user is fed back into user, and user can be prompted current System mode, or prompting user's operation, the refreshing for specifically controlling it by logic module are shown.
Logic module has a logical layer communication module.Logic module can be according to the man-machine friendship of the system event notification received Mutual module shows or updated corresponding human-computer interaction interface.
Processor includes ARM(Advanced RISC Machines, imply that Advanced Reduced Instruction Set machine)Processor and MCU(Micro Controller Unit, micro-control unit)Processor, both pass through serial peripheral equipment interface SPI(Serial Peripheral Interface)It is connected.In the present embodiment, the operating system that arm processor uses is WINCE operating system.
Arm processor has a middleware communication module.The intermediate price communication module can obtain external equipment by ARM at The communication information that reason device sends over.MCU processors have a MCU communication modules, and the MCU communication modules can obtain external equipment The communication information sended over by MCU processors.The external equipment being connected on arm processor includes but is not limited to SD (Secure Digital Memory Card, safe digital card)Storage card, USB storage device, can be as external memorizer Other movable storage devices(Such as the ipod products of Apple Inc.)Deng, can also include external DVD player and external air it is net Change device etc..The external equipment being connected on MCU processors includes but is not limited to the hard control of vehicle-mounted radio, multimedia navigation instrument Button, touch-control output block and other mobile units for being connected by CAN with multimedia navigation instrument etc., can also include External DVD player and external air purifier etc..
MCU processors pass through MCU communication modules and serial peripheral equipment interface SPI and middleware communication module on a preset condition based Communicated.And middleware communication module can be exchanged by way of shared drive by logical layer communication module with logic module Data, both carry out data renewal in data exchange process by system event notification other side.
In this way, when user clicks on touch screen, or has the generation of external storage equipment hot plug event, the operation of arm processor System can be write in shared drive data by middleware communication module and by system event notification logic module, then logic Module reads related data according to the system event from shared drive, and it is dynamic to carry out source of sound switching, power initialization operation etc. Make, then by data(Such as the coordinate that touch screen is clicked on)It is given to human-computer interaction module response, refreshes, man-machine friendship corresponding to display Mutual interface.For another example user triggers hard button, the data parsed are dealt into centre by SPI message after MCU processor responses Part communication module, middleware communication module are given to logic module with shared drive mode again, after logic module processing, notified man-machine Interactive module updates interface.
Emulation module exchanges data with logic module and middleware communication module also by the mode of shared drive, and data are handed over The both sides changed carry out data renewal in data exchange process by system event notification other side, and it is also by embedded serial logical Believe that interface, such as WINCE serial ports communicate with external computer equipment.Specifically, emulation module will be from logic module and middleware The data that communication module receives are sent to external computer equipment;When receiving the data from external computer equipment, The Data Concurrent being analyzed and acquired by gives logic module or middleware communication module.During this, emulation module coordinates external Computer equipment realizes the emulation to logic module, operating system, processor, external equipment.Using system event notification Mode avoids constant interrogation from causing systematic function to consume.The reliability of data transfer is also improved by internal storage data sharing mode With the speed of data acquisition.Particularly, data buffering machine can be used in WINCE serial ports and external computer communication process System, ensure that data can timely be preserved and completely used.
Wherein packet includes the data sent used by the communication of emulation module and external computer equipment (DATA)And one with the unique corresponding enumerated value of the data in shared drive(ID), and each enumerated value uniquely corresponds to one Individual shared drive data.For example, data format can be as shown in Table 1.Wherein HEAD is data head, and ID is enumerated value, and LENGTH is The length of packet, DATA be packet carry the data that issue other side, CHECKSUM for verification and.
The data format definition of table one:Package
HEAD ID LENGTH DATA CHECKSUM
Emulation module can return to a confirmation signal after the data of other side are received with external computer equipment to other side(Frame Synchronous ack signal).The enumerated value included in the data that the confirmation signal includes receiving.In the present embodiment, in addition to representative connects The hexadecimal number of the DATA received length(0xff).For example, the data format of confirmation signal can be as shown in Table 2.
The frame synchronization ACK of table two
HEAD ID 0xff CHECKSUM
If emulation module and external computer equipment do not receive the confirmation signal after data are sent, postponing Data are sent after the scheduled time again, if sending pre-determined number successor does not receive confirmation signal so, judge Communications failure.It is imitative True module by the information of Communications failure by shared drive by way of notification logic module, logic module notice man-machine interaction Module sends the information of Communications failure.
Specifically, the emulation mode of emulation module includes following steps:
Step 1, data are received from external computer equipment by serial ports, returned after receiving data to external computer equipment Return a confirmation signal.
Step 2, the data received are parsed, the attribute of the data corresponding to it is judged with the enumerated value parsed, and One be sent to the data by way of shared drive according to the attribute in logic module and middleware communication module.
Specifically, if it is determined that the data received are analog processor or corresponding operating system or middleware communication mould Block or the data of corresponding external equipment or other vehicle electronic devices being connected with multimedia navigation instrument, then emulation module should Data write shared drive, and send system event to logic module, and notification logic module carries out data renewal.Logic module is then Related data is read from shared drive according to system event, associative operation is performed according to program, and control human-computer interaction module Show respective interface.For example, the data received, which are emulation, the insertion of IPOD equipment, then logic module can cut current source of sound IPOD patterns, initialization IPOD equipment, and information is obtained from IPOD equipment, then notify human-computer interaction module to show IPOD phase Close interface.
If it is determined that the data received are the data of analog logic module, then emulation module is write the data into shared Deposit, and system event is sent to middleware communication module, notice middleware communication module/associative processor carries out data renewal. Middleware communication module reads related data according to system event from shared drive, according to data type determine whether to MCU processors send SPI orders(Such as:Set FM frequencies, control power amplifier Jing Yin etc.)Or whether need to operate arm processor WINCE operating systems(Such as:Usb data, transmission broadcasting etc. is read to order to IPOD etc.).Data receiver flow refer to Fig. 2.
Step 3, after user performs associative operation, logic module writes data according to program in shared drive, and leads to Cross system event notification middleware communication module or emulation module.When emulation module receives system event, it is according to system Event reads related data from shared drive, and is sent to external computer equipment after being packed to data and is stored or shown Show.Similar, when middleware communication module, which is triggered, to exchange data with emulation module, it writes number in shared drive According to, and related data is read from shared drive according to system event by system event notification emulation module, emulation module, and External computer equipment is sent to after packing to data to be stored or shown.Data transmission flow refer to Fig. 3.
In this way, navigator developer utilizes the emulation module when debugging multimedia navigation instrument.Such as in the development phase When not having hard button, the value that hard button is preset on external computer equipment is sent to emulation module by serial ports, emulates mould Block simulation middleware communication module writes hard key value in shared drive, and concurrent transmitting system event notification logic module has firmly Key value triggers.Similarly, it can give tester's test software in the case where no external hardware is supported, for example not have Bench simulation testing CAN bus data in the case of car.While part Experiment room test function can also be replaced, such as screen, Button clicks on pressure test at random.So greatly reduce development time and the test human input of project.Solve to reduce simultaneously soft Part development teams member is interdepend other side the problem of on development progress.
Although description of this invention combination embodiments above is carried out, those skilled in the art Member can carry out many replacements, modifications and variations according to above-mentioned content, be obvious.Therefore, it is all it is such substitute, Improve and change is included in the spirit and scope of appended claims.

Claims (6)

  1. A kind of 1. multimedia navigation instrument, it is characterised in that including:
    Human-computer interaction module;
    Logic module, it reads related data according to the system event received from shared drive, leads to after performing predetermined registration operation Know the corresponding human-computer interaction interface of human-computer interaction module display, it has a logical layer communication module;
    Middleware communication module, it can obtain the communication information that external equipment is sended over by processor, and in preparatory condition Under by logical layer communication module data are exchanged by way of shared drive with logic module, both are in data exchange process Data renewal is carried out by system event notification other side;And
    Emulation module, it is communicated by embedded serial communication interface with external computer equipment, and it is used to coordinate external calculating Machine equipment realizes the emulation to the logic module, processor and its operating system and the external equipment for being connected to processor, Its emulation mode comprises the following steps:
    Data are received from the external computer equipment, the data are parsed, if simulating the processor or operating system Or the data of external equipment, then the emulation module writes the data into shared drive, and passes through system event notification logic mould Block carries out data renewal;If simulating the data of the logic module, then the emulation module is write the data into shared Deposit, and data renewal is carried out by system event notification middleware communication module;And
    When the emulation module receives the notifications from logic module and middleware communication module, read from shared drive Corresponding data are taken, and send the data to external computer equipment;The processor includes arm processor and MCU processing Device, both are connected by Serial Peripheral Interface (SPI).
  2. 2. multimedia navigation instrument according to claim 1, it is characterised in that the emulation module and the external computer The data of equipment communication include and the uniquely corresponding enumerated value, and each enumerated value is unique of the data in shared drive A corresponding shared drive data;When the emulation module receives the data from external computer equipment, to parse Enumerated value judge the attribute of the data corresponding to it, and the data are sent to by way of shared drive according to the attribute One in logic module and middleware communication module.
  3. 3. multimedia navigation instrument according to claim 2, it is characterised in that the emulation module and external computer equipment A confirmation signal can be returned to other side after the data of other side are received, is included in the data that the confirmation signal includes receiving Enumerated value;If the emulation module and external computer equipment do not receive the confirmation signal after data are sent, Send data again after delay scheduled time, if sending pre-determined number successor does not receive confirmation signal so, judge communication Failure;The emulation module by the information of Communications failure by shared drive by way of notification logic module, the logic Module notice human-computer interaction module sends the information of Communications failure.
  4. 4. multimedia navigation instrument according to claim 1, it is characterised in that the external equipment bag being connected with arm processor Include one kind in the equipment as external memorizer, external DVD and external air purifier;What is be connected with MCU processors is outer Connecing equipment includes vehicle-mounted radio, the control button of multimedia navigation instrument, touch-control output block and by CAN and more matchmakers Other connected mobile units of body navigator.
  5. 5. multimedia navigation instrument according to claim 1, it is characterised in that in the embedded serial communication interface and outside Connect and use data Caching Mechanism in computer communication process to ensure that data can timely be preserved and completely used.
  6. 6. multimedia navigation instrument according to claim 1, it is characterised in that the middleware communication module carries out data more New step includes:
    Middleware communication module reads related data according to system event from shared drive;
    Parse data type and judged to perform one kind in following operation according to data type:1)To the transmission of MCU processors and institute State the related order of data, 2)The operating system of arm processor is operated.
CN201310692041.7A 2013-12-10 2013-12-10 multimedia navigation instrument Active CN104697513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310692041.7A CN104697513B (en) 2013-12-10 2013-12-10 multimedia navigation instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310692041.7A CN104697513B (en) 2013-12-10 2013-12-10 multimedia navigation instrument

Publications (2)

Publication Number Publication Date
CN104697513A CN104697513A (en) 2015-06-10
CN104697513B true CN104697513B (en) 2017-12-22

Family

ID=53344882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310692041.7A Active CN104697513B (en) 2013-12-10 2013-12-10 multimedia navigation instrument

Country Status (1)

Country Link
CN (1) CN104697513B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092978A (en) * 2017-12-19 2018-05-29 贵州数据宝网络科技有限公司 A kind of data safety exchange system and method
CN112765018B (en) * 2021-01-12 2022-09-13 武汉光庭信息技术股份有限公司 Instrument and meter debugging system and method
CN115080158A (en) * 2021-03-12 2022-09-20 Oppo广东移动通信有限公司 Interface display method and device, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6230295B1 (en) * 1997-04-10 2001-05-08 Lsi Logic Corporation Bitstream assembler for comprehensive verification of circuits, devices, and systems
CN101782778A (en) * 2010-01-29 2010-07-21 天津大学 Multifunctional testing platform of vehicle-mounted information system and control structure of main controller
CN102506901A (en) * 2011-11-25 2012-06-20 北京航空航天大学 Multi-serial-port navigation information simulation integrated system
CN103335662A (en) * 2013-05-20 2013-10-02 江苏新科软件有限公司 Vehicle-mounted navigation device and fault diagnosis method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7739562B2 (en) * 2007-08-17 2010-06-15 International Business Machines Corporation Programmable diagnostic memory module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6230295B1 (en) * 1997-04-10 2001-05-08 Lsi Logic Corporation Bitstream assembler for comprehensive verification of circuits, devices, and systems
CN101782778A (en) * 2010-01-29 2010-07-21 天津大学 Multifunctional testing platform of vehicle-mounted information system and control structure of main controller
CN102506901A (en) * 2011-11-25 2012-06-20 北京航空航天大学 Multi-serial-port navigation information simulation integrated system
CN103335662A (en) * 2013-05-20 2013-10-02 江苏新科软件有限公司 Vehicle-mounted navigation device and fault diagnosis method thereof

Also Published As

Publication number Publication date
CN104697513A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN101782778B (en) Multifunctional testing platform of vehicle-mounted information system and control structure of main controller
CN110110174A (en) Generation, monitoring and the methods of exhibiting of the data visualization page, browser and server
CN101499937A (en) Software and hardware collaborative simulation verification system and method based on FPGA
CN104750603A (en) Multi-core DSP (Digital Signal Processor) software emulator and physical layer software testing method thereof
CN102968377A (en) Virtual machine technique based airborne software system testing general platform
CN105049435A (en) Cloud testing framework oriented to protocol conformance of heterogeneous wireless sensor network
CN104050332A (en) Distributed-type real-time comprehensive simulation method of avionics system
CN104697513B (en) multimedia navigation instrument
CN110502861B (en) Full-digital simulation system based on satellite information flow
CN113407393B (en) Chip verification method, terminal device, verification platform and storage medium
CN104050333A (en) Distributed-type real-time comprehensive simulation system of avionics system
CN103514074B (en) MVB network card development method and platform
CN104461813A (en) Method for accelerating UVM closure verification through function overage rate negative feedback
CN114444422A (en) Chip verification system, method and storage medium
CN108228965B (en) Simulation verification method, device and equipment for memory cell
CN104597462A (en) GNSS (global navigation satellite system) signal simulator and implementing method thereof on basis of GPU (graphic processing unit)
CN102564776B (en) Test system for engine driver display unit
Lin et al. Functional verifications for SoC software/hardware co-design: From virtual platform to physical platform
CN102436186B (en) Performer simulator and satellite closed loop simulation system with performer simulator
CN103440133A (en) Development method and system of chip testing software
CN101609412A (en) Vehicle-mounted information and entertainment system analog device
CN107346622A (en) A kind of Vehicle driving simulator of high integration
CN117075570A (en) Data processing method, device and system
Feng et al. Design and application of reusable SoC verification platform
CN204633810U (en) A kind of ballot system being applied to campus network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 516006 Guangdong province Huizhou City Zhongkai high tech Zone and five West Road No. 103

Applicant after: HUIZHOU DESAY SV AUTOMOTIVE CO., LTD.

Address before: 516006 Guangdong province Huizhou City Zhongkai high tech Zone and five West Road No. 103

Applicant before: Huizhou Desay SV Auto. Electronics Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant