Request processing method and device, equipment, storage medium and computer program product

By installing target communication modules and protection mode switching modules in the vehicle, the problem that the existing Internet of Vehicles system cannot work abroad is solved, and the interaction request processing of vehicles abroad is realized, the adaptation process is simplified, and efficiency is improved.

CN119835039APending Publication Date: 2025-04-15ROX MOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411959479.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing Internet of Vehicles System cannot work abroad, and the re-customized development of the front-installed Internet of Vehicles System that is suitable for foreign countries is complex and time-consuming, and cannot be completed in a short period of time.

Method used

By installing a target communication module on the vehicle, receiving target interaction requests from overseas, and requesting the firewall module to release the corresponding protection mode through the protection mode switching module, allowing the vehicle to perform operations corresponding to overseas interaction requests.

Benefits of technology

It enables vehicles to work abroad without re-customized development, simplifies the adaptation process, can be completed in a short period of time, and improves the flexibility and efficiency of the Internet of Vehicles system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835039A_ABST
    Figure CN119835039A_ABST
Patent Text Reader

Abstract

The invention discloses a request processing method and device, equipment, a storage medium and a computer program product. The method comprises the following steps: sending a target interaction request through a target communication module, processing the target interaction request through a request processing module to obtain a target request type and a request message of the target interaction request, and then sending the target request type and the request message to a protection mode switching module through the request processing module, a target protection mode releasing request corresponding to the target request type is sent to the firewall module through the protection mode switching module, the target protection mode releasing request comprises the target request type and a request message, then the target protection mode is released through the firewall module, and finally operation corresponding to the request message is executed through the execution module. According to the embodiment of the invention, the vehicle can process the overseas interaction request without re-customizing and developing a set of pre-loading networking system adaptive to the abroad, and the method is convenient to implement and can be implemented in a short time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of vehicle technology, and in particular, relates to a request processing method, device, equipment, storage medium and computer program product. Background Art

[0002] The Internet of Vehicles uses vehicles as information perception objects and uses wireless information communication technology to achieve network connections between vehicles, people, and other carriers, improve the overall intelligent driving level of vehicles, and provide users with safe, comfortable, intelligent, and efficient driving experience and transportation services. At the same time, it improves traffic operation efficiency and enhances the intelligence level of social transportation services.

[0003] The existing vehicle networking systems can only be used in China and cannot work abroad. Customizing and developing a pre-installed vehicle networking system that is suitable for foreign countries is very complicated, time-consuming and labor-intensive to implement, and cannot be completed in the short term. Summary of the invention

[0004] The embodiments of the present application provide a request processing method, apparatus, device, storage medium and computer program product, which do not require the re-customization and development of a pre-installed vehicle networking system adapted to foreign countries, and can enable the vehicle to process interactive requests from overseas. This is easy to implement and can be achieved in a short time.

[0005] In a first aspect, an embodiment of the present application provides a request processing method, the method comprising:

[0006] Sending a target interaction request via a target communication module;

[0007] The target interaction request is processed by the request processing module to obtain the target request type and request message of the target interaction request;

[0008] Sending the target request type and the request message to the protection mode switching module through the request processing module;

[0009] Sending a target protection mode release request corresponding to the target request type to the firewall module through the protection mode switching module; the target protection mode release request includes the target request type and the request message;

[0010] Remove the target protection mode through the firewall module;

[0011] The operation corresponding to the request message is executed through the execution module.

[0012] In a second aspect, an embodiment of the present application provides a request processing device, the device comprising:

[0013] A target communication module, used for sending a target interaction request;

[0014] A request processing module, used to process the target interaction request and obtain the target request type and request message of the target interaction request;

[0015] The request processing module is also used to send the target request type and the request message to the protection mode switching module;

[0016] The protection mode switching module is used to send a target protection mode release request corresponding to the target request type to the firewall module; the target protection mode release request includes the target request type and the request message;

[0017] Firewall module, used to release the target protection mode;

[0018] The execution module is used to execute the operation corresponding to the request message.

