Vehicle-to-everything (V2X) service methods, devices, electronic equipment and storage media
By identifying the client's desired language and converting the language of the vehicle-to-everything (V2X) service data, the problem of language-customized development of the V2X platform in different countries has been solved, enabling low-cost and highly reusable V2X services.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHERY AUTOMOBILE CO LTD
- Filing Date
- 2023-10-25
- Publication Date
- 2026-08-04
AI Technical Summary
The language-customized development of vehicle-to-everything (V2X) platforms in different countries leads to excessively high development and maintenance costs and extremely low reusability.
By acquiring the client's service request, identifying the desired language, and converting the vehicle network service data into the desired language to feed back to the client, the encrypted data is processed using a preset database and decryption algorithm to achieve dynamic language conversion.
It reduces development and maintenance costs, improves user experience, meets the language needs of different users, and achieves high reusability of the vehicle networking system.
Smart Images

Figure CN117459549B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle networking technology, and in particular to a vehicle networking service method, device, electronic device and storage medium. Background Technology
[0002] When deploying vehicle-to-everything (V2X) platform application services in various countries, customized development is required for local languages. This involves creating corresponding tables or fields for the local languages and designing appropriate database structures to support the storage and retrieval of data in those languages, thereby enabling clients to store and retrieve data through the V2X platform application services.
[0003] In related technologies, because each country uses different languages or local languages, it is necessary to customize the development of different languages to adapt to each country's language system, resulting in excessively high development and maintenance costs and extremely low reusability. Summary of the Invention
[0004] This application provides a vehicle networking service method, device, electronic device, and storage medium to solve the problems in related technologies, such as the need for customized development data to adapt to the language system of each country, resulting in excessively high development and maintenance costs and extremely low reusability.
[0005] The first aspect of this application provides a vehicle-to-everything (V2X) service method, which is applied to a V2X platform. The method includes the following steps: obtaining a service request sent by a client; obtaining V2X service data based on the service request and identifying the client's desired language; converting the language of the V2X service data into the desired language and then feeding it back to the client.
[0006] Optionally, obtaining vehicle network service data based on the service request includes: identifying the language authentication key in the service request; and querying a preset database based on the language authentication key to obtain the vehicle network service data.
[0007] Optionally, querying a preset database based on the language authentication key further includes: parsing the language authentication key to obtain a parsing result; querying the preset database based on the parsing result to obtain encrypted data; and decrypting the encrypted data using a preset decryption algorithm to obtain the required vehicle networking service data.
[0008] Optionally, identifying the client's desired language includes: obtaining a client identifier; and determining the client's desired language based on the client identifier.
[0009] Optionally, before identifying the client's desired language, the method further includes: guiding the user to a pre-set desired language; and binding the client identifier and the desired language to a local database.
[0010] Optionally, after obtaining the service request sent by the client, the process includes: obtaining the authorization request in the service request; verifying whether the account and password carried in the authorization request meet the compliance requirements; and authorizing the client after verifying that the compliance requirements are met.
[0011] A second aspect of this application provides a vehicle-to-everything (V2X) service device, which is applied to a V2X platform. The device includes: an acquisition module for acquiring a service request sent by a client; an identification module for acquiring V2X service data based on the service request and identifying the client's desired language; and a conversion module for converting the language of the V2X service data into the desired language and then feeding it back to the client.
[0012] Optionally, the identification module is further configured to: identify the language authentication key in the service request; and query a preset database based on the language authentication key to obtain the vehicle network service data.
[0013] Optionally, the identification module is further configured to: parse the language authentication key to obtain a parsing result; query a preset database based on the parsing result to obtain encrypted data; and decrypt the encrypted data using a preset decryption algorithm to obtain the required vehicle networking service data.
[0014] Optionally, the identification module is further configured to: obtain a client identifier; and determine the client's desired language based on the client identifier.
[0015] Optionally, the identification module is further configured to: guide the user to a pre-set desired language; and bind the client identifier and the desired language to a local database.
[0016] Optionally, the acquisition module is further configured to: acquire the authorization request in the service request; verify whether the account and password carried in the authorization request meet the compliance conditions; and authorize the client after verifying that the compliance conditions are met.
[0017] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle networking service method as described in the above embodiments.
[0018] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the vehicle networking service method as described in the above embodiments.
[0019] Therefore, this application has at least the following beneficial effects:
[0020] This application embodiment can obtain vehicle network service data according to the server request sent by the client, identify the client's expected language, convert the language of the currently obtained vehicle network service data into the expected language and then feed it back to the client. Therefore, the vehicle network system only needs to be developed once and can be converted into any language content according to needs, reducing development and maintenance costs, with high reusability, meeting the different language needs of different users, and improving the user experience.
[0021] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0022] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0023] Figure 1 This is a flowchart illustrating a vehicle networking service method provided according to an embodiment of this application;
[0024] Figure 2 This is a schematic diagram illustrating data acquisition by a client according to an embodiment of this application;
[0025] Figure 3 This is a schematic diagram of the data returned by the vehicle networking platform according to an embodiment of this application;
[0026] Figure 4 This is a block diagram of a vehicle networking service device according to an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0028] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0029] The following description, with reference to the accompanying drawings, outlines a vehicle-to-everything (V2X) service method, apparatus, electronic device, and storage medium according to embodiments of this application. Addressing the issue mentioned in the background art—that different countries use different languages or have different local languages, requiring customized development to adapt to each country's language system, resulting in excessively high development and maintenance costs and extremely low reusability—this application provides a V2X service method. In this method, V2X service data is obtained based on a server request sent by a client, and the client's desired language is identified. The language of the currently obtained V2X service data is then converted into the desired language and fed back to the client. Therefore, the V2X system only needs to be developed once and can be converted into any language content as needed, reducing development and maintenance costs, increasing reusability, meeting the different language needs of different users, and improving the user experience. This solves the problems in related technologies where customized development data is required to adapt to each country's language system, leading to excessively high development and maintenance costs and extremely low reusability.
[0030] Specifically, Figure 1 This is a flowchart illustrating a vehicle networking service method provided in an embodiment of this application.
[0031] like Figure 1 As shown, this vehicle-to-everything (V2X) service method is applied to a V2X platform, and includes the following steps:
[0032] In step S101, the service request sent by the client is obtained.
[0033] It is understood that in this embodiment of the application, the vehicle networking platform can obtain service requests sent by the client through wireless or other means. The service request may include not only changing the display language or voice language of the vehicle system service, but also the verification data required such as account, password and language authentication key, without specific limitations.
[0034] In this embodiment of the application, after obtaining the service request sent by the client, the process includes: obtaining the authorization request in the service request; verifying whether the account and password carried in the authorization request meet the compliance conditions; and authorizing the client after verifying that the compliance conditions are met.
[0035] It is understood that in this embodiment of the application, the client is determined to meet the compliance conditions by verifying the account and password in the authorization request. The compliance condition is that the account and password are entered correctly. If they are not correct, there may be a risk of data leakage. Therefore, after ensuring that the account and password are correct, the client is authorized to ensure data security.
[0036] In step S102, vehicle network service data is obtained based on the service request, and the client's expected language is identified.
[0037] It is understood that the embodiments of this application obtain vehicle network service data based on server requests and identify the client's desired language so as to convert the current language vehicle network service data into the desired language vehicle network service data in the future.
[0038] For example, if the service request is to change the display language on the vehicle's infotainment system, then the vehicle network service data is obtained based on this service request. The vehicle network service data can be the service data corresponding to the current voice package, without any specific limitation.
[0039] In this embodiment of the application, obtaining vehicle network service data based on a service request includes: identifying the language authentication key in the service request; and querying a preset database based on the language authentication key to obtain the vehicle network service data.
[0040] It is understood that the embodiments of this application identify the language authentication key in the service request, query a preset database based on the language authentication key, and obtain vehicle network service data so as to convert the current language vehicle network service data into the desired language vehicle network service data in the future.
[0041] It should be noted that the configuration authorization and authentication client in the vehicle networking platform is used to configure the authorization and authentication client to allow the client to communicate with the authentication service and obtain authorization success information. This includes setting parameters such as client account, client password, client language key, and authentication server URL (Uniform Resource Locator). The language key is used to carry the assigned language authentication key for secondary verification when the client accesses the vehicle networking platform application services. Only after successful verification can the client access the vehicle networking platform.
[0042] In this embodiment of the application, querying a preset database based on a language authentication key further includes: parsing the language authentication key to obtain a parsing result; querying the preset database based on the parsing result to obtain encrypted data; and decrypting the encrypted data using a preset decryption algorithm to obtain the required vehicle network service data.
[0043] The preset decryption algorithm can be AES or RSA, or a custom decryption algorithm, which can be set according to actual needs; the preset database can be selected according to actual conditions, such as the local database of the vehicle networking platform, without specific limitations.
[0044] It is understood that in this embodiment of the application, the language authentication key is parsed to obtain the parsing result, the encrypted data is obtained by querying the preset database based on the parsing result, and the vehicle network service data required for the current language is obtained by using the preset algorithm to decrypt the data, so as to facilitate the subsequent conversion of the vehicle network service data of the current language into the vehicle network service data of the desired language.
[0045] It should be noted that the data in the default database is all encrypted. When the vehicle networking platform obtains data, it uses a custom Java plugin based on the language authentication key, and implements data encryption through MyBatis. Specifically: 1) Create a Java class that implements the MyBatis Intercept method. This class will serve as the core logic of your custom plugin; 2) Override the intercept method. This method intercepts MyBatis SQL statements. By obtaining the MappedStatement object, you can obtain relevant information about the SQL statement and determine which data needs to be encrypted; 3) You can use encryption algorithms such as AES (Advanced Encryption Standard, symmetric encryption algorithm) or RSA (Rivest-Shamir-Adleman, asymmetric encryption algorithm), or a custom encryption algorithm to encrypt the data; 4) Then replace the original data with the encrypted data; 5) Store the encrypted data in the database.
[0046] In this embodiment of the application, before identifying the client's desired language, the method further includes: guiding the user to pre-set the desired language; and binding the client identifier and the desired language to a local database.
[0047] It is understood that, in this application embodiment, by guiding the user to set the desired language in advance and binding the client identifier and the desired language to the local database, the desired language of the client can be obtained later based on the client identifier.
[0048] It should be noted that the aforementioned identification of the client's expected language includes, but is not limited to, guiding the user to set the expected language in advance, or it can be set in the service request according to actual needs, without specific limitations.
[0049] In this embodiment of the application, identifying the client's desired language includes: obtaining a client identifier; and determining the client's desired language based on the client identifier.
[0050] The client identifier can be either the identifier of the vehicle-mounted system or the identifier of the mobile terminal, without specific limitations.
[0051] It is understood that, in this embodiment of the application, since the client identifier and the desired language are bound together as described above, the desired language of the client can be determined by obtaining the client identifier, thereby improving the user experience.
[0052] In step S103, the language of the vehicle network service data is converted into the desired language and then fed back to the client.
[0053] It is understood that in this embodiment of the application, the language of the currently acquired vehicle network service data is converted into the desired language and then fed back to the client. The vehicle network system only needs to be developed once and can be converted into the language content of any country according to the needs, which reduces the development and maintenance costs, has high reusability, can meet the different language needs of different users, and improve the user experience.
[0054] According to the vehicle networking service method proposed in the embodiments of this application, vehicle networking service data is obtained according to the server request sent by the client, and the client's expected language is identified. The language of the currently obtained vehicle networking service data is converted into the expected language and then fed back to the client. Therefore, the vehicle networking system only needs to be developed once and can be converted into any language content according to the needs, which reduces the development and maintenance costs, has high reusability, can meet the different language needs of different users, and improves the user experience.
[0055] The following will combine Figure 2 and Figure 3 The detailed explanation of the vehicle-to-everything (V2X) service methods is as follows:
[0056] Step 1: The client obtains authorization success information.
[0057] The client accesses the vehicle networking platform application service with the assigned account and password. After receiving the client's request, the vehicle networking platform authorization and authentication service verifies the validity of the account and password and returns authorization success information.
[0058] It should be noted that the vehicle-to-everything (V2X) platform assigns clients accounts, passwords, and language authentication keys to access its application services. These are used for client access authorization and language authentication authorization. The V2X platform includes configuration authentication servers, configuration resource servers, and configuration authorization authentication servers, as well as security rule configuration. Their specific functions are as follows:
[0059] 1) Configure the authentication server: Customize the vehicle networking platform's authorization and authentication service to handle user authentication and authorization requests.
[0060] 2) Configure resource server: Used to specify the storage location of authorization success information and specify the authentication manager.
[0061] 3) Configure security rules: Define the system access paths that require authentication and authorization by configuring security rules.
[0062] 4) Configure the authorization and authentication client: Configure the authorization and authentication client to allow the client to communicate with the authentication service and obtain authorization success information. This includes setting parameters such as client account, client password, client language key, and authentication server URL.
[0063] Step 2: The client accesses the vehicle networking platform application service with the language authentication key. After receiving the client's request, the vehicle networking platform authorization and authentication service verifies and parses the language authentication key.
[0064] Step 3: The vehicle networking platform application service will encrypt the data that needs to be encrypted based on the language authentication key (there are many encryption methods; in this application, a custom Java plugin is used to implement the data encryption function through MyBatis), and then store the encrypted data in the database.
[0065] 1) Create a Java class that implements MyBatis Interceptor. This class will serve as the core logic of your custom plugin.
[0066] 2) Override the intercept method, which will intercept MyBatis's SQL statements. In this method, you can obtain the MappedStatement object and then obtain relevant information about the SQL statement; you can determine which data needs to be encrypted here.
[0067] 3) Data can be encrypted using encryption algorithms such as AES or RSA, or a custom encryption algorithm. Then, the encrypted data can replace the original data.
[0068] 4) Store the encrypted data in the database.
[0069] Step 4: When the application service returns data, it decrypts the encrypted data based on the parsing result returned in Step 2, converts the decrypted data into the language corresponding to the client, and finally returns the data to the client.
[0070] 1) The application service accesses the database and retrieves the encrypted data from the database.
[0071] 2) The application service then uses encryption and decryption algorithms such as AES or RSA, or a custom encryption and decryption algorithm, to decrypt the data based on the parsing results returned in step 2. The decrypted data is then converted into data in the desired language.
[0072] 3) Finally, the converted data in the desired language is returned to the client.
[0073] Next, the vehicle networking service device proposed according to the embodiments of this application is described with reference to the accompanying drawings.
[0074] Figure 4 This is a block diagram of a vehicle networking service device according to an embodiment of this application.
[0075] like Figure 4As shown, the vehicle networking service device 10 includes: an acquisition module 100, an identification module 200, and a conversion module 300.
[0076] The acquisition module 100 is used to acquire service requests sent by the client; the identification module 200 is used to acquire vehicle network service data based on the service request and identify the client's expected language; and the conversion module 300 is used to convert the language of the vehicle network service data into the expected language and then feed it back to the client.
[0077] In this embodiment of the application, the acquisition module 100 is further configured to: acquire the authorization request in the service request; verify whether the account and password carried in the authorization request meet the compliance conditions; and authorize the client after verifying that the compliance conditions are met.
[0078] In this embodiment, the identification module 200 is further configured to: identify the language authentication key in the service request; and query a preset database based on the language authentication key to obtain vehicle network service data.
[0079] In this embodiment, the identification module 200 is further configured to: parse the language authentication key to obtain the parsing result; query a preset database based on the parsing result to obtain encrypted data; and decrypt the encrypted data using a preset decryption algorithm to obtain the required vehicle network service data.
[0080] In this embodiment of the application, the identification module 200 is further configured to: obtain a client identifier; and determine the client's desired language based on the client identifier.
[0081] In this embodiment, the identification module 200 is further configured to: guide the user to a pre-set desired language; and bind the client identifier and desired language to a local database.
[0082] It should be noted that the foregoing explanation of the vehicle-to-everything (V2X) service method embodiment also applies to the V2X service device of this embodiment, and will not be repeated here.
[0083] According to the vehicle networking service device proposed in the embodiments of this application, the vehicle networking service data is obtained according to the server request sent by the client, and the client's expected language is identified. The language of the currently obtained vehicle networking service data is converted into the expected language and then fed back to the client. Therefore, the vehicle networking system only needs to be developed once and can be converted into the language content of any country according to the needs, which reduces the development and maintenance costs, has high reusability, can meet the different language needs of different users, and improves the user experience.
[0084] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include:
[0085] The memory 501, the processor 502, and the computer program stored on the memory 501 and capable of running on the processor 502.
[0086] When processor 502 executes the program, it implements the vehicle networking service method provided in the above embodiments.
[0087] Furthermore, electronic devices also include:
[0088] Communication interface 503 is used for communication between memory 501 and processor 502.
[0089] The memory 501 is used to store computer programs that can run on the processor 502.
[0090] The memory 501 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.
[0091] If the memory 501, processor 502, and communication interface 503 are implemented independently, then the communication interface 503, memory 501, and processor 502 can be interconnected via a bus to complete communication between them. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0092] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.
[0093] Processor 502 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of this application.
[0094] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described vehicle networking service method.
[0095] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0096] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0097] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0098] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or more of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (FPGAs), field-programmable gate arrays (FPGAs), etc.
[0099] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0100] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for providing vehicle-to-everything (V2X) services, characterized in that: The method is applied to a vehicle networking platform, and includes the following steps: The method involves obtaining a service request sent by a client, wherein, after obtaining the service request sent by the client, the method includes: obtaining an authorization request in the service request; verifying whether the account and password carried in the authorization request meet compliance requirements; and, after verifying that the compliance requirements are met, authorizing the client. Based on the service request, vehicle network service data is obtained, and the client's desired language is identified. The process of obtaining vehicle network service data based on the service request includes: identifying the language authentication key in the service request; querying a preset database based on the language authentication key to obtain the vehicle network service data; wherein querying the preset database based on the language authentication key further includes: parsing the language authentication key to obtain a parsing result; querying the preset database based on the parsing result to obtain encrypted data; and decrypting the encrypted data using a preset decryption algorithm to obtain the required vehicle network service data. The vehicle network service data is converted into the desired language and then fed back to the client.
2. The vehicle-to-everything (V2X) service method according to claim 1, characterized in that, The identification of the client's desired language includes: Obtain the client identifier; The client's desired language is determined based on the client identifier.
3. The vehicle-to-everything (V2X) service method according to claim 1 or 2, characterized in that, Before identifying the client's desired language, the process also includes: Guide users to pre-set their desired language; Bind the client identifier and the desired language to the local database.
4. A vehicle-to-everything (V2X) service device, characterized in that, The device is applied to a vehicle networking platform, wherein the device includes: The acquisition module is used to acquire service requests sent by clients, wherein, after acquiring the service requests sent by clients, the module includes: acquiring authorization requests in the service requests; verifying whether the account and password carried in the authorization requests meet compliance conditions; and, after verifying that the compliance conditions are met, authorizing the client. An identification module is used to obtain vehicle network service data based on the service request and identify the client's desired language. The identification module is further used to: identify the language authentication key in the service request; query a preset database based on the language authentication key to obtain the vehicle network service data; wherein querying the preset database based on the language authentication key further includes: parsing the language authentication key to obtain a parsing result; querying the preset database based on the parsing result to obtain encrypted data; and decrypting the encrypted data using a preset decryption algorithm to obtain the required vehicle network service data. The conversion module is used to convert the language of the vehicle network service data into the desired language and then feed it back to the client.
5. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the vehicle networking service method as described in any one of claims 1-3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the vehicle-to-everything (V2X) service method as described in any one of claims 1-3.