CN117520152A - Vehicle offline detection method and device and electronic equipment - Google Patents

Vehicle offline detection method and device and electronic equipment Download PDF

Info

Publication number
CN117520152A
CN117520152A CN202311419426.6A CN202311419426A CN117520152A CN 117520152 A CN117520152 A CN 117520152A CN 202311419426 A CN202311419426 A CN 202311419426A CN 117520152 A CN117520152 A CN 117520152A
Authority
CN
China
Prior art keywords
vehicle
service
platform
configuration list
service function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311419426.6A
Other languages
Chinese (zh)
Inventor
黄伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor 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 Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202311419426.6A priority Critical patent/CN117520152A/en
Publication of CN117520152A publication Critical patent/CN117520152A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a vehicle offline detection method, a device and electronic equipment, wherein the method is applied to the field of vehicle detection and comprises the following steps: in the process of detecting the vehicle offline, determining whether a target configuration list corresponding to the vehicle exists; detecting a vehicle-mounted service function of the vehicle according to the target configuration list under the condition that the target configuration list exists; and under the condition that the target configuration list does not exist, detecting the vehicle-mounted service functions of the vehicle according to the default configuration list, wherein the use authorities of the plurality of vehicle-mounted service functions of the default configuration list are default authorities, and the default authorities are authority opening states. According to the method, under the condition that the operator does not configure the use authority of each vehicle-mounted service function of the vehicle, a default configuration list is used for detecting all the vehicle-mounted service functions of the vehicle, so that the off-line detection of the vehicle can be normally performed, and the reliability is high.

Description