[0019] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the request processing method of the first aspect is implemented.

[0020] In a fourth aspect, an embodiment of the present application provides a computer storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the request processing method of the first aspect is implemented.

[0021] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the request processing method of the first aspect.

[0022] The request processing method, device, equipment, storage medium and computer program product of the embodiments of the present application, by adding a target communication module to the vehicle to receive target interaction requests from overseas, after receiving the target interaction request, that is, the overseas interaction request, the protection mode switching module will be used to request the firewall module to release the protection mode corresponding to the overseas interaction request. After the firewall module releases the target protection mode of the corresponding vehicle, the execution module in the vehicle can execute the operation corresponding to the overseas interaction request. In this way, the present application realizes the processing of overseas interaction requests by temporarily releasing the protection mode of the firewall module. This method can be realized by changing the original vehicle safety logic control, without the need to re-customize and develop a set of pre-installed vehicle networking systems adapted to foreign countries, so that the vehicle can realize the processing of overseas interaction requests. Therefore, the embodiments of the present application are easy to implement and can be realized in a short time. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0024] Figure 1 is a structural diagram of a request processing device provided by an embodiment of the present application;

[0025] Figure 2 It is a flowchart of a request processing method provided by an embodiment of the present application;

[0026] Figure 3 It is a flowchart of a control instruction request processing method provided by an embodiment of the present application;

[0027] Figure 4 It is a flowchart of a method for processing a data acquisition request provided by an embodiment of the present application;

[0028] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0029] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0030] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.

[0031] The Internet of Vehicles uses vehicles as information perception objects and uses wireless information communication technology to achieve network connections between vehicles, people, and other carriers, improve the overall intelligent driving level of vehicles, and provide users with safe, comfortable, intelligent, and efficient driving experience and transportation services. At the same time, it improves traffic operation efficiency and enhances the intelligence level of social transportation services.

[0032] The existing Internet of Vehicles systems can only be used in China and cannot work abroad. Customizing and developing a pre-installed Internet of Vehicles system adapted to foreign countries is very complicated, time-consuming and labor-intensive, and cannot be completed in the short term. Moreover, installing overseas Internet of Vehicles equipment on the original vehicle cannot be used directly, which brings inconvenience to users.

[0033] In order to solve the problems of the prior art, the embodiments of the present application provide a request processing method, device, equipment, storage medium and computer program product. The embodiments of the present application install a target communication module in the vehicle to receive target interaction requests from overseas. After receiving the target interaction request, that is, the overseas interaction request, the protection mode switching module will request the firewall module to release the protection mode corresponding to the overseas interaction request. After the firewall module releases the target protection mode of the corresponding vehicle, the execution module in the vehicle can execute the operation corresponding to the overseas interaction request. In this way, the embodiments of the present application realize the processing of overseas interaction requests by temporarily releasing the protection mode of the firewall module. This method can be realized by changing the original vehicle safety logic control. There is no need to customize and develop a set of pre-installed vehicle networking systems adapted to foreign countries, so that the vehicle can realize the processing of overseas interaction requests. Therefore, the embodiments of the present application are easy to implement and can be realized in a short time.

[0034] The following first introduces the request processing device provided in the embodiment of the present application.

[0035] Figure 1 FIG. 1 is a schematic diagram showing the structure of a request processing device provided by an embodiment of the present application. Figure 1 As shown, the device may include a target communication module 101 , a request processing module 102 , a protection mode switching module 103 , a firewall module 104 and an execution module 105 .

[0036] The target communication module 101 is used to receive a target interaction request. The target interaction request may represent an interaction request from overseas.

[0037] It should be noted that the target communication module 101 is different from the first communication module that comes with the vehicle when it leaves the factory. The target communication module 101 is a module that is subsequently installed on the vehicle in order to receive interaction requests from overseas, while the first communication module that comes with the vehicle when it leaves the factory is used to receive data interaction requests from domestic sources. When the vehicle is used in an overseas environment, data communication can be performed through the target communication module 101, and the first communication module is in a stopped working state.

