CN115542875A - Vehicle detection method based on SOA service and related equipment - Google Patents

Vehicle detection method based on SOA service and related equipment Download PDF

Info

Publication number
CN115542875A
CN115542875A CN202211050314.3A CN202211050314A CN115542875A CN 115542875 A CN115542875 A CN 115542875A CN 202211050314 A CN202211050314 A CN 202211050314A CN 115542875 A CN115542875 A CN 115542875A
Authority
CN
China
Prior art keywords
test
request message
vehicle
service
core server
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
CN202211050314.3A
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.)
Lantu Automobile Technology Co Ltd
Original Assignee
Lantu Automobile Technology 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 Lantu Automobile Technology Co Ltd filed Critical Lantu Automobile Technology Co Ltd
Priority to CN202211050314.3A priority Critical patent/CN115542875A/en
Publication of CN115542875A publication Critical patent/CN115542875A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a vehicle detection method based on SOA service and related equipment. The method comprises the following steps: under the condition that socket connection is established with a core server A of a target vehicle, sending a test request message to the core server A so that a target interface feeds back a test response message; receiving the test response message; and acquiring a detection result of the target vehicle based on the test response message and the test request message. According to the vehicle detection method based on the SOA service, socket connection is established between the test equipment and the A-core processor, the scene-based test request message is directly sent to the A-core processor, the detection result of the target vehicle is obtained based on the test response message obtained by the target port, and through the more direct interface test method, the bottom layer logic problem of the service end can be found more conveniently and earlier before function test, the problem is exposed in advance, and the cost of later-stage problem repair is reduced.

Description

