Disclosure of Invention
An object of the present application is to provide a vehicle, a car machine device and a map software-based vehicle service processing method thereof, which can solve the problem that different versions of applications need to be configured for different car machine devices, and avoid increasing hardware cost for the car machine devices, so that the applications can be generally used in car machine devices of different systems, thereby providing convenience for users.
In order to solve the above technical problem, the present application provides a map software-based vehicle service processing method, as one embodiment, the map software-based vehicle service processing method includes:
acquiring an operation instruction of a user at a map software interface of the vehicle-mounted equipment, wherein the operation instruction is used for popping up and/or jumping to a target interface at the map software interface;
identifying a corresponding vehicle service type keyword according to the operation instruction;
searching a corresponding service program according to the vehicle service type keyword;
and providing a vehicle service interface corresponding to the service program through a native architecture form.
As one embodiment, the step of providing a vehicle service interface corresponding to the service program in a native architecture form specifically includes:
acquiring a target interface URL address of the service program;
and rendering and opening the URL address in a native architecture form to provide a corresponding vehicle service interface.
As one embodiment, the step of rendering and opening the URL address in a native architecture form to provide a corresponding vehicle service interface specifically includes:
acquiring interface content for display locally on the vehicle equipment according to the URL address;
acquiring a corresponding target interface from a third-party server by using the interface content;
and generating the vehicle service interface for interactive operation according to the target interface.
As one embodiment, the step of rendering and opening the URL address in a native architecture form to provide a corresponding vehicle service interface specifically includes:
and calling hardware of the vehicle equipment to render through an interface provided by the map software by using a UI layer component and a logic layer component in the native architecture so as to provide the vehicle service interface.
As one embodiment, the step of calling hardware of the in-vehicle device to perform rendering through an interface provided by the map software by using the UI layer component and the logic layer component in the native architecture further includes:
the logic layer component provides a plurality of WebView threads to respectively render a plurality of sub-function interfaces of the vehicle service interface.
As an implementation manner of the foregoing method, the step of providing multiple WebView threads by the logic layer component to respectively render multiple sub-function interfaces of the vehicle service interface specifically includes:
the WebView thread sends request information for acquiring a target interface to a third-party server;
the WebView thread acquires data information returned by a third-party server according to the request information;
and the WebView analyzes the data information and renders the data information into a vehicle service interface to be displayed to a user.
As one embodiment, after the step of providing a vehicle service interface corresponding to the service program in a native architecture form, the method further includes:
judging whether a user carries out required operation aiming at the vehicle service interface;
and if the demand operation is judged to exist, providing a service option, a navigation option and/or an online payment option according to the demand operation.
In order to solve the technical problem, the present application further provides a car machine device, as one implementation manner, the car machine device includes a memory and a processor, the memory stores a computer program, and the processor is configured to execute the computer program to implement the steps of the map software-based vehicle service processing method.
In one embodiment, the map software is installed locally by means of an application program, and the vehicle service interface is displayed on the map software for operation selection by a third-party server on the basis of an application framework of the map software.
In order to solve the technical problem, the present application further provides a vehicle, as one embodiment, the vehicle is configured with the in-vehicle device as described above.
According to the vehicle, the vehicle machine equipment and the map software-based vehicle service processing method, an operation instruction of a user is acquired on a map software interface of the vehicle machine equipment, the operation instruction is used for popping up and/or jumping to a target interface on the map software interface, corresponding vehicle service type keywords are identified according to the operation instruction, corresponding service programs are searched according to the vehicle service type keywords, and a vehicle service interface corresponding to the service programs is provided through a native architecture form. The method and the device can solve the problem that different versions of application programs need to be configured for different vehicle equipment, and meanwhile, hardware cost increase for the vehicle equipment is avoided, so that the application programs can be universally used in the vehicle equipment of different systems, and convenience is brought to users.
The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical means of the present application more clearly understood, the present application may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present application more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Detailed Description
To further illustrate the technical means and effects of the present application for achieving the intended application purpose, the following detailed description is provided with reference to the accompanying drawings and preferred embodiments for specific embodiments, methods, steps, features and effects of the vehicle, the vehicle-mounted device and the map software-based vehicle service processing method according to the present application.
The foregoing and other technical matters, features and effects of the present application will be apparent from the following detailed description of preferred embodiments, which is to be read in connection with the accompanying drawings. While the present application has been described in terms of specific embodiments and examples for achieving the desired objects and objectives, it is to be understood that the invention is not limited to the disclosed embodiments, but is to be accorded the widest scope consistent with the principles and novel features as defined by the appended claims.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a map software-based vehicle service processing method according to the present application.
The map software-based vehicle service processing method according to the present embodiment may include, but is not limited to, the following steps.
Step S101, obtaining an operation instruction of a user on a map software interface of the vehicle-mounted device, wherein the operation instruction is used for popping up and/or jumping to a target interface on the map software interface;
step S102, identifying corresponding vehicle service type keywords according to the operation instruction;
step S103, searching a corresponding service program according to the vehicle service type keyword;
and step S104, providing a vehicle service interface corresponding to the service program through a native architecture form.
First, in this embodiment, a Hybrid mode may be adopted for the development mode of the application program of the in-vehicle device, and the development mode has the advantages of both Native mode and Web mode, and Native elements and Web elements are used in a Hybrid manner, so that cross-platform debugging is possible, and the update and maintenance costs are low.
In the embodiment, the step of providing a vehicle service interface corresponding to the service program in a native architecture form may specifically include: acquiring a target interface URL address of the service program; and rendering and opening the URL address in a native architecture form to provide a corresponding vehicle service interface.
Further, in this embodiment, the step of rendering and opening the URL address in a native architecture form to provide a corresponding vehicle service interface may specifically include: acquiring interface content for display locally on the vehicle equipment according to the URL address; acquiring a corresponding target interface from a third-party server by using the interface content; and generating the vehicle service interface for interactive operation according to the target interface.
In addition, the step of rendering and opening the URL address in a native architecture form to provide a corresponding vehicle service interface according to the embodiment may specifically include: and calling hardware of the vehicle equipment to render through an interface provided by the map software by using a UI layer component and a logic layer component in the native architecture so as to provide the vehicle service interface.
It should be added that, in the embodiment, the step of calling hardware of the in-vehicle device to perform rendering through an interface provided by the map software by using the UI layer component and the logic layer component in the native architecture may further include: the logic layer component provides a plurality of WebView threads to respectively render a plurality of sub-function interfaces of the vehicle service interface.
It should be noted that, in this embodiment, the step of providing multiple WebView threads by the logic layer component to respectively render multiple sub-function interfaces of the vehicle service interface may specifically include: the WebView thread sends request information for acquiring a target interface to a third-party server; the WebView thread acquires data information returned by a third-party server according to the request information; and the WebView analyzes the data information and renders the data information into a vehicle service interface to be displayed to a user.
In a specific function setting, after the step of providing a vehicle service interface corresponding to the service program in a native architecture form, the method may further include: judging whether a user carries out required operation aiming at the vehicle service interface; and if the demand operation is judged to exist, providing a service option, a navigation option and/or an online payment option according to the demand operation.
In addition, the embodiment can upgrade the service program of the vehicle service interface, and the following upgrade process can be adopted.
First, an offline compression package is downloaded from a third-party server, the offline compression package including one or more types of files. The service program needs to run many different types of files when updating, such as: files of the HTML5 type, files of the React-Native type, etc. After writing various types of files, developers can pack all files required by the current update of the application program in the same offline compression package.
And secondly, after the offline compressed packet is decompressed, identifying the file type of each file in the offline compressed packet.
And then, sending the file to a container matched with the file type of the file for operation so as to complete updating.
It should be noted that, in this embodiment, when the file is an HTML-type file, the file may be sent to WebView, and the WebView may run a code in the HTML file. When the file is a read-Native type file, the file can be sent to a read-Native container, and the read-Native container can run codes in the read-Native file.
After the offline compression package is downloaded, the service program in the embodiment can identify the file type of each file in the offline compression package, and sends each file to the container matched with the file type of the file for operation, so as to complete the updating of the application program, and the service program does not need to decompress a plurality of offline compression packages, thereby improving the updating rate of the application program.
Referring to fig. 2 in conjunction with the foregoing embodiment, as an embodiment, the in-vehicle device further includes amemory 20 and aprocessor 21, where thememory 20 stores a computer program, and theprocessor 21 is configured to execute the computer program to implement the steps of the map software-based vehicle service processing method.
In one embodiment, the map software is installed locally by means of an application program, and the vehicle service interface is displayed on the map software for operation selection by a third-party server on the basis of an application framework of the map software.
Specifically, theprocessor 21 is configured to obtain an operation instruction of a user at a map software interface of the in-vehicle device, where the operation instruction is used to pop up and/or jump to a target interface at the map software interface;
theprocessor 21 is configured to identify a corresponding vehicle service type keyword according to the operation instruction;
theprocessor 21 is configured to search for a corresponding service program according to the vehicle service type keyword;
theprocessor 21 is configured to provide a vehicle service interface corresponding to the service program in a native architecture form.
First, in this embodiment, a Hybrid mode may be adopted for the development mode of the application program of the in-vehicle device, and the development mode has the advantages of both Native mode and Web mode, and Native elements and Web elements are used in a Hybrid manner, so that cross-platform debugging is possible, and the update and maintenance costs are low.
In the embodiment, the step of providing a vehicle service interface corresponding to the service program in a native architecture form may specifically include: acquiring a target interface URL address of the service program; and rendering and opening the URL address in a native architecture form to provide a corresponding vehicle service interface.
Further, in this embodiment, theprocessor 21 is configured to obtain interface content for display locally at the in-vehicle device according to the URL address; acquiring a corresponding target interface from a third-party server by using the interface content; and generating the vehicle service interface for interactive operation according to the target interface.
In addition, theprocessor 21 according to this embodiment is configured to invoke hardware of the in-vehicle device to render through an interface provided by the map software by using UI layer components and logic layer components in the native architecture, so as to provide the vehicle service interface.
It should be added that, in the present embodiment, the logic layer component provides multiple WebView threads to respectively render multiple sub-function interfaces of the vehicle service interface.
It should be noted that, in this embodiment, the WebView thread sends request information for acquiring a target interface to a third-party server; the WebView thread acquires data information returned by a third-party server according to the request information; and the WebView analyzes the data information and renders the data information into a vehicle service interface to be displayed to a user.
In a specific functional setting, theprocessor 21 of the present embodiment is configured to determine whether a user performs a demand operation on the vehicle service interface; and if the demand operation is judged to exist, providing a service option, a navigation option and/or an online payment option according to the demand operation.
In addition, the embodiment can upgrade the service program of the vehicle service interface, and the following upgrade process can be adopted.
First, an offline compression package is downloaded from a third-party server, the offline compression package including one or more types of files. The service program needs to run many different types of files when updating, such as: files of the HTML5 type, files of the React-Native type, etc. After writing various types of files, developers can pack all files required by the current update of the application program in the same offline compression package.
And secondly, after the offline compressed packet is decompressed, identifying the file type of each file in the offline compressed packet.
And then, sending the file to a container matched with the file type of the file for operation so as to complete updating.
It should be noted that, in this embodiment, when the file is an HTML-type file, the file may be sent to WebView, and the WebView may run a code in the HTML file. When the file is a read-Native type file, the file can be sent to a read-Native container, and the read-Native container can run codes in the read-Native file.
After the offline compression package is downloaded, the service program in the embodiment can identify the file type of each file in the offline compression package, and sends each file to the container matched with the file type of the file for operation, so as to complete the updating of the application program, and the service program does not need to decompress a plurality of offline compression packages, thereby improving the updating rate of the application program.
The method and the device can solve the problem that different versions of application programs need to be configured for different vehicle equipment, and meanwhile, hardware cost increase for the vehicle equipment is avoided, so that the application programs can be universally used in the vehicle equipment of different systems, and convenience is brought to users.
With continued reference to fig. 2, the present application further provides a vehicle, as an embodiment, the vehicle is configured with the vehicle equipment as described above.
It is worth mentioning that the car machine equipment in the embodiment may use a 5G communication network technology, which may be a scene-oriented technology, and the application uses the 5G technology to play a key supporting role for vehicles (especially intelligent networked cars), and simultaneously realizes connection of people, objects or vehicles, and may specifically adopt the following three typical application scenarios.
The first is eMBB (enhanced Mobile Broadband), which enables the user experience rate to be 0.1-1 gpbs, the peak rate to be 10 gpbs, and the traffic density to be 10Tbps/km2;
For the second ultra-reliable low-delay communication, the main index which can be realized by the method is that the end-to-end time delay is in the ms (millisecond) level; the reliability is close to 100%;
the third is mMTC (mass machine type communication), and the main indexes which can be realized by the method are the connection number density, 100 ten thousand other terminals are connected per square kilometer, and 106/km2。
Through the mode, the characteristics of the super-reliable of this application utilization 5G technique, low time delay combine for example radar and camera etc. just can provide the ability that shows for the vehicle, can realize interdynamic with the vehicle, utilize the interactive perception function of 5G technique simultaneously, and the user can do an output to external environment, and the unable light can detect the state, can also do some feedbacks etc.. Further, the method and the device can also be applied to cooperation of automatic driving, such as cooperation type collision avoidance and vehicle formation among vehicles, so that the vehicle speed is integrally formed and the passing efficiency is improved.
In addition, the communication enhancement automatic driving perception capability can be achieved by utilizing the 5G technology, and the requirements of passengers in the automobile on AR (augmented reality)/VR (virtual reality), games, movies, mobile office and other vehicle-mounted information entertainment and high precision can be met. According to the method and the device, the downloading amount of the 3D high-precision positioning map at the centimeter level can be 3-4 Gb/km, the data volume of the map per second under the condition that the speed of a normal vehicle is limited to 120km/h (kilometer per hour) is 90 Mbps-120 Mbps, and meanwhile, the real-time reconstruction of a local map fused with vehicle-mounted sensor information, modeling and analysis of dangerous situations and the like can be supported.
It should be noted that the method and the device can also be applied to an automatic driving layer, can assist in realizing partial intelligent cloud control on the urban fixed route vehicles by utilizing a 5G technology, and can realize cloud-based operation optimization and remote display and control under specific conditions on unmanned vehicles in parks and ports.
In the present application, the above-mentioned system and method CAN be used in a vehicle system having a vehicle TBOX, i.e. the vehicle is a vehicle system that CAN have a vehicle TBOX, and CAN be further connected to a CAN bus of the vehicle.
In this embodiment, the CAN may include three network channels CAN _1, CAN _2, and CAN _3, and the vehicle may further include one ethernet network channel, where the three CAN network channels may be connected to the ethernet network channel through two in-vehicle networking gateways, for example, where the CAN _1 network channel includes a hybrid power assembly system, where the CAN _2 network channel includes an operation support system, where the CAN _3 network channel includes an electric dynamometer system, and the ethernet network channel includes a high-level management system, the high-level management system includes a human-vehicle-road simulation system and a comprehensive information collection unit that are connected as nodes to the ethernet network channel, and the in-vehicle networking gateways of the CAN _1 network channel, the CAN _2 network channel, and the ethernet network channel may be integrated in the comprehensive information collection unit; the car networking gateway of the CAN _3 network channel and the Ethernet network channel CAN be integrated in a man-car-road simulation system.
Further, the nodes connected to the CAN _1 network channel include: the hybrid power system comprises an engine ECU, a motor MCU, a battery BMS, an automatic transmission TCU and a hybrid power controller HCU; the nodes connected with the CAN _2 network channel are as follows: the system comprises a rack measurement and control system, an accelerator sensor group, a power analyzer, an instantaneous oil consumption instrument, a direct-current power supply cabinet, an engine water temperature control system, an engine oil temperature control system, a motor water temperature control system and an engine intercooling temperature control system; the nodes connected with the CAN _3 network channel are as follows: electric dynamometer machine controller.
The preferable speed of the CAN _1 network channel is 250Kbps, and a J1939 protocol is adopted; the rate of the CAN _2 network channel is 500Kbps, and a CANopen protocol is adopted; the rate of the CAN _3 network channel is 1Mbps, and a CANopen protocol is adopted; the rate of the Ethernet network channel is 10/100Mbps, and a TCP/IP protocol is adopted.
In this embodiment, the car networking gateway supports a 5G technology V2X car networking network, which may also be equipped with an IEEE802.3 interface, a DSPI interface, an eSCI interface, a CAN interface, an MLB interface, a LIN interface, and/or an I2C interface.
In this embodiment, for example, the IEEE802.3 interface may be used to connect to a wireless router to provide a WIFI network for the entire vehicle; the DSPI (provider manager component) interface is used for connecting a Bluetooth adapter and an NFC (near field communication) adapter and can provide Bluetooth connection and NFC connection; the eSCI interface is used for connecting the 4G/5G module and communicating with the Internet; the CAN interface is used for connecting a vehicle CAN bus; the MLB interface is used for connecting an MOST (media oriented system transmission) bus in the vehicle, and the LIN interface is used for connecting a LIN (local interconnect network) bus in the vehicle; the IC interface is used for connecting a DSRC (dedicated short-range communication) module and a fingerprint identification module. In addition, the application can merge different networks by mutually converting different protocols by adopting the MPC5668G chip.
In addition, the vehicle TBOX system, Telematics-BOX, of the present embodiment is simply referred to as a vehicle TBOX or a Telematics.
Telematics is a synthesis of Telecommunications and information science (information) and is defined as a service system that provides information through a computer system, a wireless communication technology, a satellite navigation device, and an internet technology that exchanges information such as text and voice, which are built in a vehicle. In short, the vehicle is connected to the internet (vehicle networking system) through a wireless network, and various information necessary for driving and life is provided for the vehicle owner.
In addition, Telematics is a combination of wireless communication technology, satellite navigation system, network communication technology and vehicle-mounted computer, when a fault occurs during vehicle running, the vehicle is remotely diagnosed by connecting a service center through wireless communication, and the computer built in the engine can record the state of main parts of the vehicle and provide accurate fault position and reason for maintenance personnel at any time. The vehicle can receive information and check traffic maps, road condition introduction, traffic information, safety and public security services, entertainment information services and the like through the user communication terminal, and in addition, the vehicle of the embodiment can be provided with electronic games and network application in a rear seat. It is easy to understand that, this embodiment provides service through Telematics, can make things convenient for the user to know traffic information, the parking stall situation that closes on the parking area, confirms current position, can also be connected with the network server at home, in time knows electrical apparatus running condition, the safety condition and guest's condition of visiting etc. at home.
The vehicle according to this embodiment may further include an Advanced Driver Assistance System (ADAS) that collects environmental data inside and outside the vehicle at the first time using the various sensors mounted on the vehicle, and performs technical processing such as identification, detection, and tracking of static and dynamic objects, so that a Driver can recognize a risk that may occur at the fastest time, thereby attracting attention and improving safety. Correspondingly, the ADAS of the present application may also employ sensors such as radar, laser, and ultrasonic sensors, which can detect light, heat, pressure, or other variables for monitoring the state of the vehicle, and are usually located on the front and rear bumpers, side view mirrors, the inside of the steering column, or on the windshield of the vehicle. It is obvious that various intelligent hardware used by the ADAS function can access the V2X car networking network by means of an ethernet link to implement communication connection and interaction.
The host computer of the present embodiment vehicle may comprise suitable logic, circuitry, and/or code that may enable operation and/or functional operation of the five layers above the OSI model (Open System Interconnection, Open communication systems Interconnection reference model). Thus, the host may generate and/or process packets for transmission over the network, and may also process packets received from the network. At the same time, the host may provide services to a local user and/or one or more remote users or network nodes by executing corresponding instructions and/or running one or more applications. In various embodiments of the present application, the host may employ one or more security protocols.
In the present application, the network connection used to implement the V2X car networking network may be a switch, which may have AVB functionality (Audio Video brightening, meeting the IEEE802.1 set of standards), and/or include one or more unshielded twisted pair wires, each of which may have an 8P8C module connector.
In a preferred embodiment, the V2X vehicle networking network specifically comprises a vehicle body control module BCM, a power bus P-CAN, a vehicle body bus I-CAN, a combination instrument CMIC, a chassis control device and a vehicle body control device.
In this embodiment, the body control module BCM may integrate the functions of the car networking gateway to perform signal conversion, message forwarding, and the like between different network segments, i.e., between the power bus P-CAN and the body bus I-CAN, for example, if a controller connected to the power bus needs to communicate with a controller connected to the body bus I-CAN, the body control module BCM may perform signal conversion, message forwarding, and the like between the two controllers.
The power bus P-CAN and the vehicle body bus I-CAN are respectively connected with a vehicle body control module BCM.
The combination instrument CMIC is connected with a power bus P-CAN, and the combination instrument CMIC is connected with a vehicle body bus I-CAN. Preferably, the combination meter CMIC of the present embodiment is connected to different buses, such as a power bus P-CAN and a vehicle body bus I-CAN, and when the combination meter CMIC needs to acquire controller information that is hung on any bus, it is not necessary to perform signal conversion and message forwarding through a vehicle body control module BCM, so that gateway pressure CAN be reduced, network load CAN be reduced, and the speed of acquiring information by the combination meter CMIC CAN be increased.
The chassis control device is connected with the power bus P-CAN. The vehicle body control device is connected with a vehicle body bus I-CAN. In some examples, the chassis control device and the body control device CAN respectively broadcast data such as information to the power bus P-CAN and the body bus I-CAN, so that other vehicle-mounted controllers and other devices hung on the power bus P-CAN or the body bus I-CAN CAN acquire the broadcast information, and communication between the vehicle-mounted devices such as different controllers is realized.
In addition, the V2X car networking network of the vehicle of the embodiment may use two CAN buses, i.e., a power bus P-CAN and a car body bus I-CAN, and use the car body control module BCM as a gateway, and a structure that the combination meter CMIC is connected to both the power bus P-CAN and the car body bus I-CAN, so that an operation that information of the chassis control device or the car body control device is forwarded to the combination meter CMIC through the gateway when the combination meter CMIC is hung on one of the two buses in the conventional manner CAN be omitted, thereby reducing the pressure of the car body control module BCM as a gateway, reducing network load, and more conveniently sending information of vehicle-mounted devices hung on the plurality of buses, e.g., the power bus P-CAN and the car body bus I-CAN, to the combination meter CMIC for display and with strong information transmission real-time.
By way of example, specific embodiments of the present application include the following:
1. setting an applet application development framework capable of supporting the development of a third-party server on navigation map software of the vehicle equipment;
2. when a user clicks an object on map software, the user can start an applet of a merchant of the object instead of the attribute of a simple object;
3. different merchants can customize different applets to provide different services;
4. in addition, various services of the position can be started through position visualization operation directly on the map by combining the functions of map software.
By the method, for example, a user clicks a small shop on a map, directly enters the small program of the merchant, and directly places an order for purchase; or, the user clicks a maintenance service shop on the map and directly enters the applet system of the reservation service system, and the modes do not need to install any application software.
Although the present application has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the application, and all changes, substitutions and alterations that fall within the spirit and scope of the application are to be understood as being included within the following description of the preferred embodiment.