[0038] The request processing module 102 is used to process the target interaction request to obtain the target request type and request message of the target interaction request. The request processing module 102 is also used to send the target request type and request message to the protection mode switching module 103.

[0039] The protection mode switching module 103 is used to send a target protection mode release request corresponding to the target request type to the firewall module 104 .

[0040] The firewall module 104 is used to release the target protection mode.

[0041] The execution module 105 is used to execute the operation corresponding to the request message.

[0042] The embodiment of the present application installs a target communication module in the vehicle to receive target interaction requests from overseas. After receiving the target interaction request, that is, the overseas interaction request, the protection mode switching module will be used to request the firewall module to release the protection mode corresponding to the overseas interaction request. After the firewall module releases the target protection mode of the corresponding vehicle, the execution module in the vehicle can execute the operation corresponding to the overseas interaction request. In this way, the embodiment of the present application realizes the processing of overseas interaction requests by temporarily releasing the protection mode of the firewall module. This method can be realized by changing the original vehicle safety logic control. There is no need to customize and develop a set of pre-installed vehicle networking systems adapted to foreign countries, so that the vehicle can realize the processing of overseas interaction requests. Therefore, the embodiment of the present application is easy to implement and can be realized in a short time.

[0043] In some embodiments, the request processing module 102 is further configured to parse the target interaction request to obtain a target request type and a request message of the target interaction request when it is determined that the target interaction request satisfies a preset verification condition.

[0044] In some embodiments, the request processing module 102 is further used to parse the target interaction request to obtain the target request type;

[0045] The request processing module 102 is further used to extract the field content of the target field of the target interaction request according to the target request type;

[0046] The request processing module 102 is further used to encapsulate the request message into a target format according to the field content.

[0047] In some embodiments, the protection mode switching module 103 is used to receive the verification data sent by the firewall module;

[0048] The protection mode switching module 103 is further used to encrypt the verification data based on a preset encryption algorithm, obtain the encrypted verification data, and send the encrypted verification data to the firewall module;

[0049] The firewall module 104 is used to determine whether the encrypted verification data has passed the verification.

[0050] In some embodiments, the firewall module 104 is used to send a target request message corresponding to the control instruction request to the execution module 105, so that the execution module 105 performs an operation corresponding to the target request message.

[0051] In some embodiments, the execution module 105 is used to obtain target data corresponding to the data acquisition request from a preset data table, and send the target data to the target communication module.

[0052] In some embodiments, the firewall module 104 is further configured to restore the target protection mode if no request for maintaining the target protection mode release is received from the protection mode switching module within a preset period of time after the target protection mode is released by the firewall module 104 .

[0053] The following is an introduction to the request processing method provided in the embodiment of the present application.

[0054] Figure 2 FIG. 1 is a flow chart showing a request processing method provided by an embodiment of the present application. Figure 2 As shown, the method may include the following steps: S201 to S206.

[0055] S201: receiving a target interaction request through a target communication module.

[0056] The target interaction request indicates a request for overseas or external data to interact with the vehicle. For example, the target interaction request may be a request for the vehicle to perform an operation corresponding to an external control instruction, or a request for the vehicle to send vehicle data to an overseas or external device.

[0057] In some embodiments, an overseas interaction request from an overseas Internet of Vehicles is received through a target communication module.

[0058] S202: Process the target interaction request through a request processing module to obtain a target request type and a request message of the target interaction request.

[0059] The target request type can be a control command request or a data acquisition request. The control command request indicates a request for the vehicle to perform an operation corresponding to the control command, and the data acquisition request indicates a request for the vehicle to send vehicle data to an external device. The request message indicates the instruction content of the target interaction request.

[0060] In some embodiments, the target interaction request is processed by the request processing module to obtain the target request type and request message of the target interaction request, which can be performed by parsing the target interaction request, extracting the service identifier (Identity Document, ID) in the target interaction request, and determining the target request type of the target interaction request according to the service ID. At the same time, the request message can be obtained by extracting the field content corresponding to the service ID and encapsulating it.

