[go: up one dir, main page]

CN113885863A - Method, apparatus, electronic device and storage medium for implementing SOA service - Google Patents

Method, apparatus, electronic device and storage medium for implementing SOA service Download PDF

Info

Publication number
CN113885863A
CN113885863A CN202111228698.9A CN202111228698A CN113885863A CN 113885863 A CN113885863 A CN 113885863A CN 202111228698 A CN202111228698 A CN 202111228698A CN 113885863 A CN113885863 A CN 113885863A
Authority
CN
China
Prior art keywords
service
soa
base class
class
derived
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111228698.9A
Other languages
Chinese (zh)
Inventor
吕汉伟
寇建峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ThunderSoft Co Ltd
Original Assignee
Shanghai Bolton Novartis Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bolton Novartis Intelligent Technology Co ltd filed Critical Shanghai Bolton Novartis Intelligent Technology Co ltd
Priority to CN202111228698.9A priority Critical patent/CN113885863A/en
Publication of CN113885863A publication Critical patent/CN113885863A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method, a device, electronic equipment and a storage medium for realizing SOA service, wherein the method for realizing the SOA service comprises the following steps: determining base-class SOA service according to the same function of the vehicle; setting a base class service interface corresponding to the same function for the base class SOA service; determining derived SOA services related to the base-class SOA services, wherein the derived SOA services have the same function and additional function; inheriting a base class service interface to a derived class SOA service; and setting a derived class service interface corresponding to the additional function for the derived class SOA service. According to the method for realizing the SOA service, the workload of developers can be reduced, and the maintenance cost is reduced.

Description