Vehicle offline detection method and device and electronic equipment
Technical Field
The present disclosure relates to the field of vehicle offline detection technology, and more particularly, to a vehicle offline detection method, device, and electronic apparatus in the field of vehicle detection.
Background
The in-vehicle service system is a system capable of providing abundant entertainment and information services to in-vehicle personnel. The vehicle-mounted service system generally comprises a plurality of vehicle-mounted service functions of different types, wherein the plurality of vehicle-mounted service functions comprise, but are not limited to, audio playing, video playing, path navigation, intelligent voice and other service functions, and in-vehicle personnel can use the vehicle-mounted service functions in a touch screen, buttons, a remote controller and other modes to improve driving experience, driving safety and driving convenience.
Before leaving the factory, the vehicle needs to be subjected to off-line detection to ensure that the quality and performance of the vehicle meet the expected effect, and when the vehicle is subjected to off-line detection, a plurality of systems such as a power system, an electrical system and a vehicle-mounted service system of the vehicle are detected respectively.
Currently, before detecting the vehicle-mounted service function of the vehicle, an operator is required to configure the use authority of each vehicle-mounted service function of the vehicle-mounted service system of the vehicle so as to perform offline detection on the vehicle-mounted service system of the vehicle according to the use authority of each vehicle-mounted service function configured by the operator, however, if the operator fails to configure the use authority of each vehicle-mounted service function of the vehicle in time, each vehicle-mounted service function of the vehicle cannot be accessed, the offline detection of the vehicle is affected, and the reliability is poor.
Disclosure of Invention
The application provides a vehicle offline detection method, device and electronic equipment, wherein the method can detect all vehicle-mounted service functions of a vehicle by using a default configuration list under the condition that an operator does not configure the use authority of each vehicle-mounted service function of the vehicle, so that the offline detection of the vehicle can be normally performed, and the reliability is high.
In a first aspect, a vehicle offline detection method is provided, the method including: in the process of detecting the vehicle offline, determining whether a target configuration list corresponding to the vehicle exists; the method comprises the steps that the use authorities of a plurality of vehicle-mounted service functions of a target configuration list are configured use authorities;
detecting a vehicle-mounted service function of the vehicle according to the target configuration list when the target configuration list exists;
detecting the vehicle-mounted service function of the vehicle according to a default configuration list under the condition that the target configuration list does not exist; the use authorities of the plurality of vehicle-mounted service functions of the default configuration list are default authorities, and the default authorities are authority opening states.
In the technical scheme, in the process of detecting the vehicle offline, determining whether a target configuration list corresponding to the vehicle exists or not, wherein the use authorities of a plurality of vehicle-mounted service functions of the target configuration list are configured use authorities; detecting a vehicle-mounted service function of the vehicle according to the target configuration list when the target configuration list exists; under the condition that the target configuration list does not exist, detecting all vehicle-mounted service functions in the default configuration of the vehicle according to the default configuration list, wherein the use authorities of all vehicle-mounted service functions of the default configuration list are in an open state; according to the scheme, under the condition that an operator configures the use authority of the vehicle-mounted service function of the vehicle before the vehicle is detected offline, the vehicle is detected that the use authority of the vehicle-mounted service function in the target configuration list is in an open state; and under the condition that the operator does not configure the use authority of the vehicle-mounted service function of the vehicle before the vehicle is detected in a offline mode, the vehicle is detected by the default configuration list, so that the situation that the vehicle-mounted service function of the vehicle cannot be detected due to the fact that the use authority of the vehicle-mounted service function of the vehicle is not configured is avoided, the offline detection of the vehicle can be normally performed, and the reliability is high.
With reference to the first aspect, in some possible implementations, the detecting, according to the target configuration list, an on-board service function of the vehicle includes:
determining at least one first vehicle service function of the plurality of vehicle service functions according to the target configuration list; the first vehicle service function is a vehicle service function with the use authority in an open state in the plurality of vehicle service functions;
sending a first test instruction corresponding to any one of the at least one first vehicle-mounted service function to the vehicle; the first test instruction is used for indicating the vehicle to request first service data corresponding to the first vehicle service function from a service support platform;
under the condition that the first service data returned by the service support platform is received, the vehicle-mounted service function of the vehicle is detected to pass;
and under the condition that the first service data returned by the service support platform is not received, detecting that the vehicle-mounted service function of the vehicle fails.
According to the technical scheme, at least one first vehicle-mounted service function of the vehicle is determined according to the target configuration list, and an instruction for indicating the vehicle to request first service data corresponding to the first vehicle-mounted service function to the service support platform is sent to the vehicle for any one of the at least one first vehicle-mounted service function, so that the vehicle sends the first service data request to the service support platform, and the first vehicle-mounted service function detection passing of the vehicle is indicated under the condition that the first service data returned by the service support platform according to the first service data request is received, namely the vehicle-mounted service function detection passing of the vehicle is indicated; under the condition that the first service data returned by the service support platform according to the first service data request is not received, the fact that the first vehicle-mounted service function detection of the vehicle fails, namely the vehicle-mounted service function detection of the vehicle fails, the detection of the vehicle-mounted service function with the use permission in the target configuration list of the vehicle in an open state is achieved, and the detection efficiency is high.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, the detecting, according to a default configuration list, the on-board service function of the vehicle includes:
according to the default configuration list, a second test instruction corresponding to any one of the vehicle-mounted service functions is sent to the vehicle; the second test instruction is used for indicating the vehicle to request second service data corresponding to the vehicle-mounted service function from a service support platform;
under the condition that the second service data returned by the service support platform is received, the vehicle-mounted service function of the vehicle is detected to pass;
and under the condition that the second service data returned by the service support platform is not received, detecting that the vehicle-mounted service function of the vehicle fails.
According to the technical scheme, an instruction for indicating the vehicle to request second service data corresponding to any vehicle-mounted service function of N vehicle-mounted service functions of the default configuration list to the service support platform is sent to the vehicle according to the default configuration list, so that the vehicle sends a second service data request to the service support platform, and the vehicle-mounted service function detection of the vehicle is indicated to pass under the condition that the second service data returned by the service support platform according to the second service data request is received; under the condition that second service data returned by the service support platform according to the second service data request is not received, the vehicle-mounted service function detection of the vehicle is not passed; the method and the device have the advantages that under the condition that the operator does not configure the use authority of the vehicle-mounted service function of the vehicle, the default configuration list is called, the vehicle is detected by all the vehicle-mounted service functions included in the default configuration list, the situation that the vehicle-mounted service function of the vehicle cannot be detected due to the fact that the use authority of the vehicle-mounted service function of the vehicle is not configured is avoided, the fact that the offline detection of the vehicle can be normally performed is guaranteed, and the reliability is high.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, before the detecting, in the presence of the target configuration ticket, an on-vehicle service function of the vehicle according to the target configuration ticket, the method further includes:
and responding to a modification instruction of the use authority of at least one vehicle-mounted service function in the default configuration list, closing the use authority of the at least one vehicle-mounted service function, and obtaining the target configuration list.
According to the technical scheme, the cloud platform can close the use authority of at least one vehicle-mounted service function in the default configuration list based on the modification instruction of the use authority of at least one vehicle-mounted service function in the default configuration list, so that the target configuration list is obtained, the configuration efficiency is effectively improved, the error probability in the configuration process is reduced, and the accuracy is high.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, before the detecting an on-board service function of the vehicle, the method further includes:
for any one of the plurality of vehicle-mounted service functions, determining at least one service support sub-platform corresponding to the vehicle-mounted service function in a service support platform according to the type of the vehicle-mounted service function;
Determining a first target service support sub-platform in the at least one service support sub-platform according to a preset rule; the preset rules comprise at least one of performance quality, coverage, function quantity and cost of the service support sub-platform;
and establishing an association relation between the vehicle-mounted service function and the first target service support sub-platform.
In the above technical solution, for any one of the plurality of vehicle-mounted service functions, first, according to a type of the vehicle-mounted service function, at least one service support sub-platform capable of providing service data required by the vehicle-mounted service function is determined in the service support platform; secondly, determining a first target service support sub-platform in the at least one service support sub-platform according to a preset rule, wherein the preset rule comprises at least one of performance quality, coverage area, function quantity and cost of the service support sub-platform; and finally, establishing an association relation between the vehicle-mounted service function and the corresponding first target service support sub-platform so that when the vehicle-mounted service function of the vehicle is detected, the vehicle requests corresponding service data from the first target service support sub-platform in the service support platform.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, before determining, according to the type of the in-vehicle service function, at least one service support sub-platform corresponding to the in-vehicle service function in a service support platform, the method further includes:
packaging a data interface of a service support sub-platform to be processed to obtain the service support sub-platform; and the interface types of the data interfaces of different service support sub-platforms are the same.
According to the technical scheme, the plurality of service support sub-platforms are obtained by packaging the data interfaces of the plurality of service support sub-platforms to be processed of the service support platform, and the interface types of the data interfaces of the plurality of service support sub-platforms are the same, so that the cloud platform can uniformly manage and call the plurality of service support sub-platforms to be processed.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, in a case that the number of the at least one service support sub-platform is multiple, after the establishing an association relationship between the in-vehicle service function and the first target service support sub-platform, the method further includes:
Under the condition that a preset condition is met, releasing the association relation between the vehicle-mounted service function and the first target service support sub-platform;
establishing an association relationship between the vehicle-mounted service function and a second target service support sub-platform; the second target service support sub-platform is other service support sub-platforms except the first target service support sub-platform in the at least one service support sub-platform.
In the above technical solution, under the condition that the first target service support sub-platform fails, or a modification instruction for the first target service support sub-platform is received, the association relationship between the vehicle-mounted service function and the first target service support sub-platform is released, and the association relationship between the vehicle-mounted service function and the second target service support sub-platform is established, so that when the first target service support sub-platform corresponding to the vehicle-mounted service function fails, the vehicle-mounted service function can still continue to operate normally, and the influence of the failure on users in the vehicle is reduced; meanwhile, the target service support sub-platform which is most suitable for the vehicle-mounted service function can be flexibly selected.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, the preset condition includes at least one of the following:
The first target service support sub-platform fails;
and receiving a modification instruction of the first target service support sub-platform.
In a second aspect, there is provided a vehicle offline detection device, the device comprising:
the first determining module is used for determining whether a target configuration list corresponding to the vehicle exists or not in the process of detecting the vehicle offline; the method comprises the steps that the use authorities of a plurality of vehicle-mounted service functions of a target configuration list are configured use authorities;
the first detection module is used for detecting the vehicle-mounted service function of the vehicle according to the target configuration list when the target configuration list exists;
the second detection module is used for detecting the vehicle-mounted service function of the vehicle according to a default configuration list under the condition that the target configuration list does not exist; the use authorities of the plurality of vehicle-mounted service functions of the default configuration list are default authorities, and the default authorities are authority opening states.
With reference to the second aspect, in some possible implementations, the first detection module is specifically configured to:
determining at least one first vehicle service function of the plurality of vehicle service functions according to the target configuration list; the first vehicle service function is a vehicle service function with the use authority in an open state in the plurality of vehicle service functions;
Sending a first test instruction corresponding to any one of the at least one first vehicle-mounted service function to the vehicle; the first test instruction is used for indicating the vehicle to request first service data corresponding to the first vehicle service function from a service support platform;
under the condition that the first service data returned by the service support platform is received, the vehicle-mounted service function of the vehicle is detected to pass;
and under the condition that the first service data returned by the service support platform is not received, detecting that the vehicle-mounted service function of the vehicle fails.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the second detection module is specifically configured to:
according to the default configuration list, a second test instruction corresponding to any one of the vehicle-mounted service functions is sent to the vehicle; the second test instruction is used for indicating the vehicle to request second service data corresponding to the plurality of vehicle-mounted service functions from the service support platform;
under the condition that the second service data returned by the service support platform is received, the vehicle-mounted service function of the vehicle is detected to pass;
And under the condition that the second service data returned by the service support platform is not received, detecting that the vehicle-mounted service function of the vehicle fails.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the apparatus further includes: and the closing module is used for responding to a modification instruction of the use authority of at least one vehicle-mounted service function in the default configuration list, closing the use authority of the at least one vehicle-mounted service function and obtaining the target configuration list.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the apparatus further includes:
the second determining module is used for determining at least one service support sub-platform corresponding to the vehicle-mounted service function in the service support platform according to the type of the vehicle-mounted service function for any vehicle-mounted service function in the plurality of vehicle-mounted service functions;
the third determining module is used for determining a first target service support sub-platform in the at least one service support sub-platform according to a preset rule; the preset rules comprise at least one of performance quality, coverage, function quantity and cost of the service support sub-platform;
The first establishing module is used for establishing the association relation between the vehicle-mounted service function and the first target service support sub-platform.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the apparatus further includes:
the packaging module is used for packaging the data interface of the service support sub-platform to be processed to obtain the service support sub-platform; and the interface types of the data interfaces of different service support sub-platforms are the same.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the apparatus further includes:
the releasing module is used for releasing the association relation between the vehicle-mounted service function and the first target service support sub-platform under the condition that the preset condition is met;
the second building module is used for building the association relation between the vehicle-mounted service function and the second target service support sub-platform; the second target service support sub-platform is other service support sub-platforms except the first target service support sub-platform in the at least one service support sub-platform.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the preset condition includes at least one of the following:
The first target service support sub-platform fails;
and receiving a modification instruction of the first target service support sub-platform.
In a third aspect, an electronic device is provided, the electronic device comprising: a memory and a processor, the memory for storing executable program code; the processor is configured to invoke and execute the executable program code from the memory, so that the electronic device performs the method according to the first aspect or any of the possible implementation manners of the first aspect.
In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing computer program code which, when run on a computer, causes the computer to perform the method of the first aspect or any one of the possible implementations of the first aspect.
Drawings
Fig. 1 is a schematic diagram of an implementation environment of a vehicle offline detection method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a vehicle offline detection method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a vehicle offline detection device according to an embodiment of the present application.
Detailed Description
The technical solutions in the present application will be clearly and thoroughly described below with reference to the accompanying drawings. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B: the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and in addition, in the description of the embodiments of the present application, "plural" means two or more than two.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature.
Off-line inspection, which is an important quality inspection step performed after the vehicle is manufactured and assembled, but before delivery to the end user, is performed before the vehicle leaves the factory. This test is typically performed by a technician or specialized quality inspection team of the automobile manufacturer or dealer, the content of the offline test including, but not limited to, the following: appearance inspection, namely inspecting whether the appearance of the vehicle is complete, free of damage and scratch, and ensuring that the paint coating is even and smooth; internal function detection, which is to test whether various basic functions of the vehicle, such as light, loudspeaker, air conditioner, seat adjustment, electric window, sound and the like, are normally operated; the vehicle-mounted service system is used for testing and configuring the vehicle-mounted service system of the vehicle; detecting a power system, testing the performance and working state of power components such as an engine, a transmission system and the like, and ensuring the normal operation of the power components; the brake system detects, and whether the braking force of the brake system meets the safety standard is checked, so that the normal operation of the brake system is ensured; safety system detection, which is to test the safety system of the vehicle, including an air bag, an anti-lock brake system, a vehicle body stability control system and the like; fault diagnosis, detecting whether any potential fault codes or fault conditions exist through a fault diagnosis interface connected with the vehicle. The purpose of the off-line inspection is to ensure that the vehicle is subjected to a rigorous inspection before leaving the factory, to ensure that the quality and performance meet the standards, and to minimize possible faults and problems. Therefore, the satisfaction degree of the user can be improved, the credibility of the brand of the vehicle is enhanced, and the normal use of the vehicle after the vehicle is delivered to the user is ensured.
And the vehicle-mounted service system provides rich entertainment and information service for personnel in the vehicle. The vehicle-mounted service system has a plurality of vehicle-mounted service functions of different types, wherein the plurality of vehicle-mounted service functions comprise, but are not limited to, audio playing, video playing, path navigation, intelligent voice and other service functions, and in-vehicle personnel can use the vehicle-mounted service functions in a touch screen, buttons, a remote controller and other modes, so that driving experience, driving safety and driving convenience are improved.
The service support platform can provide comprehensive platforms of various vehicle-mounted services and can provide vehicle-mounted service data corresponding to the service requests for the vehicles through the cloud platform according to the vehicle-mounted service requests sent by the vehicles through the cloud platform; the vehicle-mounted service is a service corresponding to each vehicle-mounted service function, and the vehicle-mounted service comprises, but is not limited to, a vehicle-mounted audio playing service, a vehicle-mounted video playing service, a vehicle-mounted path navigation service, a vehicle-mounted intelligent voice and other various services.
The following describes an implementation environment of the technical solution provided in the embodiments of the present application. Fig. 1 is a schematic diagram of an implementation environment of a vehicle offline detection method provided in an embodiment of the present application, and referring to fig. 1, the implementation environment may include a vehicle terminal 110, a cloud platform 120, and a service support platform 130.
The vehicle-mounted terminal 110 is connected with the cloud platform 120 through a wireless network, the vehicle-mounted terminal 110 comprises a plurality of types of data acquisition modules, the operations of personnel in the vehicle on the vehicle-mounted terminal 110 can be acquired through the plurality of types of data acquisition modules, and meanwhile, an application program supporting a plurality of vehicle-mounted service functions is installed and operated on the vehicle-mounted terminal 110.
The cloud platform 120 is an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a distribution network (Content Delivery Network, CDN), basic cloud computing services such as big data and artificial intelligence platforms, and the like.
The service support platform 130 is connected to the cloud platform 120 through a wireless network, where the service support platform 130 includes a plurality of service support sub-platforms provided by a plurality of service providers, and one service provider may provide one service support sub-platform or may provide a plurality of service support sub-platforms, and service types of different service support sub-platforms may be the same or may be different, and the service support sub-platforms may provide services for the vehicle terminal 110 by using data interfaces and functions provided by the cloud platform 120.
After the implementation environment provided by the embodiment of the present application is introduced, the application scenario of the embodiment of the present application is described below.
The technical scheme provided by the embodiment of the application can be applied to the offline detection scenes of the vehicle-mounted service systems of various vehicles, the offline detection can be performed on the vehicle-mounted service systems of the vehicles by adopting the technical scheme provided by the embodiment of the application, and under the condition that an operator does not configure the use authority of each vehicle-mounted service function of the vehicle, the detection of all the vehicle-mounted service functions is performed on the vehicle by using a default configuration list, so that the offline detection of the vehicle can be normally performed, and the reliability is high.
After the implementation environment and the application scenario of the embodiment of the present application are introduced, the technical solutions provided by the embodiment of the present application are described below. Referring to fig. 2, fig. 2 is a schematic flowchart of a vehicle offline detection method provided in an embodiment of the present application, taking an execution subject as a cloud platform as an example, and the vehicle offline detection method 200 includes steps 202 to 206.
In step 201, the cloud platform determines whether a target configuration list corresponding to the vehicle exists in the process of detecting the vehicle offline.
The configuration list is a document for specifying in detail the usage rights, service sources, and usage expiration dates of each in-vehicle service function in the in-vehicle service function system of the vehicle. The vehicle-mounted service function system comprises N vehicle-mounted service functions, wherein each configuration list is internally provided with documents of the use authority, the service source and the use validity period of each vehicle-mounted service function in the N vehicle-mounted service functions in detail, and different vehicles can correspond to different configuration lists or the same configuration list; meanwhile, the usage rights, service sources and usage validity periods of each vehicle-mounted service function in different configuration sheets may be the same or different, and the embodiment is not limited in detail. Wherein N is a positive integer, and N is more than or equal to 1.
In the embodiment of the present application, the use authority of each vehicle-mounted service function may be an open state and a closed state, and in the case that the use authority of one vehicle-mounted service function of the vehicle is the open state, the vehicle is allowed to use the vehicle-mounted service function; in the case that the use authority of one vehicle-mounted service function of the vehicle is in a closed state, prohibiting the use of the vehicle-mounted service function on the vehicle; the service source of each vehicle-mounted service function refers to a service support sub-platform for providing the vehicle-mounted service function; the usage validity period of each vehicle-mounted service function refers to a period of time in which the vehicle-mounted service function can be used, different vehicle-mounted service functions can be set with different usage validity periods, and the same usage validity period can be set, which is not particularly limited in this embodiment.
The method comprises the steps of configuring a plurality of vehicle-mounted service functions of a default configuration list, wherein the use permission of the plurality of vehicle-mounted service functions of the default configuration list is a default permission, and the default permission is a permission opening state.
The default configuration list is a configuration list which is installed by default after the installation of the vehicle-mounted service system is completed, and the default configuration list specifies information such as default use permission, default service source, default use validity period and the like of each vehicle-mounted service function in the N vehicle-mounted service functions. By setting the default configuration list, the configuration of the default configuration list can be directly applied to detect each vehicle-mounted service function of a certain vehicle under the condition that an operator cannot configure each vehicle-mounted service function of the certain vehicle in time.
In the embodiment of the application, the use authorities of the N vehicle-mounted service functions in the default configuration list are all default to an open state, and the service sources and the use validity periods of the N vehicle-mounted service functions are all default service sources and default use validity periods set by an automobile manufacturer.
The use authorities of the plurality of vehicle-mounted service functions of the target configuration list are configured use authorities.
The target configuration list is a configuration list obtained after the operator configures the use rights of N vehicle-mounted service functions in N vehicle-mounted service functions of the default configuration list according to the vehicle type of the vehicle, that is, the target configuration list is a configuration list obtained after the operator closes the use rights of N vehicle-mounted service functions in N vehicle-mounted service functions of the default configuration list, wherein N is a positive integer, and N is not less than 1 and not more than N.
In addition, the target configuration list may be a configuration list obtained by the operator after configuring at least one of service sources and usage validity periods of n vehicle-mounted service functions in the default configuration list according to the vehicle type of the vehicle.
In this embodiment of the present application, the target configuration list is a configuration list obtained by the operator performing reconfiguration on the usage rights, service sources and usage validity periods of N vehicle-mounted service functions in the default configuration list according to the vehicle type of the vehicle.
In the embodiment of the application, a configuration list management system for storing and managing configuration list information is arranged in a cloud platform, the configuration list management system comprises all available configuration lists and description information of each available configuration list, the description information comprises vehicle types corresponding to the configuration list, configuration descriptions of the configuration list and the like, and the cloud platform can search in the configuration list management system in the cloud platform according to target search conditions corresponding to the vehicle; under the condition that the cloud platform retrieves the configuration list in the configuration list management system, the cloud platform is indicated to have a target configuration list corresponding to the vehicle type; and under the condition that the cloud platform does not retrieve the configuration list in the configuration list management system, the cloud platform is not provided with the target configuration list corresponding to the vehicle type.
It should be noted that, names of other configuration sheets except the default configuration sheet in the configuration sheet management system may be set by the operator, which is not limited in this embodiment. The target retrieval conditions corresponding to the vehicles are determined based on naming rules corresponding to names of other configuration forms, so that whether the target configuration forms corresponding to the vehicles exist in the configuration management system can be retrieved according to the target retrieval conditions corresponding to the vehicles.
For example, in the configuration list management system, names of other configuration lists except for the default configuration list may be named according to the vehicle type name corresponding to the configuration list, and then the target search condition corresponding to the vehicle may be the vehicle type corresponding to the vehicle.
In step 204, the cloud platform detects the vehicle-mounted service function of the vehicle according to the target configuration list when the target configuration list exists.
Wherein, in step 204, before detecting the vehicle service function of the vehicle according to the target configuration list, the method further includes: step 202, the cloud platform responds to a modification instruction of the use authority of at least one vehicle-mounted service function in the default configuration list, and closes the use authority of at least one vehicle-mounted service function to obtain the target configuration list.
When the operator does not configure each vehicle-mounted service function of the vehicle to obtain a target configuration list, the operator sends a modification instruction to the cloud platform, wherein the modification instruction is used for indicating the cloud platform to modify the use authority of at least one vehicle-mounted service function in the default configuration list, and after receiving the modification instruction, the cloud platform responds to the modification instruction to modify the use authority of at least one vehicle-mounted service function in the default configuration list from an open state to a closed state so as to obtain the target configuration list.
In one embodiment, step 202 specifically includes steps 2021 and 2022.
In step 2021, the cloud platform receives a modification instruction sent by the operator.
The modification instruction is used for indicating the cloud platform to close N vehicle-mounted service functions in the N vehicle-mounted service functions of the default configuration list, and the modification instruction carries names of the N vehicle-mounted service functions.
For example, the modification instruction is to turn off the video play function in the default configuration ticket.
In this embodiment of the present application, the modification instruction sent by the operator may be determined by the operator according to the vehicle type of the vehicle, or may be determined by the operator according to other instructions, which is not specifically limited in this embodiment.
In step 2022, the cloud platform responds to the modification instruction to close the usage rights of at least one vehicle-mounted service function, and obtain the target configuration list.
After the cloud platform receives the modification instruction sent by the operator, the cloud platform responds to the modification instruction to close the use rights of the n vehicle-mounted service functions carried in the modification instruction, and a target configuration list is obtained.
For example, after the cloud platform receives a command for closing the video playing function in the default configuration list sent by the operator, the cloud platform closes the use authority of the video playing function in the default configuration list, and then the target configuration list can be obtained.
In the embodiment of the application, the use authority of the vehicle-mounted service function in the default configuration list can be quickly modified through the modification instruction of the operator to generate the target configuration list, so that the management flow is simplified, the function authority of each vehicle-mounted service function of the vehicle is not required to be manually set one by one, batch modification is realized through the instruction, the management efficiency is improved, and the error probability is reduced.
In another embodiment, step 202 specifically includes step 2023 and step 2023.
In step 2023, the cloud platform receives the modification instruction sent by the operator.
The modification instruction is used for indicating the cloud platform to display the vehicle type selection control.
In step 2024, the cloud platform displays a model selection control in response to the modification instruction.
After the cloud platform receives a modification instruction sent by an operator, the cloud platform displays a vehicle type selection control, and the vehicle type selection control has the function of allowing the operator to select one vehicle type from a predefined vehicle type list.
It should be noted that the vehicle types in the predefined vehicle type list include all the vehicle types under the flag of the vehicle manufacturer.
In step 2025, the cloud platform receives a selection instruction of an operator.
The selection instruction is used for instructing a vehicle type corresponding to the vehicle, and the selection instruction can be an instruction that an operator selects a certain vehicle type from a predefined vehicle type list.
In step 2026, the cloud platform determines a vehicle type corresponding to the vehicle in response to the selection instruction.
The vehicle type selected by the selection instruction is the vehicle type corresponding to the vehicle.
And step 2027, the cloud platform modifies the use authority of at least one vehicle-mounted service function in the default configuration list according to the vehicle type to obtain the target configuration list.
The cloud platform determines at least one vehicle-mounted service function which is corresponding to the vehicle type and needs to be closed according to a preset mapping relation, and closes the use authority of the at least one vehicle-mounted service function in the default configuration list to obtain the target configuration list.
It should be noted that, the preset mapping relationship is a mapping relationship between a vehicle type and a vehicle-mounted service function corresponding to the vehicle type and needing to be closed.
For example, when the vehicle model is X100 and the vehicle-mounted service function to be closed corresponding to X100 in the preset mapping relation is a video playing function, the cloud platform closes the use authority of the video playing function in the default configuration list according to the vehicle model and the preset mapping relation, so that the target configuration list can be obtained.
It should be noted that, after the vehicle is detected offline and put into use, the operator may still modify the usage rights of each vehicle-mounted service function of the vehicle through the cloud platform by using the method of steps 2021 to 2027, and in addition, may also modify the service source and the usage validity period of each vehicle-mounted service function of the vehicle through the cloud platform, so that the automobile manufacturer may perform effective ecological access rights management on each vehicle-mounted service function of the vehicle, improve the reliability and stability of the vehicle-mounted service system, and ensure smooth operation in the cooperation period.
In the embodiment of the application, the cloud platform determines the vehicle type corresponding to the vehicle through the modification instruction of the operator, determines the vehicle-mounted service function which needs to be closed according to the vehicle type and the preset mapping relation, closes the use authority of the vehicle-mounted service function which needs to be closed in the vehicle type in the default configuration list, and obtains the target configuration list. The method can rapidly configure the default configuration list to obtain different target configuration lists corresponding to different vehicles, and is high in configuration efficiency; meanwhile, the problem that mistakes are easy to occur when the use authority of each vehicle-mounted service function is set manually can be solved, and the accuracy is high.
In the embodiment of the application, the cloud platform can close the use authority of at least one vehicle-mounted service function in the default configuration list based on the modification instruction of the use authority of at least one vehicle-mounted service function in the default configuration list to obtain the target configuration list, so that the configuration efficiency is effectively improved, the error probability in the configuration process is reduced, and the accuracy is high.
In step 204, the cloud platform detects a vehicle service function of the vehicle according to the target configuration list when the target configuration list exists, and specifically includes steps 2041 to 2044.
In step 2041, the cloud platform determines at least one first vehicle service function of the plurality of vehicle service functions according to the target configuration list.
The first vehicle service function is a vehicle service function with the use authority in an open state in a plurality of vehicle service functions of the target configuration list.
For example, among the N in-vehicle service functions of the target configuration list, the use authority of 3 in-vehicle service functions is in an open state, the use authority of the remaining (N-3) in-vehicle service functions is in a closed state, and the 3 in-vehicle service functions whose use authority is in an open state are respectively an audio playing function, a video playing function and a path navigation function, and then the first in-vehicle service function is the audio playing function, the video playing function and the path navigation function.
In step 2042, the cloud platform sends a first test instruction corresponding to any one of the at least one first vehicle service function to the vehicle.
The first test instruction is used for indicating the vehicle to request first service data corresponding to a first vehicle service function from the service support platform.
It should be noted that, under the condition that the first vehicle-mounted service function is determined, the cloud platform sends a first test instruction for indicating the vehicle to request the service support platform for the first service data corresponding to the first vehicle-mounted service function to the vehicle, so that the vehicle requests the service support platform for the first service data corresponding to the first vehicle-mounted service function after receiving the first test instruction.
For example, in the case where the first vehicle service functions of the vehicle are an audio playing function, a video playing function, and a path navigation function, respectively, any of the first vehicle service functions may be an audio playing function, a video playing function, or a path navigation function. For example, the cloud platform sends a first test instruction corresponding to the audio playing function to the vehicle.
In step 2043, in the case of receiving the first service data returned from the service support platform, the vehicle-mounted service function of the vehicle is detected to pass.
After the vehicle sends a first service data request to the service support platform, the cloud platform waits for a response of the service support platform to the first service data request, the cloud platform receives the first service data to be verified under the condition that the service support platform successfully responds to the first service data request, the cloud platform verifies the received first service data to be verified, checks the data format and the data content of the first service data to be verified, and considers the first service data to be verified as first service data corresponding to a first vehicle service function of the vehicle request under the condition that the data format and the data content of the first service data to be verified are the same as those of the expected first service data, namely the vehicle service function of the vehicle is detected to pass under the condition.
In step 2044, in the case that the first service data returned by the service support platform is not received, the vehicle-mounted service function of the vehicle detects that the first service data is not passed.
After the vehicle sends the first service data request to the service support platform, the cloud platform waits for the response of the service support platform to the first service data request, and when the service support platform does not respond to the first service data request, or the service support platform responds to the first service data request, but the data format and the data content of the first service data to be checked received by the cloud platform are different from those of the expected first service data, the first service data to be checked is considered not to be the first service data corresponding to the first vehicle service function of the vehicle request, and in this case, the first vehicle service function of the vehicle detects that the first vehicle service function of the vehicle fails, namely the vehicle service function of the vehicle detects that the first vehicle service function of the vehicle fails.
In the embodiment of the application, at least one first vehicle-mounted service function of a vehicle is determined according to a target configuration list, and an instruction for indicating the vehicle to request first service data corresponding to the first vehicle-mounted service function from a service support platform is sent to the vehicle for any one of the at least one first vehicle-mounted service function, so that the vehicle sends the first service data request to the service support platform, and when the cloud platform receives the first service data returned by the service support platform according to the first service data request, the first vehicle-mounted service function detection of the vehicle is indicated to pass, namely the vehicle-mounted service function detection of the vehicle passes; under the condition that the cloud platform does not receive the first service data returned by the service support platform according to the first service data request, the first vehicle-mounted service function detection of the vehicle is failed, namely the vehicle-mounted service function detection of the vehicle is failed; the detection of the vehicle-mounted service function with the use permission in the target configuration list of the vehicle in the open state is realized, and the detection efficiency is high.
It should be noted that, after determining at least one first vehicle-mounted service function of the plurality of vehicle-mounted service functions according to the target configuration list, the cloud platform may send a first test instruction set corresponding to all the first vehicle-mounted service functions to the vehicle according to all the first vehicle-mounted service functions of the vehicle, where the first test instruction set is used to instruct the vehicle to simultaneously request, to the service support platform, a first service data set corresponding to all the plurality of first vehicle-mounted service functions, and indicate that the vehicle-mounted service functions of the vehicle pass detection when the cloud platform receives the first service data set returned by the service support platform; and under the condition that the cloud platform does not receive the first service data set returned by the service support platform, the vehicle-mounted service function detection of the vehicle is not passed.
After receiving the first test instruction sets corresponding to all the first vehicle-mounted service functions, the vehicle sends the first test instruction corresponding to each first vehicle-mounted service function in the first test instruction set to the electronic control unit corresponding to the first vehicle-mounted service function; and requesting, by the electronic control unit of each first vehicle service function, first service data corresponding to the first vehicle service function from the service support platform.
In step 205, the cloud platform detects the vehicle service function of the vehicle according to the default configuration list when the target configuration list does not exist.
In step 205, if the target configuration list does not exist, the vehicle service function of the vehicle is detected according to the default configuration list, and specifically includes steps 2051 to 2053.
In step 2051, the cloud platform sends a second test instruction corresponding to any one of the plurality of vehicle-mounted service functions to the vehicle according to the default configuration list.
The second test instruction is used for indicating the vehicle to request second service data corresponding to the vehicle-mounted service function from the service support platform.
It should be noted that, under the condition that the target configuration list does not exist, the cloud platform sends a second test instruction for indicating the vehicle to request the service support platform for the second service data corresponding to any vehicle service function of the N vehicle service functions, so that the vehicle requests the service support platform for the second service data corresponding to the vehicle service function after receiving the second test instruction.
In step 2052, when the second service data returned from the service support platform is received, the in-vehicle service function of the vehicle is detected.
After the vehicle sends the second service data request to the service support platform, the cloud platform waits for the response of the service support platform to the second service data request, the cloud platform receives the second service data to be verified under the condition that the service support platform successfully responds to the second service data request, the cloud platform verifies the received second service data to be verified, the data format and the data content of the second service data to be verified are checked, and under the condition that the data format and the data content of the second service data to be verified are the same as the data format and the data content of expected second service data, the second service data to be verified are considered to be the second service data corresponding to the vehicle-mounted service function of the vehicle request, and under the condition, the vehicle-mounted service function detection of the vehicle is passed.
In step 2053, in the case where the second service data returned from the service support platform is not received, the in-vehicle service function of the vehicle detects that the second service data has not passed.
After the vehicle sends the second service data request to the service support platform, the cloud platform waits for the response of the service support platform to the second service data request, and when the service support platform does not respond to the second service data request, or the service support platform responds to the second service data request, but the data format and the data content of the second service data to be checked received by the cloud platform are different from those of the expected second service data, the second service data to be checked is not the second service data corresponding to the vehicle-mounted service function of the vehicle request, and in this case, the vehicle-mounted service function of the vehicle is not detected to pass.
According to the default configuration list, an instruction for indicating the vehicle to request second service data corresponding to any vehicle-mounted service function of N vehicle-mounted service functions in the default configuration list to the service support platform is sent to the vehicle, so that the vehicle sends a second service data request to the service support platform, and the vehicle-mounted service function detection of the vehicle is indicated to pass under the condition that the second service data returned by the service support platform according to the second service data request is received; under the condition that second service data returned by the service support platform according to the second service data request is not received, the vehicle-mounted service function detection of the vehicle is not passed; the method and the device have the advantages that under the condition that the operator does not configure the use authority of the vehicle-mounted service function of the vehicle, the default configuration list is called, the vehicle is detected by all the vehicle-mounted service functions included in the default configuration list, the situation that the vehicle-mounted service function of the vehicle cannot be detected due to the fact that the use authority of the vehicle-mounted service function of the vehicle is not configured is avoided, the fact that the offline detection of the vehicle can be normally performed is guaranteed, and the reliability is high.
It should be noted that, the cloud platform may further send a second test instruction set corresponding to all the vehicle-mounted service functions in a default configuration list to the vehicle according to the default configuration list, where the second test instruction set is used to instruct the vehicle to simultaneously request, from the service support platform, a second service data set corresponding to a plurality of vehicle-mounted service functions, and indicate that the vehicle-mounted service functions of the vehicle are detected to pass when the cloud platform receives the second service data set returned by the service support platform; and under the condition that the cloud platform does not receive the second service data set returned by the service support platform, the vehicle-mounted service function detection of the vehicle is not passed.
After receiving the second test instruction sets corresponding to all the vehicle-mounted service functions, the vehicle sends the second test instruction corresponding to each vehicle-mounted service function in the second test instruction set to the electronic control unit corresponding to the vehicle-mounted service function; and requesting the service support platform for second service data corresponding to each vehicle-mounted service function through the electronic control unit of each vehicle-mounted service function.
In the embodiment of the application, in the process of detecting the vehicle offline, determining whether a target configuration list corresponding to the vehicle exists, wherein the use authorities of a plurality of vehicle-mounted service functions of the target configuration list are configured use authorities; detecting a vehicle-mounted service function of the vehicle according to the target configuration list under the condition that the target configuration list exists; under the condition that the target configuration list does not exist, detecting all vehicle-mounted service functions in the default configuration of the vehicle according to the default configuration list, wherein the use authorities of all the vehicle-mounted service functions of the default configuration list are in an open state; according to the scheme, under the condition that an operator configures the use authority of the vehicle-mounted service function of the vehicle before the vehicle is detected offline, the vehicle is detected that the use authority of the vehicle-mounted service function in the target configuration list is in an open state; and under the condition that the operator does not configure the use authority of the vehicle-mounted service function of the vehicle before the vehicle is detected in a offline mode, the vehicle is detected by the default configuration list, so that the situation that the vehicle-mounted service function of the vehicle cannot be detected due to the fact that the use authority of the vehicle-mounted service function of the vehicle is not configured is avoided, the offline detection of the vehicle can be normally performed, and the reliability is high.
In one embodiment, in step 204, the vehicle offline detection method 200 further includes steps 2031-2036 before detecting the on-board service function of the vehicle according to the target configuration ticket if the target configuration ticket exists.
In step 2032, for any one of the plurality of vehicle-mounted service functions, the cloud platform determines, according to the type of the vehicle-mounted service function, at least one service support sub-platform corresponding to the vehicle-mounted service function in the service support platform.
Wherein, in the service support platform, different service types correspond to different service support sub-platforms, and one service type comprises at least one service support sub-platform.
For example, for the path navigation service function, if the type of the path navigation service function is a navigation type, determining service support sub-platforms capable of providing path navigation services corresponding to the path navigation service function in the service support platform according to the type of the vehicle-mounted service function as the navigation type, wherein the number of the service support sub-platforms capable of providing path navigation services in the service support platform is two, and the two service support sub-platforms capable of providing path navigation services are respectively a service support sub-platform A and a service support sub-platform B.
Before step 2032, the method further includes step 2031, where the cloud platform encapsulates a data interface of the service support sub-platform to be processed, to obtain the service support sub-platform.
Wherein the interface types of the data interfaces of different service support sub-platforms are the same.
It should be noted that, the service support sub-platform to be processed corresponds to the service support sub-platform in the service support platform one by one, and the data interface of the service support sub-platform to be processed is encapsulated, so that the service support sub-platform corresponding to the service support sub-platform to be processed can be obtained.
In the embodiment of the application, the data interfaces provided by different service support sub-platforms to be processed may have differences, such as differences in data types, data formats, data transmission protocols and the like, when the service support sub-platforms to be processed are connected to the cloud platform, if the data interfaces of each service support sub-platform to be processed need to independently write codes for processing and management, the difficulty of development and maintenance is increased, and the expandability and flexibility of the system are reduced; therefore, the data interfaces of the service support sub-platforms to be processed need to be packaged, so that the data interfaces of different service support sub-platforms are packaged into the same interface type, and unified management and calling of the multiple service support sub-platforms to be processed are facilitated.
It should be noted that, the interface types of the data interfaces of the different service support sub-platforms may be standard API interfaces, or may be other types of interfaces, which is not limited in this embodiment.
In the embodiment of the application, the data interfaces of the plurality of to-be-processed service support sub-platforms of the service support platform are packaged to obtain the plurality of service support sub-platforms, and the interface types of the data interfaces of the plurality of service support sub-platforms are the same, so that the cloud platform can uniformly manage and call the plurality of to-be-processed service support sub-platforms.
In step 2033, the cloud platform determines a first target service support sub-platform in the at least one service support sub-platform according to a preset rule.
The preset rules comprise at least one of performance quality, coverage, function quantity and cost of the service support sub-platform.
It should be noted that, when one service support sub-platform corresponding to the vehicle-mounted service function in the service support platform is determined according to the type of the vehicle-mounted service function, the determined one service support sub-platform is directly used as the first target service sub-platform.
It should be noted that, when determining, according to the type of the vehicle-mounted service function, a plurality of service support sub-platforms corresponding to the vehicle-mounted service function in the service support platform, a service support sub-platform with the best performance among the plurality of service support sub-platforms may be used as the first target service sub-platform according to the determined performance advantages and disadvantages of the plurality of service support sub-platforms; the service support sub-platform with the widest coverage range in the plurality of service support sub-platforms can be used as a first target service sub-platform according to the determined coverage ranges of the plurality of service support sub-platforms; the service support sub-platform with the largest number of functions in the service support sub-platforms can be used as a first target service sub-platform according to the determined number of the functions of the service support sub-platforms; and the service support sub-platform with the highest cost in the service support sub-platforms can be used as the first target service sub-platform according to the determined cost of the service support sub-platforms, which is not particularly limited in the embodiment.
In step 2034, the cloud platform establishes an association between the vehicle-mounted service function and the first target service support sub-platform.
Under the condition that a first target service support sub-platform corresponding to the vehicle-mounted service function is determined, an API interface of the first target service support sub-platform is defined, and an association relationship between the vehicle-mounted service function and the first target service support sub-platform is established, so that when a vehicle requests service data from the first target service support sub-platform through a cloud platform, the first target service support sub-platform can return corresponding service data to the vehicle through the cloud platform; at this time, the service source of the vehicle-mounted service function is a first target service support sub-platform in the service support platform.
The cloud platform can monitor the API interface of the first target service support sub-platform, and collect log information of the API interface of the first target service support sub-platform, where the log information includes information such as the number of requests of the vehicle for requesting data from the first target service support sub-platform, the request frequency, and the like; because various problems may exist in the API interface of the first target service support sub-platform, such as excessively long response time, returning error codes, instability, etc., the troubleshooting and debugging of these problems need to be completed by examining the corresponding log information, and the cloud platform may help the developer to perform troubleshooting and debugging by monitoring and collecting the API interface log information; meanwhile, by collecting information such as the request times and the request frequency of the vehicle for requesting data from the first target service support sub-platform, reference basis can be provided for resource allocation and management, for example, if the request times and the request frequency of a certain API interface are higher, the allocation strategy of the system resource can be considered and adjusted to meet the request requirement of the interface, and the service quality is ensured.
In the embodiment of the application, for any one of a plurality of vehicle-mounted service functions, firstly, determining at least one service support sub-platform capable of providing service data required by the vehicle-mounted service function in a service support platform according to the type of the vehicle-mounted service function; secondly, determining a first target service support sub-platform in at least one service support sub-platform according to a preset rule, wherein the preset rule comprises at least one of performance advantages and disadvantages, coverage area, function quantity and cost of the service support sub-platform; and finally, establishing an association relation between the vehicle-mounted service function and the corresponding first target service support sub-platform so that when the vehicle-mounted service function of the vehicle is detected, the vehicle requests corresponding service data from the first target service support sub-platform in the service support platform.
Wherein, after establishing the association relationship between the vehicle service function and the first target service support sub-platform in step 2034, the method further includes steps 2035 and 2036.
In step 2035, the cloud platform releases the association relationship between the vehicle service function and the first target service support sub-platform when the preset condition is satisfied.
Wherein the preset conditions include at least one of the following: the first target service support sub-platform fails; and receiving a modification instruction of the first target service support sub-platform.
In one embodiment, under the condition that a first target service support sub-platform corresponding to any vehicle service function fails, the cloud platform defines an API interface of the first target service support sub-platform to release the association relationship between the vehicle service function and the first target service support sub-platform.
In another embodiment, when the cloud platform receives a modification instruction of an operator to the first target service support sub-platform corresponding to any vehicle service function, the cloud platform defines an API interface of the first target service support sub-platform, so as to release the association relationship between the vehicle service function and the first target service support sub-platform.
In step 2036, the cloud platform establishes an association between the vehicle-mounted service function and the second target service support sub-platform.
The second target service support sub-platform is other service support sub-platforms except the first target service support sub-platform in at least one service support sub-platform.
After the association relationship between the vehicle-mounted service function and the first target service support sub-platform is released, the cloud platform can establish the association relationship between the vehicle-mounted service function and the second target service support sub-platform by defining an API interface of the second target service support sub-platform; at this time, the service source of the vehicle-mounted service function is a first target service support sub-platform in the service support platform.
For example, the service support sub-platform corresponding to the path navigation service function is the service support sub-platform a and the service support sub-platform B, and since the performance of the service support sub-platform a is better than that of the service support sub-platform B, in step 2033, the service support sub-platform a is determined as the first target service support sub-platform, and the association relationship between the service support sub-platform a and the path navigation service function is established; and under the condition that the service support sub-platform A fails or the cloud platform receives the modification of the service support sub-platform A into the service support sub-platform B, releasing the association relation between the service support sub-platform A and the path navigation service function, and after the association relation between the service support sub-platform A and the path navigation service function is released, establishing the association relation between the service support sub-platform B and the path navigation service function.
In the embodiment of the application, under the condition that the first target service support sub-platform fails, or a modification instruction of the first target service support sub-platform is received, the association relation between the vehicle-mounted service function and the first target service support sub-platform is released, and the association relation between the vehicle-mounted service function and the second target service support sub-platform is established, so that when the first target service support sub-platform corresponding to the vehicle-mounted service function fails, the vehicle-mounted service function can still continue to normally run, and the influence of the failure on a user in a vehicle is reduced; meanwhile, the target service support sub-platform which is most suitable for the vehicle-mounted service function can be flexibly selected.
In the embodiment of the application, a plurality of service support sub-platforms in the service support platform provide uniform API interfaces for the cloud platform, the cloud platform defines the API interfaces of each service support sub-platform, so that each service support sub-platform is associated with a corresponding vehicle-mounted service function, and the cloud platform is convenient to acquire vehicle type information of a vehicle at first and determine a target configuration list corresponding to the vehicle according to the vehicle type information of the vehicle under the condition that the vehicle requests service data corresponding to any vehicle-mounted service function through the cloud platform; secondly, determining whether the use authority of the vehicle-mounted service function is in an open state or in a closed state according to a target configuration list, and requesting service data from a service support sub-platform corresponding to the vehicle-mounted service function by the cloud platform according to a service data request corresponding to the vehicle-mounted service function by the vehicle when the use authority of the vehicle-mounted service function is in the open state; finally, under the condition that the service support sub-platform corresponding to the vehicle-mounted service function returns the service data corresponding to the vehicle-mounted service function to the cloud platform, the cloud platform returns the service data corresponding to the vehicle-mounted service function returned by the service support sub-platform to the cloud platform to the vehicle.
Specifically, under the condition that a vehicle requests vehicle-mounted service data corresponding to any vehicle-mounted service function from a first integrated module of a cloud platform, the first integrated module sends a query request for querying vehicle-mounted corresponding vehicle type information to a main data domain of the cloud platform, the main data domain returns the vehicle-mounted corresponding vehicle type information to the first integrated module after receiving the query request for querying the vehicle-mounted corresponding vehicle type information, and the first integrated module judges whether a target configuration list corresponding to the vehicle type of the vehicle exists in the cloud platform and whether the use authority of the vehicle-mounted service function requested by the vehicle is opened or not according to the vehicle-mounted information of the vehicle; a target configuration list corresponding to the vehicle type of the vehicle exists in the cloud platform, but the use authority of the vehicle-mounted service function requested by the vehicle in the target configuration list is in a closed state, and the first integrated module returns failure information to the vehicle; when a target configuration list corresponding to the vehicle type of the vehicle exists in the cloud platform, and the use authority of the vehicle-mounted service function requested by the vehicle in the target configuration list is in an open state, the first integrated module sends a query request for querying the use validity of the vehicle-mounted service function requested by the vehicle to the vehicle networking service support domain, the vehicle networking service returns the use validity of the vehicle-mounted service function requested by the vehicle to the first integrated module after receiving the query request for querying the use validity of the vehicle-mounted service function requested by the vehicle, the first integrated module verifies whether the vehicle-mounted service function requested by the vehicle is in the use validity, and returns failure information to the vehicle when the vehicle-mounted service function requested by the vehicle is not in the use validity; under the condition that the vehicle-mounted service function requested by the vehicle is in the use validity period, the first integrated module sends a service data request of the vehicle-mounted service function requested by the vehicle to the second integrated module, the second integrated module requests corresponding service data to a service support sub-platform corresponding to the vehicle-mounted service function requested by the vehicle in the service support platform, then the service support sub-platform corresponding to the vehicle-mounted service function requested by the vehicle in the service support platform returns corresponding service data to the second integrated module, the second integrated module sends the corresponding service data returned by the service support sub-platform to the first integrated module, and finally the first integrated module returns the corresponding service data returned by the service support sub-platform to the vehicle; in addition, under the condition that a target configuration list corresponding to the vehicle type of the vehicle does not exist in the cloud platform, the first integrated module directly sends a service data request of the vehicle-mounted service function requested by the vehicle to the second integrated module, the second integrated module requests corresponding service data to a service support sub-platform corresponding to the vehicle-mounted service function requested by the vehicle in the service support platform, then the service support sub-platform corresponding to the vehicle-mounted service function requested by the vehicle in the service support platform returns corresponding service data to the second integrated module, the second integrated module sends the corresponding service data returned by the service support sub-platform to the first integrated module, and finally the first integrated module returns the corresponding service data returned by the service support sub-platform to the vehicle.
Fig. 3 is a schematic structural diagram of a vehicle offline detection device according to an embodiment of the present application. As illustrated in fig. 3, the vehicle offline detection device 300 includes a first determination module 301, a first detection module 302, and a second detection module 303.
A first determining module 301, configured to determine whether a target configuration list corresponding to a vehicle exists in a process of detecting a vehicle offline; the use authorities of the plurality of vehicle-mounted service functions of the target configuration list are configured use authorities.
The first detection module 302 is configured to detect an on-board service function of the vehicle according to the target configuration ticket when the target configuration ticket exists.
A second detection module 303, configured to detect a vehicle-mounted service function of the vehicle according to a default configuration ticket when the target configuration ticket does not exist; the method comprises the steps of configuring a plurality of vehicle-mounted service functions of a default configuration list, wherein the use permission of the plurality of vehicle-mounted service functions of the default configuration list is a default permission, and the default permission is a permission opening state.
In one possible implementation, the first detection module 302 is specifically configured to: determining at least one first vehicle service function of the plurality of vehicle service functions according to the target configuration list; the first vehicle-mounted service function is a vehicle-mounted service function with the use authority in an open state in the plurality of vehicle-mounted service functions; transmitting a first test instruction corresponding to any one of the at least one first vehicle-mounted service function to the vehicle; the first test instruction is used for indicating the vehicle to request first service data corresponding to a first vehicle service function from the service support platform; under the condition that first service data returned by the service support platform is received, the vehicle-mounted service function of the vehicle is detected to pass; in the case that the first service data returned by the service support platform is not received, the vehicle-mounted service function of the vehicle detects that the first service data does not pass.
In a possible implementation manner, the second detection module 303 is specifically configured to: according to the default configuration list, a second test instruction corresponding to any vehicle-mounted service function of the plurality of vehicle-mounted service functions is sent to the vehicle; the second test instruction is used for indicating the vehicle to request second service data corresponding to the vehicle-mounted service function from the service support platform; under the condition that second service data returned by the service support platform is received, the vehicle-mounted service function of the vehicle is detected to pass; and in the case that the second service data returned by the service support platform is not received, detecting that the vehicle-mounted service function of the vehicle fails.
In a possible implementation manner, the vehicle offline detection device 300 further includes a closing module, configured to close the usage rights of at least one vehicle-mounted service function in response to a modification instruction of the usage rights of at least one vehicle-mounted service function in the default configuration list, so as to obtain the target configuration list.
In one possible embodiment, the vehicle offline detection device 300 further includes a second determination module, a third determination module, and a first establishment module.
The second determining module is used for determining at least one service support sub-platform corresponding to the vehicle-mounted service function in the service support platform according to the type of the vehicle-mounted service function for any vehicle-mounted service function in the plurality of vehicle-mounted service functions.
The third determining module is used for determining a first target service support sub-platform in the at least one service support sub-platform according to a preset rule; the preset rules comprise at least one of performance quality, coverage, function quantity and cost of the service support sub-platform.
The first establishing module is used for establishing the association relation between the vehicle-mounted service function and the first target service support sub-platform.
In a possible implementation manner, the vehicle offline detection device 300 further includes an encapsulation module, configured to encapsulate a data interface of the service support sub-platform to be processed, so as to obtain the service support sub-platform; wherein the interface types of the data interfaces of different service support sub-platforms are the same.
In one possible embodiment, the vehicle offline detection device 300 further includes a release module and a second establishment module.
And the releasing module is used for releasing the association relation between the vehicle-mounted service function and the first target service support sub-platform under the condition that the preset condition is met.
The second building module is used for building the association relation between the vehicle-mounted service function and the second target service support sub-platform; the second target service support sub-platform is other service support sub-platforms except the first target service support sub-platform in at least one service support sub-platform.
In one possible embodiment, the preset conditions include at least one of: the first target service support sub-platform fails; and receiving a modification instruction of the first target service support sub-platform.
It should be noted that: in the vehicle offline detection device provided in the above embodiment, only the division of the above functional modules is used for illustration, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the vehicle offline detection device and the vehicle offline detection method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments, which are not repeated herein.
According to the technical scheme provided by the embodiment of the application, in the process of detecting the vehicle in a downlink mode, whether a target configuration list corresponding to the vehicle exists or not is determined, wherein the use authorities of a plurality of vehicle-mounted service functions of the target configuration list are configured use authorities; detecting a vehicle-mounted service function of the vehicle according to the target configuration list under the condition that the target configuration list exists; under the condition that the target configuration list does not exist, detecting all vehicle-mounted service functions in the default configuration of the vehicle according to the default configuration list, wherein the use authorities of all the vehicle-mounted service functions of the default configuration list are in an open state; according to the scheme, under the condition that an operator configures the use authority of the vehicle-mounted service function of the vehicle before the vehicle is detected offline, the vehicle is detected that the use authority of the vehicle-mounted service function in the target configuration list is in an open state; and under the condition that the operator does not configure the use authority of the vehicle-mounted service function of the vehicle before the vehicle is detected in a offline mode, the vehicle is detected by the default configuration list, so that the situation that the vehicle-mounted service function of the vehicle cannot be detected due to the fact that the use authority of the vehicle-mounted service function of the vehicle is not configured is avoided, the offline detection of the vehicle can be normally performed, and the reliability is high.
In addition, the embodiment of the application also protects a device, which can comprise a memory and a processor, wherein executable program codes are stored in the memory, and the processor is used for calling and executing the executable program codes to execute the vehicle offline detection method provided by the embodiment of the application.
In this embodiment, the functional modules of the apparatus may be divided according to the above method example, for example, each functional module may be corresponding to one processing module, or two or more functions may be integrated into one processing module, where the integrated modules may be implemented in a hardware form. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
In the case of dividing each functional module by corresponding each function, the apparatus may further include a first determination module, a first detection module, a second detection module, and the like. It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
It should be understood that the apparatus provided in this embodiment is used to perform the above-described vehicle offline detection method, and thus the same effects as those of the implementation method can be achieved.
In case of an integrated unit, the apparatus may comprise a processing module, a memory module.
Wherein the processing module may be a processor or controller that may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the present disclosure. A processor may also be a combination of computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, etc., and a memory module may be a memory.
In addition, the apparatus provided by the embodiments of the present application may be a chip, a component, or a module, where the chip may include a processor and a memory connected to each other; the memory is used for storing instructions, and when the processor calls and executes the instructions, the chip can be caused to execute the vehicle offline detection method provided by the embodiment.
The embodiment also provides electronic equipment, which comprises a memory and a processor, wherein executable program codes are stored in the memory, and the processor is used for calling and executing the executable program codes to execute the vehicle offline detection method provided by the embodiment of the application.
The present embodiment also provides a computer-readable storage medium having stored therein computer program code which, when run on a computer, causes the computer to execute the above-described related method steps to implement a vehicle drop-out detection method provided in the above-described embodiments.
The present embodiment also provides a computer program product, which when run on a computer, causes the computer to perform the above-mentioned related steps to implement a vehicle offline detection method provided by the above-mentioned embodiments.
The apparatus, the computer readable storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding method provided above, and therefore, the advantages achieved by the apparatus, the computer readable storage medium, the computer program product, or the chip can refer to the advantages of the corresponding method provided above, which are not described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A vehicle offline detection method, characterized in that the method comprises:
In the process of detecting the vehicle offline, determining whether a target configuration list corresponding to the vehicle exists; the method comprises the steps that the use authorities of a plurality of vehicle-mounted service functions of a target configuration list are configured use authorities;
detecting a vehicle-mounted service function of the vehicle according to the target configuration list when the target configuration list exists;
detecting the vehicle-mounted service function of the vehicle according to a default configuration list under the condition that the target configuration list does not exist; the use permission of the plurality of vehicle-mounted service functions of the default configuration list is a default permission.
2. The method of claim 1, wherein detecting an on-board service function of the vehicle according to the target configuration ticket comprises:
determining at least one first vehicle service function of the plurality of vehicle service functions according to the target configuration list; the first vehicle service function is a vehicle service function with the use authority in an open state in the plurality of vehicle service functions;
sending a first test instruction corresponding to any one of the at least one first vehicle-mounted service function to the vehicle; the first test instruction is used for indicating the vehicle to request first service data corresponding to the first vehicle service function from a service support platform;
Under the condition that the first service data returned by the service support platform is received, the vehicle-mounted service function of the vehicle is detected to pass;
and under the condition that the first service data returned by the service support platform is not received, detecting that the vehicle-mounted service function of the vehicle fails.
3. The method of claim 1, wherein detecting the on-board service function of the vehicle according to a default configuration ticket comprises:
according to the default configuration list, a second test instruction corresponding to any one of the vehicle-mounted service functions is sent to the vehicle; the second test instruction is used for indicating the vehicle to request second service data corresponding to the vehicle-mounted service function from a service support platform;
under the condition that the second service data returned by the service support platform is received, the vehicle-mounted service function of the vehicle is detected to pass;
and under the condition that the second service data returned by the service support platform is not received, detecting that the vehicle-mounted service function of the vehicle fails.
4. The method of claim 1, wherein, in the presence of the target configuration ticket, prior to detecting an on-board service function of the vehicle in accordance with the target configuration ticket, the method further comprises:
And responding to a modification instruction of the use authority of at least one vehicle-mounted service function in the default configuration list, closing the use authority of the at least one vehicle-mounted service function, and obtaining the target configuration list.
5. The method of claim 2, wherein prior to said detecting an on-board service function of the vehicle, the method further comprises:
for any one of the plurality of vehicle-mounted service functions, determining at least one service support sub-platform corresponding to the vehicle-mounted service function in a service support platform according to the type of the vehicle-mounted service function;
determining a first target service support sub-platform in the at least one service support sub-platform according to a preset rule; the preset rules comprise at least one of performance quality, coverage, function quantity and cost of the service support sub-platform;
and establishing an association relation between the vehicle-mounted service function and the first target service support sub-platform.
6. The method of claim 5, wherein before determining at least one service support sub-platform corresponding to the in-vehicle service function in a service support platform according to the type of the in-vehicle service function, the method further comprises:
Packaging a data interface of a service support sub-platform to be processed to obtain the service support sub-platform; and the interface types of the data interfaces of different service support sub-platforms are the same.
7. The method according to claim 5, wherein in the case where the number of the at least one service support sub-platform is plural, after the establishing of the association relationship between the in-vehicle service function and the first target service support sub-platform, the method further comprises:
under the condition that a preset condition is met, releasing the association relation between the vehicle-mounted service function and the first target service support sub-platform;
establishing an association relationship between the vehicle-mounted service function and a second target service support sub-platform; the second target service support sub-platform is other service support sub-platforms except the first target service support sub-platform in the at least one service support sub-platform.
8. The method of claim 7, wherein the preset conditions include at least one of:
the first target service support sub-platform fails;
and receiving a modification instruction of the first target service support sub-platform.
9. A vehicle offline detection device, characterized in that the device comprises:
the first determining module is used for determining whether a target configuration list corresponding to the vehicle exists or not in the process of detecting the vehicle offline; the method comprises the steps that the use authorities of a plurality of vehicle-mounted service functions of a target configuration list are configured use authorities;
the first detection module is used for detecting the vehicle-mounted service function of the vehicle according to the target configuration list when the target configuration list exists;
the second detection module is used for detecting the vehicle-mounted service function of the vehicle according to a default configuration list under the condition that the target configuration list does not exist; the use authorities of the plurality of vehicle-mounted service functions of the default configuration list are default authorities, and the default authorities are authority opening states.
10. An electronic device, the electronic device comprising:
a memory for storing executable program code;
a processor for calling and running the executable program code from the memory, causing the electronic device to perform the method of any one of claims 1 to 8.
CN202311419426.6A 2023-10-30 2023-10-30 Vehicle offline detection method and device and electronic equipment Pending CN117520152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311419426.6A CN117520152A (en) 2023-10-30 2023-10-30 Vehicle offline detection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311419426.6A CN117520152A (en) 2023-10-30 2023-10-30 Vehicle offline detection method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117520152A true CN117520152A (en) 2024-02-06