[0061] As an example, when the target request type is a control instruction request, extracting the field content of the target field of the target interaction request may be extracting the field content of the three fields of the domain identifier (Domain ID), operation identifier (Operation ID) and parameter identifier (Parm ID) of the target interaction request.

[0062] As an example, when the target request type is a data acquisition request, extracting the field content of the target field of the target interaction request may be extracting the field content of the request identifier (Request ID) field of the target interaction request.

[0063] S203: Send the target request type and the request message to the protection mode switching module through the request processing module.

[0064] In some embodiments, the target request type and the request message are sent to the protection mode switching module by the request processing module, and the sending of the target request type and the request message can be achieved by connecting the request processing module to the protection mode switching module for communication.

[0065] S204: Sending a target protection mode release request corresponding to the target request type to the firewall module through the protection mode switching module.

[0066] The target protection mode is a protection mode that comes with the vehicle when it leaves the factory and is used to protect the vehicle's information security.

[0067] The target protection mode can be an in-vehicle protection mode or an out-vehicle protection mode. The in-vehicle protection mode is used to isolate external commands from entering the vehicle, and the out-vehicle protection mode is used to prevent vehicle data from being transmitted to the outside of the vehicle. Only when the vehicle's protection mode is released can external commands or vehicle data be released.

[0068] The target protection mode release request may include a target request type and a request message. The target request type is used to enable the firewall module to determine the target protection mode to be released, and the request message is used for the vehicle to perform corresponding operations according to the request message.

[0069] In some embodiments, the target protection mode release request corresponding to the target request type is sent to the firewall module through the protection mode switching module, and the sending of the target protection mode release request can be achieved by connecting the protection mode switching module to the firewall module for communication.

[0070] S205: Release the target protection mode through the firewall module.

[0071] In some embodiments, releasing the target protection mode through the firewall module may be achieved by switching the firewall mode to a deprotection mode through the firewall module.

[0072] S206: Execute the operation corresponding to the request message through the execution module.

[0073] In some embodiments, executing the operation corresponding to the request message by the execution module may be achieved by the execution module controlling the corresponding electronic control unit of the vehicle according to the request message.

[0074] The embodiment of the present application installs a target communication module in the vehicle to receive target interaction requests from overseas. After receiving the target interaction request, that is, the interaction request to overseas, the protection mode switching module will be used to request the firewall module to release the protection mode corresponding to the overseas interaction request. After the firewall module releases the target protection mode of the corresponding vehicle, the execution module in the vehicle can execute the operation corresponding to the overseas interaction request. In this way, the embodiment of the present application realizes the processing of overseas interaction requests by temporarily releasing the protection mode of the firewall module. This method can be realized by changing the original vehicle safety logic control. There is no need to customize and develop a set of pre-installed vehicle networking systems adapted to foreign countries, so that the vehicle can realize the processing of overseas interaction requests. Therefore, the embodiment of the present application is easy to implement and can be realized in a short time.

[0075] In some embodiments, S202 may include:

[0076] When it is determined that the overseas interaction request meets the preset verification condition, the request processing module parses the target interaction request to obtain the target request type and request message of the target interaction request.

[0077] The preset verification conditions can be used to verify the legitimacy and timeliness of the target interaction request to avoid illegal requests causing safety problems to the vehicle, and to avoid responding to expired target interaction requests, which would cause unnecessary waste of computing resources for the vehicle.

[0078] In some embodiments, the above-mentioned preset verification condition may include at least one of the following:

[0079] The target interaction request is in the preset whitelist;

[0080] The signature verification of the target interaction request passed;

[0081] The request duration of the target interaction request has not timed out.

[0082] As an example, determining whether a target interaction request meets preset verification conditions through a request processing module can be done by extracting a service ID of the target interaction request, searching for the service ID in a preset whitelist, and determining that the target interaction request meets the preset verification conditions if the service ID is included in the whitelist.

[0083] As an example, determining whether the target interaction request meets the preset verification conditions through the request processing module may be by verifying through a signature verification tool whether the signature of the target interaction request is consistent with the preset signature information. When the signature of the target interaction request is consistent with the preset signature information, it is determined that the signature verification of the target interaction request passes, and it can be determined that the target interaction request meets the preset verification conditions.

