WO2024093674A1 - Vehicle-to-cloud communication method and apparatus, storage medium, and vehicle-mounted communication device - Google Patents

Vehicle-to-cloud communication method and apparatus, storage medium, and vehicle-mounted communication device Download PDF

Info

Publication number
WO2024093674A1
WO2024093674A1 PCT/CN2023/125187 CN2023125187W WO2024093674A1 WO 2024093674 A1 WO2024093674 A1 WO 2024093674A1 CN 2023125187 W CN2023125187 W CN 2023125187W WO 2024093674 A1 WO2024093674 A1 WO 2024093674A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
interface
cloud
vehicle
definition language
Prior art date
Application number
PCT/CN2023/125187
Other languages
French (fr)
Chinese (zh)
Inventor
梁田峰
栗羽峰
张雅杰
王强
Original Assignee
长城汽车股份有限公司
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 长城汽车股份有限公司 filed Critical 长城汽车股份有限公司
Publication of WO2024093674A1 publication Critical patent/WO2024093674A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0273Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present application relates to the field of communication technology, and in particular to a vehicle-to-cloud communication method, device, storage medium and vehicle-mounted communication equipment.
  • vehicle-side services and cloud services each have their own set of standards, which are incompatible with each other, resulting in the inability to efficiently call cloud services on the vehicle side.
  • the embodiments of the present application provide a vehicle-cloud communication method, device, storage medium and vehicle-mounted communication device, which can efficiently call cloud services on the vehicle side.
  • the technical solution is as follows:
  • an embodiment of the present application provides a vehicle-cloud communication method, which is executed by a gateway provided in a vehicle, and the method includes:
  • obtaining a first-end service interface of the first end In response to a call request from the second end to a first-end service of the first end, obtaining a first-end service interface of the first end, where the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
  • the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
  • a second-end service corresponding to the first-end service is generated based on the second-end service interface, and the second-end service is called, wherein the first end is the cloud end and the second end is the vehicle end, or the first end is the vehicle end and the second end is the cloud end.
  • an embodiment of the present application provides a vehicle-cloud communication device, which is a gateway set in a vehicle, and the device includes:
  • an interface acquisition module configured to acquire a first-end service interface of the first end in response to a call request from the second end to a first-end service of the first end, wherein the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
  • an interface conversion module configured to convert the first-end service interface into a second-end service interface based on the first-end service interface and a preset interface correspondence relationship, wherein the preset interface correspondence relationship is a correspondence relationship between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
  • the first service calling module is used to generate a second-end service corresponding to the first-end service based on the second-end service interface, and call the second-end service, wherein the first end is the cloud and the second end is the vehicle, or the first end is the vehicle and the second end is the cloud.
  • an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the following steps:
  • obtaining a first-end service interface of the first end In response to a call request from the second end to a first-end service of the first end, obtaining a first-end service interface of the first end, where the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
  • the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
  • a second-end service corresponding to the first-end service is generated based on the second-end service interface, and the second-end service is called, wherein the first end is the cloud end and the second end is the vehicle end, or the first end is the vehicle end and the second end is the cloud end.
  • an embodiment of the present application provides a vehicle-mounted communication device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the following steps:
  • obtaining a first-end service interface of the first end In response to a call request from the second end to a first-end service of the first end, obtaining a first-end service interface of the first end, where the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
  • the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
  • a second-end service corresponding to the first-end service is generated based on the second-end service interface, and the second-end service is called, wherein the first end is the cloud end and the second end is the vehicle end, or the first end is the vehicle end and the second end is the cloud end.
  • FIG1 is a schematic diagram showing an application scenario of a vehicle-to-cloud communication method according to an embodiment of the present application
  • FIG2 is a schematic diagram showing a flow chart of a vehicle-cloud communication method according to an embodiment of the present application
  • FIG3 is a schematic diagram showing a flow chart of another vehicle-cloud communication method according to an embodiment of the present application.
  • FIG4 is a schematic diagram showing a flow chart of another vehicle-cloud communication method according to an embodiment of the present application.
  • FIG5 is a schematic diagram showing a process of the cloud calling a vehicle-side service according to an embodiment of the present application
  • FIG6 shows a schematic diagram of a process of calling a cloud service from a vehicle side according to an embodiment of the present application
  • FIG7 shows a schematic structural diagram of a vehicle-to-cloud communication device according to an embodiment of the present application.
  • FIG8 shows a schematic structural diagram of a vehicle-mounted communication device according to an embodiment of the present application.
  • Joynr is a web-based communication framework for applications and services deployed to vehicles, consumer devices, and cloud servers that need to interact with each other.
  • Joynr uses FIDL (Franca Interface description language, Franca interface definition language) to model interfaces to help prevent programming errors related to interface incompatibilities.
  • FIDL Freca Interface description language, Franca interface definition language
  • SOA Service-Oriented Architecture
  • CAN bus The data bus in traditional vehicle architecture can carry a large amount of data and is an ISO internationally standardized serial communication protocol.
  • LIN (Local Interconnect Network) bus A data bus in traditional vehicle architecture, used to implement distributed electronic system control in automobiles. It can carry a smaller amount of data and is mainly used to control some simple in-vehicle devices. It is an auxiliary bus network.
  • SOMEIP Scalable service-Oriented Middleware over IP protocol: is an automotive middleware solution for control messages that enables service-oriented communication between controllers.
  • SOMEIP provides a wide range of middleware functions such as serialization, remote procedure calls, service discovery and subscription to enable ECU (Electronic Control Unit) software to communicate with each other.
  • C2C (Car To Cloud) Gateway is a vehicle-to-cloud communication gateway that enables intercommunication between the vehicle and the cloud.
  • ARXML AUTOSAR eXtensible Markup Language
  • AUTOSAR AUTOmotive Open System Architecture
  • FIDL Freca Interface Definition Language
  • FIG1 shows a schematic diagram of an application scenario of a vehicle-to-cloud communication method according to an embodiment of the present application.
  • the application scenario includes a cloud 110 and a vehicle 120, and the vehicle 120 is provided with a C2C gateway 122.
  • the C2C gateway 122 is interconnected with the cloud 110 based on a communication framework such as the Joynr framework, obtains cloud data, converts the cloud data into SOA services of the vehicle 110, provides the vehicle 110 with services of the cloud 120, and converts the SOA services of the vehicle 110 into cloud services.
  • the cloud 110 may be a cloud server, such as a server cluster consisting of multiple servers, or a cloud server.
  • the vehicle end 110 may be a vehicle-mounted terminal (e.g., a vehicle-mounted controller) of a car, bus, truck, etc., which is not limited in the embodiments of the present application.
  • FIG2 shows a flow chart of a vehicle-to-cloud communication method according to an embodiment of the present application.
  • the execution subject of the vehicle-to-cloud communication method may be a computing device with computing and processing functions, such as a C2C gateway provided on the vehicle side.
  • the vehicle-to-cloud communication method includes S210 to S230.
  • the vehicle-to-cloud communication method according to an embodiment of the present application will be described below in conjunction with the accompanying drawings.
  • the C2C gateway in response to a call request from the second end to the first end service of the first end, obtains a first end service interface of the first end service, where the first end service interface is a service interface of the first end service in a first end interface definition language.
  • the first end is the cloud and the second end is the vehicle, or the first end is the vehicle and the second end is the cloud.
  • the first end service is a service that the first end can provide.
  • the first end service is a cloud service and the second end service is an SOA service.
  • the C2C gateway obtains the cloud service interface of the cloud service in the cloud interface definition language.
  • the cloud interface definition language is a FIDL file
  • the FIDL file supports the definition of three types of interfaces, including: method, broadcast, and attribute. Accordingly, the above steps are in response to the vehicle-side call request to the cloud service on the cloud side, and the C2C gateway obtains the interface information of the cloud service interface in the FIDL file of the cloud service.
  • the cloud service is a weather forecast service.
  • the C2C gateway obtains the cloud service interface of the weather forecast server in the cloud interface definition language.
  • the cloud service interface is a Broadcast interface.
  • the Broadcast interface is used to The vehicle side publishes the weather status.
  • the cloud service can also provide other types of services in the vehicle scenario, such as navigation service, music service, video service or rescue service, etc., which is not limited in the embodiment of the present application.
  • the C2C gateway converts the first-end service interface into a second-end service interface based on the first-end service interface and a preset interface correspondence relationship, wherein the preset interface correspondence relationship is a correspondence relationship between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language.
  • the C2C gateway converts the cloud service interface into a vehicle end service interface in the vehicle end interface definition language based on the cloud service interface and the preset interface correspondence.
  • the C2C gateway stores the preset interface correspondence, and the preset interface correspondence is the correspondence between the cloud interface in the cloud interface definition language and the vehicle-side interface in the vehicle-side interface definition language.
  • the cloud interface definition language is a FIDL file
  • the vehicle-side interface definition language is an ARXML file.
  • the FIDL file supports the definition of three types of interfaces: Method, Broadcast, and Attribute. These three interfaces correspond to three types of interfaces in ARXML: Method, Event, and Field. The corresponding relationship between the interfaces in ARXML and FIDL is shown in Table 1 below.
  • Method refers to a node sending a request for service to another node, and is mostly used by the client to send control commands to the server.
  • Method is divided into Request/Response communication and Fire&Forget communication;
  • Event is similar to CAN message, which is used to publish status.
  • Field is used to represent the status of a service. Control commands can be issued through Method, that is, Setter, and service status can be requested through Method, that is, Getter. Notifications can also be sent when the service status changes.
  • the C2C gateway determines the corresponding type of vehicle-side service interface from the vehicle-side interface definition language based on the interface type of the cloud service interface and the preset interface correspondence relationship, thereby converting the cloud service interface into a vehicle-side service interface.
  • the service interface is converted into the vehicle-side service interface of the corresponding type.
  • the cloud service is a weather forecast service
  • the interface type of the cloud service interface is a broadcast type.
  • the C2C gateway determines the corresponding type of vehicle-side service interface, namely, the Event interface, from the vehicle-side interface definition language.
  • the C2C gateway converts the cloud service interface of the Broadcast type into the corresponding type of Event interface, for example, converts the data type of the cloud service interface of the Broadcast type into the data type of the Event interface, and generates an interface instance of the corresponding vehicle-side service interface, such as an ARXML interface file, so that the data types of the cloud service interface and the vehicle-side service interface can be uniformly processed to avoid data conversion errors.
  • the C2C gateway In S230, the C2C gateway generates a second-end service corresponding to the first-end service based on the second-end service interface, and calls the second-end service.
  • the first end service is a cloud service and the second end service is an SOA service.
  • the C2C gateway generates an SOA service corresponding to the cloud service based on the vehicle end service interface and calls the SOA service.
  • SOA services are services deployed on the vehicle side, such as services provided by various vehicle-mounted software.
  • the C2C gateway obtains the parameter data of the cloud service interface corresponding to the cloud service. Based on the interface parameters of the vehicle-side service interface and the data type of the interface parameters, the C2C gateway obtains the corresponding data from the parameter data of the cloud service interface, generates the service data of the SOA service corresponding to the cloud service, such as the SOA service in ARXML format, and calls the service interface of the SOA service.
  • the parameter data of the cloud service interface includes the interface ID, interface parameters, and parameter types of the interface parameters.
  • the C2C gateway obtains data corresponding to the vehicle-side service interface from the parameter data of the cloud service interface, generates service data of the SOA service corresponding to the cloud service, that is, the SOA service in ARXML format, and calls the service interface of the SOA service.
  • the cloud service is a weather forecast service.
  • the C2C gateway obtains corresponding weather data, such as weather conditions and temperature, from the weather forecast service interface based on the vehicle-side service interface.
  • the C2C gateway generates a SOA service corresponding to the weather forecast service, namely, a SOA weather forecast service, based on the obtained weather data and the vehicle-side service interface.
  • the C2C gateway calls the weather forecast service interface.
  • the first-end service interface of the first-end service is converted to the second-end service interface, so that the first-end service interface and the second-end service interface can be converted to each other; on the other hand, based on the second-end service interface, a second-end service corresponding to the first-end service is generated and the second-end service is called.
  • the mutual conversion between the first-end service and the second-end service can efficiently call the second-end service, such as the cloud, at the first end, such as the vehicle end, so that the first end can call the second-end service just like calling the first-end service, thereby realizing seamless calling of the cloud service and the vehicle-end service.
  • FIG3 shows a flow chart of another vehicle-to-cloud communication method according to an embodiment of the present application.
  • the C2C gateway in S310 , in response to a call request from the cloud to the vehicle-side SOA service, the C2C gateway obtains the vehicle-side service interface of the SOA service in the vehicle-side interface definition language.
  • the first end is the vehicle end and the second end is the cloud end
  • the SOA service is a service deployed on the vehicle end, that is, a service provided by various vehicle-mounted software, such as a voice broadcast service, etc.
  • the vehicle end interface definition language is an ARXML file.
  • ARXML contains three types of interfaces: Method, Event, and Field.
  • the C2C gateway in response to the cloud's call request to the vehicle-side SOA service, obtains the vehicle-side service interface of the SOA service in ARXML.
  • the SOA service is a vehicle speed acquisition service.
  • the C2C gateway obtains the vehicle-side server interface of the vehicle speed acquisition service in ARXML, such as a Field interface, which is used to obtain the vehicle speed.
  • the C2C gateway converts the vehicle-side service interface into a cloud-side service interface in a cloud-side interface definition language based on the vehicle-side service interface and a preset interface correspondence relationship.
  • the C2C gateway stores the preset interface correspondence, which is the correspondence between the cloud interface in the cloud interface definition language and the vehicle-side interface in the vehicle-side interface definition language.
  • the cloud interface definition language is a FIDL file
  • the vehicle-side interface definition language is an ARXML file.
  • the FIDL file supports the definition of three types of interfaces: Method, Broadcast, and Attribute. These three interfaces correspond to three types of interfaces in ARXML: Method, Event, and Field.
  • the correspondence between the interfaces in ARXML and FIDL can be determined by Table 1 above.
  • the C2C gateway determines a cloud service interface of a corresponding type in a cloud interface definition language based on the interface type of the vehicle-side service interface and a preset interface correspondence, and generates an interface instance of the cloud service interface of the corresponding type, such as a FIDL interface instance file.
  • the SOA service is a vehicle speed acquisition service
  • the interface type of the vehicle-side service interface is a Field type.
  • the C2C gateway determines the corresponding type of cloud service interface in FIDL, namely the Attribute interface, based on the interface type of the vehicle-side service interface and the above-mentioned preset interface correspondence.
  • the C2C gateway generates an interface instance of the corresponding type of cloud server interface, for example, assigning the vehicle speed of the Field type vehicle speed acquisition service to the cloud server interface, namely the Attribute interface.
  • the C2C gateway In S330, the C2C gateway generates a cloud service corresponding to the SOA service based on the cloud service interface and calls the cloud service.
  • the cloud service is a service provided by the cloud, such as a weather service, an intelligent recommendation service, etc.
  • the C2C gateway stores a client of the SOA service.
  • the C2C gateway generates a cloud service corresponding to the SOA service through the cloud service interface and the client of the SOA service.
  • the C2C gateway calls the cloud service corresponding to the SOA service through the client of the SOA service. For example, the C2C gateway obtains the parameter data of the vehicle-side service interface corresponding to the SOA service.
  • the C2C gateway Based on the interface parameters of the cloud service interface and the data type of the interface parameters, the C2C gateway obtains the corresponding data from the parameter data of the vehicle-side service interface, generates the service data of the cloud service corresponding to the SOA service, and calls the service interface of the cloud service.
  • the SOA service is a vehicle speed acquisition service.
  • the C2C gateway acquires corresponding vehicle speed data, such as vehicle speed, from the vehicle speed acquisition service interface based on the cloud service interface.
  • the C2C gateway generates a cloud service corresponding to the vehicle speed acquisition service based on the acquired vehicle speed and the cloud service interface, such as a vehicle speed acquisition service interface in a FIDL file format, and calls the cloud service in the FIDL file format.
  • the vehicle-side service interface of the SOA service is converted into a cloud-side service interface, which can realize the mutual conversion between the vehicle-side service interface and the cloud-side service interface.
  • a cloud service corresponding to the SOA service is generated based on the cloud-side service interface, and the cloud service is called. Since the mutual conversion between the vehicle-side service and the cloud-side service is realized, the vehicle-side service can be efficiently called in the cloud, so that the in-vehicle SOA service can be called in the cloud just like calling a cloud service.
  • FIG4 shows a flow chart of another vehicle-cloud communication method according to an embodiment of the present application.
  • the C2C gateway 122 is set on the vehicle end 120, that is, it runs on the vehicle end 120.
  • the C2C gateway 122 realizes interconnection with the cloud 110 based on a communication framework such as the Joynr framework.
  • the C2C gateway 122 obtains cloud data, converts the cloud data into SOA services of the vehicle end 110, and provides the vehicle end 110 with services of the cloud 120.
  • the C2C gateway 122 can also convert the SOA services of the vehicle end 110 into cloud services.
  • the cloud end 110 uses the cloud service definition file FIDL
  • the vehicle end 120 uses the SOA service definition file ARXML.
  • a communication framework such as the Joynr framework
  • bidirectional conversion between the cloud service definition file FIDL and the SOA service definition file ARXML is implemented.
  • the C2C gateway 122 automatically generates conversion codes based on the files to convert FIDL files into ARXML files, or convert ARXML files into FIDL files.
  • the service definition files FIDL and ARXML are converted to each other through the C2C gateway, so that the cloud service and the vehicle-side service can be converted to each other, thereby enabling the cloud service to be
  • the end and the vehicle are seamlessly connected, and seamless calls support vehicle-side services and cloud services.
  • FIG5 shows a schematic diagram of a process of the cloud calling a vehicle-side service according to some embodiments of the present application.
  • the C2C gateway 122 generates a cloud FIDL file based on the ARXML content of the SOA service, that is, converting the ARXML file of the SOA service into a corresponding FIDL file based on the correspondence between the ARXML and FIDL files, that is, the cloud service file corresponding to the SOA service.
  • the C2C gateway 122 stores the cloud service files corresponding to the SOA client 124 and the SOA service for other cloud programs to call, and the SOA client 124 and the cloud service files can be connected through the C2C gateway 122.
  • the ARXML file of the SOA service is converted into the cloud service file corresponding to the SOA service according to the correspondence between the ARXML and FIDL files, and the cloud service file corresponding to the SOA service is saved by the C2C gateway, so that the cloud service and the vehicle-side service are seamlessly connected and called without feeling.
  • the existing vehicle-mounted SOA or cloud service can be quickly deployed without major modifications, which can more conveniently accelerate the deployment of vehicle-cloud interconnection.
  • FIG6 shows a schematic diagram of the process of the vehicle-side calling cloud services according to the present application.
  • the cloud service provides a FIDL file of the cloud service, and the FIDL file of the cloud service is converted into an ARXML file in the C2C gateway 122.
  • the cloud client 126 of the cloud service is stored in the C2C gateway 122, and the SOA service corresponding to the cloud service, that is, the ARXML file of the SOA service, is generated to provide the cloud service to other programs on the vehicle side.
  • the C2C gateway 122 serves as a gateway between the vehicle side 120 and the cloud side 110, and is responsible for converting the services of the cloud side 110/vehicle side 120 to each other.
  • the gateway stores a cloud client 126 on the cloud side, generates a vehicle-side SOA service corresponding to the cloud service through the vehicle-side service interface and the cloud client 126, and calls the SOA service corresponding to the cloud service through the cloud client.
  • the car-to-cloud gateway 122 based on the Joynr framework is responsible for converting cloud-side/car-side services to each other.
  • cloud services can be called just like calling in-car SOA services.
  • Unified service conversion is done in the C2C gateway to realize the interconnection of cloud-side and car-side services.
  • FIG7 shows a schematic structural diagram of a vehicle-to-cloud communication device according to an exemplary embodiment of the present application.
  • the vehicle-to-cloud communication device 700 can be implemented as all or part of the device through software, hardware, or a combination of both.
  • the vehicle-to-cloud communication device 700 belongs to a gateway set in the vehicle end.
  • the vehicle-to-cloud communication device 700 includes an interface acquisition module 710, an interface conversion module 720, and a service call module. Block 730.
  • the interface acquisition module 710 is used to obtain the first-end service interface of the first end in response to the second end's call request for the first-end service of the first end, where the first-end service interface is the service interface of the first-end service in the first-end interface definition language.
  • the interface conversion module 720 is used to convert the first-end service interface into a second-end service interface based on the first-end service interface and a preset interface correspondence relationship.
  • the preset interface correspondence relationship is the correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language.
  • the second-end service interface is a service interface in the second-end interface definition language.
  • the first service calling module 730 is used to generate a second-end service corresponding to the first-end service based on the second-end service interface, and call the second-end service, wherein the first end is the cloud and the second end is the vehicle, or the first end is the vehicle and the second end is the cloud.
  • the first end is the cloud end and the second end is the vehicle end
  • the interface conversion module 720 is used to determine the corresponding type of vehicle-end service interface from the vehicle-end interface definition language based on the interface type of the cloud service interface and the preset interface correspondence.
  • the first end is a cloud end and the second end is a vehicle end
  • the first end service is a cloud service
  • the second end service is an SOA service
  • the service calling module 730 is used to generate the vehicle end SOA service corresponding to the cloud service through the vehicle end service interface and the client of the first end, and call the SOA service corresponding to the cloud service through the client.
  • the first end is the vehicle end and the second end is the cloud end
  • the interface conversion module 720 is used to determine the corresponding type of cloud service interface from the cloud interface definition language based on the interface type of the vehicle end service interface and the preset interface correspondence.
  • the first end is a vehicle end and the second end is a cloud end
  • the first end service is an SOA service
  • the second end service is a cloud service
  • the service calling module 730 is used to generate a cloud service corresponding to the SOA service through the cloud service interface and the client of the SOA service.
  • the cloud service corresponding to the SOA service is called through the client of the SOA service.
  • the cloud-side interface definition language is Franca interface definition language FIDL
  • the vehicle-side interface definition language is automotive open system architecture extensible markup language ARXML.
  • the preset interface correspondence is stored in the gateway.
  • the first end service interface of the first end service is converted into the second end service interface
  • a second-end service corresponding to the first-end service is generated based on the second-end service interface
  • the second-end service is called. Since the mutual conversion between the first-end service and the second-end service is realized, the service of the second end, such as the cloud, can be efficiently called at the first end, such as the vehicle end, so that the service of the second end can be called at the first end just like the service of the first end, thereby realizing seamless calling of the cloud service and the vehicle-end service.
  • the vehicle-to-cloud communication device executes the vehicle-to-cloud communication method
  • only the division of the above functional modules is used as an example.
  • the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
  • These modules can be processors that can realize the above functions.
  • vehicle-cloud communication device and the vehicle-cloud communication method according to the above-mentioned embodiment belong to the same concept, and their implementation process is detailed in the method embodiment, which will not be repeated here.
  • An embodiment of the present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the vehicle-cloud communication method as described in the above embodiment.
  • the specific execution process can be found in the specific description of the above embodiment, and will not be repeated here.
  • An embodiment of the present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded by the processor and executed as the vehicle-cloud communication method in the above embodiment.
  • the specific execution process can be found in the specific description of the above embodiment, and will not be repeated here.
  • An embodiment of the present application also provides a chip, which is configured to execute the vehicle-cloud communication method as described in the above embodiment.
  • the specific execution process can be found in the specific description of the above embodiment, and will not be repeated here.
  • the vehicle-mounted communication device 800 may include: at least one processor 801, at least one communication module 804, an input and output interface 803, a memory 805, and at least one communication bus 802.
  • the communication bus 802 is used to realize the connection and communication between these components, and the communication bus 802 may be an Ethernet bus.
  • the input/output interface 803 may include a display screen (Display) and a camera (Camera), and the optional input/output interface 803 may also include a standard wired interface and a wireless interface.
  • the communication module 804 may optionally include a standard wired interface and a wireless interface (such as a WIFI interface).
  • the processor 801 may include one or more processing cores.
  • the processor 801 uses various interfaces and lines to connect various parts in the entire vehicle-mounted communication device 800, and executes various functions and processes data of the server 800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 805, and calling data stored in the memory 805.
  • the processor 801 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the processor 801 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a car-cloud communicator (Graphics Processing Unit, GPU) and a modem.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly processes the operating system, user interface and application programs
  • the GPU is responsible for rendering and drawing the content to be displayed on the display screen
  • the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 801, but implemented by a single chip.
  • the memory 805 may include a random access memory (RAM) or a read-only memory (ROM).
  • the memory 805 includes a non-transitory computer-readable storage medium.
  • the memory 805 can be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 805 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc.
  • the memory 805 may also be at least one storage device located away from the aforementioned processor 801. As shown in FIG. 8 , the memory 805 as a computer storage medium may include an operating system, a communication module, an input/output interface module, and a vehicle-to-cloud communication application.
  • the input/output interface 803 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 801 can be used to call the vehicle-to-cloud communication application stored in the memory 805, so that the processor 801 executes the steps in the vehicle-to-cloud communication method according to various embodiments of the present application.
  • the processor 801 can execute the steps shown in FIG2 : S210, in response to the second end's call request for the first end service of the first end, obtain the first end service of the first end service S220, based on the first-end service interface and a preset interface correspondence, convert the first-end service interface into a second-end service interface, the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language; S230, based on the second-end service interface, generate a second-end service corresponding to the first-end service, and call the second-end service.
  • the above is a schematic scheme of an in-vehicle communication device of an embodiment of the present application.
  • the in-vehicle communication device may be a C2C gateway, or may be other appropriate device central gateway, etc.
  • the technical scheme of the in-vehicle communication device and the technical scheme of the above-mentioned vehicle-to-cloud communication processing method belong to the same concept.
  • the technical scheme of the above-mentioned vehicle-to-cloud communication processing method please refer to the description of the technical scheme of the above-mentioned vehicle-to-cloud communication processing method.
  • the storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)