Family

ID=89744826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311419426.6A Pending CN117520152A (en) 2023-10-30 2023-10-30 Vehicle offline detection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117520152A (en)

Similar Documents

Publication Publication Date Title
JP5310138B2 (en) Vehicle control system
US11256544B2 (en) Redistributing update resources during update campaigns
CN111277633B (en) Request processing method, server, electronic equipment and storage medium
WO2022061804A1 (en) Data transmission system, data transmission method, smart vehicle and device
CN112994945A (en) Automatic deployment method and device of trusted cloud platform
EP2487587A1 (en) Service gateway, management server and software module
CN111212099A (en) Micro-service management method and device
CN114765576A (en) File sharing method, vehicle and storage medium
CN113268257A (en) Vehicle-mounted application upgrading system, method and computer storage medium
JP2005510179A (en) System for managing a dedicated application in a device connected to a network, application management method, access terminal, application server, and device for such a system
CN111970162B (en) Heterogeneous GIS platform service central control system under super-integration framework
US11294795B2 (en) Fault reproduction assist system, fault reproduction assist method
CN117520152A (en) Vehicle offline detection method and device and electronic equipment
CN117041111A (en) Vehicle cloud function test method and device, electronic equipment and storage medium
CN115951596A (en) Real vehicle signal simulation method and vehicle signal interaction system
CN115617558A (en) Vehicle diagnostic system, method, storage medium, and vehicle
CN113590178A (en) API (application program interface) instance management method and device, storage medium and electronic equipment
US8258936B2 (en) Method and system for acquiring integrated operational and support data for a vehicle
KR20220024905A (en) How to talk to a computer on the vehicle's onboard bus
CN115134244B (en) Vehicle access device management method and device, electronic device and storage medium
CN110401554B (en) VNF (virtual network function) nanotube management method, device, system, electronic equipment and storage medium
CN117493218B (en) VSOA-based test system and test method
CN115529332B (en) Cloud car machine system for car machine central control and remote access method
CN116107291A (en) Vehicle diagnosis method and device, virtualized vehicle diagnosis system and vehicle
CN117215958B (en) Vehicle-mounted application separation design software and test method thereof

Legal Events

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