[0084] As an example, determining whether the target interaction request meets the preset verification conditions through the request processing module can be by verifying the timeliness of the target interaction request, that is, by verifying whether the request duration of the target interaction request has timed out. If the request duration of the target interaction request has not timed out, it can be determined that the target interaction request meets the preset verification conditions.

[0085] When the request processing module determines that the target interaction request meets the preset verification conditions, it parses the target interaction request to obtain the target request type and request message of the target interaction request, thereby ensuring the legality and timeliness of the target interaction request, thereby avoiding illegal requests from causing safety problems to the vehicle, and avoiding responding to expired target interaction requests, which causes unnecessary waste of computing resources for the vehicle, thereby ensuring the safety of the vehicle and the effective use of computing resources.

[0086] In some embodiments, the above-mentioned parsing the target interaction request to obtain the target request type and request message of the target interaction request may include:

[0087] Parse the target interaction request and obtain the target request type;

[0088] Extracting the field content of the target field of the target interaction request according to the target request type;

[0089] The request message is encapsulated into the target format according to the field content.

[0090] The target format indicates a format consistent with the data format of the vehicle, and the request message encapsulated in the target format can facilitate the vehicle to identify and respond to the target interaction request, thereby performing corresponding operations.

[0091] As an example, when the target request type is a control instruction request, the field content of the target field of the target interaction request extracted above may be the field content of the three fields of the domain identifier (Domain ID), operation identifier (Operation ID) and parameter identifier (Parm ID) of the target interaction request.

[0092] As an example, in the case where the target request type is a data acquisition request, the field content of the target field of the target interaction request may be extracted by extracting the field content of the request identifier (Request ID) field of the target interaction request.

[0093] By parsing the target interaction request, the target request type is obtained, the field content of the target field of the target interaction request is extracted according to the target request type, and it is encapsulated into a request message in the target format according to the field content. This can solve the problem that the format of the original target interaction request is incompatible with the vehicle, resulting in the vehicle being unable to recognize and respond to the target interaction request, thereby facilitating the vehicle to perform operations corresponding to the target interaction request.

[0094] In some embodiments, based on any of the above embodiments, before S205, the request processing method may further include:

[0095] Receiving verification data sent by the firewall module through the protection mode switching module;

[0096] Encrypting the verification data based on a preset encryption algorithm through the protection mode switching module to obtain the encrypted verification data, and sending the encrypted verification data to the firewall module;

[0097] The encrypted verification data is verified through the firewall module.

[0098] The verification data is used to verify the authority of the protection mode switching module. The verification data can be a piece of data randomly sent by the firewall module.

[0099] The preset encryption algorithm is used to encrypt the verification data so that the firewall performs permission verification on the protection mode switching module based on the encrypted verification data. The preset encryption algorithm can be any symmetric encryption algorithm, for example, the preset encryption algorithm can be an AES (Advanced Encryption Standard) encryption algorithm.

[0100] As an example, the verification data sent by the firewall module is received by the protection mode switching module, and the sending of the verification data can be achieved by connecting the protection mode switching module and the firewall module to each other.

[0101] Verification data is sent to the protection mode switching module through the firewall module, so that the protection mode switching module encrypts the verification data and returns it to the firewall module. When the firewall module determines that the encrypted verification data has passed the verification, it is determined that the protection mode switching module has passed the authority verification, and then the target protection mode is released according to the target protection mode release request sent by the protection mode switching module, thereby ensuring the security of vehicle information.

[0102] In some embodiments, when the target interaction request is a control instruction request, S206 may include:

[0103] The request message corresponding to the control instruction request is sent to the execution module through the firewall module, so that the execution module executes the operation corresponding to the control instruction request.

[0104] As an example, the target message corresponding to the control instruction request is sent to the execution module through the firewall module, and the sending of the target message can be achieved through a communication connection between the firewall module and the execution module.

