WO2023201558A1 - 一种映射关系生成方法、装置和存储介质 - Google Patents
一种映射关系生成方法、装置和存储介质 Download PDFInfo
- Publication number
- WO2023201558A1 WO2023201558A1 PCT/CN2022/087860 CN2022087860W WO2023201558A1 WO 2023201558 A1 WO2023201558 A1 WO 2023201558A1 CN 2022087860 W CN2022087860 W CN 2022087860W WO 2023201558 A1 WO2023201558 A1 WO 2023201558A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- mapping relationship
- prototype
- service instance
- port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
Definitions
- the present application relates to the field of smart cars, and in particular to a mapping relationship generation method, device and storage medium.
- Automotive open system architecture is an open and de facto standardized software architecture developed to reduce the risk of automotive software development.
- auxiliary functions such as sensing, control, and automatic cruise are typical high-tech complexes. Its emergence makes cars more and more intelligent and electronic, and also makes cars more intelligent and electronic.
- the software structure of automobiles is becoming more and more complex.
- AUTOSAR has launched an Adaptive Platform on the original Classic Platform.
- CM communication management
- AUTOSAR Adaptive Platform communication management
- mapping relationships with port prototypes are usually manually created one by one for each service instance, which is prone to errors. And inefficient.
- mapping relationship generation method device and storage medium are proposed.
- embodiments of the present application provide a mapping relationship generation method.
- the method includes: displaying information of one or more port prototypes corresponding to the process in the information of the process; responding to an operation of correlating the information of the service instance with the information of the target port prototype displayed in the information of the process. , configure the mapping relationship information between the service instance and the target port prototype.
- the present application by displaying the information of one or more corresponding port prototypes in the process information, during the process of configuring the communication management CM, it is possible to directly respond to the information of the service instance and the information displayed in the process information.
- the automatic configuration of the mapping relationship between the service instance and the target port prototype can be completed without manual operation, simplifying the configuration process and improving the accuracy and efficiency of the configuration process.
- mapping relationship information between the service instance and the target port prototype includes: in response to an operation of correlating the information about the service instance with the information about the target port prototype displayed in the information about the process, obtaining the information about the target port prototype. ; According to the information of the target port prototype, allocate one or more of the corresponding target port prototype, software component, executable program, and process to the service instance.
- the embodiment of the present application by obtaining the information of the target port prototype in response to the associated operation, it is possible to automatically realize the mapping relationship information of one or more of the winning port prototypes, software components, executable programs, and processes. configuration, which can simplify the configuration process and prevent errors in the configuration process.
- one or more processes corresponding to the process are displayed in the information of the process.
- Port prototypes include: obtaining information on one or more port prototypes used for communication on a software component, and a mapping relationship between the process and the software component; there is a mapping relationship between the process and one or more port prototypes.
- the information of one or more port prototypes corresponding to the process is displayed in the process information.
- the mapping relationship between the process and the port prototype can be determined, thereby automatically displaying the corresponding process in the process information.
- Port prototype information is more efficient.
- the mapping relationship between the process and the software component is based on the software component and the executable program.
- the mapping relationship between the executable program and the process is determined.
- the communication relationship between a process and another process displayed through the mapping relationship between the port prototype information displayed in the information of the process and the port prototype information displayed in the information of another process.
- the mapping relationship between the port prototypes in the process information is displayed, which can reflect the two processes that are actually communicating, making the communication process clearer.
- the method is used Visual interface, the visual interface includes a graphical interface and a table interface.
- the communication management CM configuration process can be visualized, making user operations more convenient and the configuration process more intuitive.
- the information of the service instance and the information of the target port prototype displayed in the information of the process are
- the associated operation includes connecting, in the graphical interface, the information about the service instance and the information about the target port prototype displayed in the information about the process.
- mapping relationship configuration between the service instance and the target port prototype can be completed in the graphical interface, making the configuration process visual and more convenient and intuitive.
- the target port displayed in the information of the service instance and the information of the process Correlating the prototype information includes filling in the target port prototype information into a table indicating the mapping relationship information between the service instance and the target port prototype in the form interface.
- mapping relationship configuration between the service instance and the target port prototype can be completed in the table interface, making the configuration process visual and more convenient and intuitive.
- this method is used to configure communication services in the automotive open system architecture AUTOSAR adaptive platform.
- this method can be applied to vehicles, so that communication management CM configuration can be realized more efficiently in the AUTOSAR adaptive platform to apply corresponding communication services.
- a mapping relationship generation device which includes: a display module, configured to display information about one or more port prototypes corresponding to the process in the process information; a configuration module , configured to configure mapping relationship information between the service instance and the target port prototype in response to the operation of associating the information of the service instance with the information of the target port prototype displayed in the information of the process.
- the configuration module is configured to: respond to the information of the target port prototype displayed in the information of the service instance and the information of the process.
- the associated operation is to obtain the information of the target port prototype; according to the information of the target port prototype, allocate one or more of the corresponding target port prototype, software component, executable program, and process to the service instance.
- the display module is configured to: obtain one or more of the software components used for communication. Information about multiple port prototypes, and the mapping relationship between the process and the software component; in the case where the process has a mapping relationship to one or more port prototypes, the information corresponding to the process is displayed in the process information. Information about one or more port prototypes.
- mapping relationship between the process and the software component is based on the software component and the executable program.
- the mapping relationship between the executable program and the process is determined.
- the communication relationship between a process and another process displayed through the mapping relationship between the port prototype information displayed in the information of the process and the port prototype information displayed in the information of another process.
- the device is used Visual interface
- the visual interface includes a graphical interface and a table interface.
- the information of the service instance and the information of the target port prototype displayed in the information of the process are
- the associated operation includes connecting, in the graphical interface, the information about the service instance and the information about the target port prototype displayed in the information about the process.
- the target port displayed in the information of the service instance and the information of the process Correlating the prototype information includes filling in the target port prototype information into a table indicating the mapping relationship information between the service instance and the target port prototype in the form interface.
- the device is used to configure communication services in the automotive open system architecture AUTOSAR adaptive platform.
- embodiments of the present application provide a mapping relationship generating device, which includes: a processor; a memory used to store instructions executable by the processor; wherein the processor is configured to execute the instructions.
- a method for generating a mapping relationship that implements one or more of the first aspect or multiple possible implementations of the first aspect.
- embodiments of the present application provide a non-volatile computer-readable storage medium on which computer program instructions are stored.
- the computer program instructions are executed by a processor, the above-mentioned first aspect or aspects are implemented.
- embodiments of the present application provide a terminal device that can execute one or more of the mapping relationship generation methods of the first aspect or multiple possible implementations of the first aspect.
- embodiments of the present application provide a computer program product, including a computer readable code, or a non-volatile computer readable storage medium carrying the computer readable code, when the computer readable code is stored electronically
- the processor in the electronic device executes one or more of the mapping relationship generation methods of the first aspect or multiple possible implementations of the first aspect.
- Figure 1 shows a schematic diagram of an application scenario according to an embodiment of the present application.
- Figure 2 shows a flow chart of a mapping relationship generation method according to an embodiment of the present application.
- Figure 3 shows a flow chart of a mapping relationship generation method according to an embodiment of the present application.
- Figure 4 shows a flow chart of a mapping relationship generation method according to an embodiment of the present application.
- Figure 5 shows a schematic diagram applied to a graphical interface according to an embodiment of the present application.
- Figure 6 shows a schematic diagram applied to a form interface according to an embodiment of the present application.
- Figure 7 shows a structural diagram of a mapping relationship generating device according to an embodiment of the present application.
- Figure 8 shows a structural diagram of a mapping relationship generating device provided according to an embodiment of the present application.
- exemplary means "serving as an example, example, or illustrative.” Any embodiment described herein as “exemplary” is not necessarily to be construed as superior or superior to other embodiments.
- FIG. 1 shows a schematic diagram of an application scenario according to an embodiment of the present application.
- the mapping relationship generation method of this application can be used in the process of configuring communication management on the AUTOSAR adaptive platform.
- the architecture of the AUTOSAR adaptive platform can include an application layer, a service layer and a hardware layer.
- the application layer can include software used to implement application functions, such as software components (SWC), etc.;
- the service layer can provide various background services for the application layer, such as communication management CM, core types used to provide data structure definition services (core types);
- the hardware layer can include each node.
- the node can be a vehicle chip built into the vehicle, such as a microcontroller unit (MCU), or a domain controller including an MCU, a vehicle computer, etc.
- MCU microcontroller unit
- CM communication management
- process process
- executable program executable
- software component SWC software component
- the mapping relationship generation method in the embodiment of the present application displays the information of one or more corresponding port prototypes in the process information, so that in the process of configuring the communication management CM, it can directly respond to the information of the service instance and the process.
- the mapping relationship between the service instance and the target port prototype can be automatically configured, improving the accuracy and efficiency of the configuration process.
- Figure 2 shows a flow chart of a mapping relationship generation method according to an embodiment of the present application. This method can be used in a processor, and the processor can be used to implement the configuration process of the communication management CM in the architecture shown in Figure 1. As shown in Figure 2, the method includes:
- Step S201 Display the information of one or more port prototypes corresponding to the process in the process information.
- an aggregation attribute can be added in advance to the attribute information corresponding to the process design.
- the aggregation attribute can represent the information of one or more port prototypes corresponding to the process.
- the one or more port prototypes can be corresponding All ports in the process that can be used for communication.
- the value of the aggregate attribute can be, for example, the identification of the corresponding port prototype. For example, when the reference chain between port prototype-software component-executable program-process is incomplete, the value of this aggregate attribute can be empty. When there is a complete and correct reference chain between port prototype-software component-executable program-process. In the case of a reference chain, the value of the aggregate attribute is automatically populated with the ID of the corresponding port prototype.
- the information related to the process can be automatically displayed in the process design information.
- One or more port prototype information such as automatically filling in the corresponding aggregate attribute as the identification of the corresponding port prototype.
- the display method can be, for example, displayed in a visual interface.
- a visual interface For details, please refer to the following.
- step S201 includes:
- Step S2011 Obtain information on one or more port prototypes used for communication on the software component, as well as the mapping relationship between the process and the software component.
- the port prototype used for communication on the software component SWC can be a receiving port prototype (R-Port Prototype) used to request services or data, or a sending port prototype (P-Port Prototype) used to provide services or data.
- R-Port Prototype receiving port prototype
- P-Port Prototype sending port prototype
- One or more port prototypes may be defined on the software component, and the obtained port prototype information may include, for example, the identification of the port prototype and other information.
- the port prototype on the software component and the mapping relationship between the process and the software component can be pre-configured.
- the configuration method can be implemented based on existing technologies, which will not be described in detail in this application.
- the mapping relationship between the process and the software component is determined based on the mapping relationship between the software component and the executable program, and the mapping relationship between the executable program and the process.
- the mapping relationship between the process and the executable program can be determined through the configuration information of the configured process (process) and the reference information of the configured executable program. Since the relevant information of the configured software components can be referenced when configuring the executable program, the mapping relationship between the executable program and the software components can be determined, for example, based on the root software component type (rootSwcType) in the executable program configuration information. All software components corresponding to executable programs. Therefore, based on the association between the software component and the executable program, and the association between the executable program and the process, the association between the process and the software component can be determined.
- rootSwcType root software component type
- Step S2012 If the process has a mapping relationship with one or more port prototypes, display the information of one or more port prototypes corresponding to the process in the process information.
- the association between the process, the executable program, and the software component it can be determined whether there is one or more defined port prototypes on the software component corresponding to the process. If there are defined port prototypes, the process can be determined. There is a mapping to these defined port prototypes. That is to say, if there is a mapping relationship, the association link of "port prototype-software component-executable program-process" should be complete (that is, there is a one-to-one correspondence between the four) and comply with the predetermined constraints. condition.
- the mapping relationship between the process and the port prototype can be determined, thereby automatically displaying the corresponding process in the process information.
- Port prototype information is more efficient.
- the communication relationship between the process and another process is displayed through the mapping relationship between the port prototype information displayed in the information of the process and the port prototype information displayed in the information of the other process.
- this application does not limit the communication protocol based on the communication process. It can be a data distribution service (DDS) or an IP-based scalable service-oriented middleware (SOME). /IP) and other communication protocols.
- DDS data distribution service
- SOME IP-based scalable service-oriented middleware
- IP IP-based scalable service-oriented middleware
- the port prototype information on one process can indicate the corresponding sending port prototype, and the port prototype information on another process can indicate the corresponding receiving port prototype.
- the display method can be, for example, displayed in a visual interface. For details, please refer to the following.
- this method can be used to configure communication services in the automotive open system architecture AUTOSAR adaptive platform.
- this method can be applied to vehicles, so that communication management CM configuration can be realized more efficiently in the AUTOSAR adaptive platform to apply corresponding communication services.
- Step S202 In response to the operation of associating the information of the service instance with the information of the target port prototype displayed in the information of the process, configure the mapping relationship information between the service instance and the target port prototype.
- a reference attribute may be added in advance in the configuration information of the mapping relationship between the service instance and the target port prototype, and the reference attribute may be used to refer to the above-mentioned aggregation attribute added in the process design.
- the reference attribute can refer to the corresponding aggregate attribute in the process design in the mapping relationship configuration relationship between the service instance and the target port prototype.
- the value in that is, the target port prototype information
- the target port prototype can be associated with the service instance to automatically fill in other relevant information in the configuration information of the mapping relationship between the service instance and the target port prototype, and realize the mapping between the service instance and the target port Configuration of prototype mapping relationship information.
- the operation of correlating the information of the service instance with the information of the target port prototype displayed in the process information may be an operation performed on a visual interface, for example, see the following.
- the present application by displaying the information of one or more corresponding port prototypes in the process information, during the process of configuring the communication management CM, it is possible to directly respond to the information of the service instance and the information displayed in the process information.
- the automatic configuration of the mapping relationship between the service instance and the target port prototype can be completed without manual operation, simplifying the configuration process and improving the accuracy and efficiency of the configuration process.
- step S202 includes:
- Step S2021 In response to the operation of correlating the information of the service instance with the information of the target port prototype displayed in the information of the process, obtain the information of the target port prototype.
- the reference attribute in response to the above-mentioned association operation, can be made to refer to the target port prototype information in the above-mentioned aggregate attribute in the mapping relationship configuration relationship between the service instance and the target port prototype, so the target port prototype referenced in the reference attribute can be obtained. information.
- Step S2022 According to the information of the target port prototype, allocate one or more of the corresponding target port prototype, software component, executable program, and process to the service instance.
- allocating one or more of the corresponding target port prototype, software component, executable program, and process to the service instance may be by filling in relevant information during the process of configuring the mapping relationship information between the service instance and the target port prototype.
- the configuration items related to the target port prototype can be filled in based on the obtained information of the target port prototype. Since the information of the target port prototype is obtained by referencing the aggregate attribute in the process design referenced by the attribute, the corresponding target port prototype can be determined. process to fill in process-related configuration items.
- the association relationship with the executable program and the software component can also be obtained accordingly, so that the configuration items related to the executable program and the software component can be filled in. This enables automatic configuration of mapping relationship information between service instances and target port prototypes.
- the embodiment of the present application by obtaining the information of the target port prototype in response to the associated operation, it is possible to automatically realize the mapping relationship information of one or more of the winning port prototypes, software components, executable programs, and processes. configuration, which can simplify the configuration process and prevent errors in the configuration process.
- the method can be used in a visual interface, which may include a graphical interface, a table interface, or other types of visual interfaces.
- the communication management CM configuration process can be visualized, making user operations more convenient and the configuration process more intuitive.
- Figure 5 shows a schematic diagram applied to a graphical interface according to an embodiment of the present application.
- the R-service instance (required service instance) and R-port prototype in the figure can identify the service instance and target port prototype on the receiving end.
- Port prototype, P-service instance (provided service instance) can identify the service instance on the sending end.
- the relationships between software components, executable programs, and processes can be represented by the connections in the figure.
- the software component and executable program 1, the executable program and process 1 are related to each other, the software component and executable program 2, the executable program 2 and process 2 are related to each other, and the executable program 2 and process 3 are related to each other. interrelated.
- the information of one or more port prototypes corresponding to the process is displayed.
- the port prototype associated with it can be displayed near the box corresponding to the process, that is, the aggregation added in the process design. Properties can be displayed as a box indicating the port prototype near the process.
- R-port prototype on a software component there are three complete reference chains for the software component ("R-port prototype, software component, executable program 1, process 1", "R-port prototype, Software component, executable program 2, process 2", “R-port prototype, software component, executable program 2, process 3”), therefore, the associated information can be displayed on process 1, process 2, and process 3 respectively.
- R-port prototype there are three complete reference chains for the software component
- step S202 the operation of correlating the information of the service instance with the information of the target port prototype displayed in the information of the process includes in the graphical interface, the operation of correlating the service instance Make a connection between the information of the target port prototype and the information of the target port prototype displayed in the information of the process.
- step S202 can be executed in response to the connection operation to complete the connection between the R-service instance and the R-port. Prototype mapping relationship.
- the communication relationship between processes can also be displayed through the connections between aggregate attributes (ie, port prototypes in the process), which is more intuitive.
- the communication relationship between process 1 on the R-service instance and the process on the P-service instance can be through the R-port prototype on process 1 and the P-port prototype on the process on the P-service instance.
- the connection is displayed.
- the correlation between information can also be displayed in a way other than connecting, as long as the correlation is displayed in a visual manner.
- mapping relationship configuration between the service instance and the target port prototype can be completed in the graphical interface, making the configuration process visual and more convenient and intuitive.
- Figure 6 shows a schematic diagram applied to a form interface according to an embodiment of the present application.
- the configuration information table of the process design can include category, checksum, short name, executable program, timestamp ( timestamp), universal unique identifier (UUID) and other information. This information can be configured based on existing technologies, and this application does not limit this.
- the above-mentioned aggregation attribute can be added to the configuration information table of the process design.
- the aggregation attribute can be called PortsInProcess.
- the value of the aggregation attribute can include the values of each port prototype associated with the process. logo.
- the value of the PortsInProcess can be automatically filled in during the process of configuring the process design.
- the configuration information table of the mapping between the service instance and the target port prototype can include category, checksum, abbreviation, enable log trace (enables log trace), log trace Port identification (log trace port ID), process, service instance, port prototype, timestamp (timestamp), universal unique identification code UUID.
- the above reference attribute can be added to the configuration information table of the service instance and target port prototype, as shown in the figure.
- the reference attribute can be called Process Port, and the value of the reference attribute can be the referenced PortsInProcess. value in .
- step S202 the operation of associating the information of the service instance with the information of the target port prototype displayed in the information of the process includes, in the table interface, the target port prototype.
- the information of the port prototype is filled in a table used to indicate the mapping relationship information between the service instance and the target port prototype.
- the information of the target port prototype is filled in the table used to indicate the mapping relationship information between the service instance and the target port prototype. This can be done by adding the target port prototype in PortsInProcess in the configuration information table as shown in Figure 6(b).
- the corresponding identifier is filled in the Process Port so that the Process Port can reference the value in PortsInProcess.
- steps S2021 - Step S2022 can be executed.
- steps S2021 - Step S2022 can be executed.
- information such as category, checksum, abbreviation, enabled log tracking, log tracking port identification, timestamp, UUID and other information can be configured based on existing technology, and this application does not limit this.
- mapping relationship configuration between the service instance and the target port prototype can be completed in the table interface, making the configuration process visual and more convenient and intuitive.
- Figure 7 shows a structural diagram of a mapping relationship generating device according to an embodiment of the present application. As shown in Figure 7, the device includes:
- the display module 701 is used to display the information of one or more port prototypes corresponding to the process in the process information;
- the configuration module 702 is configured to configure the mapping relationship information between the service instance and the target port prototype in response to the operation of associating the information of the service instance with the information of the target port prototype displayed in the process information.
- the present application by displaying the information of one or more corresponding port prototypes in the process information, during the process of configuring the communication management CM, it is possible to directly respond to the information of the service instance and the information displayed in the process information.
- the automatic configuration of the mapping relationship between the service instance and the target port prototype can be completed without manual operation, simplifying the configuration process and improving the accuracy and efficiency of the configuration process.
- the device is used to configure communication services in the automotive open system architecture AUTOSAR adaptive platform.
- the device can be applied to vehicles, so that communication management CM configuration can be realized more efficiently in the AUTOSAR adaptive platform to apply corresponding communication services.
- the display module 701 is configured to: obtain information on one or more port prototypes used for communication on the software component, as well as the mapping relationship between the process and the software component; in the process If there is a mapping relationship with one or more port prototypes, the information of one or more port prototypes corresponding to the process is displayed in the process information.
- the mapping relationship between the process and the port prototype can be determined, thereby automatically displaying the corresponding process in the process information.
- Port prototype information is more efficient.
- the mapping relationship between the process and the software component is determined based on the mapping relationship between the software component and the executable program, and the mapping relationship between the executable program and the process.
- the communication relationship between a process and another process is displayed through the mapping relationship between the port prototype information displayed in the information of the process and the port prototype information displayed in the information of the other process.
- the mapping relationship between the port prototypes in the process information is displayed, which can reflect the two processes that are actually communicating, making the communication process clearer.
- the configuration module 702 is configured to: in response to an operation of correlating the information of the service instance with the information of the target port prototype displayed in the information of the process, obtain the information of the target port prototype. ; According to the information of the target port prototype, allocate one or more of the corresponding target port prototype, software component, executable program, and process to the service instance.
- the embodiment of the present application by obtaining the information of the target port prototype in response to the associated operation, it is possible to automatically realize the mapping relationship information of one or more of the winning port prototypes, software components, executable programs, and processes. configuration, which can simplify the configuration process and prevent errors in the configuration process.
- the device is used for a visual interface, which includes a graphical interface and a table interface.
- the communication management CM configuration process can be visualized, making user operations more convenient and the configuration process more intuitive.
- the operation of correlating the information of the service instance with the information of the target port prototype displayed in the information of the process includes in the graphical interface, correlating the information of the service instance with the information of the process. Make a connection between the target port prototype information displayed in the process information.
- mapping relationship configuration between the service instance and the target port prototype can be completed in the graphical interface, making the configuration process visual and more convenient and intuitive.
- the operation of associating the information of the service instance with the information of the target port prototype displayed in the information of the process includes filling in the information of the target port prototype in the form interface. into a table indicating the mapping relationship information between the service instance and the target port prototype.
- mapping relationship configuration between the service instance and the target port prototype can be completed in the table interface, making the configuration process visual and more convenient and intuitive.
- Figure 8 shows a structural diagram of a mapping relationship generating device provided according to an embodiment of the present application.
- the mapping relationship generation device 1100 can be used to execute the mapping relationship generation method shown in any one of the above-mentioned FIGS. 2-6.
- the mapping relationship generating device may be a server, or may be a chip (system) or other components or components that may be installed inside the server. The embodiments of the present application do not limit this.
- the mapping relationship generating device 1100 may include a processor 1101 and a transceiver 1102 .
- the mapping relationship generating device 1100 may include a memory 1103.
- the processor 1101 is coupled to the transceiver 1102 and the memory 1103, for example, through a communication bus.
- mapping relationship generating device 1100 Next, each component of the mapping relationship generating device 1100 will be introduced in detail with reference to FIG. 8 .
- the above-mentioned processor 1101 is the control center of the mapping relationship generation device 1100, and may be one processor or a collective name for multiple processing elements.
- the processor 1101 is one or more central processing units (CPUs), may also be an application specific integrated circuit (ASIC), or may be configured to implement one or more embodiments of the present application.
- An integrated circuit such as one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
- the processor 1101 can perform various functions of the mapping relationship generating device 1100 by running or executing software programs stored in the memory 1103 and calling data stored in the memory 1103.
- the processor 1101 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 8 .
- the mapping relationship generating device 1100 may also include multiple processors, such as the processor 1101 and the processor 1104 shown in FIG. 8 .
- processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
- a processor here may refer to one or more communications devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
- the above-mentioned transceiver 1102 is used for communication with other servers.
- transceiver 1102 may include a receiver and a transmitter (not shown separately in Figure 8). Among them, the receiver is used to implement the receiving function, and the transmitter is used to implement the sending function.
- the transceiver 1102 can be integrated with the processor 1101, or can exist independently, and be coupled with the processor 1101 through the input/output port (not shown in Figure 8) of the mapping relationship generation device 1100.
- This application implements This example does not limit this.
- the above-mentioned memory 1103 can be used to store the software program for executing the solution of the present application, and the execution is controlled by the processor 1101.
- the above-mentioned method embodiments which will not be described again here.
- the memory 1103 can be a read-only memory (ROM) or other types of static storage communication devices that can store static information and instructions, a random access memory (random access memory, RAM) or can store information and instructions.
- ROM read-only memory
- RAM random access memory
- Other types of dynamic storage communication devices can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical discs Storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage communication devices, or can be used to carry or store desired programs in the form of instructions or data structures code and any other medium capable of being accessed by a computer, without limitation.
- EEPROM electrically erasable programmable read-only memory
- CD-ROM compact disc read-only memory
- optical disc storage including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.
- the memory 1103 can be integrated with the processor 1101, or can exist independently, and is coupled to the processor 1101 through the input/output port (not shown in Figure 8) of the mapping relationship generation device 1100.
- the implementation of this application This example does not limit this.
- mapping relationship generation device 1100 shown in Figure 8 does not constitute a limitation on the implementation of the mapping relationship generation device.
- the actual mapping relationship generation device may include more or less than what is shown in the figure. components, or combinations of certain components, or different arrangements of components.
- Embodiments of the present application provide a mapping relationship generation device, including: a processor and a memory used to store instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions.
- the embodiment of the present application provides a terminal device, which can perform the above method.
- Embodiments of the present application provide a non-volatile computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above method is implemented.
- Embodiments of the present application provide a computer program product, including computer readable code, or a non-volatile computer readable storage medium carrying the computer readable code, when the computer readable code is stored in a processor of an electronic device When running, the processor in the electronic device executes the above method.
- Computer-readable storage media may be tangible devices that can retain and store instructions for use by an instruction execution device.
- the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above.
- Non-exhaustive list of computer-readable storage media include: portable computer disks, hard drives, random access memory (RAM), read only memory (ROM), erasable memory Electrically Programmable Read-Only-Memory (EPROM or Flash Memory), Static Random-Access Memory (SRAM), Portable Compact Disc Read-Only Memory (CD) -ROM), Digital Video Disc (DVD), memory stick, floppy disk, mechanical encoding device, such as a punched card or a raised structure in a groove with instructions stored thereon, and any suitable combination of the above .
- RAM random access memory
- ROM read only memory
- EPROM or Flash Memory erasable memory Electrically Programmable Read-Only-Memory
- SRAM Static Random-Access Memory
- CD Portable Compact Disc Read-Only Memory
- DVD Digital Video Disc
- memory stick floppy disk
- mechanical encoding device such as a punched card or a raised structure in a groove with instructions stored thereon, and any suitable combination of the above .
- Computer-readable program instructions or code described herein may be downloaded from a computer-readable storage medium to various computing/processing devices, or to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
- the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
- a network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage on a computer-readable storage medium in the respective computing/processing device .
- the computer program instructions used to perform the operations of this application can be assembly instructions, instruction set architecture (Instruction Set Architecture, ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, status setting data, or one or more Source code or object code written in any combination of programming languages, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages.
- the computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server implement.
- the remote computer can be connected to the user's computer through any kind of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or it can be connected to an external computer (e.g. Use an Internet service provider to connect via the Internet).
- electronic circuits are customized by utilizing state information of computer-readable program instructions, such as programmable logic circuits, field-programmable gate arrays (Field-Programmable Gate Arrays, FPGAs) or programmable logic arrays (Programmable Logic Array (PLA), the electronic circuit can execute computer-readable program instructions to implement various aspects of the present application.
- These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, thereby producing a machine that, when executed by the processor of the computer or other programmable data processing apparatus, , resulting in an apparatus that implements the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
- These computer-readable program instructions can also be stored in a computer-readable storage medium. These instructions cause the computer, programmable data processing device and/or other equipment to work in a specific manner. Therefore, the computer-readable medium storing the instructions includes An article of manufacture that includes instructions that implement aspects of the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
- Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other equipment, causing a series of operating steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executed on a computer, other programmable data processing apparatus, or other equipment to implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions that embody one or more elements for implementing the specified logical function(s).
- Executable instructions may occur out of the order noted in the figures. For example, two consecutive blocks may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
- each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by hardware (such as circuits or ASICs) that perform the corresponding function or action. Specific Integrated Circuit), or can be implemented with a combination of hardware and software, such as firmware.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本申请涉及一种映射关系生成方法、装置和存储介质。该方法包括:在进程的信息中显示与所述进程对应的一个或多个端口原型的信息;响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息。根据本申请实施例,通过在进程的信息中显示对应的一个或多个端口原型的信息,从而在配置通信管理CM的过程中,可以直接响应于对服务实例的信息与进程的信息中显示的目标端口原型的信息进行关联的操作,即可完成对于服务实例与目标端口原型的映射关系的自动配置,无需人工操作,简化了配置流程,提高了配置过程中的准确率和效率。
Description
本申请涉及智能汽车领域,尤其涉及一种映射关系生成方法、装置和存储介质。
汽车开放系统架构(automotive open system architecture,AUTOSAR)是为降低汽车软件的开发风险而开发的一个开放的且形成事实标准化的软件架构。随着智能汽车的逐渐应用,集成了感知、规控、自动巡航等多种辅助功能的汽车,是典型的高新技术综合体,它的出现使得汽车越来越智能化和电子化,同时也使得汽车的软件结构越来越复杂。AUTOSAR在原有的经典平台(Classic Platform)上又推出了自适应平台(Adaptive Platform)。
其中,通信管理(communication management,CM)是AUTOSAR Adaptive Platform的重中之重,在配置CM的过程中,需要在将通信服务实例化之后,为其建立与端口原型的映射关系,但在这个配置过程中也涉及到与进程、可执行程序、软件组件等多个元素之间的映射关系,比较繁琐,当前通常是针对每个服务实例一一手动创建与端口原型的映射关系,很容易出错,且效率低下。
发明内容
有鉴于此,提出了一种映射关系生成方法、装置和存储介质。
第一方面,本申请的实施例提供了一种映射关系生成方法。该方法包括:在进程的信息中显示与所述进程对应的一个或多个端口原型的信息;响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息。
根据本申请实施例,通过在进程的信息中显示对应的一个或多个端口原型的信息,从而在配置通信管理CM的过程中,可以直接响应于对服务实例的信息与进程的信息中显示的目标端口原型的信息进行关联的操作,即可完成对于服务实例与目标端口原型的映射关系的自动配置,无需人工操作,简化了配置流程,提高了配置过程中的准确率和效率。
根据第一方面,在所述映射关系生成方法的第一种可能的实现方式中,响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息,包括:响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,获取所述目标端口原型的信息;根据所述目标端口原型的信息,为所述服务实例分配对应的目标端口原型、软件组件、可执行程序、进程中的一项或多项。
根据本申请实施例,通过响应于进行关联的操作,获取目标端口原型的信息,可以自动化地实现对于映射关系信息中标端口原型、软件组件、可执行程序、进程中的一项或多项的信息的配置,从而可以简化配置流程,且防止配置过程出错。
根据第一方面或第一方面的第一种可能的实现方式,在所述映射关系生成方法的第二种可能的实现方式中,在进程的信息中显示与所述进程对应的一个或多个端口原型,包括:获 取软件组件上用于通信的一个或多个端口原型的信息,以及所述进程与所述软件组件的映射关系;在所述进程存在与一个或多个端口原型的映射关系的情况下,在进程的信息中显示与所述进程对应的一个或多个端口原型的信息。
根据本申请实施例,通过获取配置好的软件组件上端口原型的信息以及进程与软件组件的映射关系,可以确定进程与端口原型的映射关系,从而实现在进程的信息中自动显示与进程对应的端口原型的信息,效率更高。
根据第一方面的第二种可能的实现方式,在所述映射关系生成方法的第三种可能的实现方式中,进程与所述软件组件的映射关系根据所述软件组件和所述可执行程序的映射关系、所述可执行程序与所述进程的映射关系确定。
从而,可以确定软件组件、进程、可执行程序之间的关联关系。
根据第一方面或第一方面的第一种或第二种或第三种可能的实现方式,在所述映射关系生成方法的第四种可能的实现方式中,进程与另一进程的通信关系,通过所述进程的信息中显示的端口原型的信息与另一进程的信息中显示的端口原型的信息的映射关系显示。
根据本申请实施例,通过在端口原型之间进行通信时,以进程的信息中的端口原型之间的映射关系进行显示,可以体现实质上进行通信的两个进程,使得通信过程更加清楚明了。
根据第一方面或第一方面的第一种或第二种或第三种或第四种可能的实现方式,在所述映射关系生成方法的第五种可能的实现方式中,该方法用于可视化界面,所述可视化界面包括图形化界面、表格界面。
由此,可以实现通信管理CM配置过程的可视化,使得用户操作更加方便,配置流程更加直观。
根据第一方面的第五种可能的实现方式,在所述映射关系生成方法的第六种可能的实现方式中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述图形化界面中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息之间进行连线。
根据本申请实施例,可以实现在图形化界面中完成对于服务实例与目标端口原型之间的映射关系配置,使得配置过程可视化,更加方便直观。
根据第一方面的第五种或第六种可能的实现方式,在所述映射关系生成方法的第七种可能的实现方式中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述表格界面中,将所述目标端口原型的信息填入用于指示所述服务实例与所述目标端口原型的映射关系信息的表格中。
根据本申请实施例,可以实现在表格界面中完成对于服务实例与目标端口原型之间的映射关系配置,使得配置过程可视化,更加方便直观。
根据第一方面或第一方面的第一种或第二种或第三种或第四种或第五种或第六种或第七种可能的实现方式,在所述映射关系生成方法的第八种可能的实现方式中,该方法用于配置汽车开放系统架构AUTOSAR自适应平台中的通信服务。
由此,使得本方法可以应用于车辆,使得在AUTOSAR自适应平台中可以更高效地实现通信管理CM配置,以应用对应的通信服务。
第二方面,本申请的实施例提供了一种映射关系生成装置,该装置包括:显示模块,用于在进程的信息中显示与所述进程对应的一个或多个端口原型的信息;配置模块,用于响应 于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息。
根据第二方面,在所述映射关系生成装置的第一种可能的实现方式中,配置模块,用于:响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,获取所述目标端口原型的信息;根据所述目标端口原型的信息,为所述服务实例分配对应的目标端口原型、软件组件、可执行程序、进程中的一项或多项。
根据第二方面或第二方面的第一种可能的实现方式,在所述映射关系生成装置的第二种可能的实现方式中,显示模块,用于:获取软件组件上用于通信的一个或多个端口原型的信息,以及所述进程与所述软件组件的映射关系;在所述进程存在与一个或多个端口原型的映射关系的情况下,在进程的信息中显示与所述进程对应的一个或多个端口原型的信息。
根据第二方面的第二种可能的实现方式,在所述映射关系生成装置的第三种可能的实现方式中,进程与所述软件组件的映射关系根据所述软件组件和所述可执行程序的映射关系、所述可执行程序与所述进程的映射关系确定。
根据第二方面或第二方面的第一种或第二种或第三种可能的实现方式,在所述映射关系生成装置的第四种可能的实现方式中,进程与另一进程的通信关系,通过所述进程的信息中显示的端口原型的信息与另一进程的信息中显示的端口原型的信息的映射关系显示。
根据第二方面或第二方面的第一种或第二种或第三种或第四种可能的实现方式,在所述映射关系生成装置的第五种可能的实现方式中,该装置用于可视化界面,所述可视化界面包括图形化界面、表格界面。
根据第二方面的第五种可能的实现方式,在所述映射关系生成装置的第六种可能的实现方式中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述图形化界面中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息之间进行连线。
根据第二方面的第五种或第六种可能的实现方式,在所述映射关系生成装置的第七种可能的实现方式中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述表格界面中,将所述目标端口原型的信息填入用于指示所述服务实例与所述目标端口原型的映射关系信息的表格中。
根据第二方面或第二方面的第一种或第二种或第三种或第四种或第五种或第六种或第七种可能的实现方式,在所述映射关系生成装置的第八种可能的实现方式中,该装置用于配置汽车开放系统架构AUTOSAR自适应平台中的通信服务。
第三方面,本申请的实施例提供了一种映射关系生成装置,该装置包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令时实现上述第一方面或者第一方面的多种可能的实现方式中的一种或几种的映射关系生成方法。
第四方面,本申请的实施例提供了一种非易失性计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述第一方面或者第一方面的多种可能的实现方式中的一种或几种的映射关系生成方法。
第五方面,本申请的实施例提供了一种终端设备,该终端设备可以执行上述第一方面或者第一方面的多种可能的实现方式中的一种或几种的映射关系生成方法。
第六方面,本申请的实施例提供了一种计算机程序产品,包括计算机可读代码,或者承 载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行上述第一方面或者第一方面的多种可能的实现方式中的一种或几种的映射关系生成方法。
本申请的这些和其他方面在以下(多个)实施例的描述中会更加简明易懂。
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本申请的示例性实施例、特征和方面,并且用于解释本申请的原理。
图1示出根据本申请一实施例的应用场景的示意图。
图2示出根据本申请一实施例的映射关系生成方法的流程图。
图3示出根据本申请一实施例的映射关系生成方法的流程图。
图4示出根据本申请一实施例的映射关系生成方法的流程图。
图5示出根据本申请一实施例应用于图形化界面的示意图。
图6示出根据本申请一实施例应用于表格界面的示意图。
图7示出根据本申请一实施例的映射关系生成装置的结构图。
图8示出根据本申请实施例提供的一种映射关系生成装置的结构图。
以下将参考附图详细说明本申请的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。
另外,为了更好的说明本申请,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本申请同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本申请的主旨。
图1示出根据本申请一实施例的应用场景的示意图。本申请的映射关系生成方法可用于在AUTOSAR自适应平台上配置通信管理的过程中。如图1所示,AUTOSAR自适应平台的架构可包括应用层、服务层和硬件层。应用层可包括用于实现应用功能的软件,如软件组件(software component,SWC)等;服务层可为应用层提供各种后台服务,如通信管理CM、用于提供数据结构定义服务的核心类型(core types);硬件层可包括各节点,节点可以是内置于车辆上的车用芯片,如微控制单元(microcontroller unit,MCU),也可以是包括MCU、车机等的域控制器。
其中,通信管理(communication management,CM)是AUTOSAR Adaptive Platform的重中之重,在配置CM的过程中,需要在将通信服务实例化,即确定服务实例(service instance)之后,为其建立与端口原型的映射关系,但在这个配置过程中也涉及到与进程(process)、可执行程序(executable)、软件组件SWC等多个元素之间的映射关系,需要将服务实例、进程、软件组件、可执行程序等关联起来,在此过程中配置属性项多,比较繁琐,由于各元 素之间存在约束条件,如果手动建立映射关系会很容易出错,且效率低下。
鉴于此,本申请实施例的映射关系生成方法通过在进程的信息中显示对应的一个或多个端口原型的信息,从而在配置通信管理CM的过程中可以直接响应于对服务实例的信息与进程的信息中显示的目标端口原型的信息进行关联的操作,即可自动配置服务实例与目标端口原型的映射关系,提高了配置过程的准确率和效率。
以下在图1示出的应用场景之下,通过图2-图6对本申请实施例的映射关系生成方法进行详细的介绍:
图2示出根据本申请一实施例的映射关系生成方法的流程图。该方法可用于处理器,该处理器可用于实现如图1所示的架构中通信管理CM的配置过程,如图2所示,该方法包括:
步骤S201,在进程的信息中显示与所述进程对应的一个或多个端口原型的信息。
其中,可以预先在进程设计(process design)对应的属性信息中添加聚合属性,该聚合属性可以表示与该进程对应的一个或多个端口原型的信息,该一个或多个端口原型可以是对应的进程中所有可用于通信的端口,聚合属性的值例如可以是对应的端口原型的标识。例如在端口原型-软件组件-可执行程序-进程之间的引用链不完整时,该聚合属性的值可以为空,在存在端口原型-软件组件-可执行程序-进程之间的完整且正确的引用链的情况下,该聚合属性的值可自动填充为对应的端口原型的标识。
由此,在配置进程设计的过程中,在确定了端口原型、软件组件、可执行程序、进程之间的关联关系的情况下,可以在进程设计的信息中自动显示与该进程具有关联关系的一个或多个端口原型信息,例如自动填充对应的聚合属性为对应端口原型的标识。
显示的方式例如可以通过在可视化界面中进行显示,详细可参见下述。
确定端口原型、软件组件、可执行程序、进程之间的关联关系的一种方式可参见图3。图3示出根据本申请一实施例的映射关系生成方法的流程图。如图3所示,在一种可能的实现方式中,该步骤S201,包括:
步骤S2011,获取软件组件上用于通信的一个或多个端口原型的信息,以及所述进程与所述软件组件的映射关系。
其中,软件组件SWC上用于通信的端口原型可以是用于请求服务或数据的接收端口原型(R-Port Prototype),也可以是用于提供服务或数据的发送端口原型(P-Port Prototype),软件组件上可以定义有一个或多个端口原型,获取的端口原型的信息例如可以包括端口原型的标识等信息。
在上述过程中,软件组件上的端口原型,以及进程与软件组件的映射关系可以预先配置,配置的方法可以基于现有技术实现,本申请对此不再赘述。
在一种可能的实现方式中,进程与所述软件组件的映射关系根据所述软件组件和所述可执行程序的映射关系、所述可执行程序与所述进程的映射关系确定。
其中,可以通过配置好的进程(process)的配置信息中、引用的配置好的可执行程序的相关信息,确定进程与可执行程序的映射关系。由于在配置可执行程序时可以引用配置好的软件组件的相关信息,可以确定可执行程序与软件组件的映射关系,例如是根据可执行程序配置信息中的根软件组件类型(rootSwcType)确定与该可执行程序对应的所有软件组件。从而,基于软件组件与可执行程序的关联,以及可执行程序与进程的关联,可以确定进程与软件组件的关联关系。
从而,可以确定软件组件、进程、可执行程序之间的关联关系。
在上述过程中,可执行程序的配置、进程的配置的方法可以基于现有技术实现,本申请对此不作限制。
步骤S2012,在所述进程存在与一个或多个端口原型的映射关系的情况下,在进程的信息中显示与所述进程对应的一个或多个端口原型的信息。
其中,可以根据进程、可执行程序、软件组件之间的关联关系,确定进程对应的软件组件上是否存在定义好的一个或多个端口原型,在存在定义好的端口原型情况下,可以确定进程存在与这些定义好的端口原型的映射关系。也就是说,在存在映射关系的情况下,“端口原型-软件组件-可执行程序-进程”的关联链路应是完整的(即四者之间存在一一对应的关联)且符合预定约束条件。
根据本申请实施例,通过获取配置好的软件组件上端口原型的信息以及进程与软件组件的映射关系,可以确定进程与端口原型的映射关系,从而实现在进程的信息中自动显示与进程对应的端口原型的信息,效率更高。
由于端口原型之间的通信实质上是进程间的通信,因此在端口原型之间进行通信时,由于在进程的信息中显示了对应的端口原型的信息,可以通过进程上的端口原型之间的映射关系,直接体现进行通信的两个进程,使得通信过程更加清楚明了。
在一种可能的实现方式中,所述进程与另一进程的通信关系,通过所述进程的信息中显示的端口原型的信息与另一进程的信息中显示的端口原型的信息的映射关系显示。
其中,本申请对于通信过程中基于的通信协议不作限制,可以是数据分发服务(data distribution service,DDS),也可以是基于IP的可扩展面向服务中间件(scalable service-oriented middleware over IP,SOME/IP)等通信协议。一个进程上的端口原型信息可以指示对应的发送端口原型,另一进程上的端口原型信息可以指示对应的接收端口原型。显示的方式例如可以通过在可视化界面中进行显示,详细可参见下述。
在一种可能的实现方式中,该方法可用于配置汽车开放系统架构AUTOSAR自适应平台中的通信服务。
由此,使得本方法可以应用于车辆,使得在AUTOSAR自适应平台中可以更高效地实现通信管理CM配置,以应用对应的通信服务。
步骤S202,响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息。
其中,可以是预先在服务实例与目标端口原型的映射关系配置信息中,增加引用属性,该引用属性可以用于引用上述在进程设计中增加的聚合属性。响应于对服务实例的信息与进程的信息中显示的目标端口原型的信息进行关联的操作,可以在服务实例与目标端口原型的映射关系配置关系中使得引用属性引用对应的进程设计中的聚合属性中的值(即目标端口原型信息),从而使得目标端口原型能够与服务实例关联,以自动填充服务实例与目标端口原型的映射关系的配置信息中的其他相关信息,实现对服务实例与目标端口原型的映射关系信息的配置。
对服务实例的信息与进程的信息中显示的目标端口原型的信息进行关联的操作,可以是在可视化界面上进行的操作,例如可以参见下述。
根据本申请实施例,通过在进程的信息中显示对应的一个或多个端口原型的信息,从而 在配置通信管理CM的过程中,可以直接响应于对服务实例的信息与进程的信息中显示的目标端口原型的信息进行关联的操作,即可完成对于服务实例与目标端口原型的映射关系的自动配置,无需人工操作,简化了配置流程,提高了配置过程中的准确率和效率。
上述自动填充服务实例与目标端口原型的映射关系的配置信息中的其他相关信息的详细过程,可参见图4,图4示出根据本申请一实施例的映射关系生成方法的流程图。在一种可能的实现方式中,如图4所示,该步骤S202,包括:
步骤S2021,响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,获取所述目标端口原型的信息。
其中,由于响应于上述进行关联的操作,可以在服务实例与目标端口原型的映射关系配置关系中使得引用属性引用上述聚合属性中的目标端口原型信息,因此可获取引用属性中引用的目标端口原型信息。
步骤S2022,根据所述目标端口原型的信息,为所述服务实例分配对应的目标端口原型、软件组件、可执行程序、进程中的一项或多项。
其中,为所述服务实例分配对应的目标端口原型、软件组件、可执行程序、进程中的一项或多项,可以是在配置服务实例与目标端口原型的映射关系信息的过程中,填充有关目标端口原型、软件组件、可执行程序、进程的配置信息。可以根据获取的目标端口原型的信息,填充与目标端口原型相关的配置项,由于该目标端口原型的信息是通过引用属性引用的进程设计中的聚合属性而得到的,因此可以确定目标端口原型对应的进程,以填充与进程相关的配置项。通过进程对应的配置信息还可相应获得与可执行程序、软件组件的关联关系,从而可以填充与可执行程序、软件组件相关的配置项。从而可以实现对服务实例与目标端口原型的映射关系信息的自动配置。
根据本申请实施例,通过响应于进行关联的操作,获取目标端口原型的信息,可以自动化地实现对于映射关系信息中标端口原型、软件组件、可执行程序、进程中的一项或多项的信息的配置,从而可以简化配置流程,且防止配置过程出错。
在一种可能的实现方式中,该方法可用于可视化界面,可视化界面可包括图形化界面、表格界面,也可包括其他类型的可视化界面。
由此,可以实现通信管理CM配置过程的可视化,使得用户操作更加方便,配置流程更加直观。
以下通过图5和图6为例,分别对图形化界面和表格界面的服务实例与目标端口原型的映射关系配置流程进行详细介绍。
图5示出根据本申请一实施例应用于图形化界面的示意图。如图5所示,以在接收端进行服务实例与目标端口原型的映射关系进行配置为例,图中R-服务实例(required service instance)与R-端口原型可以标识接收端上的服务实例与端口原型,P-服务实例(provided service instance)可以标识发送端上的服务实例。软件组件、可执行程序、进程之间的关联关系可通过图中连线表示。例如,图中软件组件与可执行程序1、可执行程序与进程1之间相互关联,软件组件与可执行程序2、可执行程序2与进程2之间相互关联,可执行程序2与进程3之间相互关联。
在进程的信息中显示与进程对应的一个或多个端口原型的信息,如图所示,可以是在进程对应的方框附近显示与之关联的端口原型,即,在进程设计中添加的聚合属性可以以该进 程附近的指示端口原型的方框进行显示。如图所示,作为软件组件上的R-端口原型,且软件组件存在3条完整的引用链(“R-端口原型、软件组件、可执行程序1、进程1”,“R-端口原型、软件组件、可执行程序2、进程2”,“R-端口原型、软件组件、可执行程序2、进程3”),因此,可以分别在进程1、进程2、进程3上显示与之关联的R-端口原型。
在一种可能的实现方式中,该步骤S202中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述图形化界面中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息之间进行连线。
对服务实例的信息与进程的信息中显示的目标端口原型的信息进行关联的操作,例如,将R-服务实例与进程1上的R-端口原型进行连线的操作,以及将R-服务实例与进程3上的R-端口原型进行连线的操作,可参见图5中对应的连线“映射1”和“映射2”。
在图形化界面中,例如对R-服务实例与进程1上的R-端口原型进行连线后,可响应于该进行连线的操作执行步骤S202,以完成对R-服务实例与R-端口原型的映射关系。
在一种可能的实现方式中,在图形化界面中,进程间的通信关系也可以通过聚合属性(即进程中的端口原型)间的连线显示,更加直观。例如,R-服务实例上的进程1与P-服务实例上的进程之间的通信关系,可以通过进程1上的R-端口原型与P-服务实例上的进程上的P-端口原型之间的连线显示。
需要说明的是,在图形化界面中,信息间的关联也可以通过除连线以外的方式显示,只要使得关联关系以可视化方式展示即可。
根据本申请实施例,可以实现在图形化界面中完成对于服务实例与目标端口原型之间的映射关系配置,使得配置过程可视化,更加方便直观。
图6示出根据本申请一实施例应用于表格界面的示意图。如图6(a)所示,在表格界面中,进程设计的配置信息表格中可包括类别(category)、校验和(checksum)、缩略名(short name)、可执行程序、时间戳(timestamp)、通用唯一识别码(universally unique identifier,UUID)等信息,这些信息可以基于现有技术进行配置,本申请对此不作限制。可在上述信息的基础上,在进程设计的配置信息表格中添加上述聚合属性,如图中所示,该聚合属性可称为PortsInProcess,该聚合属性的值可以包括与进程关联的各端口原型的标识。在一种可能的实现方式中,在端口原型-软件组件-可执行程序-进程之间的引用链完整且正确的情况下,在配置进程设计的过程中可以自动填充该PortsInProcess的值为各与进程关联的各端口原型的标识。
如图6(b)所示,在表格界面中,服务实例与目标端口原型的映射的配置信息表格中可包括类别、校验和、缩略名、启用日志追踪(enables log trace)、日志追踪端口标识(log trace port ID)、进程、服务实例、端口原型、时间戳(timestamp)、通用唯一标识码UUID。可在上述信息的基础上,在服务实例与目标端口原型的配置信息表格中添加上述引用属性,如图中所示,该引用属性可称为Process Port,该引用属性的值可以是引用的PortsInProcess中的值。
在一种可能的实现方式中,该步骤S202中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述表格界面中,将所述目标端口原型的信息填入用于指示所述服务实例与所述目标端口原型的映射关系信息的表格中。
其中,将目标端口原型的信息填入用于指示服务实例与目标端口原型的映射关系信息的 表格中,可以是在如图6(b)所示的配置信息表格中,将PortsInProcess中目标端口原型对应的标识填入Process Port中,使得Process Port可以引用PortsInProcess中的值。
在表格界面中,将PortsInProcess中目标端口原型对应的标识填入Process Port中之后,即可以执行步骤S2021-步骤S2022,根据对应的目标端口原型--软件组件-可执行程序-进程之间的引用链关系,自动填充如图6(b)所示的配置表格信息中,进程、服务实例、端口原型等信息,以完成对服务实例与目标端口原型的映射关系的配置。图6(b)中,类别、校验和、缩略名、启用日志追踪、日志追踪端口标识、时间戳、UUID等信息可以基于现有技术进行配置,本申请对此不作限制。
根据本申请实施例,可以实现在表格界面中完成对于服务实例与目标端口原型之间的映射关系配置,使得配置过程可视化,更加方便直观。
图7示出根据本申请一实施例的映射关系生成装置的结构图。如图7所示,该装置包括:
显示模块701,用于在进程的信息中显示与所述进程对应的一个或多个端口原型的信息;
配置模块702,用于响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息。
根据本申请实施例,通过在进程的信息中显示对应的一个或多个端口原型的信息,从而在配置通信管理CM的过程中,可以直接响应于对服务实例的信息与进程的信息中显示的目标端口原型的信息进行关联的操作,即可完成对于服务实例与目标端口原型的映射关系的自动配置,无需人工操作,简化了配置流程,提高了配置过程中的准确率和效率。
在一种可能的实现方式中,该装置用于配置汽车开放系统架构AUTOSAR自适应平台中的通信服务。
由此,使得本装置可以应用于车辆,使得在AUTOSAR自适应平台中可以更高效地实现通信管理CM配置,以应用对应的通信服务。
在一种可能的实现方式中,显示模块701,用于:获取软件组件上用于通信的一个或多个端口原型的信息,以及所述进程与所述软件组件的映射关系;在所述进程存在与一个或多个端口原型的映射关系的情况下,在进程的信息中显示与所述进程对应的一个或多个端口原型的信息。
根据本申请实施例,通过获取配置好的软件组件上端口原型的信息以及进程与软件组件的映射关系,可以确定进程与端口原型的映射关系,从而实现在进程的信息中自动显示与进程对应的端口原型的信息,效率更高。
在一种可能的实现方式中,进程与所述软件组件的映射关系根据所述软件组件和所述可执行程序的映射关系、所述可执行程序与所述进程的映射关系确定。
从而,可以确定软件组件、进程、可执行程序之间的关联关系。
在一种可能的实现方式中,进程与另一进程的通信关系,通过所述进程的信息中显示的端口原型的信息与另一进程的信息中显示的端口原型的信息的映射关系显示。
根据本申请实施例,通过在端口原型之间进行通信时,以进程的信息中的端口原型之间的映射关系进行显示,可以体现实质上进行通信的两个进程,使得通信过程更加清楚明了。
在一种可能的实现方式中,配置模块702,用于:响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,获取所述目标端口原型的信息;根据所述目标端口原型的信息,为所述服务实例分配对应的目标端口原型、软件组件、可执行程 序、进程中的一项或多项。
根据本申请实施例,通过响应于进行关联的操作,获取目标端口原型的信息,可以自动化地实现对于映射关系信息中标端口原型、软件组件、可执行程序、进程中的一项或多项的信息的配置,从而可以简化配置流程,且防止配置过程出错。
在一种可能的实现方式中,该装置用于可视化界面,所述可视化界面包括图形化界面、表格界面。
由此,可以实现通信管理CM配置过程的可视化,使得用户操作更加方便,配置流程更加直观。
在一种可能的实现方式中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述图形化界面中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息之间进行连线。
根据本申请实施例,可以实现在图形化界面中完成对于服务实例与目标端口原型之间的映射关系配置,使得配置过程可视化,更加方便直观。
在一种可能的实现方式中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述表格界面中,将所述目标端口原型的信息填入用于指示所述服务实例与所述目标端口原型的映射关系信息的表格中。
根据本申请实施例,可以实现在表格界面中完成对于服务实例与目标端口原型之间的映射关系配置,使得配置过程可视化,更加方便直观。
图8示出根据本申请实施例提供的一种映射关系生成装置的结构图。该映射关系生成装置1100可用于执行上述图2-图6中任一项所示出的映射关系生成方法。例如,该映射关系生成装置可以是服务器,也可以是可设置于该服务器内部的芯片(系统)或其他部件或组件。本申请实施例对此不作限定。
如图8所示,映射关系生成装置1100可以包括处理器1101和收发器1102。可选地,映射关系生成装置1100可以包括存储器1103。其中,处理器1101与收发器1102和存储器1103耦合,如可以通过通信总线连接。
下面结合图8对映射关系生成装置1100的各个构成部件进行具体的介绍。
上述处理器1101是映射关系生成装置1100的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器1101是一个或多个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。
可选地,处理器1101可以通过运行或执行存储在存储器1103内的软件程序,以及调用存储在存储器1103内的数据,执行映射关系生成装置1100的各种功能。
在具体的实现中,作为一种实施例,处理器1101可以包括一个或多个CPU,例如图8中所示出的CPU0和CPU1。
在一种可能的实现方式中,映射关系生成装置1100也可以包括多个处理器,例如图8中所示的处理器1101和处理器1104。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个通信 设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
上述收发器1102,用于与其他服务器之间的通信。
可选地,收发器1102可以包括接收器和发送器(图8中未单独示出)。其中,接收器用于实现接收功能,发送器用于实现发送功能。
可选地,收发器1102可以和处理器1101集成在一起,也可以独立存在,并通过映射关系生成装置1100的输入/输出端口(图8中未示出)与处理器1101耦合,本申请实施例对此不作限定。
上述存储器1103可用于存储执行本申请方案的软件程序,并由处理器1101来控制执行,具体实现方式可以参考上述方法实施例,此处不再赘述。
其中,存储器1103可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储通信设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储通信设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储通信设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。需要说明的是,存储器1103可以和处理器1101集成在一起,也可以独立存在,并通过映射关系生成装置1100的输入/输出端口(图8中未示出)与处理器1101耦合,本申请实施例对此不作限定。
需要说明的是,图8中所示出的映射关系生成装置1100的结构并不构成对映射关系生成装置的实现方式的限定,实际的映射关系生成装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本申请的实施例提供了一种映射关系生成装置,包括:处理器以及用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令时实现上述方法。
本申请的实施例提供了一种终端设备,该终端设备可以执行上述方法。
本申请的实施例提供了一种非易失性计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。
本申请的实施例提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述方法。
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Electrically Programmable Read-Only-Memory,EPROM或闪存)、静态随机存取存储器(Static Random-Access Memory,SRAM)、便携式压缩盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Video Disc,DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。
这里所描述的计算机可读程序指令或代码可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。
用于执行本申请操作的计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或可编程逻辑阵列(Programmable Logic Array,PLA),该电子电路可以执行计算机可读程序指令,从而实现本申请的各个方面。
这里参照根据本申请实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本申请的多个实施例的装置、系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。
也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行相应的功能或动作的硬件(例如电路或ASIC(Application Specific Integrated Circuit,专用集成电路))来实现,或者可以用硬件和软件的组合,如固件等来实现。
尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其它变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其它单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。
Claims (13)
- 一种映射关系生成方法,其特征在于,所述方法包括:在进程的信息中显示与所述进程对应的一个或多个端口原型的信息;响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息。
- 根据权利要求1所述的方法,其特征在于,所述响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息,包括:响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,获取所述目标端口原型的信息;根据所述目标端口原型的信息,为所述服务实例分配对应的目标端口原型、软件组件、可执行程序、进程中的一项或多项。
- 根据权利要求1或2所述的方法,其特征在于,所述在进程的信息中显示与所述进程对应的一个或多个端口原型,包括:获取软件组件上用于通信的一个或多个端口原型的信息,以及所述进程与所述软件组件的映射关系;在所述进程存在与一个或多个端口原型的映射关系的情况下,在进程的信息中显示与所述进程对应的一个或多个端口原型的信息。
- 根据权利要求3所述的方法,其特征在于,所述进程与所述软件组件的映射关系根据所述软件组件和所述可执行程序的映射关系、所述可执行程序与所述进程的映射关系确定。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述进程与另一进程的通信关系,通过所述进程的信息中显示的端口原型的信息与另一进程的信息中显示的端口原型的信息的映射关系显示。
- 根据权利要求1-5任一项所述的方法,其特征在于,所述方法用于可视化界面,所述可视化界面包括图形化界面、表格界面。
- 根据权利要求6所述的方法,其特征在于,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述图形化界面中,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息之间进行连线。
- 根据权利要求6或7所述的方法,其特征在于,对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,包括在所述表格界面中,将所述目标端口原 型的信息填入用于指示所述服务实例与所述目标端口原型的映射关系信息的表格中。
- 根据权利要求1-8任一项所述的方法,其特征在于,所述方法用于配置汽车开放系统架构AUTOSAR自适应平台中的通信服务。
- 一种映射关系生成装置,其特征在于,所述装置包括:显示模块,用于在进程的信息中显示与所述进程对应的一个或多个端口原型的信息;配置模块,用于响应于对服务实例的信息与所述进程的信息中显示的目标端口原型的信息进行关联的操作,配置所述服务实例与所述目标端口原型的映射关系信息。
- 一种映射关系生成装置,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令时实现权利要求1-9任意一项所述的方法。
- 一种非易失性计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1-9中任意一项所述的方法。
- 一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行权利要求1-9中任意一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2022/087860 WO2023201558A1 (zh) | 2022-04-20 | 2022-04-20 | 一种映射关系生成方法、装置和存储介质 |
| CN202280005462.5A CN117280320A (zh) | 2022-04-20 | 2022-04-20 | 一种映射关系生成方法、装置和存储介质 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2022/087860 WO2023201558A1 (zh) | 2022-04-20 | 2022-04-20 | 一种映射关系生成方法、装置和存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023201558A1 true WO2023201558A1 (zh) | 2023-10-26 |
Family
ID=88418923
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/087860 Ceased WO2023201558A1 (zh) | 2022-04-20 | 2022-04-20 | 一种映射关系生成方法、装置和存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117280320A (zh) |
| WO (1) | WO2023201558A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119902747A (zh) * | 2025-03-28 | 2025-04-29 | 重庆赛力斯凤凰智创科技有限公司 | 软件组件的代理方法、装置、电子设备及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111130838A (zh) * | 2019-10-17 | 2020-05-08 | 国电南瑞科技股份有限公司 | 一种进程级服务实例动态扩展及网络带宽限制方法及装置 |
| CN111880810A (zh) * | 2020-07-28 | 2020-11-03 | 苏州浪潮智能科技有限公司 | 一种服务实例部署方法、装置及电子设备和存储介质 |
| WO2021107179A1 (ko) * | 2019-11-27 | 2021-06-03 | 주식회사 알티스트 | Autosar 기반 응용 소프트웨어의 설정 코드 자동 생성 방법 및 장치 |
| CN113783914A (zh) * | 2020-09-01 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | 数据处理方法、装置及设备 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111580892B (zh) * | 2019-02-19 | 2023-09-19 | 杭州海康威视系统技术有限公司 | 一种业务组件调用的方法、装置、终端和存储介质 |
| CN112181397B (zh) * | 2020-09-30 | 2023-10-13 | 平安科技(深圳)有限公司 | 流程可视化监控方法、装置、计算机设备及存储介质 |
-
2022
- 2022-04-20 CN CN202280005462.5A patent/CN117280320A/zh active Pending
- 2022-04-20 WO PCT/CN2022/087860 patent/WO2023201558A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111130838A (zh) * | 2019-10-17 | 2020-05-08 | 国电南瑞科技股份有限公司 | 一种进程级服务实例动态扩展及网络带宽限制方法及装置 |
| WO2021107179A1 (ko) * | 2019-11-27 | 2021-06-03 | 주식회사 알티스트 | Autosar 기반 응용 소프트웨어의 설정 코드 자동 생성 방법 및 장치 |
| CN111880810A (zh) * | 2020-07-28 | 2020-11-03 | 苏州浪潮智能科技有限公司 | 一种服务实例部署方法、装置及电子设备和存储介质 |
| CN113783914A (zh) * | 2020-09-01 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | 数据处理方法、装置及设备 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119902747A (zh) * | 2025-03-28 | 2025-04-29 | 重庆赛力斯凤凰智创科技有限公司 | 软件组件的代理方法、装置、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117280320A (zh) | 2023-12-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109361550B (zh) | 网络设备配置管理的方法、装置及设备 | |
| CN109858019B (zh) | 对话状态跟踪方法及装置、存储介质及语义识别系统 | |
| CN105912275A (zh) | 在非易失性存储系统中建立连接的方法和装置 | |
| CN110495149B (zh) | 数据传输方法和装置 | |
| CN116325705A (zh) | 边缘计算环境中的管理任务流 | |
| US12549446B2 (en) | Mapping relationship generation method and apparatus, and storage medium | |
| CN116319499A (zh) | 车辆的诊断方法、装置、电子设备及存储介质 | |
| CN116578066A (zh) | 一种车辆诊断方法、装置、设备及介质 | |
| CN115065594A (zh) | 数据配置方法、装置、设备、可读存储介质及程序产品 | |
| WO2023201558A1 (zh) | 一种映射关系生成方法、装置和存储介质 | |
| CN113360386A (zh) | 交换芯片驱动测试方法、装置、电子设备和存储介质 | |
| CN115687220B (zh) | 多服务器标识的识别电路、识别方法、电子设备、存储介质 | |
| CN114024822A (zh) | 基于区块链的物联网设备管理方法、设备、服务器及介质 | |
| EP4350511A1 (en) | Method and apparatus for co-simulation | |
| CN118409760A (zh) | 中间件部署方法、装置、计算机设备及存储介质 | |
| CN111351669B (zh) | 故障诊断方法和装置、存储介质和车辆 | |
| CN118264629A (zh) | 一种用于通信网络的通信资源调度方法及系统 | |
| CN116431270A (zh) | 配置数据的传输方法及装置、电子设备和可读存储介质 | |
| CN116089111A (zh) | 传感器数据获取方法、装置、设备、存储介质及程序产品 | |
| CN116257268A (zh) | 一种设备升级方法、装置、电子设备及存储介质 | |
| CN115904978A (zh) | 一种Redfish接口测试方法、计算设备及存储介质 | |
| CN115373696A (zh) | 软件资源生成的低代码配置方法、系统、设备及存储介质 | |
| CN113452536B (zh) | 一种原子对象的管理方法及装置 | |
| CN116938971A (zh) | 一种车载传感器的数据读写方法、系统、设备及介质 | |
| CN116743808A (zh) | 一种工业数据接入与转发系统、方法、装置及电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| WWE | Wipo information: entry into national phase |
Ref document number: 202280005462.5 Country of ref document: CN |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22937796 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22937796 Country of ref document: EP Kind code of ref document: A1 |