Service priority arbitration method based on SOA architecture
By acquiring and processing the occupancy status information of SOA services, generating arbitration results and controlling them, the service interface call conflicts in intelligent scenarios under SOA architecture are resolved, and effective priority arbitration is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2026-03-13
AI Technical Summary
Under the SOA architecture, when vehicle intelligent scenarios are triggered simultaneously, there is a control conflict caused by multiple intelligent scenarios calling the same service interface at the same time period, and existing methods cannot effectively arbitrate this conflict.
By obtaining the occupancy status information of the SOA service, processing the occupancy status information and application occupancy information according to preset priority rules, generating an arbitration result, and controlling the occupancy through the SOA service interface when occupancy is allowed, blocking calls from other applications.
It resolves SOA service interface call conflicts, implements widely applicable priority arbitration, and avoids conflicts in intelligent scene control.
Smart Images

Figure CN116668545B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive software, and more particularly to a service priority arbitration method based on SOA architecture. Background Technology
[0002] When a vehicle user triggers two or more intelligent scenarios simultaneously, if all intelligent scenarios control the executor through SOA (Service Orient Architecture) service interfaces, there will be situations where multiple intelligent scenarios call the same service interface at the same time, which will cause conflicts in the control of the executor. In many cases, the control of the executor by one intelligent scenario will be interrupted by the subsequent intelligent scenario.
[0003] For example, different intelligent scenarios may call the same service interface to control the executor. If two intelligent scenarios call the service interface at the same time, the following two problems will occur: first, both intelligent scenarios call the service interface at the same time; second, one intelligent scenario calls the interface and wants the executor to remain active for a period of time until the intelligent scenario exits, but during this period, another intelligent scenario is activated and also calls the service interface to control the executor.
[0004] Currently, the existing method is to respond to service calls according to the latest control request received by the executor. This arbitration method cannot resolve SOA service interface call conflicts, and its applicability is limited. Summary of the Invention
[0005] In view of this, embodiments of the present invention provide a service priority arbitration method based on SOA architecture to at least partially solve the above problems.
[0006] According to a first aspect of the present invention, a service priority arbitration method based on SOA architecture is provided, comprising: obtaining occupancy status information of SOA services;
[0007] The occupancy status information and occupancy request information are processed according to a preset priority rule to obtain an arbitration result;
[0008] The arbitration result is parsed. When the arbitration result allows the use of the service, the application for use information controls the SOA service through the SOA service interface.
[0009] In another implementation of the present invention, obtaining the occupancy status information of the SOA service includes: obtaining the occupancy identifier information, occupancy priority information and occupancy status information of the SOA service through the SOA service interface.
[0010] In another implementation of the present invention, the step of processing the occupancy status information and the application occupancy information according to a preset priority rule to obtain an arbitration result includes: obtaining application occupancy identifier information, application occupancy priority information, and occupancy request information; and processing the occupancy identifier information, the occupancy priority information, the occupancy status information, the application occupancy identifier information, the application occupancy priority information, and the occupancy request information according to a preset priority rule to obtain an arbitration result.
[0011] In another implementation of the present invention, when the arbitration result is that the occupation is permitted, the occupation request information controls the SOA service through the SOA service interface, which includes: when the arbitration result is that the occupation is permitted, the occupation request information controls the SOA service through any one of the multiple SOA service interfaces corresponding to the SOA service, and blocks other occupation request information from calling the multiple SOA service interfaces.
[0012] In another implementation of the present invention, the method further includes storing the occupancy identification information, the occupancy priority information, the occupancy status information, and the arbitration result.
[0013] In another implementation of the present invention, storing the occupancy identification information, the occupancy priority information, the occupancy status information, and the arbitration result includes: storing the occupancy identification information, the occupancy priority information, and the occupancy status information through an occupancy status storage interface; and storing the arbitration result through an occupancy request interface.
[0014] In another implementation of the present invention, the method further includes: when the arbitration result is that the occupation is not allowed, generating termination processing information and storing the termination processing information.
[0015] According to a second aspect of the present invention, a service priority arbitration device based on SOA architecture is provided, comprising: an occupancy status acquisition module for acquiring occupancy status information of SOA services; an arbitration processing module for processing the occupancy status information and application occupancy information according to a preset priority rule to obtain an arbitration result; and a control module for parsing the arbitration result, wherein when the arbitration result is that occupancy is allowed, the application occupancy information controls the SOA service through the SOA service interface.
[0016] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, which causes the processor to perform an operation corresponding to the method described in the first aspect.
[0017] According to a fourth aspect of the present invention, a computer storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0018] In this embodiment of the invention, the occupancy status information of the SOA service is obtained; the occupancy status information and the application occupancy information are processed according to a preset priority rule to obtain an arbitration result; the arbitration result is parsed, and when the arbitration result is that occupancy is allowed, the application occupancy information controls the SOA service through the SOA service interface. The above steps can perform priority arbitration processing based on the occupancy status information and the application occupancy information, resolving the situation of SOA service interface call conflicts, and the arbitration has a wide range of applications. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings.
[0020] Figure 1 This is a flowchart of a service priority arbitration method based on SOA architecture according to an embodiment of the present invention.
[0021] Figure 2 This is a schematic diagram of a service priority arbitration device based on an SOA architecture according to an embodiment of the present invention.
[0022] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0023] To enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and thoroughly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art should fall within the protection scope of the present invention.
[0024] It should be understood that the terms "first," "second," and "third," etc., in the claims, specification, and drawings of this disclosure are used to distinguish different objects, not to describe a specific order. The terms "comprising" and "including" as used in the specification and claims of this disclosure indicate the presence of the described features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or sets thereof.
[0025] It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this disclosure. As used in this disclosure and claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this disclosure and claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.
[0026] Figure 1 An exemplary flow of a service priority arbitration method based on an SOA architecture according to an embodiment of the present invention is shown. The service priority arbitration method based on an SOA architecture in this embodiment includes:
[0027] S110: Obtain the SOA service occupancy status information.
[0028] It should be noted that SOA (Service Oriented Architecture) here refers to a service-oriented architecture. It enables the matching of vehicle system architecture with communication methods.
[0029] S120: The occupancy status information and the application occupancy information are processed according to a preset priority rule to obtain an arbitration result.
[0030] It should be noted that the above method can resolve the priority arbitration problem based on the priority information of different application and occupancy information when calling the same SOA service interface with application and occupancy information from different intelligent scenarios. Furthermore, it can eliminate the need to update the software processing module corresponding to priority arbitration when intelligent scenarios are iterated and updated.
[0031] It should be noted that the preset priority rules here may include: when there are multiple application occupancy information, a lower priority occupancy can be interrupted by a higher priority occupancy, a higher priority occupancy cannot be interrupted by a lower priority occupancy, and when there are applications with the same priority, the latest application occupancy information should be responded to.
[0032] S130: The arbitration result is parsed. When the arbitration result is that the occupation is allowed, the application occupation information controls the SOA service through the SOA service interface.
[0033] Preferably, a priority arbitration occupancy request interface and an occupancy status interface can be added to the SOA service. The priority of all SOA service interfaces in the SOA service can be handled through this interface. Specifically, the occupancy request interface and the occupancy status interface can be added to the SOA service matrix composed of SOA service interfaces.
[0034] In this embodiment of the invention, the occupancy status information of the SOA service is obtained; the occupancy status information and the application occupancy information are processed according to a preset priority rule to obtain an arbitration result; the arbitration result is parsed, and when the arbitration result is that occupancy is allowed, the application occupancy information controls the SOA service through the SOA service interface. The above steps can perform priority arbitration processing based on the occupancy status information and the application occupancy information, resolving the situation of SOA service interface call conflicts, and the arbitration has a wide range of applications.
[0035] In one possible implementation, obtaining the occupancy status information of the SOA service includes: obtaining the occupancy identifier information, occupancy priority information, and occupancy status information of the SOA service through the SOA service interface.
[0036] It should be noted that the occupancy status interface can be used to obtain RequestID (the request ID of the smart scenario currently occupying the SOA service, i.e., occupancy identification information), RequestPriority (the request priority of the smart scenario currently occupying the SOA service, i.e., occupancy priority information), and OccupyStatus (the occupancy status of the smart scenario currently occupying the SOA service, i.e., occupancy status information).
[0037] In one possible implementation, the step of processing the occupancy status information and the application occupancy information according to a preset priority rule to obtain an arbitration result includes: obtaining application occupancy identifier information, application occupancy priority information, and occupancy request information; and processing the occupancy identifier information, the occupancy priority information, the occupancy status information, the application occupancy identifier information, the application occupancy priority information, and the occupancy request information according to a preset priority rule to obtain an arbitration result.
[0038] It should be noted that the RequestID (request occupancy identifier), RequestPriority (request occupancy priority information), and OccupyRequest (whether the SOA service request is being occupied, i.e., occupancy request information) can be obtained through the occupancy request interface. Among them, OccupyResult is a simple data type, indicating whether the SOA service allows occupancy requests; RequestID represents the ID (identifier) of the occupancy request information, and the data type can be defined as String, used to distinguish the request source; RequestPriority represents the priority of the occupancy request information, and the data type can be defined as Uint8.
[0039] It should be noted that OccupyRequest indicates whether the requested occupancy information occupies SOA services. It can be divided into NoOccupy, Occupy, and Release. NoOccupy means that the requested occupancy information does not need to occupy SOA services, Occupy means that the requested occupancy information needs to occupy SOA services, and Release means that the requested occupancy information requests the SOA service to release the requested occupancy information when it no longer needs to occupy SOA services, so that other requested occupancy information can call it.
[0040] In one possible implementation, when the arbitration result is that the use is permitted, the use request information controls the SOA service through the SOA service interface, including: when the arbitration result is that the use is permitted, the use request information controls the SOA service through any one of the multiple SOA service interfaces corresponding to the SOA service, and blocks other use request information from calling the multiple SOA service interfaces.
[0041] It should be noted that by blocking the remaining service interfaces among the multiple SOA service interfaces, when the SOA service is occupied by the application occupancy information in a smart scenario, the remaining service interfaces in that SOA service will be occupied or blocked by the application occupancy information.
[0042] It should be noted that the above method can also be implemented without blocking the remaining service interfaces among the multiple SOA service interfaces. That is, a corresponding priority arbitration parameter can be added to the SOA service interfaces with priority requirements in the SOA service matrix. For example, if the request occupancy information of a smart scenario only needs to occupy one SOA service interface, it will not affect the call of other smart scenario request occupancy information to the remaining SOA service interfaces. Specifically, RequestID and RequestPriority can be added to the input parameters of the SOA service interface, and OccupyResult can be added to the output parameters.
[0043] In one possible implementation, the method further includes storing the occupancy identification information, the occupancy priority information, the occupancy status information, and the arbitration result.
[0044] It should be noted that the arbitration result here refers to the SOA service's response to the request for occupancy information, which is divided into allowing occupancy and disallowing occupancy. Specifically, "Succeed" can be stored to indicate that occupancy is allowed; "OccupyByHighPriority" can be stored to indicate that the service is being occupied by a high-priority consumer and occupancy is not allowed; or "Failed" can be stored to indicate that occupancy is not allowed.
[0045] Specifically, the arbitration result can be stored by calling the occupancy request interface. If the arbitration result returns "Succeed," it indicates that the requested occupancy information is allowed to occupy the service, and SOA service control can be exercised. Alternatively, the SOA service can be released by calling the occupancy request interface when the requested occupancy information terminates its occupancy. If the arbitration result returns "OccupyByHighPriority," it indicates that the SOA service is occupied by a higher-priority requested occupancy information. If the arbitration result returns "Failed," it indicates that the SOA service refuses to allow the requested occupancy information to control the service. If a higher-priority requested occupancy information calls the occupancy request interface, then the SOA service is occupied by the higher-priority requested occupancy information. The occupancy status interface can be used to store the occupancy identifier information, the occupancy priority information, and the occupancy status information, thereby terminating SOA service control.
[0046] In one possible implementation, storing the occupancy identifier information, the occupancy priority information, the occupancy status information, and the arbitration result includes: storing the occupancy identifier information, the occupancy priority information, and the occupancy status information through an occupancy status storage interface; and storing the arbitration result through an occupancy request interface.
[0047] In one possible implementation, the method further includes: when the arbitration result is that the occupation is not allowed, generating termination processing information and storing the termination processing information.
[0048] Figure 2 This is a schematic block diagram of a service priority arbitration device based on an SOA architecture according to another embodiment of the present invention. The solutions of this embodiment can be applied to electronic devices, including but not limited to: terminal devices with communication functions or electronic devices with interactive capabilities.
[0049] The service priority arbitration device based on SOA architecture in this embodiment includes: an occupancy status acquisition module for acquiring occupancy status information of SOA services; an arbitration processing module for processing the occupancy status information and the application occupancy information according to a preset priority rule to obtain an arbitration result; and a control module for parsing the arbitration result. When the arbitration result is that occupancy is allowed, the application occupancy information controls the SOA service through the SOA service interface.
[0050] In other examples, the occupancy status acquisition module is specifically used to: obtain the occupancy identifier information, occupancy priority information, and occupancy status information of the SOA service through the SOA service interface.
[0051] In other examples, the arbitration processing module is specifically used to: obtain application occupancy identifier information, application occupancy priority information, and occupancy request information; process the occupancy identifier information, the occupancy priority information, the occupancy status information, the application occupancy identifier information, the application occupancy priority information, and the occupancy request information according to a preset priority rule to obtain an arbitration result.
[0052] In other examples, the control module is specifically used to: when the arbitration result is that the occupancy is allowed, the occupancy request information controls the SOA service through any one of the multiple SOA service interfaces corresponding to the SOA service, and blocks other occupancy request information from calling the multiple SOA service interfaces.
[0053] In other examples, the control module is specifically used to store the occupancy identification information, the occupancy priority information, the occupancy status information, and the arbitration result.
[0054] In other examples, the control module is specifically used to: store the occupancy identification information, the occupancy priority information, and the occupancy status information through an occupancy status storage interface; and to store the arbitration result through an occupancy request interface.
[0055] In other examples, the control module is specifically used to: generate termination processing information and store the termination processing information when the arbitration result is that the occupation is not allowed.
[0056] Reference Figure 3 The diagram shows a schematic of an electronic device according to another embodiment of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the electronic device.
[0057] like Figure 3As shown, the electronic device may include: a processor 302, a communications interface 304, a memory 306 storing a program 310, and a communications bus 308.
[0058] The processor, communication interface, and memory communicate with each other via a communication bus. The communication interface is used to communicate with other electronic devices or servers. The processor executes programs, specifically the steps described in the method embodiments above. Specifically, the program may include program code, which includes computer operation instructions.
[0059] The processor may be a CPU, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The smart device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0060] Memory is used to store programs. Memory may include high-speed RAM, and may also include non-volatile memory, such as at least one disk drive.
[0061] Specifically, the program can be used to enable the processor to perform the following operations: obtain the occupancy status information of the SOA service; process the occupancy status information and the application occupancy information according to a preset priority rule to obtain an arbitration result; parse the arbitration result, and when the arbitration result is that occupancy is allowed, the application occupancy information controls the SOA service through the SOA service interface.
[0062] The above embodiments are only used to illustrate the embodiments of the present invention and are not intended to limit the embodiments of the present invention. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of the present invention, and the patent protection scope of the embodiments of the present invention should be defined by the claims. The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or physical entities, or by products with certain functions.
[0063] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, in implementing this invention, the functions of each unit can be implemented in one or more software and / or hardware components.
[0064] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0065] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0066] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0067] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0068] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, a network interface, and memory. Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0069] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0070] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0071] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0072] This invention can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific transactions or implement specific abstract data types. This invention can also be practiced in distributed computing environments where transactions are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0073] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
Claims
1. A service priority arbitration method based on a SOA architecture, the SOA architecture comprising a SOA service matrix, the SOA service matrix comprising a plurality of SOA service interfaces, and an occupation request interface and an occupation state interface, the method being applied to a scenario in which application occupation information of different intelligent scenarios calls the SOA service interface, and comprising: obtaining occupation state information of a SOA service through the occupation state interface; and obtaining application occupation information of the SOA service through the occupation request interface; processing the occupation state information and the application occupation information according to a preset priority rule to obtain an arbitration result; analyzing the arbitration result, when the arbitration result is occupation allowed, the application occupation information controls the SOA service through any one of the plurality of SOA service interfaces, and other application occupation information is shielded from calling the SOA service interface occupied by the application occupation information and the remaining SOA service interfaces in the plurality of SOA service interfaces, so that when the application occupation information of one intelligent scenario occupies the SOA service, the plurality of SOA service interfaces in the SOA service are occupied or shielded by the application occupation information, or other application occupation information does not need to be shielded from calling the remaining SOA service interfaces in the plurality of SOA service interfaces, and a corresponding priority arbitration parameter is added in the SOA service interface with priority demand in the SOA service matrix to realize the calling of the remaining SOA service interfaces by other application occupation information; and when the arbitration result is occupation not allowed, generating and storing termination processing information. The occupation state information of the SOA service obtained through the occupation state interface comprises: occupation identifier information, occupation priority information, and occupation state information of the SOA service obtained through the occupation state interface. The processing of the occupation state information and the application occupation information according to the preset priority rule to obtain the arbitration result comprises: obtaining application occupation identifier information, application occupation priority information, and occupation request information through the occupation request interface; and processing the occupation identifier information, the occupation priority information, the occupation state information, and the application occupation identifier information, the application occupation priority information, and the occupation request information according to the preset priority rule to obtain the arbitration result. The method further comprises: storing the occupation identifier information, the occupation priority information, the occupation state information, and the arbitration result. The storing of the occupation identifier information, the occupation priority information, the occupation state information, and the arbitration result comprises: storing the occupation identifier information, the occupation priority information, and the occupation state information through an occupation state storage interface; and storing the arbitration result through an occupation request interface. The method further comprises: when the arbitration result is occupation not allowed, generating and storing termination processing information.
2. The method of claim 1, wherein, 3. The method of claim 2, wherein, 4. The method of claim 3, wherein, 5. The method of claim 4, wherein, 6. The method of claim 5, wherein, 7. A service priority arbitration device based on a SOA architecture, the SOA architecture comprising a SOA service matrix, the SOA service matrix comprising a plurality of SOA service interfaces, and an occupation request interface and an occupation state interface, the device being applied to a scene in which an occupation application information of different intelligent scenes calls the SOA service interface, comprising: an occupation state acquisition module, configured to acquire occupation state information of a SOA service through the occupation state interface; an arbitration processing module, configured to process the occupation state information and occupation application information of the SOA service acquired through the occupation request interface according to a preset priority rule to obtain an arbitration result; a control module, configured to analyze the arbitration result, when the arbitration result is occupation allowed, the occupation application information controls the SOA service through any one of the plurality of SOA service interfaces, and shields the calling of other occupation application information to the SOA service interface occupied by the occupation application information and the remaining SOA service interfaces in the plurality of SOA service interfaces, so that when the occupation application information of one intelligent scene occupies the SOA service, the plurality of SOA service interfaces in the SOA service are occupied or shielded by the occupation application information, or the calling of other occupation application information to the remaining SOA service interfaces in the plurality of SOA service interfaces is not needed to be shielded, and corresponding priority arbitration parameters are added in the SOA service interfaces of the SOA service matrix which have priority requirements, so as to realize the calling of other occupation application information to the remaining SOA service interfaces.
8. An electronic device comprising: a processor, a memory, a communication interface and a communication bus, the processor, the memory and the communication interface complete communication with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction makes the processor execute the corresponding operation of the method in any one of claims 1-6.
9. A computer storage medium, having a computer program stored thereon, the program being executed by a processor to implement the method in any one of claims 1-6.
Citation Information
Patent Citations
Service call request arbitration method of vehicle-mounted SOA system
CN114844839A