[0105] As an example, the execution module executes the operation corresponding to the control instruction request, and may control the electronic control unit related to the control instruction according to the request message to implement the execution of the corresponding operation.

[0106] In some embodiments, when the target interaction request is a data acquisition request, S206 may include:

[0107] The target data corresponding to the data acquisition request is acquired from the preset data table through the execution module, and the target data is sent to the target communication module.

[0108] The target data refers to the vehicle data to be acquired by the target communication module.

[0109] As an example, the target data corresponding to the data acquisition request is acquired from the preset data table by the execution module, which can be obtained by searching the preset data table for data corresponding to the service ID of the data acquisition request.

[0110] As an example, sending the target data to the target communication module may be achieved by communicatively connecting the target communication module with the execution module.

[0111] In some embodiments, based on any of the above embodiments, the request processing method may further include:

[0112] After the target protection mode is released by the firewall module, if no request for maintaining the release of the target protection mode is received from the protection mode switching module within a preset period of time, the target protection mode is restored.

[0113] Among them, the preset time period can be set manually, which will not be elaborated here.

[0114] If the vehicle is in the protection mode release state for a long time, there will inevitably be potential data security risks. Therefore, after the firewall module releases the target protection mode, if the protection mode switching module does not send a request to the firewall module to maintain the release of the target protection mode within a preset period of time, the firewall module will restore the target protection mode.

[0115] After the target protection mode is released by the firewall module, if no request for maintaining the release of the target protection mode is received from the protection mode switching module within a preset period of time, the target protection mode is restored, which can improve the security of vehicle data information.

[0116] In order to better describe the solutions in the present application, some specific examples are given based on the above embodiments.

[0117] For example, a control instruction request processing method provided in an embodiment of the present application can be as follows: Figure 3 As shown, the method may include the following steps: S301 to S312.

[0118] S301: The target communication module sends a control instruction request.

[0119] S302: The request processing module determines whether the service ID requested by the control instruction is in a preset whitelist.

[0120] S303: The request processing module verifies that the signature part of the control instruction request is consistent.

[0121] S304: The request processing module verifies that the request duration of the control instruction request has not timed out.

[0122] S305: The request processing module parses the control instruction request and sends a control instruction message in a target format to the protection mode switching module.

[0123] S306: The protection mode switching module receives the control instruction message, and when the firewall module is in the in-vehicle protection mode, initiates an in-vehicle protection mode release request to the firewall module, where the in-vehicle protection mode release request includes the control instruction message.

[0124] S307: The firewall module sends verification data to the protection mode switching module.

[0125] S308: The protection mode switching module encrypts the verification data based on a preset encryption algorithm.

[0126] S309: Send the encrypted verification data to the firewall module.

[0127] S310: The firewall module confirms that the encrypted verification data has been verified and releases the in-vehicle protection mode.

[0128] S311: Send a control instruction message to the execution module.

[0129] S312: The execution module executes the operation corresponding to the control instruction message.

[0130] For example, a data acquisition request processing method provided in an embodiment of the present application can be as follows: Figure 4 As shown, the method may include the following steps: S401 to S413.

[0131] S401: The target communication module sends a data acquisition request.

[0132] S402: The request processing module determines whether the service ID of the data acquisition request is in a preset whitelist.

[0133] S403: The request processing module verifies that the signature part of the data acquisition request is consistent.

[0134] S404: The request processing module verifies that the request duration of the data acquisition request has not timed out.

[0135] S405: The request processing module parses the data acquisition request and sends a data acquisition message in a target format to the protection mode switching module.

[0136] S406: The protection mode switching module receives the data acquisition message, and when the firewall module is in the out-of-vehicle protection mode, initiates an out-of-vehicle protection mode release request to the firewall module, where the out-of-vehicle protection mode release request includes the data acquisition message.

[0137] S407: The firewall module sends verification data to the protection mode switching module.

[0138] S408: The protection mode switching module encrypts the verification data based on a preset encryption algorithm.

[0139] S409: Send the encrypted verification data to the firewall module.