Vehicle detection method based on SOA service and related equipment
Technical Field
The present disclosure relates to the field of automobile testing, and more particularly, to a vehicle detection method and related device based on SOA service.
Background
Under an on-vehicle SOA (service oriented) software architecture, an SOME/IP protocol is applied to data communication of an on-vehicle ECU, and the SOME/IP protocol is loaded with the SOME service and the service interface, and is called at a service end and a client end through the SOME service and the service interface. For the novel technical architecture, the current testing method is biased to use a canoe tool to perform the SOME/IP network protocol test, has a high threshold and cannot perform a perfect scene test on the service internal logic design and the interface.
Disclosure of Invention
In this summary, concepts in a simplified form are introduced that are further described in the detailed description. This summary of the invention is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
In a first aspect, the present invention provides a vehicle detection method based on SOA service, where the method includes:
under the condition that socket connection is established with a core server A of a target vehicle, sending a test request message to the core server A so that a target interface feeds back a test response message;
receiving the test response message;
and acquiring the detection result of the target vehicle based on the test response message and the test request message.
Optionally, the method further includes:
and sending a request connection message to the core server A to establish the socket connection with the core server A, wherein the request connection message comprises configuration information, an IP address, a transmission protocol and a port number of the core server A.
Optionally, the method further includes:
before sending the request message to the A core server, connection is established with the test development board based on the Ethernet.
Optionally, the test request message includes a target interface name, a test parameter, and a service ID.
Optionally, the method further includes:
the target interface name and the service ID are determined based on the interface document information.
Optionally, the method further includes:
directly accessing the SOME IP protocol content of the network layer to complete the network layer test, wherein the network layer test comprises at least one of a SOME IP/SD message parameter test, a SOME IP/SD sending mode test and a routing test.
Optionally, the SOME IP protocol content of the direct access network layer includes:
the SOME IP protocol content of the network layer is directly accessed through the CANoe tool.
In a second aspect, the present invention further provides a vehicle detection control apparatus based on SOA service, including:
the system comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a test request message to an A core server of a target vehicle under the condition that socket connection is established with the A core server so as to enable a target interface to feed back a test response message;
a receiving unit, configured to receive the test response packet;
and the detection unit is used for acquiring the detection result of the target vehicle based on the test response message and the test request message.
In a third aspect, an electronic device includes: a memory, a processor and a computer program stored in the memory and operable on the processor, wherein the processor is configured to implement the steps of the SOA service based vehicle detection method according to any one of the first aspect of the present invention when the computer program stored in the memory is executed.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the SOA service based vehicle detection method of any one of the above aspects.
In summary, the vehicle detection method based on the SOA service in the embodiment of the present application includes: under the condition that socket connection is established with a core server A of a target vehicle, sending a test request message to the core server A so that a target interface feeds back a test response message; receiving the test response message; and acquiring the detection result of the target vehicle based on the test response message and the test request message. According to the vehicle detection method based on the SOA service, socket connection is established between the test equipment and the A-core processor, the scene-based test request message is directly sent to the A-core processor, the detection result of the target vehicle is obtained based on the test response message obtained by the target port, and through the more direct interface test method, the bottom layer logic problem of the service end can be found more conveniently and earlier before function test, the problem is exposed in advance, and the cost of later-stage problem repair is reduced.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the specification. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart of a vehicle detection method based on SOA service according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a vehicle detection principle based on SOA service according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a vehicle detection control device based on SOA service according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a vehicle detection electronic device based on SOA service according to an embodiment of the present application.
Detailed Description
According to the vehicle detection method based on the SOA service, socket connection is established between the test equipment and the A-core processor, the scenic test request message is directly sent to the A-core processor, the detection result of the target vehicle is obtained based on the test response message obtained by the target port, and through the more direct interface test method, the bottom layer logic problem of the service end can be found more conveniently and earlier before function test, the problem is exposed in advance, and the cost of repairing the problem in the later period is reduced.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments.
In the current SOA architecture development, the SOME/IP protocol is mostly tested (such as TC 83.0), and the SOA service carried on the SOME/IP protocol is rarely designed in detail. For the SOME/IP protocol and the reverse test, only the correctness of the SOMEIP protocol can be verified, the functional scenes of the internal logic design and the interface of the SOA service cannot be covered, and the lower-layer logic problem can not be found earlier before the functional point inspection test. Referring to fig. 1 for solving the above problem, an embodiment of the present application provides a flow diagram of a vehicle detection method based on SOA service, which specifically includes:
s110, under the condition that socket connection is established with a core server A of a target vehicle, sending a test request message to the core server A so that a target interface feeds back a test response message;
illustratively, the vehicle testing device may be implemented by a PC upper computer or a dedicated testing tool, and when the vehicle testing device establishes a socket connection with the core a server, the vehicle testing device sends a test request message to the core a server, and calls a target interface corresponding to the request message through a vehicle network system, so that the vehicle ECU or the testing device to be tested generates an instruction based on the request message, and generates a test response message based on the instruction. The sent test request message can simultaneously call a plurality of interfaces so as to simultaneously complete the test work of a plurality of services, and a test scheme with richer internal logic can be set based on different scenes of the vehicle.
It should be noted that, in SOME vehicles, original data is encapsulated by the M core, and the a core performs packet encapsulation and issuance by using its SOME/IP protocol stack, so that the influence of insufficient computation power of the M core can be eliminated, and the advantages of small product of the M core, simplicity and easy operation can be exerted. Meanwhile, the core A has strong calculation power, so that services are added in the subsequent process of the product, the product is not influenced by the calculation resources of the core M, and the iteration and the expansion can be flexibly realized.
S120, receiving the test response message;
illustratively, the test device receives the response message and stores the response message in a memory of the test device, where the test response message includes the target port information and the response data collected by each target port.
And S130, acquiring the detection result of the target vehicle based on the test response message and the test request message.
For example, the obtaining of the detection result may be generating the detection result based on the complete test response message and the complete test request message after the whole test process is finished, or displaying the deviation between the measurement result and the expected result in real time in the detection process, so that the engineer can find the test problem in time.
In summary, the vehicle detection method based on the SOA service provided by the embodiment of the present application establishes a socket connection with the a-core processor through the test device, directly sends a scene-like test request message to the a-core processor, and obtains a detection result of the target vehicle based on the test response message obtained by the target port.
In some examples, the method further comprises:
and sending a request connection message to the core server A to establish the socket connection with the core server A, wherein the request connection message comprises configuration information, an IP address, a transmission protocol and a port number of the core server A.
Illustratively, before a socket connection is opened, two steps of socket and Bind are required to be completed. Socket is to create a new Socket and Bind specifies the IP and port of the Socket (the client will be assigned a port by the system when invoking Connect, so Bind can be omitted). And the server side starts monitoring through Listen and waits for the access of the client side. The client is connected with the server through the Connect, and the server receives the client connection through the Accept. During the connect-accept process, the operating system will perform a three-way handshake. The client and the server send and receive data through write and read, and the operating system completes the steps of confirming, retransmitting and the like of the TCP data. When the test equipment is connected with the vehicle end, information such as configuration information, an IP address, a transmission protocol, a port number and the like of the A-core server needs to be determined so as to ensure correct connection and avoid errors before testing.
In summary, according to the vehicle detection method based on the SOA service provided in the embodiment of the present application, the configuration information, the IP address, the transport protocol, and the port number of the core a server are set correctly in the request connection message, so that the socket connection can be established with the core a server quickly, and the vehicle detection based on the core a server is realized.
In some examples, the method further comprises:
before sending the request message to the A core server, connection is established with the test development board based on the Ethernet.
Illustratively, the connection between the PC and the in-vehicle system is realized by connecting the PC and a DUT (Device Under Test) through an ethernet converter, where the DUT, i.e., the Device Under Test, may be an in-vehicle ECU
In some examples, the test request message includes a target interface name, test parameters, and a service ID.
Illustratively, to call a correct interface and ID, a corresponding target interface name and service ID need to be determined for a function implemented by the request message, so as to call the correct target interface and target service, meanwhile, a specific test parameter is set based on a test item, a device under test or an ECU generates a response parameter based on the test parameter, generates a response message, and can determine a state of a corresponding device under test based on the test parameter in the request message and the response parameter in the response message.
In some examples, the method further comprises:
the target interface name and the service ID are determined based on the interface document information.
Illustratively, the interface document information is a corresponding relation between a target interface name and a service ID determined in the vehicle development process, and the function can be called smoothly only by the interface name and the service ID with determined accuracy.
In summary, the vehicle detection method based on the SOA service provided by the embodiment of the present application can accurately invoke a target interface and a service based on interface document information, ensure the correctness of invocation, and avoid a test process failure caused by an interface invocation and a service error.
In some examples, the method further comprises:
directly accessing the SOME IP protocol content of the network layer to complete the network layer test, wherein the network layer test comprises at least one of a SOME IP/SD message parameter test, a SOME IP/SD sending mode test and a routing test.
For example, SOME network layer tests cannot be performed by sending test packets with an a-core processor, for example, a SOME IP/SD message parameter test, a sending mode test, a routing test, and the like, and at this time, the contents of the SOME IP protocol of the network layer need to be directly accessed to complete the network layer tests. SD (Service Discovery) belongs to a very core content in the SOME/IP protocol, and mainly provides functions of detecting and providing available services. The advantages of SD are as follows: when the vehicle is electrified and started, the starting voltage and the starting time of each ECU in the vehicle are different, and the ECU can flexibly declare the available state of the Service through the SD; when the vehicle is deformed (different configurations of the same type of vehicle or vehicle type follow-up), the change of functions/configurations can be flexibly adapted, and the configuration work in the early stage is reduced; and error processing, when the provided Service has a problem, the SD can immediately know the unavailable state of the Service, the receiver can correspondingly process the energy efficiency, and the receiver can provide/subscribe the Service when necessary, so that the capacity consumption is reduced. SD communication mainly involves type 3 messages: a Find Service, an Offer Service and a Subscribe message.
In summary, the vehicle detection method based on the SOA service provided in the embodiment of the present application completes the network layer test by directly accessing the content of the SOME IP protocol in the network layer for the content that cannot be tested by the a-core processor in the network layer, thereby ensuring the comprehensiveness of the vehicle test.
In SOME examples, the SOME IP protocol contents of the direct access network layer include:
the SOME IP protocol content of the network layer is directly accessed through the CANoe tool.
Illustratively, a CANoe is a comprehensive software tool that can be used for the development, testing, and analysis of the entire ECU and the entire vehicle network. From vehicle planning to system level testing, assistance is provided for network designers, development engineers, and test engineers of automotive manufacturers and suppliers throughout the development process. The method can be used for automatic testing in the development and testing stages of network layer processing, can simulate and test the ECU diagnostic function in the vehicle, finds and modifies the error state in the early stage of the development process, and can evaluate the result based on graphs/texts. CANoe can analyze the multi-bus communication of the ECU and the entire system in a desktop development environment as in a vehicle. The diagnostic functionality accompanying CANoe supports diagnostic communication analysis based on the KWP2000 and UDS standards. CANoe can be used both as a diagnostic tester and for simulation of ECU diagnostic functions and parameterized using ODX or candelas description files. The simulation of the entire network and the remaining bus simulation are performed using CANoe, which may also be generated manually or automatically from a communications database. Simulating the communication operation of the entire network or individual ECUs as the remaining bus is the basis for the subsequent analysis phase and test phase.
In summary, the vehicle detection method based on the SOA service provided by the embodiment of the present application directly accesses the SOME IP protocol content of the network layer through the CANoe tool, and can implement the network layer test automation visualization operation.
In some examples, as shown in FIG. 2, vehicle testing may be accomplished by:
s210, connecting the PC and the DUT through the Ethernet converter to realize the connection of the PC and the vehicle machine system, wherein the DUT is the tested equipment and can be a vehicle machine ECU;
and S220, establishing socket connection on the PC end upper computer, and connecting the socket connection with the core A server. When the socket connection is established at the PC end, configuration information, an IP address and a transport protocol core port number of the A core server need to be contained, and the successful connection is ensured.
When the connection of the S230, the PC and the A core server socket is normal, the API interfaces of the public SOMEIP server and the client can be called, and the derived interfaces of each service can also be called. When the interface is called for interface test, the interface name and the service ID must strictly correspond to the interface document, and the service ID must strictly correspond to the server ID in the configuration file someip _ config.
Referring to fig. 3, an embodiment of the vehicle detection control apparatus based on the SOA service in the embodiment of the present application may include:
a sending unit 21, configured to send a test request message to an a-core server of a target vehicle to enable a target interface to feed back a test response message when a socket connection is established with the a-core server;
a receiving unit 22, configured to receive the test response message;
and the detection unit 23 is configured to obtain a detection result of the target vehicle based on the test response message and the test request message.
In summary, the vehicle detection method based on the SOA service provided in the embodiment of the present application establishes socket connection with the a-core processor through the test device, directly sends a scenic test request message to the a-core processor, and obtains a detection result of a target vehicle based on a test response message obtained by a target port.
As shown in fig. 4, the embodiment of the present application further provides an electronic device 300, which includes a memory 310, a processor 320, and a computer program 311 stored in the memory 320 and executable on the processor, and when the processor 320 executes the computer program 311, the steps of any one of the methods for detecting a vehicle based on an SOA service are implemented.
Since the electronic device described in this embodiment is a device used for implementing an SOA service-based vehicle detection control apparatus in this embodiment, based on the method described in this embodiment, a person skilled in the art can understand a specific implementation manner of the electronic device of this embodiment and various modifications thereof, so that how to implement the method in this embodiment by the electronic device is not described in detail herein, and as long as the person skilled in the art implements the device used for implementing the method in this embodiment, the scope of protection intended by this application falls.
In a specific implementation process, when executed by the processor, the computer program 311 may implement any implementation manner in the embodiment corresponding to fig. 1, which specifically includes:
under the condition that socket connection is established with a core server A of a target vehicle, sending a test request message to the core server A so that a target interface feeds back a test response message;
receiving the test response message;
and acquiring a detection result of the target vehicle based on the test response message and the test request message.
In some embodiments, the above method further comprises:
and sending a request connection message to the core server A to establish the socket connection with the core server A, wherein the request connection message comprises configuration information, an IP address, a transmission protocol and a port number of the core server A.
In some embodiments, the above method further comprises:
before sending the request message to the A core server, connection is established with the test development board based on the Ethernet.
In some embodiments, the test request message includes a target interface name, test parameters, and a service ID.
In some embodiments, the above method further comprises:
the target interface name and the service ID are determined based on the interface document information.
In some embodiments, the above method further comprises:
and directly accessing the SOME IP protocol content of the network layer to complete the network layer test, wherein the network layer test comprises at least one of a SOME IP/SD message parameter test, a sending mode test and a routing test.
In SOME embodiments, the SOME IP protocol contents of the direct access network layer include:
the SOME IP protocol content of the network layer is directly accessed through the CANoe tool.
In summary, the vehicle detection method based on the SOA service provided by the embodiment of the present application establishes a socket connection with the a-core processor through the test device, directly sends a scene-like test request message to the a-core processor, and obtains a detection result of the target vehicle based on the test response message obtained by the target port.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
An embodiment of the present application further provides a computer program product, where the computer program product includes computer software instructions, and when the computer software instructions run on a processing device, the processing device is caused to execute a flow of vehicle detection based on the SOA service in the corresponding embodiment in fig. 1, specifically, the flow may include:
under the condition that socket connection is established with a core server A of a target vehicle, sending a test request message to the core server A so that a target interface feeds back a test response message;
receiving the test response message;
and acquiring the detection result of the target vehicle based on the test response message and the test request message.
In some embodiments, the above method further comprises:
and sending a request connection message to the core server A to establish the socket connection with the core server A, wherein the request connection message comprises configuration information, an IP address, a transmission protocol and a port number of the core server A.
In some embodiments, the above method further comprises:
before sending the request message to the A core server, connection is established with the test development board based on the Ethernet.
In some embodiments, the test request message includes a target interface name, test parameters, and a service ID.
In some embodiments, the above method further comprises:
the target interface name and the service ID are determined based on the interface document information.
In some embodiments, the above method further comprises:
directly accessing the SOME IP protocol content of the network layer to complete the network layer test, wherein the network layer test comprises at least one of SOME IP/SD message parameter test, sending mode test and routing test.
In SOME embodiments, the SOME IP protocol content of the direct access network layer includes:
the SOME IP protocol content of the network layer is directly accessed through the CANoe tool.
In summary, the vehicle detection method based on the SOA service provided by the embodiment of the present application establishes a socket connection with the a-core processor through the test device, directly sends a scene-like test request message to the a-core processor, and obtains a detection result of the target vehicle based on the test response message obtained by the target port.
The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer-readable storage media can be any available media that a computer can store or a data storage device, such as a server, data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is only a logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present application.