Abstract

A vehicle-to-cloud communication method and apparatus, a storage medium, and a vehicle-mounted communication device. The method comprises: in response to a call request of a second end for a first end service of a first end, acquiring a first end service interface of the first end, wherein the first end service interface is a service interface of the first end service in a first end interface definition language; converting the first end service interface into a second end service interface on the basis of the first end service interface and a preset interface correspondence, wherein the preset interface correspondence is a correspondence between a first end interface in the first end interface definition language and a second end interface in a second end interface definition language, and the second end service interface is a service interface in the second end interface definition language; and on the basis of the second end service interface, generating a second end service corresponding to the first end service, and calling the second end service, wherein the first end is a cloud end and the second end is a vehicle end, or the first end is a vehicle end and the second end is a cloud end.

Description

车云通信方法、装置、存储介质及车载通信设备Vehicle-to-cloud communication method, device, storage medium, and vehicle-mounted communication equipment
本申请要求于2022年11月1日提交的申请号为2022113529573、发明名称为“车云通信方法、装置、存储介质及车载通信设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese patent application No. 2022113529573 filed on November 1, 2022, with invention name “Vehicle-cloud communication method, device, storage medium and vehicle-mounted communication equipment”, the entire contents of which are incorporated by reference into this application.
技术领域Technical Field
本申请涉及通信技术领域,尤其涉及一种车云通信方法、装置、存储介质及车载通信设备。The present application relates to the field of communication technology, and in particular to a vehicle-to-cloud communication method, device, storage medium and vehicle-mounted communication equipment.
背景技术Background technique
随着车联网技术的发展,车载系统的功能也越来越丰富。如何在车端服务与云端服务进行互联互通成为了关注的焦点。With the development of Internet of Vehicles technology, the functions of vehicle systems are becoming more and more abundant. How to interconnect vehicle-side services with cloud services has become the focus of attention.
目前,车端服务和云端服务都各自有一套标准,车端服务和云端服务的标准互相之间不兼容,导致无法在车端高效地调用云端服务。At present, vehicle-side services and cloud services each have their own set of standards, which are incompatible with each other, resulting in the inability to efficiently call cloud services on the vehicle side.
发明内容Summary of the invention
本申请实施例提供了一种车云通信方法、装置、存储介质及车载通信设备,能够在车端高效地调用云端服务。技术方案如下:The embodiments of the present application provide a vehicle-cloud communication method, device, storage medium and vehicle-mounted communication device, which can efficiently call cloud services on the vehicle side. The technical solution is as follows:
第一方面,本申请实施例提供了一种车云通信方法,由车端内设置的网关执行,所述方法包括:In a first aspect, an embodiment of the present application provides a vehicle-cloud communication method, which is executed by a gateway provided in a vehicle, and the method includes:
响应于第二端对第一端的第一端服务的调用请求,获取所述第一端的第一端服务接口,所述第一端服务接口为所述第一端服务在第一端接口定义语言中的服务接口;In response to a call request from the second end to a first-end service of the first end, obtaining a first-end service interface of the first end, where the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
基于所述第一端服务接口以及预设接口对应关系,将所述第一端服务接口转换为第二端服务接口,所述预设接口对应关系为第一端接口定义语言中的第一端接口与第二端接口定义语言中的第二端接口之间的对应关系,所述第二端服务接口为在所述第二端接口定义语言中的服务接口; Based on the first-end service interface and a preset interface correspondence, converting the first-end service interface into a second-end service interface, wherein the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
基于所述第二端服务接口生成与所述第一端服务对应的第二端服务,调用所述第二端服务,其中,所述第一端为云端并且所述第二端为车端,或者所述第一端为车端并且所述第二端为云端。A second-end service corresponding to the first-end service is generated based on the second-end service interface, and the second-end service is called, wherein the first end is the cloud end and the second end is the vehicle end, or the first end is the vehicle end and the second end is the cloud end.
第二方面,本申请实施例提供了一种车云通信装置,属于车端内设置的网关,所述装置包括:In a second aspect, an embodiment of the present application provides a vehicle-cloud communication device, which is a gateway set in a vehicle, and the device includes:
接口获取模块,用于响应于第二端对第一端的第一端服务的调用请求,获取所述第一端的第一端服务接口,所述第一端服务接口为所述第一端服务在第一端接口定义语言中的服务接口;an interface acquisition module, configured to acquire a first-end service interface of the first end in response to a call request from the second end to a first-end service of the first end, wherein the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
接口转换模块,用于基于所述第一端服务接口以及预设接口对应关系,将所述第一端服务接口转换为第二端服务接口,所述预设接口对应关系为第一端接口定义语言中的第一端接口与第二端接口定义语言中的第二端接口之间的对应关系,所述第二端服务接口为在所述第二端接口定义语言中的服务接口;an interface conversion module, configured to convert the first-end service interface into a second-end service interface based on the first-end service interface and a preset interface correspondence relationship, wherein the preset interface correspondence relationship is a correspondence relationship between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
第一服务调用模块,用于基于所述第二端服务接口生成与所述第一端服务对应的第二端服务,调用所述第二端服务,其中,所述第一端为云端并且所述第二端为车端,或者所述第一端为车端并且所述第二端为云端。The first service calling module is used to generate a second-end service corresponding to the first-end service based on the second-end service interface, and call the second-end service, wherein the first end is the cloud and the second end is the vehicle, or the first end is the vehicle and the second end is the cloud.
第三方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行下述步骤:In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the following steps:
响应于第二端对第一端的第一端服务的调用请求,获取所述第一端的第一端服务接口,所述第一端服务接口为所述第一端服务在第一端接口定义语言中的服务接口;In response to a call request from the second end to a first-end service of the first end, obtaining a first-end service interface of the first end, where the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
基于所述第一端服务接口以及预设接口对应关系,将所述第一端服务接口转换为第二端服务接口,所述预设接口对应关系为第一端接口定义语言中的第一端接口与第二端接口定义语言中的第二端接口之间的对应关系,所述第二端服务接口为在所述第二端接口定义语言中的服务接口;Based on the first-end service interface and a preset interface correspondence, converting the first-end service interface into a second-end service interface, wherein the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
基于所述第二端服务接口生成与所述第一端服务对应的第二端服务,调用所述第二端服务,其中,所述第一端为云端并且所述第二端为车端,或者所述第一端为车端并且所述第二端为云端。A second-end service corresponding to the first-end service is generated based on the second-end service interface, and the second-end service is called, wherein the first end is the cloud end and the second end is the vehicle end, or the first end is the vehicle end and the second end is the cloud end.
第四方面,本申请实施例提供一种车载通信设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行下述步骤: In a fourth aspect, an embodiment of the present application provides a vehicle-mounted communication device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the following steps:
响应于第二端对第一端的第一端服务的调用请求,获取所述第一端的第一端服务接口,所述第一端服务接口为所述第一端服务在第一端接口定义语言中的服务接口;In response to a call request from the second end to a first-end service of the first end, obtaining a first-end service interface of the first end, where the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
基于所述第一端服务接口以及预设接口对应关系,将所述第一端服务接口转换为第二端服务接口,所述预设接口对应关系为第一端接口定义语言中的第一端接口与第二端接口定义语言中的第二端接口之间的对应关系,所述第二端服务接口为在所述第二端接口定义语言中的服务接口;Based on the first-end service interface and a preset interface correspondence, converting the first-end service interface into a second-end service interface, wherein the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
基于所述第二端服务接口生成与所述第一端服务对应的第二端服务,调用所述第二端服务,其中,所述第一端为云端并且所述第二端为车端,或者所述第一端为车端并且所述第二端为云端。A second-end service corresponding to the first-end service is generated based on the second-end service interface, and the second-end service is called, wherein the first end is the cloud end and the second end is the vehicle end, or the first end is the vehicle end and the second end is the cloud end.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1示出了根据本申请实施例的车云通信方法的应用场景的示意图;FIG1 is a schematic diagram showing an application scenario of a vehicle-to-cloud communication method according to an embodiment of the present application;
图2示出了根据本申请实施例的一种车云通信方法的流程示意图;FIG2 is a schematic diagram showing a flow chart of a vehicle-cloud communication method according to an embodiment of the present application;
图3示出了根据本申请实施例的另一种车云通信方法的流程示意图;FIG3 is a schematic diagram showing a flow chart of another vehicle-cloud communication method according to an embodiment of the present application;
图4示出了根据本申请实施例的又一种车云通信方法的流程示意图;FIG4 is a schematic diagram showing a flow chart of another vehicle-cloud communication method according to an embodiment of the present application;
图5示出了根据本申请实施例的云端调用车端服务的流程示意图;FIG5 is a schematic diagram showing a process of the cloud calling a vehicle-side service according to an embodiment of the present application;
图6示出了根据本申请实施例的车端调用云服务的流程示意图;FIG6 shows a schematic diagram of a process of calling a cloud service from a vehicle side according to an embodiment of the present application;
图7示出了根据本申请实施例的一种车云通信装置的结构示意图;FIG7 shows a schematic structural diagram of a vehicle-to-cloud communication device according to an embodiment of the present application;
图8示出了根据本申请实施例的一种车载通信设备的结构示意图。FIG8 shows a schematic structural diagram of a vehicle-mounted communication device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
首先,对本申请实施例中涉及的名词进行解释和说明。First, the nouns involved in the embodiments of the present application are explained and illustrated.
Joynr:是一个基于Web的通信框架,用于部署到需要相互交互的车辆、消费设备和云端服务器的应用程序和服务。Joynr通过使用FIDL(Franca Interface  description language,Franca接口定义语言)建模接口来帮助防止与接口不兼容相关的编程错误。Joynr: is a web-based communication framework for applications and services deployed to vehicles, consumer devices, and cloud servers that need to interact with each other. Joynr uses FIDL (Franca Interface description language, Franca interface definition language) to model interfaces to help prevent programming errors related to interface incompatibilities.
SOA(Service-Oriented Architecture,面向服务架构):能够实现分布式系统软件模块间的解耦,通过软件升级可以更方便灵活地将服务实体部署在任意的域控制器上,服务之间只需通过简单、精确定义的接口就能够进行通讯。SOA (Service-Oriented Architecture): It can achieve decoupling between distributed system software modules. Through software upgrades, service entities can be deployed on any domain controller more conveniently and flexibly. Services can communicate with each other through simple and precisely defined interfaces.
CAN总线:传统车载架构中的数据总线,可以承载较大的数据量,是ISO国际标准化的串行通信协议。CAN bus: The data bus in traditional vehicle architecture can carry a large amount of data and is an ISO internationally standardized serial communication protocol.
LIN(Local Interconnect Network,局域互联网络)总线:传统车载架构中的数据总线,用于实现汽车中的分布式电子系统控制,可以承载较小的数据量,主要用于控制一些简单的车内设备,是一种辅助的总线网络。LIN (Local Interconnect Network) bus: A data bus in traditional vehicle architecture, used to implement distributed electronic system control in automobiles. It can carry a smaller amount of data and is mainly used to control some simple in-vehicle devices. It is an auxiliary bus network.
SOMEIP(Scalable service-Oriented MiddlewarE over IP,IP之上面向服务的可伸缩的中间件)协议:是用于控制消息的汽车中间件解决方案,可以在控制器之间实现面向服务的通信。SOMEIP提供了广泛的中间件功能,如序列化、远程过程调用、服务发现和订阅,以使ECU(Electronic Control Unit,电子控制单元)软件能够相互通信。SOMEIP (Scalable service-Oriented Middleware over IP) protocol: is an automotive middleware solution for control messages that enables service-oriented communication between controllers. SOMEIP provides a wide range of middleware functions such as serialization, remote procedure calls, service discovery and subscription to enable ECU (Electronic Control Unit) software to communicate with each other.
C2C(Car To Cloud,车对云)网关:是一种车云通讯网关,实现车端和云端的互通。C2C (Car To Cloud) Gateway: is a vehicle-to-cloud communication gateway that enables intercommunication between the vehicle and the cloud.
ARXML(AUTOSAR eXtensible Markup Language,AUTOSAR可扩展标记语言):该标准介绍了如何将AUTOSAR模型序列化为AUTOSAR XML描述的规则,为AUTOSAR工具之间的互操作性提供支持。ARXML (AUTOSAR eXtensible Markup Language): This standard introduces the rules for serializing AUTOSAR models into AUTOSAR XML descriptions, providing support for interoperability between AUTOSAR tools.
AUTOSAR(AUTOmotive Open System Architecture,汽车开放系统架构):是一家致力于制定汽车电子软件标准的联盟,致力于为汽车工业开发一个开放的、标准化的软件架构。AUTOSAR (AUTOmotive Open System Architecture) is an alliance dedicated to developing automotive electronic software standards and is committed to developing an open and standardized software architecture for the automotive industry.
FIDL(Franca Interface Definition Language,Franca接口定义语言):是一种用于规范接口描述的文本语言。FIDL (Franca Interface Definition Language): is a text language used to standardize interface descriptions.
由于相关技术中存在车端服务和云端服务的标准互相之间不兼容,导致无法在车端高效地调用云端服务问题,如何在车端高效地调用云端服务成为了亟待解决的技术难题。 Since the standards of vehicle-side services and cloud services in related technologies are incompatible with each other, cloud services cannot be efficiently called on the vehicle side. How to efficiently call cloud services on the vehicle side has become a technical problem that needs to be solved urgently.
下面,将结合附图对本申请实施例的车云通信方法的技术方案进行详细的说明。Below, the technical solution of the vehicle-to-cloud communication method of the embodiment of the present application will be described in detail with reference to the accompanying drawings.
图1示出了根据本申请实施例的车云通信方法的应用场景的示意图。FIG1 shows a schematic diagram of an application scenario of a vehicle-to-cloud communication method according to an embodiment of the present application.
参照图1所示,该应用场景包括云端110以及车端120,车端120设置有C2C网关122。其中,C2C网关122基于通信框架例如Joynr框架实现和云端110的互联,获得云端数据,将云端数据转换为车端110的SOA服务,对车端110提供云端120的服务,同时将车端110的SOA服务,转换为云服务。As shown in FIG1 , the application scenario includes a cloud 110 and a vehicle 120, and the vehicle 120 is provided with a C2C gateway 122. The C2C gateway 122 is interconnected with the cloud 110 based on a communication framework such as the Joynr framework, obtains cloud data, converts the cloud data into SOA services of the vehicle 110, provides the vehicle 110 with services of the cloud 120, and converts the SOA services of the vehicle 110 into cloud services.
需要说明的是,上述云端110可以为云端服务器,例如由多个服务器组成的服务器集群,或者是云服务器。车端110可以为小轿车、客车或货车等车辆的车载终端(例如,车载控制器),本申请实施例中对此不作限定。It should be noted that the cloud 110 may be a cloud server, such as a server cluster consisting of multiple servers, or a cloud server. The vehicle end 110 may be a vehicle-mounted terminal (e.g., a vehicle-mounted controller) of a car, bus, truck, etc., which is not limited in the embodiments of the present application.
图2示出了根据本申请实施例的一种车云通信方法的流程示意图。该车云通信方法的执行主体可以是具有计算处理功能的计算设备,例如车端上设置的C2C网关。该车云通信方法包括S210至S230,下面将结合附图对根据本申请实施例的车云通信方法进行说明。FIG2 shows a flow chart of a vehicle-to-cloud communication method according to an embodiment of the present application. The execution subject of the vehicle-to-cloud communication method may be a computing device with computing and processing functions, such as a C2C gateway provided on the vehicle side. The vehicle-to-cloud communication method includes S210 to S230. The vehicle-to-cloud communication method according to an embodiment of the present application will be described below in conjunction with the accompanying drawings.
参照图2所示,在S210中,响应于第二端对第一端的第一端服务的调用请求,C2C网关获取第一端服务的第一端服务接口,该第一端服务接口为该第一端服务在第一端接口定义语言中的服务接口。2 , in S210 , in response to a call request from the second end to the first end service of the first end, the C2C gateway obtains a first end service interface of the first end service, where the first end service interface is a service interface of the first end service in a first end interface definition language.
其中,第一端为云端并且第二端为车端,或者第一端为车端并且第二端为云端。第一端服务为第一端能够提供的服务。The first end is the cloud and the second end is the vehicle, or the first end is the vehicle and the second end is the cloud. The first end service is a service that the first end can provide.
在一些实施例中,以第一端为云端并且第二端为车端为例,第一端服务为云服务,第二端服务为SOA服务。响应于车端对云端的云服务的调用请求,C2C网关获取云服务在云端接口定义语言中的云端服务接口。In some embodiments, taking the first end as the cloud and the second end as the vehicle end as an example, the first end service is a cloud service and the second end service is an SOA service. In response to the vehicle end's call request to the cloud service on the cloud, the C2C gateway obtains the cloud service interface of the cloud service in the cloud interface definition language.
在一些实施例中,云端接口定义语言为FIDL文件,FIDL文件支持定义三种类型的接口,包括:方法Method、广播Broadcast以及属性Attribute。相应的,上述步骤为响应于车端对云端的云服务的调用请求,C2C网关获取该云服务在FIDL文件中的云端服务接口的接口信息。In some embodiments, the cloud interface definition language is a FIDL file, and the FIDL file supports the definition of three types of interfaces, including: method, broadcast, and attribute. Accordingly, the above steps are in response to the vehicle-side call request to the cloud service on the cloud side, and the C2C gateway obtains the interface information of the cloud service interface in the FIDL file of the cloud service.
在一些实施例中,云服务为天气预报服务,响应于车端对云端的天气预报服务的调用请求,C2C网关获取该天气预报服务器在云端接口定义语言中的云端服务接口,例如该云端服务接口为Broadcast接口,该Broadcast接口用以向 车端发布天气状态。需要说明的是,云服务除了可以为上述天气预报服务之外,还可以为车辆场景下其他类型的服务,比如为导航服务、音乐服务、视频服务或者救援服务等,本申请实施例对此不做限定。In some embodiments, the cloud service is a weather forecast service. In response to a vehicle-side call request to the cloud weather forecast service, the C2C gateway obtains the cloud service interface of the weather forecast server in the cloud interface definition language. For example, the cloud service interface is a Broadcast interface. The Broadcast interface is used to The vehicle side publishes the weather status. It should be noted that, in addition to the above-mentioned weather forecast service, the cloud service can also provide other types of services in the vehicle scenario, such as navigation service, music service, video service or rescue service, etc., which is not limited in the embodiment of the present application.
在S220中,C2C网关基于该第一端服务接口以及预设接口对应关系,将该第一端服务接口转换为第二端服务接口,该预设接口对应关系为第一端接口定义语言中的第一端接口与第二端接口定义语言中的第二端接口之间的对应关系,该第二端服务接口为在该第二端接口定义语言中的服务接口。In S220, the C2C gateway converts the first-end service interface into a second-end service interface based on the first-end service interface and a preset interface correspondence relationship, wherein the preset interface correspondence relationship is a correspondence relationship between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language.
在一些实施例中,以第一端为云端并且第二端为车端为例,C2C网关基于云端服务接口以及预设接口对应关系,将云端服务接口转换为在车端接口定义语言中的车端服务接口。In some embodiments, taking the first end as the cloud and the second end as the vehicle end as an example, the C2C gateway converts the cloud service interface into a vehicle end service interface in the vehicle end interface definition language based on the cloud service interface and the preset interface correspondence.
其中,C2C网关存储有该预设接口对应关系,预设接口对应关系为云端接口定义语言中的云端接口与车端接口定义语言中的车端接口之间的对应关系。在一些实施例中,云端接口定义语言为FIDL文件,车端接口定义语言为ARXML文件。FIDL文件支持定义三种类型的接口:Method,Broadcast,Attribute,这三种接口分别对应了ARXML中三种类型的接口:Method,Event,Field。通过下表1来展示ARXML与FIDL中接口的对应关系。Among them, the C2C gateway stores the preset interface correspondence, and the preset interface correspondence is the correspondence between the cloud interface in the cloud interface definition language and the vehicle-side interface in the vehicle-side interface definition language. In some embodiments, the cloud interface definition language is a FIDL file, and the vehicle-side interface definition language is an ARXML file. The FIDL file supports the definition of three types of interfaces: Method, Broadcast, and Attribute. These three interfaces correspond to three types of interfaces in ARXML: Method, Event, and Field. The corresponding relationship between the interfaces in ARXML and FIDL is shown in Table 1 below.
表1.ARXML与FIDL中接口的对应关系
Table 1. Correspondence between ARXML and FIDL interfaces
其中,ARXML中三种类型的接口包含Method、Event和Field。Method即远程过程调用是指一个节点向另一个节点发送请求服务,多用于客户端向服务器发送控制命令。根据服务器是否有反馈,将Method分为请求Request/响应Response通信和发送后遗忘Fire&Forget通信;Event类似于CAN报文,用以发布状态。根据实际的应用场景,可以有不同的发送方式;Field用以表示某一服务的状态量,能够通过Method发布控制命令,即Setter,也可以通过Method去请求获取服务状态,即Getter。在服务状态发生改变时也可以发送通知。Among them, the three types of interfaces in ARXML include Method, Event and Field. Method, or remote procedure call, refers to a node sending a request for service to another node, and is mostly used by the client to send control commands to the server. Depending on whether the server has feedback, Method is divided into Request/Response communication and Fire&Forget communication; Event is similar to CAN message, which is used to publish status. According to the actual application scenario, there can be different sending methods; Field is used to represent the status of a service. Control commands can be issued through Method, that is, Setter, and service status can be requested through Method, that is, Getter. Notifications can also be sent when the service status changes.
在一些实施例中,C2C网关基于云端服务接口的接口类型以及预设接口对应关系,从车端接口定义语言中确定对应类型的车端服务接口,从而将云端服 务接口转换为该对应类型的车端服务接口。In some embodiments, the C2C gateway determines the corresponding type of vehicle-side service interface from the vehicle-side interface definition language based on the interface type of the cloud service interface and the preset interface correspondence relationship, thereby converting the cloud service interface into a vehicle-side service interface. The service interface is converted into the vehicle-side service interface of the corresponding type.
举例而言,云服务为天气预报服务,云端服务接口的接口类型为广播Broadcast类型。C2C网关基于云端服务接口的接口类型以及上述对应关系表(表1),从车端接口定义语言中确定对应类型的车端服务接口,即Event接口。C2C网关将Broadcast类型的云端服务接口转换成对应类型的Event接口,例如将Broadcast类型的云端服务接口的数据类型转换成Event接口的数据类型,生成对应的车端服务接口的接口实例,例如ARXML接口文件,从而能够将云端服务接口与车端服务接口的数据类型进行统一处理,避免出现数据转换错误。For example, the cloud service is a weather forecast service, and the interface type of the cloud service interface is a broadcast type. Based on the interface type of the cloud service interface and the above-mentioned correspondence table (Table 1), the C2C gateway determines the corresponding type of vehicle-side service interface, namely, the Event interface, from the vehicle-side interface definition language. The C2C gateway converts the cloud service interface of the Broadcast type into the corresponding type of Event interface, for example, converts the data type of the cloud service interface of the Broadcast type into the data type of the Event interface, and generates an interface instance of the corresponding vehicle-side service interface, such as an ARXML interface file, so that the data types of the cloud service interface and the vehicle-side service interface can be uniformly processed to avoid data conversion errors.
在S230中,C2C网关基于第二端服务接口生成与第一端服务对应的第二端服务,调用第二端服务。In S230, the C2C gateway generates a second-end service corresponding to the first-end service based on the second-end service interface, and calls the second-end service.
在一些实施例中,以第一端为云端并且第二端为车端为例,第一端服务为云服务,第二端服务为SOA服务。C2C网关基于车端服务接口生成与云服务对应的SOA服务,调用SOA服务。In some embodiments, taking the first end as the cloud and the second end as the vehicle end as an example, the first end service is a cloud service and the second end service is an SOA service. The C2C gateway generates an SOA service corresponding to the cloud service based on the vehicle end service interface and calls the SOA service.
其中,SOA服务为车端部署的服务,例如各种车载软件提供的服务。C2C网关获取云服务对应的云端服务接口的参数数据。C2C网关基于车端服务接口的接口参数以及接口参数的数据类型,从云端服务接口的参数数据中获取对应的数据,生成与云服务对应的SOA服务的服务数据,例如ARXML格式的SOA服务,调用该SOA服务的服务接口。Among them, SOA services are services deployed on the vehicle side, such as services provided by various vehicle-mounted software. The C2C gateway obtains the parameter data of the cloud service interface corresponding to the cloud service. Based on the interface parameters of the vehicle-side service interface and the data type of the interface parameters, the C2C gateway obtains the corresponding data from the parameter data of the cloud service interface, generates the service data of the SOA service corresponding to the cloud service, such as the SOA service in ARXML format, and calls the service interface of the SOA service.
例如,云端服务接口的参数数据包括接口ID、接口参数以及接口参数的参数类型。C2C网关从云端服务接口的参数数据中获取与车端服务接口对应的数据,生成与云服务对应的SOA服务的服务数据,即ARXML格式的SOA服务,调用该SOA服务的服务接口。For example, the parameter data of the cloud service interface includes the interface ID, interface parameters, and parameter types of the interface parameters. The C2C gateway obtains data corresponding to the vehicle-side service interface from the parameter data of the cloud service interface, generates service data of the SOA service corresponding to the cloud service, that is, the SOA service in ARXML format, and calls the service interface of the SOA service.
举例而言,云服务为天气预报服务,C2C网关基于车端服务接口从天气预报服务接口获取对应的天气数据,例如天气情况和温度。C2C网关基于获取的天气数据以及车端服务接口,生成与天气预报服务对应的SOA服务,即SOA天气预报服务。C2C网关调用该天气预报服务接口。For example, the cloud service is a weather forecast service. The C2C gateway obtains corresponding weather data, such as weather conditions and temperature, from the weather forecast service interface based on the vehicle-side service interface. The C2C gateway generates a SOA service corresponding to the weather forecast service, namely, a SOA weather forecast service, based on the obtained weather data and the vehicle-side service interface. The C2C gateway calls the weather forecast service interface.
通过根据本申请实施例的技术方案,一方面,基于第一端服务接口以及预设接口对应关系,将第一端服务的第一端服务接口转换为第二端服务接口,能够实现第一端服务接口与第二端服务接口的互相转换;另一方面,基于第二端服务接口生成与第一端服务对应的第二端服务,调用第二端服务。由于实现了 第一端服务与第二端服务的互相转换,能够在第一端例如车端高效地调用第二端例如云端的服务,从而能够实现在第一端像调用第一端服务一样调用第二端的服务,进而使云端服务和车端服务实现无感调用。According to the technical solution of the embodiment of the present application, on the one hand, based on the first-end service interface and the preset interface correspondence, the first-end service interface of the first-end service is converted to the second-end service interface, so that the first-end service interface and the second-end service interface can be converted to each other; on the other hand, based on the second-end service interface, a second-end service corresponding to the first-end service is generated and the second-end service is called. The mutual conversion between the first-end service and the second-end service can efficiently call the second-end service, such as the cloud, at the first end, such as the vehicle end, so that the first end can call the second-end service just like calling the first-end service, thereby realizing seamless calling of the cloud service and the vehicle-end service.
图3示出了根据本申请实施例的另一种车云通信方法的流程示意图。FIG3 shows a flow chart of another vehicle-to-cloud communication method according to an embodiment of the present application.
参照图3所示,在S310中,响应于云端对车端的SOA服务的调用请求,C2C网关获取SOA服务在车端接口定义语言中的车端服务接口。3 , in S310 , in response to a call request from the cloud to the vehicle-side SOA service, the C2C gateway obtains the vehicle-side service interface of the SOA service in the vehicle-side interface definition language.
在一些实施例中,第一端为车端并且第二端为云端,SOA服务为车端部署的服务,即各种车载软件提供的服务,例如语音播报服务等。车端接口定义语言为ARXML文件。ARXML中包含三种类型的接口:Method,Event,Field。In some embodiments, the first end is the vehicle end and the second end is the cloud end, and the SOA service is a service deployed on the vehicle end, that is, a service provided by various vehicle-mounted software, such as a voice broadcast service, etc. The vehicle end interface definition language is an ARXML file. ARXML contains three types of interfaces: Method, Event, and Field.
在一些实施例中,响应于云端对车端的SOA服务的调用请求,C2C网关获取SOA服务在ARXML中的车端服务接口。举例而言,SOA服务为车速获取服务,响应于云端对车端的车速获取服务的调用请求,C2C网关获取该车速获取服务在ARXML中的车端服务器接口例如Field接口,该Field接口用于获取车辆的车速。In some embodiments, in response to the cloud's call request to the vehicle-side SOA service, the C2C gateway obtains the vehicle-side service interface of the SOA service in ARXML. For example, the SOA service is a vehicle speed acquisition service. In response to the cloud's call request to the vehicle-side vehicle speed acquisition service, the C2C gateway obtains the vehicle-side server interface of the vehicle speed acquisition service in ARXML, such as a Field interface, which is used to obtain the vehicle speed.
在S320中,C2C网关基于车端服务接口以及预设接口对应关系,将车端服务接口转换为在云端接口定义语言中的云端服务接口。In S320 , the C2C gateway converts the vehicle-side service interface into a cloud-side service interface in a cloud-side interface definition language based on the vehicle-side service interface and a preset interface correspondence relationship.
在一些实施例中,C2C网关存储有该预设接口对应关系,预设接口对应关系为云端接口定义语言中的云端接口与车端接口定义语言中的车端接口之间的对应关系。其中,云端接口定义语言为FIDL文件,车端接口定义语言为ARXML文件。FIDL文件支持定义三种类型的接口:Method,Broadcast,Attribute,这三种接口对应了ARXML中三种类型的接口:Method,Event,Field。可以通过上表1来确定ARXML与FIDL中接口的对应关系。In some embodiments, the C2C gateway stores the preset interface correspondence, which is the correspondence between the cloud interface in the cloud interface definition language and the vehicle-side interface in the vehicle-side interface definition language. The cloud interface definition language is a FIDL file, and the vehicle-side interface definition language is an ARXML file. The FIDL file supports the definition of three types of interfaces: Method, Broadcast, and Attribute. These three interfaces correspond to three types of interfaces in ARXML: Method, Event, and Field. The correspondence between the interfaces in ARXML and FIDL can be determined by Table 1 above.
在一些实施例中,C2C网关基于车端服务接口的接口类型以及预设接口对应关系,确定云端接口定义语言中对应类型的云端服务接口。C2C网关生成对应类型的云端服务接口的接口实例,例如FIDL接口实例文件。In some embodiments, the C2C gateway determines a cloud service interface of a corresponding type in a cloud interface definition language based on the interface type of the vehicle-side service interface and a preset interface correspondence, and generates an interface instance of the cloud service interface of the corresponding type, such as a FIDL interface instance file.
举例而言,SOA服务为车速获取服务,车端服务接口的接口类型为Field类型,C2C网关基于车端服务接口的接口类型以及上述预设接口对应关系,确定FIDL中对应类型的云端服务接口即Attribute接口。C2C网关生成对应类型的云端服务器接口的接口实例,例如,将Field类型的车速获取服务的车速赋予云端服务器接口即Attribute接口。 For example, the SOA service is a vehicle speed acquisition service, and the interface type of the vehicle-side service interface is a Field type. The C2C gateway determines the corresponding type of cloud service interface in FIDL, namely the Attribute interface, based on the interface type of the vehicle-side service interface and the above-mentioned preset interface correspondence. The C2C gateway generates an interface instance of the corresponding type of cloud server interface, for example, assigning the vehicle speed of the Field type vehicle speed acquisition service to the cloud server interface, namely the Attribute interface.
在S330中,C2C网关基于云端服务接口生成与SOA服务对应的云服务,调用云服务。In S330, the C2C gateway generates a cloud service corresponding to the SOA service based on the cloud service interface and calls the cloud service.
在一些实施例中,云服务为云端提供的服务例如天气服务、智能推荐服务等,C2C网关存储有SOA服务的客户端。C2C网关通过云端服务接口以及SOA服务的客户端生成与SOA服务对应的云服务。C2C网关通过SOA服务的客户端调用SOA服务对应的云服务。例如,C2C网关获取SOA服务对应的车端服务接口的参数数据。C2C网关基于云端服务接口的接口参数以及接口参数的数据类型,从车端服务接口的参数数据中获取对应的数据,生成与SOA服务对应的云服务的服务数据,调用该云服务的服务接口。In some embodiments, the cloud service is a service provided by the cloud, such as a weather service, an intelligent recommendation service, etc., and the C2C gateway stores a client of the SOA service. The C2C gateway generates a cloud service corresponding to the SOA service through the cloud service interface and the client of the SOA service. The C2C gateway calls the cloud service corresponding to the SOA service through the client of the SOA service. For example, the C2C gateway obtains the parameter data of the vehicle-side service interface corresponding to the SOA service. Based on the interface parameters of the cloud service interface and the data type of the interface parameters, the C2C gateway obtains the corresponding data from the parameter data of the vehicle-side service interface, generates the service data of the cloud service corresponding to the SOA service, and calls the service interface of the cloud service.
举例而言,SOA服务为车速获取服务,C2C网关基于云端服务接口从该车速获取服务接口获取对应的车速数据例如车速。C2C网关基于获取的车速以及云端服务接口生成与该车速获取服务对应的云服务,例如FIDL文件格式的车速获取服务接口,调用该FIDL文件格式的云服务。For example, the SOA service is a vehicle speed acquisition service. The C2C gateway acquires corresponding vehicle speed data, such as vehicle speed, from the vehicle speed acquisition service interface based on the cloud service interface. The C2C gateway generates a cloud service corresponding to the vehicle speed acquisition service based on the acquired vehicle speed and the cloud service interface, such as a vehicle speed acquisition service interface in a FIDL file format, and calls the cloud service in the FIDL file format.
通过根据本申请实施例的技术方案,一方面,基于车端服务接口以及预设接口对应关系,将SOA服务的车端服务接口转换为云端服务接口,能够实现车端服务接口与云端服务接口的互相转换。另一方面,基于云端服务接口生成与SOA服务对应的云服务,调用该云服务,由于实现了车端服务与云端服务的互相转换,从而能够在云端高效地调用车端服务,从而能够实现在云端像调用云端服务一样调用车内SOA服务。According to the technical solution of the embodiment of the present application, on the one hand, based on the vehicle-side service interface and the preset interface correspondence, the vehicle-side service interface of the SOA service is converted into a cloud-side service interface, which can realize the mutual conversion between the vehicle-side service interface and the cloud-side service interface. On the other hand, a cloud service corresponding to the SOA service is generated based on the cloud-side service interface, and the cloud service is called. Since the mutual conversion between the vehicle-side service and the cloud-side service is realized, the vehicle-side service can be efficiently called in the cloud, so that the in-vehicle SOA service can be called in the cloud just like calling a cloud service.
图4示出了根据本申请实施例的又一种的车云通信方法的流程示意图。FIG4 shows a flow chart of another vehicle-cloud communication method according to an embodiment of the present application.
C2C网关122设置在车端120上,也即是运行在车端120上。C2C网关122基于通信框架例如Joynr框架实现和云端110的互联。C2C网关122获得云端数据,将云端数据转换为车端110的SOA服务,为车端110提供云端120的服务。同时,C2C网关122也能够将车端110的SOA服务,转换为云端服务。The C2C gateway 122 is set on the vehicle end 120, that is, it runs on the vehicle end 120. The C2C gateway 122 realizes interconnection with the cloud 110 based on a communication framework such as the Joynr framework. The C2C gateway 122 obtains cloud data, converts the cloud data into SOA services of the vehicle end 110, and provides the vehicle end 110 with services of the cloud 120. At the same time, the C2C gateway 122 can also convert the SOA services of the vehicle end 110 into cloud services.
云端110采用云服务定义文件FIDL,车端120采用SOA服务定义文件ARXML,经过通信框架例如Joynr框架,实现云服务定义文件FIDL和SOA服务定义文件ARXML双向转换,C2C网关122根据文件自动生成转换代码,将FIDL文件转换成ARXML文件,或者将ARXML文件转换成FIDL文件。The cloud end 110 uses the cloud service definition file FIDL, and the vehicle end 120 uses the SOA service definition file ARXML. Through a communication framework such as the Joynr framework, bidirectional conversion between the cloud service definition file FIDL and the SOA service definition file ARXML is implemented. The C2C gateway 122 automatically generates conversion codes based on the files to convert FIDL files into ARXML files, or convert ARXML files into FIDL files.
根据上述示例实施例中的技术方案,通过C2C网关对服务定义文件FIDL和ARXML进行互相转换,使得云端服务和车端服务能够互相转换,进而使云 端和车端无缝连接,无感调用支持车端服务和云端服务。According to the technical solution in the above exemplary embodiment, the service definition files FIDL and ARXML are converted to each other through the C2C gateway, so that the cloud service and the vehicle-side service can be converted to each other, thereby enabling the cloud service to be The end and the vehicle are seamlessly connected, and seamless calls support vehicle-side services and cloud services.
图5示出了根据本申请的一些实施例的云端调用车端服务的流程示意图。FIG5 shows a schematic diagram of a process of the cloud calling a vehicle-side service according to some embodiments of the present application.
参照图5所示,C2C网关122根据SOA服务的ARXML内容,生成云端FIDL文件,即将SOA服务的ARXML文件根据ARXML和FIDL文件的对应关系转换成对应的FIDL文件,即SOA服务对应的云服务文件。C2C网关122保存有SOA客户端124和SOA服务对应的云服务文件,以供其他云端程序调用,通过C2C网关122能够对接SOA客户端124和云服务文件。5, the C2C gateway 122 generates a cloud FIDL file based on the ARXML content of the SOA service, that is, converting the ARXML file of the SOA service into a corresponding FIDL file based on the correspondence between the ARXML and FIDL files, that is, the cloud service file corresponding to the SOA service. The C2C gateway 122 stores the cloud service files corresponding to the SOA client 124 and the SOA service for other cloud programs to call, and the SOA client 124 and the cloud service files can be connected through the C2C gateway 122.
通过根据本申请实施例的技术方案,根据ARXML和FIDL文件的对应关系,将SOA服务的ARXML文件转换成SOA服务对应的云服务文件,通过C2C网关保存的SOA服务对应的云服务文件,实现了云端服务和车端服务无缝连接和无感调用。并且,对既有车载SOA或者云端服务无需进行大的修改,就能够快捷地进行部署,可以更方便的加快车云互联的部署。According to the technical solution of the embodiment of the present application, the ARXML file of the SOA service is converted into the cloud service file corresponding to the SOA service according to the correspondence between the ARXML and FIDL files, and the cloud service file corresponding to the SOA service is saved by the C2C gateway, so that the cloud service and the vehicle-side service are seamlessly connected and called without feeling. In addition, the existing vehicle-mounted SOA or cloud service can be quickly deployed without major modifications, which can more conveniently accelerate the deployment of vehicle-cloud interconnection.
图6示出了根据本申请的车端调用云端服务的流程示意图。FIG6 shows a schematic diagram of the process of the vehicle-side calling cloud services according to the present application.
参照图6所示,云端服务提供云服务的FIDL文件,在C2C网关122中将云服务的FIDL文件转换为ARXML文件,C2C网关122中保存云服务的云客户端126,并且生成云服务对应的SOA服务即SOA服务的ARXML文件,向车端其他程序提供云端服务。C2C网关122作为车端120和云端110之间的网关,负责将云端110/车端120的服务互相转换。6, the cloud service provides a FIDL file of the cloud service, and the FIDL file of the cloud service is converted into an ARXML file in the C2C gateway 122. The cloud client 126 of the cloud service is stored in the C2C gateway 122, and the SOA service corresponding to the cloud service, that is, the ARXML file of the SOA service, is generated to provide the cloud service to other programs on the vehicle side. The C2C gateway 122 serves as a gateway between the vehicle side 120 and the cloud side 110, and is responsible for converting the services of the cloud side 110/vehicle side 120 to each other.
进一步地,在示例实施例中,网关存储有云端的云客户端126,通过车端服务接口以及云客户端126生成车端的与云服务对应的SOA服务;通过云端的客户端调用与云服务对应的SOA服务。Furthermore, in the example embodiment, the gateway stores a cloud client 126 on the cloud side, generates a vehicle-side SOA service corresponding to the cloud service through the vehicle-side service interface and the cloud client 126, and calls the SOA service corresponding to the cloud service through the cloud client.
根据上述示例实施例中的技术方案,基于Joynr框架的车云网关122,负责将云端/车端服务互相转换。在车内,可以像调用车内SOA服务调用云端服务。在C2C网关做了统一服务转换,实现云端车端服务互联。According to the technical solution in the above example embodiment, the car-to-cloud gateway 122 based on the Joynr framework is responsible for converting cloud-side/car-side services to each other. In the car, cloud services can be called just like calling in-car SOA services. Unified service conversion is done in the C2C gateway to realize the interconnection of cloud-side and car-side services.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
图7示出了根据本申请一个示例性实施例的车云通信装置的结构示意图。FIG7 shows a schematic structural diagram of a vehicle-to-cloud communication device according to an exemplary embodiment of the present application.
参照图7所示,该车云通信装置700可以通过软件、硬件或者两者的结合实现成为装置的全部或一部分,该车云通信装置700属于车端内设置的网关,该车云通信装置700包括接口获取模块710、接口转换模块720以及服务调用模 块730。As shown in FIG7 , the vehicle-to-cloud communication device 700 can be implemented as all or part of the device through software, hardware, or a combination of both. The vehicle-to-cloud communication device 700 belongs to a gateway set in the vehicle end. The vehicle-to-cloud communication device 700 includes an interface acquisition module 710, an interface conversion module 720, and a service call module. Block 730.
接口获取模块710,用于响应于第二端对第一端的第一端服务的调用请求,获取该第一端的第一端服务接口,该第一端服务接口为该第一端服务在第一端接口定义语言中的服务接口。The interface acquisition module 710 is used to obtain the first-end service interface of the first end in response to the second end's call request for the first-end service of the first end, where the first-end service interface is the service interface of the first-end service in the first-end interface definition language.
接口转换模块720,用于基于该第一端服务接口以及预设接口对应关系,将该第一端服务接口转换为第二端服务接口,该预设接口对应关系为第一端接口定义语言中的第一端接口与第二端接口定义语言中的第二端接口之间的对应关系,该第二端服务接口为在该第二端接口定义语言中的服务接口。The interface conversion module 720 is used to convert the first-end service interface into a second-end service interface based on the first-end service interface and a preset interface correspondence relationship. The preset interface correspondence relationship is the correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language. The second-end service interface is a service interface in the second-end interface definition language.
第一服务调用模块730,用于基于该第二端服务接口生成与该第一端服务对应的第二端服务,调用该第二端服务,其中,该第一端为云端并且该第二端为车端,或者该第一端为车端并且该第二端为云端。The first service calling module 730 is used to generate a second-end service corresponding to the first-end service based on the second-end service interface, and call the second-end service, wherein the first end is the cloud and the second end is the vehicle, or the first end is the vehicle and the second end is the cloud.
在一些实施例中,该第一端为云端并且该第二端为车端,该接口转换模块720用于基于云端服务接口的接口类型以及该预设接口对应关系,从车端接口定义语言中确定对应类型的车端服务接口。In some embodiments, the first end is the cloud end and the second end is the vehicle end, and the interface conversion module 720 is used to determine the corresponding type of vehicle-end service interface from the vehicle-end interface definition language based on the interface type of the cloud service interface and the preset interface correspondence.
在一些实施例中,该第一端为云端并且该第二端为车端,该第一端服务为云服务,该第二端服务为SOA服务,该服务调用模块730用于通过车端服务接口以及该第一端的客户端,生成与该云服务对应的该车端的该SOA服务。通过该客户端调用与该云服务对应的该SOA服务。In some embodiments, the first end is a cloud end and the second end is a vehicle end, the first end service is a cloud service, the second end service is an SOA service, and the service calling module 730 is used to generate the vehicle end SOA service corresponding to the cloud service through the vehicle end service interface and the client of the first end, and call the SOA service corresponding to the cloud service through the client.
在一些实施例中,该第一端为车端并且该第二端为云端,该接口转换模块720用于基于该车端服务接口的接口类型以及该预设接口对应关系,从云端接口定义语言中确定对应类型的云端服务接口。In some embodiments, the first end is the vehicle end and the second end is the cloud end, and the interface conversion module 720 is used to determine the corresponding type of cloud service interface from the cloud interface definition language based on the interface type of the vehicle end service interface and the preset interface correspondence.
在一些实施例中,该第一端为车端并且该第二端为云端,该第一端服务为SOA服务,该第二端服务为云服务,该服务调用模块730用于通过该云服务接口以及该SOA服务的客户端,生成与该SOA服务对应的云服务。通过该SOA服务的客户端调用与该SOA服务对应的云服务。In some embodiments, the first end is a vehicle end and the second end is a cloud end, the first end service is an SOA service, the second end service is a cloud service, and the service calling module 730 is used to generate a cloud service corresponding to the SOA service through the cloud service interface and the client of the SOA service. The cloud service corresponding to the SOA service is called through the client of the SOA service.
在一些实施例中,该云端接口定义语言为Franca接口定义语言FIDL,该车端接口定义语言为汽车开放系统架构可扩展标记语言ARXML。In some embodiments, the cloud-side interface definition language is Franca interface definition language FIDL, and the vehicle-side interface definition language is automotive open system architecture extensible markup language ARXML.
在一些实施例中,预设接口对应关系存储在该网关中。In some embodiments, the preset interface correspondence is stored in the gateway.
通过根据本申请实施例的技术方案,一方面,基于第一端服务接口以及预设接口对应关系,将第一端服务的第一端服务接口转换为第二端服务接口,能 够实现第一端服务接口与第二端服务接口的互相转换;另一方面,基于第二端服务接口生成与第一端服务对应的第二端服务,调用第二端服务,由于实现了第一端服务与第二端服务的互相转换,能够在第一端例如车端高效地调用第二端例如云端的服务,从而能够实现在第一端像调用第一端服务一样调用第二端的服务,进而使云端服务和车端服务实现无感调用。According to the technical solution of the embodiment of the present application, on the one hand, based on the first end service interface and the preset interface correspondence relationship, the first end service interface of the first end service is converted into the second end service interface, On the other hand, a second-end service corresponding to the first-end service is generated based on the second-end service interface, and the second-end service is called. Since the mutual conversion between the first-end service and the second-end service is realized, the service of the second end, such as the cloud, can be efficiently called at the first end, such as the vehicle end, so that the service of the second end can be called at the first end just like the service of the first end, thereby realizing seamless calling of the cloud service and the vehicle-end service.
需要说明的是,根据上述实施例的车云通信装置在执行车云通信方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。这些模块可以是能够实现上述功能的处理器。It should be noted that, when the vehicle-to-cloud communication device according to the above embodiment executes the vehicle-to-cloud communication method, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. These modules can be processors that can realize the above functions.
另外,根据上述实施例的车云通信装置与车云通信方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。In addition, the vehicle-cloud communication device and the vehicle-cloud communication method according to the above-mentioned embodiment belong to the same concept, and their implementation process is detailed in the method embodiment, which will not be repeated here.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述实施例的所述车云通信方法,具体执行过程可以参见上述实施例的具体说明,在此不进行赘述。An embodiment of the present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the vehicle-cloud communication method as described in the above embodiment. The specific execution process can be found in the specific description of the above embodiment, and will not be repeated here.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行如上述实施例的所述车云通信方法,具体执行过程可以参见上述实施例的具体说明,在此不进行赘述。An embodiment of the present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded by the processor and executed as the vehicle-cloud communication method in the above embodiment. The specific execution process can be found in the specific description of the above embodiment, and will not be repeated here.
本申请实施例还提供一种芯片,该芯片被配置成执行如上述实施例的所述车云通信方法,具体执行过程可以参见上述实施例的具体说明,在此不进行赘述。An embodiment of the present application also provides a chip, which is configured to execute the vehicle-cloud communication method as described in the above embodiment. The specific execution process can be found in the specific description of the above embodiment, and will not be repeated here.
此外,请参见图8,为根据本申请实施例的一种车载通信设备的结构示意图。如图8所示,所述车载通信设备800可以包括:至少一个处理器801,至少一个通信模块804,输入输出接口803,存储器805,至少一个通信总线802。In addition, please refer to Figure 8, which is a schematic diagram of the structure of a vehicle-mounted communication device according to an embodiment of the present application. As shown in Figure 8, the vehicle-mounted communication device 800 may include: at least one processor 801, at least one communication module 804, an input and output interface 803, a memory 805, and at least one communication bus 802.
其中,通信总线802用于实现这些组件之间的连接通信,通信总线802可以为以太网总线。The communication bus 802 is used to realize the connection and communication between these components, and the communication bus 802 may be an Ethernet bus.
其中,输入输出接口803可以包括显示屏(Display)、摄像头(Camera),可选输入输出接口803还可以包括标准的有线接口、无线接口。 The input/output interface 803 may include a display screen (Display) and a camera (Camera), and the optional input/output interface 803 may also include a standard wired interface and a wireless interface.
其中,通信模块804可选的可以包括标准的有线接口、无线接口(如WIFI接口)。The communication module 804 may optionally include a standard wired interface and a wireless interface (such as a WIFI interface).
其中,处理器801可以包括一个或者多个处理核心。处理器801利用各种接口和线路连接整个车载通信设备800内的各个部分,通过运行或执行存储在存储器805内的指令、程序、代码集或指令集,以及调用存储在存储器805内的数据,执行服务器800的各种功能和处理数据。可选的,处理器801可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器801可集成中央处理器(Central Processing Unit,CPU)、车云通信器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器801中,单独通过一块芯片进行实现。Among them, the processor 801 may include one or more processing cores. The processor 801 uses various interfaces and lines to connect various parts in the entire vehicle-mounted communication device 800, and executes various functions and processes data of the server 800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 805, and calling data stored in the memory 805. Optionally, the processor 801 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 801 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a car-cloud communicator (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 801, but implemented by a single chip.
其中,存储器805可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器805包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器805可用于存储指令、程序、代码、代码集或指令集。存储器805可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器805可选的还可以是至少一个位于远离前述处理器801的存储装置。如图8所示,作为一种计算机存储介质的存储器805中可以包括操作系统、通信模块、输入输出接口模块以及车云通信应用程序。Among them, the memory 805 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 805 includes a non-transitory computer-readable storage medium. The memory 805 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 805 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 805 may also be at least one storage device located away from the aforementioned processor 801. As shown in FIG. 8 , the memory 805 as a computer storage medium may include an operating system, a communication module, an input/output interface module, and a vehicle-to-cloud communication application.
在图8所示的车载通信设备800中,输入输出接口803主要用于为用户提供输入的接口,获取用户输入的数据;而处理器801可以用于调用存储器805中存储的车云通信应用程序,使得处理器801执行根据本申请各种实施例的车云通信方法中的步骤。例如,处理器801可以执行如图2中所示的步骤:S210,响应于第二端对第一端的第一端服务的调用请求,获取第一端服务的第一端服 务接口,该第一端服务接口为该第一端服务在第一端接口定义语言中的服务接口;S220,基于该第一端服务接口以及预设接口对应关系,将该第一端服务接口转换为第二端服务接口,该预设接口对应关系为第一端接口定义语言中的第一端接口与第二端接口定义语言中的第二端接口之间的对应关系,该第二端服务接口为在该第二端接口定义语言中的服务接口;S230,基于第二端服务接口生成与第一端服务对应的第二端服务,调用第二端服务。In the vehicle-mounted communication device 800 shown in FIG8 , the input/output interface 803 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 801 can be used to call the vehicle-to-cloud communication application stored in the memory 805, so that the processor 801 executes the steps in the vehicle-to-cloud communication method according to various embodiments of the present application. For example, the processor 801 can execute the steps shown in FIG2 : S210, in response to the second end's call request for the first end service of the first end, obtain the first end service of the first end service S220, based on the first-end service interface and a preset interface correspondence, convert the first-end service interface into a second-end service interface, the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language; S230, based on the second-end service interface, generate a second-end service corresponding to the first-end service, and call the second-end service.
上述为本申请实施例的一种车载通信设备的示意性方案,该车载通信设备可以为C2C网关,也可以为其他适当的设备中央网关等。需要说明的是,该车载通信设备的技术方案与上述的车云通信处理方法的技术方案属于同一构思,车载通信设备的技术方案未详细描述的细节内容,均可以参见上述车云通信处理方法的技术方案的描述。The above is a schematic scheme of an in-vehicle communication device of an embodiment of the present application. The in-vehicle communication device may be a C2C gateway, or may be other appropriate device central gateway, etc. It should be noted that the technical scheme of the in-vehicle communication device and the technical scheme of the above-mentioned vehicle-to-cloud communication processing method belong to the same concept. For details not described in detail in the technical scheme of the in-vehicle communication device, please refer to the description of the technical scheme of the above-mentioned vehicle-to-cloud communication processing method.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请实施例所涵盖的范围。 The above disclosure is only the preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the embodiments of the present application.

Claims (10)

  1. 一种车云通信方法,由车端内设置的网关执行,所述方法包括:A vehicle-cloud communication method is performed by a gateway provided in a vehicle terminal, the method comprising:
    响应于第二端对第一端的第一端服务的调用请求,获取所述第一端的第一端服务接口,所述第一端服务接口为所述第一端服务在第一端接口定义语言中的服务接口;In response to a call request from the second end to a first-end service of the first end, obtaining a first-end service interface of the first end, where the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
    基于所述第一端服务接口以及预设接口对应关系,将所述第一端服务接口转换为第二端服务接口,所述预设接口对应关系为所述第一端接口定义语言中的第一端接口与所述第二端接口定义语言中的第二端接口之间的对应关系,所述第二端服务接口为在所述第二端接口定义语言中的服务接口;Based on the first-end service interface and a preset interface correspondence, converting the first-end service interface into a second-end service interface, wherein the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
    基于所述第二端服务接口生成与所述第一端服务对应的第二端服务,调用所述第二端服务,其中,所述第一端为云端并且所述第二端为车端,或者所述第一端为车端并且所述第二端为云端。A second-end service corresponding to the first-end service is generated based on the second-end service interface, and the second-end service is called, wherein the first end is the cloud end and the second end is the vehicle end, or the first end is the vehicle end and the second end is the cloud end.
  2. 根据权利要求1所述的方法,其中,所述第一端为云端并且所述第二端为车端,所述基于所述第一端服务接口以及预设接口对应关系,将所述第一端服务接口转换为第二端服务接口,包括:The method according to claim 1, wherein the first end is a cloud end and the second end is a vehicle end, and converting the first end service interface into the second end service interface based on the first end service interface and a preset interface correspondence relationship comprises:
    基于云端服务接口的接口类型以及所述预设接口对应关系,从车端接口定义语言中确定对应类型的车端服务接口。Based on the interface type of the cloud service interface and the preset interface correspondence, a corresponding type of vehicle-side service interface is determined from the vehicle-side interface definition language.
  3. 根据权利要求1所述的方法,其中,所述第一端为云端并且所述第二端为车端,所述第一端服务为云服务,所述第二端服务为SOA服务,所述基于所述第二端服务接口生成与所述第一端服务对应的第二端服务,调用所述第二端服务,包括:The method according to claim 1, wherein the first end is a cloud end and the second end is a vehicle end, the first end service is a cloud service, the second end service is a SOA service, and the generating a second end service corresponding to the first end service based on the second end service interface and calling the second end service comprises:
    通过车端服务接口以及所述第一端的客户端,生成与所述云服务对应的所述车端的所述SOA服务;Generate the SOA service of the vehicle side corresponding to the cloud service through the vehicle side service interface and the client of the first side;
    通过所述客户端调用与所述云服务对应的所述SOA服务。The SOA service corresponding to the cloud service is called through the client.
  4. 根据权利要求1所述的方法,其中,所述第一端为车端并且所述第二端为云端,所述基于所述第一端服务接口以及预设接口对应关系,将所述第一端服 务接口转换为第二端服务接口,包括:The method according to claim 1, wherein the first end is a vehicle end and the second end is a cloud end, and the first end service interface is configured based on the corresponding relationship between the first end service interface and the preset interface. The service interface is converted into the second-end service interface, including:
    基于所述车端服务接口的接口类型以及所述预设接口对应关系,从云端接口定义语言中确定对应类型的云端服务接口。Based on the interface type of the vehicle-side service interface and the preset interface correspondence, a cloud service interface of a corresponding type is determined from a cloud interface definition language.
  5. 根据权利要求1所述的方法,其中,所述第一端为车端并且所述第二端为云端,所述第一端服务为SOA服务,所述第二端服务为云服务,所述基于所述第二端服务接口生成与所述第一端服务对应的第二端服务,调用所述第二端服务,包括:The method according to claim 1, wherein the first end is a vehicle end and the second end is a cloud end, the first end service is an SOA service, the second end service is a cloud service, and the generating a second end service corresponding to the first end service based on the second end service interface and calling the second end service comprises:
    通过所述云端服务接口以及所述SOA服务的客户端,生成与所述SOA服务对应的云服务;Generate a cloud service corresponding to the SOA service through the cloud service interface and the client of the SOA service;
    通过所述SOA服务的客户端调用与所述SOA服务对应的云服务。The cloud service corresponding to the SOA service is called through the client of the SOA service.
  6. 根据权利要求1所述的方法,其中,所述云端接口定义语言为Franca接口定义语言FIDL,所述车端接口定义语言为汽车开放系统架构可扩展标记语言ARXML。According to the method of claim 1, the cloud-side interface definition language is Franca interface definition language FIDL, and the vehicle-side interface definition language is Automotive Open System Architecture Extensible Markup Language ARXML.
  7. 根据权利要求1所述的方法,其中,所述预设接口对应关系存储在所述网关中。The method according to claim 1, wherein the preset interface correspondence is stored in the gateway.
  8. 一种车云通信装置,属于车端内设置的网关,所述装置包括:A vehicle-to-cloud communication device, belonging to a gateway arranged in a vehicle, comprises:
    接口获取模块,用于响应于第二端对第一端的第一端服务的调用请求,获取所述第一端的第一端服务接口,所述第一端服务接口为所述第一端服务在第一端接口定义语言中的服务接口;an interface acquisition module, configured to acquire a first-end service interface of the first end in response to a call request from the second end to a first-end service of the first end, wherein the first-end service interface is a service interface of the first-end service in a first-end interface definition language;
    接口转换模块,用于基于所述第一端服务接口以及预设接口对应关系,将所述第一端服务接口转换为第二端服务接口,所述预设接口对应关系为第一端接口定义语言中的第一端接口与第二端接口定义语言中的第二端接口之间的对应关系,所述第二端服务接口为在所述第二端接口定义语言中的服务接口;an interface conversion module, configured to convert the first-end service interface into a second-end service interface based on the first-end service interface and a preset interface correspondence, wherein the preset interface correspondence is a correspondence between the first-end interface in the first-end interface definition language and the second-end interface in the second-end interface definition language, and the second-end service interface is a service interface in the second-end interface definition language;
    第一服务调用模块,用于基于所述第二端服务接口生成与所述第一端服务对应的第二端服务,调用所述第二端服务,其中,所述第一端为云端并且所述第二端为车端,或者所述第一端为车端并且所述第二端为云端。 The first service calling module is used to generate a second-end service corresponding to the first-end service based on the second-end service interface, and call the second-end service, wherein the first end is the cloud and the second end is the vehicle, or the first end is the vehicle and the second end is the cloud.
  9. 一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1至7中任一项所述方法的步骤。A computer storage medium storing a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 7.
  10. 一种车载通信设备,包括:处理器和存储器,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1至7中任一项所述方法的步骤。 An in-vehicle communication device comprises: a processor and a memory, wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method according to any one of claims 1 to 7.
PCT/CN2023/125187 2022-11-01 2023-10-18 Vehicle-to-cloud communication method and apparatus, storage medium, and vehicle-mounted communication device WO2024093674A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211352957.3A CN115834702A (en) 2022-11-01 2022-11-01 Vehicle cloud communication method and device, storage medium and vehicle-mounted communication equipment
CN202211352957.3 2022-11-01

Publications (1)

Publication Number Publication Date
WO2024093674A1 true WO2024093674A1 (en) 2024-05-10

Family

ID=85525995

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/125187 WO2024093674A1 (en) 2022-11-01 2023-10-18 Vehicle-to-cloud communication method and apparatus, storage medium, and vehicle-mounted communication device

Country Status (2)

Country Link
CN (1) CN115834702A (en)
WO (1) WO2024093674A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834702A (en) * 2022-11-01 2023-03-21 长城汽车股份有限公司 Vehicle cloud communication method and device, storage medium and vehicle-mounted communication equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375738A (en) * 2016-11-28 2017-02-01 东莞职业技术学院 Intelligent vehicle video unmanned control device and intelligent vehicle video unmanned control system
CN113824795A (en) * 2021-10-21 2021-12-21 上海波顿诺华智能科技有限公司 Communication method, device and system of vehicle end and cloud end
CN114553873A (en) * 2022-02-27 2022-05-27 重庆长安汽车股份有限公司 SOA-based vehicle cloud cooperative control system and method and readable storage medium
CN114844930A (en) * 2022-04-21 2022-08-02 重庆长安汽车股份有限公司 Vehicle-end remote control method and system based on SOA architecture
CN115225449A (en) * 2022-06-08 2022-10-21 广州汽车集团股份有限公司 Message reporting method and system for SOA service oriented interface
CN115834702A (en) * 2022-11-01 2023-03-21 长城汽车股份有限公司 Vehicle cloud communication method and device, storage medium and vehicle-mounted communication equipment
CN115842868A (en) * 2022-11-01 2023-03-24 长城汽车股份有限公司 Interface data conversion method, device, storage medium and vehicle-mounted communication equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375738A (en) * 2016-11-28 2017-02-01 东莞职业技术学院 Intelligent vehicle video unmanned control device and intelligent vehicle video unmanned control system
CN113824795A (en) * 2021-10-21 2021-12-21 上海波顿诺华智能科技有限公司 Communication method, device and system of vehicle end and cloud end
CN114553873A (en) * 2022-02-27 2022-05-27 重庆长安汽车股份有限公司 SOA-based vehicle cloud cooperative control system and method and readable storage medium
CN114844930A (en) * 2022-04-21 2022-08-02 重庆长安汽车股份有限公司 Vehicle-end remote control method and system based on SOA architecture
CN115225449A (en) * 2022-06-08 2022-10-21 广州汽车集团股份有限公司 Message reporting method and system for SOA service oriented interface
CN115834702A (en) * 2022-11-01 2023-03-21 长城汽车股份有限公司 Vehicle cloud communication method and device, storage medium and vehicle-mounted communication equipment
CN115842868A (en) * 2022-11-01 2023-03-24 长城汽车股份有限公司 Interface data conversion method, device, storage medium and vehicle-mounted communication equipment

Also Published As

Publication number Publication date
CN115834702A (en) 2023-03-21

Similar Documents

Publication Publication Date Title
WO2024093674A1 (en) Vehicle-to-cloud communication method and apparatus, storage medium, and vehicle-mounted communication device
CN110149402A (en) Communication channel is provided between the example of automation assistant
US20230289174A1 (en) Vehicle upgrade method and apparatus
US11221981B2 (en) Asynchronous channel based bus architecture enabling decoupled services
EP4322483A1 (en) System architecture for implementing dds communication on basis of autosar, communication method, and device
US10133696B1 (en) Bridge, an asynchronous channel based bus, and a message broker to provide asynchronous communication
CN115842868A (en) Interface data conversion method, device, storage medium and vehicle-mounted communication equipment
US20220182435A1 (en) Network-based media processing (nbmp) deployment with framework for live uplink streaming (flus) and 5g application function (af)
JP2018036972A (en) File format converter and conversion method thereof
CN113806109A (en) Cabin system for realizing SOA (service oriented architecture) based on ROS2 and operation method thereof
CN111064626A (en) Configuration updating method, device, server and readable storage medium
CN114157671B (en) Method for distributing information carried by block chain network to multiple client nodes
CN115268405A (en) Method, device, equipment and medium for powering on and powering off during starting of whole vehicle
CN111722862A (en) Voice scene updating method, device, terminal, server and system
WO2024093731A1 (en) Automotive open system architecture, data processing method and on-board device
US9870276B2 (en) User message queue method for inter-process communication
KR101491296B1 (en) System and method for telematics service of vehicle
CN113556387A (en) Edge gateway control method, system, device, electronic equipment and storage medium
CN116828035A (en) Data integration system based on cloud computing
CN115774573A (en) Application integration method and device, electronic equipment and storage medium
CN115344347A (en) Control method and system for algorithm application of edge computing device
CN115344644A (en) Data synchronization method and device, electronic equipment and computer readable storage medium
CN114374714A (en) Construction method, topological structure and storage medium of centralized automobile electronic and electrical architecture
CN116996551B (en) Vehicle-mounted service control system and method based on SOA central network controller
CN114257487B (en) System and method for managing a set of network nodes

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23884606

Country of ref document: EP

Kind code of ref document: A1