Method, device, electronic equipment and storage medium for realizing SOA (service oriented architecture) service
Technical Field
The present application relates to the technical field of SOA services, and in particular, to a method, an apparatus, an electronic device, and a computer-readable storage medium for implementing SOA services.
Background
In the related art, a plurality of SOA (Service Oriented Architecture) services of a vehicle may provide some of the same functions. However, a developer needs to design a corresponding functional interface for each SOA service, which results in repeated design of functional interfaces for a plurality of SOA services providing the same function, and multiple functional interfaces need to be maintained simultaneously during modification, which results in high maintenance cost and easily causes a problem of inconsistent modification results.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment and a computer readable storage medium for realizing SOA service, so as to solve the problems in the related art, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for implementing an SOA service, including:
determining base class SOA service according to a plurality of same functions of the vehicle;
setting a base class service interface corresponding to the same function for the base class SOA service;
determining derived SOA services related to the base-class SOA services, wherein the derived SOA services have the same function and additional function;
inheriting a base class service interface to a derived class SOA service;
and setting a derived class service interface corresponding to the additional function for the derived class SOA service.
In a second aspect, an embodiment of the present application provides a method for implementing an SOA service, including:
determining base-class SOA services according to a plurality of preset SOA services with the same type of operation or the same function;
and setting a base class service interface for the base class SOA service so as to realize the same type of operation or the same function by calling the base class service interface.
In a third aspect, an embodiment of the present application provides an apparatus for implementing an SOA service, including:
a first base class service determination module: determining base class SOA services according to the same function of the vehicle;
the first base class interface setting module: the base class service interface is used for setting a base class service interface corresponding to the same function for the base class SOA service;
a derived service determination module: the method comprises the steps of determining derived SOA services related to the base class SOA services, wherein the derived SOA services have the same function and additional function;
an inheritance module: the service interface is used for inheriting the base class service interface to the derived class SOA service;
a derived interface setting module: and setting a derived class service interface corresponding to the additional function for the derived class SOA service.
In a fourth aspect, an embodiment of the present application provides an apparatus for implementing an SOA service, including:
a second base class service determination module: the method comprises the steps of determining base-class SOA services according to a plurality of preset SOA services with the same type of operation or the same function;
the second base class interface setting module: the method is used for setting a base class service interface for the base class SOA service so as to realize the same type of operation or the same function by calling the base class service interface.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described method of implementing an SOA service.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium storing computer instructions, where when the computer instructions are executed on a computer, the method in any one of the above-described aspects is performed.
The advantages or beneficial effects in the above technical solution at least include: the workload of developers can be reduced, the working efficiency is improved, and the maintenance cost is effectively reduced.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present application will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 is a schematic flowchart of a method for implementing an SOA service according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a base class SOA service and a derivative class SOA service according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a method for implementing an SOA service according to another embodiment of the present application;
FIG. 4 is a diagram illustrating a base class SOA service and a derivative class SOA service according to an embodiment of the present application;
fig. 5 is a block diagram illustrating an apparatus for implementing an SOA service according to an embodiment of the present application;
fig. 6 is a block diagram illustrating an apparatus for implementing an SOA service according to another embodiment of the present application;
fig. 7 is a block diagram of an electronic device for implementing a method for implementing an SOA service according to an embodiment of the present application.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present application. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
Fig. 1 is a schematic flow chart of a method for implementing an SOA service according to an embodiment of the first aspect of the present application. As shown in fig. 1, the method may include:
step S101: determining base-class SOA service according to the same function of the vehicle;
step S102: setting a base class service interface corresponding to the same function for the base class SOA service;
step S103: determining derived SOA services related to the base-class SOA services, wherein the derived SOA services have the same function and additional function;
step S104: inheriting a base class service interface to a derived class SOA service;
step S105: and setting a derived class service interface corresponding to the additional function for the derived class SOA service.
In one example, the same function of the vehicle may be a seat function, and thus the base class SOA service may be a seat service. The same function can be one, for example, the angle of the backrest of the seat is adjusted, and then a base class service interface is arranged for the SOA service of the base class, and the interface is used for adjusting the angle of the backrest of the seat.
In yet another example, as shown in FIG. 2, the same function may be multiple, such as adjusting seat back angle, turning seat ventilation on and off, turning seat heating on and off, and so forth. And then determining the base-class SOA service as a seat service according to the plurality of same functions of the seat, and setting a plurality of base-class service interfaces for the seat service, wherein each base-class service interface corresponds to one same function, namely the plurality of same functions correspond to the plurality of base-class service interfaces one by one. For example: setting a base class service interface A for the same function of adjusting the angle of the backrest of the seat; setting a base class service interface A for the same function of the seat for adjusting the angle of the backrest of the seat; setting a base class service interface B for opening and closing the same function of the seat for ventilation; a base class service interface C is provided for the same function of heating a seat for opening and closing the seat.
Since each seat has additional functions other than the same functions as described above, for example, the driver seat has an additional function of adjusting the front-rear position of the seat, and the passenger seat has an additional function of turning on and off the massage service, it is necessary to determine a derived SOA service for each seat according to the additional functions and set a corresponding derived SOA service interface for each additional function. Further, the derived class SOA service can inherit the base class service interface, that is, the derived class SOA service directly has the base class service interface. Therefore, when the derived SOA service is called, the base class service interface and the derived class service interface can be called at the same time. Thus, the same interface does not need to be repeatedly arranged in the service of each seat, and the code amount of developers is saved.
The above example is described by taking an example in which the method for implementing the SOA service is applied to a seat service. It will be understood by those skilled in the art that the method of implementing the SOA service can also be applied to other SOA services such as a door service and a window service of a vehicle, etc. This is not a limitation of the present application.
According to the method for realizing the SOA service in the embodiment of the first aspect of the present application, interfaces (e.g., a plurality of base class service interfaces) with the same function can be all set in the base class SOA service, and the derived base class SOA service can directly inherit the plurality of base class service interfaces without repeatedly realizing the same processing logic in the plurality of services. On one hand, the workload of developers can be reduced, the working efficiency is improved, and the error probability caused by repeatedly setting the same interface can be reduced; on the other hand, only the universal base class service interface is needed to be maintained during modification, so that the problem of inconsistent modification results can be avoided, and the maintenance cost can be effectively reduced.
In one embodiment, step S101 includes: and determining the SOA service of the base class according to the controllers with the same function.
That is, the same function of the vehicle may be derived from the controller, and a plurality of controllers have the same function. The corresponding interfaces can be arranged in the SOA service of the base class according to the same functions of the controllers, so that developers do not need to repeatedly work when developing the service of the controllers with the same functions, the working efficiency is improved, the error probability can be effectively reduced, and the maintenance is convenient.
Alternatively, the controller may include seat controllers such as a main seat controller, a sub-seat controller, and a rear seat controller. The seat controllers have the same functions of adjusting the angle of the backrest of the seat, opening and closing seat ventilation, opening and closing seat heating and the like, and further determine that the SOA service of the base class serves the seat, and base class service interfaces can be set for one or more of the same functions in the seat service without setting the interfaces of the functions for each seat controller, so that the repeated work of developers in developing the seat service is effectively reduced.
The controller can also comprise door controllers, such as a left front door controller, a right front door controller, a left rear door controller and a right rear door controller. The controller may also be a window controller, such as a left front window controller, a right front window controller, a left rear window controller, and a right rear window controller. Of course, the controller described above may also include other controllers of the vehicle, and is not limited to seat controllers, door controllers, and window controllers.
In one embodiment, step S101 includes: and determining the base-class SOA service according to the hardware with the same function.
That is, the same functionality of the vehicle may be derived from hardware on the vehicle, with multiple pieces of hardware having the same functionality. The corresponding interfaces can be arranged in the SOA service of the base class according to the same functions of a plurality of pieces of hardware, so that developers do not need to repeatedly work when developing the service with the functions based on the common hardware, the working efficiency can be improved, the error probability is reduced, and the maintenance cost is reduced.
Alternatively, the hardware may include a hard Disk Video Recorder (DVR), a Driver Monitor System (DMS), and a camera in an Around View Monitor (AVM).
For example, cameras are used in DVR, DMS and AVM, i.e., the functionality of DVR, DMS and AVM is based on common hardware, i.e., the camera. According to the camera, the base-class SOA service is determined as the camera service, and the camera function interfaces of the DVR service, the DMS service and the AVM service are all arranged in the camera service, so that the workload of developers in developing the DVR service, the DMS service and the AVM service can be greatly reduced, and the maintenance cost is low.
Fig. 3 is a flowchart illustrating a method for implementing an SOA service according to an embodiment of the second aspect of the present application, and referring to fig. 3, the method may include:
step S301: determining base-class SOA services according to a plurality of preset SOA services with the same type of operation or the same function;
step S302: and setting a base class service interface for the base class SOA service so as to realize the same type of operation or the same function by calling the base class service interface.
In one example, as shown in fig. 4, the same function may include acquiring time, and the corresponding preset SOA service may be a time-based service such as a local timer service, a GPS time service, a network time service, and the like. Therefore, the time service is used as the base-class SOA service, a corresponding base-class service interface is set for the time service, and the time can be directly acquired by calling the base-class service interface.
In the prior art, when a service user wants to acquire time, the service user usually needs to specify one of a local timer service, a GPS time service and a network time service, and needs to determine a policy by himself/herself, however, since the service user may not be concerned with a specific presentation form of time and a providing source of the time service, and cannot determine which service to use specifically before understanding capability differentiation details provided by each service, such a configuration increases a difficulty in use to a certain extent, and experiences are poor.
When a service user does not care about a specific presentation form of time and a providing source of time service, the base class service interface of the time service can be directly called to obtain the time without specifically designating local timer service, GPS time service or network time service and without a self-defined judgment strategy, so that the use difficulty is reduced, the time service can be more conveniently and quickly obtained, and the user experience can be effectively improved.
In one example, the same function may be to acquire a location, and the corresponding preset SOA service may include a GPS service, a WIFI service, a base station service, and the like. The method comprises the steps of determining base-class SOA service as position service according to GPS service, WIFI service and base station service, setting a base-class service interface for the position service, and directly acquiring the position by calling the base-class service interface. When a service user does not care about the specific presentation form of the position and the providing source of the position service, the base class service interface can be directly called to obtain the position, so that the specific GPS service, the WIFI service and the base station service do not need to be specified, the self-judgment strategy is not needed, the use difficulty can be reduced, the position service can be obtained more conveniently and rapidly, and the user experience is better.
According to the method for realizing the SOA service, a more convenient base-class service interface can be provided for a service user, so that the service user can not need to appoint specific preset SOA service by himself, the service user can be ensured to conveniently use the same functions of a plurality of preset SOA services under the condition that the service user does not need to know a specific presentation form or implement a main body, and the user experience can be effectively improved.
In one embodiment, step S302 includes: step S3021: and linking the base class service interface to the corresponding preset SOA service according to a preset priority strategy. For example, in conjunction with fig. 4, the implementation logic in the base class service interface provided by the base class SOA service may return the current time according to the priority, that is, when the service user calls the base class service interface, the time with the high priority is preferentially used.
In the example of fig. 4, the GPS time service may be a first priority, the network time service may be a second priority, and the local timer service may be a third priority, and when the service user calls the base class service interface, the GPS time is preferentially used, the network time is used if the GPS time cannot be obtained, and the local timer is used if the network time cannot be obtained. When a service user needs to specifically implement one of the local timer service, the GPS time service and the network time service, the service user can still obtain accurate time through the corresponding interface of the local timer service, the GPS time service or the network time service.
Therefore, the base class service interface is linked to the corresponding preset SOA service according to the preset priority strategy, the specific presentation form or implementation subject of the service can be controlled through the strategy in the base class service interface, the time can be obtained without judging the strategy by oneself when a service user calls the base class service interface, and convenience of the service can be improved. Moreover, the internal logic of the base class service interface can be completely controlled by a service provider, so that the optimization and the upgrade of subsequent functions are facilitated, and more flexible function experience can be brought. In addition, the base-class SOA service does not influence the use of the preset SOA service, and when a service user needs to accurately realize a certain function, the preset SOA service can still be used for realizing the function logic.
Further, step S3021 includes:
step S30211: acquiring a priority policy from a preset base class service configuration file;
step S30212: and determining the corresponding preset SOA service according to the priority strategy.
By executing the above steps S30211 and S30212, the priority policy may be obtained from a preset base class service configuration file, and the priority policy may be changed by modifying the base class service configuration file, so that the internal processing logic may be changed without modifying a code, the execution effect may be changed, and the subsequent function optimization and upgrade may be facilitated.
In one example, the same type of operation in step S301 may be an input type of operation, and the corresponding preset SOA service may include a touch input operation service, a key input operation service, a gesture input operation service, and the like. The input type operation can be directly realized by calling the base type service interface. When the service user does not care about the specific input mode, the base class service interface can be directly called to carry out input class operation, so that the touch input operation service, the key input operation service and the gesture input operation service do not need to be specified specifically, a self-judgment strategy is not needed, and the convenience is effectively improved.
In another example, the same type of operation may be an output type of operation, and the corresponding preset SOA service may include a status bar output service, an information output service, a buzzer output service, an alarm output service, and the like. The output type operation can be directly realized by calling the base type service interface. When the service user does not care about the specific output mode, the base class service interface can be directly called to carry out output class operation, so that the specific state bar output service, the information output service, the buzzer output service and the alarm output service are not required to be specified, the self-judgment strategy is not required, and the convenience can be improved.
In the above example, the description is given taking an example in which the input-type operations include touch input, key input, and gesture input and the output-type operations include status bar output, information output, buzzer output, and alarm output. It is understood that the input-class operation and the output-class operation may also include other manners of operations, and are not limited to the above.
Fig. 5 shows a block diagram of an apparatus for implementing an SOA service according to an embodiment of the third aspect of the present application. As shown in fig. 5, the apparatus may include: the first base class service determination module 501: determining base class SOA services according to the same function of the vehicle; first base class interface setup module 502: the base-class service interface is used for setting a base-class service interface corresponding to the same function for the base-class SOA service; derived services determination module 503: the method comprises the steps of determining derived SOA services related to the base class SOA services, wherein the derived SOA services have the same function and additional function; the inheritance module 504: the service interface is used for inheriting the base class service interface to the derived class SOA service; the derived interface setting module 505: and setting a derived class service interface corresponding to the additional function for the derived class SOA service.
In one embodiment, the first base class service determination module 501 may be further configured to: and determining the SOA service of the base class according to the controllers with the same function.
In another embodiment, the first base class service determination module 501 may be further configured to: and determining the base-class SOA service according to the hardware with the same function.
Fig. 6 is a block diagram illustrating an apparatus for implementing an SOA service according to an embodiment of the fourth aspect of the present application. In conjunction with fig. 6, the apparatus may include: the second base class service determination module 601: the method comprises the steps of determining base-class SOA services according to a plurality of preset SOA services with the same type of operation or the same function; the second base class interface setting module 602: the method is used for setting a base class service interface for the base class SOA service so as to realize the same type of operation or the same function by calling the base class service interface.
In one embodiment, the second base class interface setup module 602 may be further configured to: and linking the base class service interface to the corresponding preset SOA service according to a preset priority strategy.
In another embodiment, the second base class interface setup module 602 may be further configured to: acquiring a priority policy from a preset base class service configuration file; and determining the corresponding preset SOA service according to the priority strategy.
The functions of each module in each apparatus in the embodiment of the present application may refer to corresponding descriptions in the above method, and are not described herein again.
Fig. 7 shows a block diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic apparatus includes: a memory 701 and a processor 702, the memory 701 having stored therein instructions executable on the processor 702. The processor 702, when executing the instructions, implements the method of implementing the SOA service in the above embodiments. The number of the memory 701 and the processor 702 may be one or more. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
The electronic device may further include a communication interface 703 for communicating with an external device to perform data interactive transmission. The various devices are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor 702 may process instructions for execution within the electronic device, including instructions stored in the memory 701 or on the memory 701 to display graphical information of a GUI on an external input/output device (such as a display device coupled to an interface). In other embodiments, multiple processors and/or multiple buses may be used, as desired, along with multiple memories 701 and multiple memories 701. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
Alternatively, in practical implementation, if the memory 701, the processor 702, and the communication interface 703 are integrated on a chip, the memory 701, the processor 702, and the communication interface 703 may complete communication with each other through an internal interface.
It should be understood that the processor may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be a processor supporting an Advanced reduced instruction set machine (ARM) architecture.
Embodiments of the present application provide a computer-readable storage medium (such as the above-mentioned memory 701), which stores computer instructions, and when executed by a processor, the program implements the method provided in the embodiments of the present application.
Alternatively, the memory 701 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 701 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 701 may optionally include memory located remotely from processor 702, which may be connected to an electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more (two or more) executable instructions for implementing specific logical functions or steps in the process. And the scope of the preferred embodiments of the present application includes other implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. All or part of the steps of the method of the above embodiments may be implemented by hardware that is configured to be instructed to perform the relevant steps by a program, which may be stored in a computer-readable storage medium, and which, when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present application, and these should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1.一种实现SOA服务的方法,其特征在于,包括:1. a method for realizing SOA service, is characterized in that, comprises: 根据车辆的相同功能确定基类SOA服务;Determine the base class SOA service according to the same function of the vehicle; 为所述基类SOA服务设置与所述相同功能相对应的基类服务接口;Setting a base class service interface corresponding to the same function for the base class SOA service; 确定出与所述基类SOA服务相关的派生类SOA服务,所述派生类SOA服务具有所述相同功能和附加功能;determining a derived SOA service related to the base SOA service, the derived SOA service having the same function and additional functions; 将所述基类服务接口继承至所述派生类SOA服务;Inheriting the base class service interface to the derived class SOA service; 为所述派生类SOA服务设置与所述附加功能相对应的派生类服务接口。A derived service interface corresponding to the additional function is set for the derived SOA service. 2.根据权利要求1所述的方法,其特征在于,根据车辆的相同功能确定基类SOA服务,包括:2. The method according to claim 1, wherein determining the base class SOA service according to the same function of the vehicle, comprising: 根据具有所述相同功能的控制器,确定所述基类SOA服务。The base class SOA service is determined according to the controller having the same function. 3.根据权利要求2所述的方法,其特征在于,所述控制器包括门控制器、窗控制器或座椅控制器。3. The method of claim 2, wherein the controller comprises a door controller, a window controller, or a seat controller. 4.根据权利要求1所述的方法,其特征在于,根据车辆的相同功能确定基类SOA服务,包括:4. The method according to claim 1, wherein determining the base class SOA service according to the same function of the vehicle, comprising: 根据具有所述相同功能的硬件,确定所述基类SOA服务。The base class SOA service is determined according to the hardware having the same function. 5.根据权利要求4所述的方法,其特征在于,所述硬件包括硬盘录像机、驾驶员状态监测系统和全景泊车影像系统中的摄像头。5. The method according to claim 4, wherein the hardware comprises a hard disk video recorder, a driver status monitoring system and a camera in a panoramic parking image system. 6.一种实现SOA服务的方法,其特征在于,包括:6. A method for realizing SOA service, characterized in that, comprising: 根据多个具有同类型操作或相同功能的预设SOA服务,确定基类SOA服务;Determine the base SOA service according to multiple preset SOA services with the same type of operation or the same function; 为所述基类SOA服务设置基类服务接口,以通过调用所述基类服务接口,实现所述同类型操作或所述相同功能。A base class service interface is set for the base class SOA service, so as to realize the same type of operation or the same function by invoking the base class service interface. 7.根据权利要求6所述的方法,其特征在于,为所述基类SOA服务设置基类服务接口,包括:7. The method according to claim 6, wherein setting a base class service interface for the base class SOA service, comprising: 根据预设的优先级策略,将所述基类服务接口链接至对应的预设SOA服务。According to the preset priority policy, the base class service interface is linked to the corresponding preset SOA service. 8.根据权利要求7所述的方法,其特征在于,根据预设的优先级策略,将所述基类服务接口链接至对应的预设SOA服务,包括:8. The method according to claim 7, wherein, according to a preset priority policy, linking the base class service interface to a corresponding preset SOA service, comprising: 从预设的基类服务配置文件中获取所述优先级策略;Obtain the priority policy from a preset base class service configuration file; 根据所述优先级策略确定所述对应的预设SOA服务。The corresponding preset SOA service is determined according to the priority policy. 9.根据权利要求6所述的方法,其特征在于,所述同类型操作包括输入类操作或输出类操作。9 . The method according to claim 6 , wherein the operations of the same type include input-type operations or output-type operations. 10 . 10.根据权利要求6所述的方法,其特征在于,所述相同功能包括获取位置或获取时间。10. The method of claim 6, wherein the same function includes acquiring location or acquiring time. 11.一种实现SOA服务的装置,其特征在于,包括:11. A device for realizing SOA service, characterized in that, comprising: 第一基类服务确定模块:用于根据车辆的相同功能确定基类SOA服务;The first base class service determination module: used to determine the base class SOA service according to the same function of the vehicle; 第一基类接口设置模块:用于为所述基类SOA服务设置与所述相同功能相对应的基类服务接口;The first base class interface setting module: used to set the base class service interface corresponding to the same function for the base class SOA service; 派生服务确定模块:用于确定出与所述基类SOA服务相关的派生类SOA服务,所述派生类SOA服务具有所述相同功能和附加功能;Derived service determination module: used to determine a derived SOA service related to the base SOA service, where the derived SOA service has the same function and additional functions; 继承模块:用于将所述基类服务接口继承至所述派生类SOA服务;Inheritance module: used to inherit the base class service interface to the derived class SOA service; 派生接口设置模块:用于为所述派生类SOA服务设置与所述附加功能相对应的派生类服务接口。A derived interface setting module: used to set the derived service interface corresponding to the additional function for the derived SOA service. 12.一种实现SOA服务的装置,其特征在于,包括:12. A device for implementing SOA services, comprising: 第二基类服务确定模块:用于根据多个具有同类型操作或相同功能的预设SOA服务,确定基类SOA服务;The second base class service determination module: used to determine the base class SOA service according to multiple preset SOA services with the same type of operation or the same function; 第二基类接口设置模块:用于为所述基类SOA服务设置基类服务接口,以通过调用所述基类服务接口,实现所述同类型操作或所述相同功能。The second base class interface setting module: used to set a base class service interface for the base class SOA service, so as to realize the same type of operation or the same function by calling the base class service interface. 13.一种电子设备,其特征在于,包括:13. An electronic device, characterized in that, comprising: 至少一个处理器;以及at least one processor; and 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-10中任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the execution of any of claims 1-10 Methods. 14.一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机指令,所述计算机指令被处理器执行时实现如权利要求1-10中任一项所述的方法。14. A computer-readable storage medium having computer instructions stored therein which, when executed by a processor, implement the method of any one of claims 1-10.
CN202111228698.9A 2021-10-21 2021-10-21 Method, apparatus, electronic device and storage medium for implementing SOA service Pending CN113885863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111228698.9A CN113885863A (en) 2021-10-21 2021-10-21 Method, apparatus, electronic device and storage medium for implementing SOA service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111228698.9A CN113885863A (en) 2021-10-21 2021-10-21 Method, apparatus, electronic device and storage medium for implementing SOA service