Claims (10)

1. A vehicle detection method based on SOA service is characterized by comprising the following steps:
under the condition that socket connection is established with a core server A of a target vehicle, sending a test request message to the core server A so that a target interface feeds back a test response message;
receiving the test response message;
and acquiring the detection result of the target vehicle based on the test response message and the test request message.
2. The method of claim 1, further comprising:
and sending a connection request message to the core server A to establish the socket connection with the core server A, wherein the connection request message comprises configuration information, an IP address, a transmission protocol and a port number of the core server A.
3. The method of claim 2, further comprising:
and before sending the request message to the A core server, establishing connection with a test development board based on Ethernet.
4. The method of claim 1, wherein the test request message includes a target interface name, test parameters, and a service ID.
5. The method of claim 4, further comprising:
determining the target interface name and the service ID based on interface document information.
6. The method of claim 1, further comprising:
and directly accessing the SOMEIP protocol content of the network layer to complete the network layer test, wherein the network layer test comprises at least one of a SOME IP/SD message parameter test, a SOME IP/SD sending mode test and a routing test.
7. The method of claim 6, wherein the SOME IP protocol contents of the direct access network layer comprise:
the SOME IP protocol content of the network layer is directly accessed through the CANoe tool.
8. A vehicle detection control apparatus based on an SOA service, comprising:
the system comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a test request message to a core server A of a target vehicle under the condition that socket connection is established with the core server A so that a target interface feeds back a test response message;
a receiving unit, configured to receive the test response packet;
and the detection unit is used for acquiring the detection result of the target vehicle based on the test response message and the test request message.
9. An electronic device, comprising: memory and processor, characterized in that the processor is adapted to carry out the steps of the SOA service based vehicle detection method according to any of claims 1-7 when executing a computer program stored in the memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implements the SOA service based vehicle detection method as claimed in any one of claims 1-7.
CN202211050314.3A 2022-08-31 2022-08-31 Vehicle detection method based on SOA service and related equipment Pending CN115542875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211050314.3A CN115542875A (en) 2022-08-31 2022-08-31 Vehicle detection method based on SOA service and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211050314.3A CN115542875A (en) 2022-08-31 2022-08-31 Vehicle detection method based on SOA service and related equipment