[0140] S410: The firewall module confirms that the encrypted verification data has been verified and releases the vehicle exterior protection mode.

[0141] S411: Send a data acquisition message to the execution module.

[0142] S412: The execution module obtains target data corresponding to the data acquisition message from a preset data table.

[0143] S413: Send target data to the target communication module.

[0144] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0145] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.

[0146] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0147] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0148] In certain embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.

[0149] The processor 501 implements any one of the request processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 502 .

[0150] In one example, the electronic device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.

[0151] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0152] Bus 510 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0153] In addition, in combination with the request processing method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the request processing methods in the above embodiment is implemented.

[0154] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the request processing methods in the above embodiments when the computer program is processed and executed.

[0155] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0156] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0157] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0158] The above reference is to the flowchart and / or block diagram of the method, device, equipment, storage medium and computer program product according to the embodiment of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0159] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A request processing method, applied to a vehicle, characterized in that: The vehicle includes a target communication module, a request processing module, a protection mode switching module, a firewall module and an execution module; the method includes: receiving a target interaction request through the target communication module; Processing the target interaction request by the request processing module to obtain a target request type and a request message of the target interaction request; Sending the target request type and the request message to the protection mode switching module through the request processing module; Sending a target protection mode release request corresponding to the target request type to the firewall module through the protection mode switching module; the target protection mode release request includes the target request type and a request message; Release the target protection mode by the firewall module; The operation corresponding to the request message is executed by the execution module.

2. The method according to claim 1, characterized in that The step of processing the target interaction request by the request processing module to obtain a target request type and a request message of the target interaction request includes: When it is determined that the target interaction request meets a preset verification condition, the request processing module parses the target interaction request to obtain a target request type and a request message of the target interaction request.

3. The method according to claim 2, characterized in that The parsing the target interaction request to obtain the target request type and request message of the target interaction request includes: Parsing the target interaction request to obtain a target request type; Extracting the field content of the target field of the target interaction request according to the target request type; The request message is encapsulated into a target format according to the field content.

4. The method according to claim 2, characterized in that: The preset verification condition includes at least one of the following: The target interaction request is in a preset whitelist; The signature verification of the target interaction request passes; The request duration of the target interaction request has not timed out.

5. The method according to any one of claims 1 to 4, characterized in that: Before releasing the target protection mode by the firewall module, the method further includes: Receiving verification data sent by the firewall module through the protection mode switching module; Encrypting the verification data based on a preset encryption algorithm by the protection mode switching module to obtain the encrypted verification data, and sending the encrypted verification data to the firewall module; The firewall module determines that the encrypted verification data has passed verification.

6. The method according to claim 1, characterized in that The target interaction request includes a control instruction request, and the executing module executes an operation corresponding to the request message, including: The target request message corresponding to the control instruction request is sent to the execution module through the firewall module, so that the execution module executes the operation corresponding to the target request message.

7. The method according to claim 1, characterized in that The target interaction request includes a data acquisition request, and the executing module performs an operation corresponding to the request message, including: The target data corresponding to the data acquisition request is acquired from a preset data table by the execution module, and the target data is sent to the target communication module.

8. The method according to any one of claims 6-7, characterized in that: The method further comprises: After the target protection mode is released by the firewall module, if no request for maintaining the release of the target protection mode is received from the protection mode switching module within a preset period of time, the target protection mode is restored.

9. A request processing device, applied to a vehicle, characterized in that: The device comprises: A target communication module, used for receiving a target interaction request; A request processing module, used for processing the target interaction request to obtain a target request type and a request message of the target interaction request; The request processing module is further used to send the target request type and the request message to the protection mode switching module; A protection mode switching module, configured to send a target protection mode release request corresponding to the target request type to the firewall module; the target protection mode release request includes the target request type and a request message; A firewall module, used for releasing the target protection mode; An execution module is used to execute an operation corresponding to the request message.

10. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the request processing method according to any one of claims 1 to 8 is implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the request processing method according to any one of claims 1 to 8 is implemented.

12. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the request processing method as described in any one of claims 1 to 8.