Publications (1)

Publication Number Publication Date
CN113885863A true CN113885863A (en) 2022-01-04

Family

ID=79004295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111228698.9A Pending CN113885863A (en) 2021-10-21 2021-10-21 Method, apparatus, electronic device and storage medium for implementing SOA service

Country Status (1)

Country Link
CN (1) CN113885863A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442403A (en) * 2022-08-31 2022-12-06 重庆长安汽车股份有限公司 SOA-based vehicle GPS data transmission system and method
CN116048543A (en) * 2023-02-17 2023-05-02 北京奇艺世纪科技有限公司 Service construction method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866303A (en) * 2015-04-09 2015-08-26 广东欧珀移动通信有限公司 Information processing method and mobile terminal
CN106802805A (en) * 2017-01-18 2017-06-06 郑州云海信息技术有限公司 A kind of application service management method and device for being applicable server admin
US9811353B1 (en) * 2010-07-29 2017-11-07 Crimson Corporation Remotely invoking dynamic classes on a computing device
CN107402766A (en) * 2017-07-31 2017-11-28 武汉斗鱼网络科技有限公司 Page layout management method and device
CN108491204A (en) * 2018-03-30 2018-09-04 四川九阵科技股份有限公司 A kind of medical software system and method
CN108984236A (en) * 2018-08-08 2018-12-11 郑州云海信息技术有限公司 A kind of implementation method and equipment of virtual management platform
CN109634567A (en) * 2018-12-07 2019-04-16 武汉瓯越网视有限公司 A kind of information creating method, device, terminal and storage medium
CN111538491A (en) * 2020-04-24 2020-08-14 成都新致云服信息技术有限公司 Data event processing method, device, equipment and storage medium
CN112988215A (en) * 2021-02-07 2021-06-18 中国建设银行股份有限公司 Method and device for realizing evaluation rule and evaluating user data and electronic equipment
CN113360180A (en) * 2021-06-28 2021-09-07 平安普惠企业管理有限公司 Component configuration method and device of system, computer equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9811353B1 (en) * 2010-07-29 2017-11-07 Crimson Corporation Remotely invoking dynamic classes on a computing device
CN104866303A (en) * 2015-04-09 2015-08-26 广东欧珀移动通信有限公司 Information processing method and mobile terminal
CN106802805A (en) * 2017-01-18 2017-06-06 郑州云海信息技术有限公司 A kind of application service management method and device for being applicable server admin
CN107402766A (en) * 2017-07-31 2017-11-28 武汉斗鱼网络科技有限公司 Page layout management method and device
CN108491204A (en) * 2018-03-30 2018-09-04 四川九阵科技股份有限公司 A kind of medical software system and method
CN108984236A (en) * 2018-08-08 2018-12-11 郑州云海信息技术有限公司 A kind of implementation method and equipment of virtual management platform
CN109634567A (en) * 2018-12-07 2019-04-16 武汉瓯越网视有限公司 A kind of information creating method, device, terminal and storage medium
CN111538491A (en) * 2020-04-24 2020-08-14 成都新致云服信息技术有限公司 Data event processing method, device, equipment and storage medium
CN112988215A (en) * 2021-02-07 2021-06-18 中国建设银行股份有限公司 Method and device for realizing evaluation rule and evaluating user data and electronic equipment
CN113360180A (en) * 2021-06-28 2021-09-07 平安普惠企业管理有限公司 Component configuration method and device of system, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IVANHUNG: "手机是如何实现定位的——基站、Wi-Fi、GPS", pages 1 - 4, Retrieved from the Internet <URL:https://www.jianshu.com/p/39a244ba04ad> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442403A (en) * 2022-08-31 2022-12-06 重庆长安汽车股份有限公司 SOA-based vehicle GPS data transmission system and method
CN116048543A (en) * 2023-02-17 2023-05-02 北京奇艺世纪科技有限公司 Service construction method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20220188434A1 (en) Vehicle diagnosis method, server and diagnosis device
CN113885863A (en) Method, apparatus, electronic device and storage medium for implementing SOA service
US9807260B2 (en) Method and device for using cloud print service
EP3554034B1 (en) Method and device for authenticating login
CN113448662A (en) Window image display method, device and storage medium
CN108304318B (en) Equipment compatibility test method and terminal equipment
CN112527397A (en) Method and device for modifying basic input output system options and computer equipment
CN115576217A (en) A vehicle testing method, device, equipment and medium
CN112764729A (en) Application software development method and device, computer equipment and readable storage medium
US20250191750A1 (en) System and method for enrollment into patient service programs
US20190188103A1 (en) In-band monitor in system management mode context for improved cloud platform availability
CN115437625A (en) Page scaling method, container assembly, device, equipment and storage medium
CN113895518B (en) Vehicle Steering Ratio Adjustment Method, Device and Storage Medium
US11748138B2 (en) Systems and methods for computing a success probability of a session launch using stochastic automata
CN113744843A (en) Medical image data processing method and device, computer equipment and storage medium
CN111913774A (en) Floating window management method and device
CN118295909A (en) Intelligent driving algorithm debugging method and device, computer equipment and storage medium
CN114154208A (en) Method and device for moving primitives across drawings, computer equipment and storage medium
CN113742506A (en) Image display method and computer equipment
JP2009237605A (en) Cad system
CN111651131B (en) Image display method and device and computer equipment
JP2014063350A (en) Automotive electronic control device
CN113055597B (en) Camera calling implementation method and device and electronic equipment
CN112114800B (en) Browser interface processing method and device
CN116074309B (en) Access method of operating system in cross-platform container and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220606

Address after: 100083 room 101-105, 1 / F, Chuangda building, No.9 Qinghua East Road, Haidian District, Beijing (Dongsheng District)

Applicant after: Thunder Software Technology Co.,Ltd.

Address before: Pudong New Area, Shanghai, China (Shanghai) free trade trial area 400 spring 1, 3 floor

Applicant before: Shanghai Bolton Novartis Intelligent Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220104