Publications (1)

Publication Number Publication Date
CN115542875A true CN115542875A (en) 2022-12-30

Family

ID=84725171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211050314.3A Pending CN115542875A (en) 2022-08-31 2022-08-31 Vehicle detection method based on SOA service and related equipment

Country Status (1)

Country Link
CN (1) CN115542875A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117215958A (en) * 2023-10-11 2023-12-12 深圳市浩科智联科技有限公司 Vehicle-mounted application separation design software and test method thereof
CN117215958B (en) * 2023-10-11 2024-05-31 深圳市浩科智联科技有限公司 Vehicle-mounted application separation design software and test method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117215958A (en) * 2023-10-11 2023-12-12 深圳市浩科智联科技有限公司 Vehicle-mounted application separation design software and test method thereof
CN117215958B (en) * 2023-10-11 2024-05-31 深圳市浩科智联科技有限公司 Vehicle-mounted application separation design software and test method thereof

Similar Documents

Publication Publication Date Title
JP3212959B2 (en) Automatic communication protocol test system having message / sequence editing function and test method
WO2017000424A1 (en) Protocol detection method and apparatus
CN111371638B (en) Intelligent equipment testing method and device, server and storage medium
CN111897724B (en) Automatic testing method and device suitable for cloud platform
CN105787364B (en) Automatic testing method, device and system for tasks
CN108459850B (en) Method, device and system for generating test script
US11514731B2 (en) Method and system for remote vehicle diagnostics
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN113791605A (en) Test method, device, equipment and storage medium
CN113133041B (en) Method and device for testing vehicle-to-vehicle communication function in dynamic interval train control vehicle
CN116841874A (en) Test method and device for unified diagnosis service function, storage medium and electronic equipment
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN117041111A (en) Vehicle cloud function test method and device, electronic equipment and storage medium
CN115118577B (en) Remote upgrade abnormality cause determination method, device, electronic equipment and storage medium
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN114124727B (en) Network management communication pressure testing method and system
CN113032255A (en) Response noise recognition method, model, electronic device, and computer storage medium
CN110209142B (en) PLC module connection and detection method, device and detection equipment
CN111881021A (en) Interface test method, device and system
CN111225075A (en) Configuration method and device for Internet of things directional access service
CN116743990B (en) Video stream testing method and video stream testing processing method of embedded equipment
CN116224976B (en) Test method and device
Yu et al. Research on Automotive UDS Diagnostic Protocol Stack Test System
CN116820957A (en) Automatic vehicle signal testing method and device, electronic equipment and storage medium
CN115473832A (en) Vehicle networking terminal cloud communication testing method, device, server, client and system

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