CN116016627B - SOA (service oriented architecture) -based electric door control method, device, equipment and medium - Google Patents
SOA (service oriented architecture) -based electric door control method, device, equipment and medium Download PDFInfo
- Publication number
- CN116016627B CN116016627B CN202310009414.XA CN202310009414A CN116016627B CN 116016627 B CN116016627 B CN 116016627B CN 202310009414 A CN202310009414 A CN 202310009414A CN 116016627 B CN116016627 B CN 116016627B
- Authority
- CN
- China
- Prior art keywords
- information
- door
- service request
- domain
- service
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000004044 response Effects 0.000 claims description 67
- 238000004590 computer program Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007935 neutral effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention belongs to the field of vehicle control, and particularly relates to an electrically operated gate control method, device, equipment and medium based on an SOA architecture, wherein the method comprises the following steps: receiving out-of-domain service request information, door object operation request information and door opening position information sent by an out-of-domain calling requester; checking the out-of-domain service request information, the door object operation request information and the door opening position information, and sending the checked out-of-domain service request information, the door object operation request information and the door opening position information to an execution end after the check is qualified; operational information is received. The vehicle door control method for the external call service based on the SOA architecture can realize multi-scene call, has universality and shortens the software development period. The method can realize scene arrangement, provide an achievable method for user-defined scenes, and simultaneously has real-time execution information feedback, thereby improving user experience.
Description
Technical Field
The invention belongs to the field of vehicle control, and particularly relates to an electrically operated gate control method, device, equipment and medium based on an SOA architecture.
Background
The vehicle door is used as a basic component of the vehicle, and the traditional vehicle is simple in use mode of direct manual switch or one-key switch, so that functions and scenes are single. With the rapid development of electric intelligent automobiles, traditional hand-pulled doors are gradually changed into electric doors. In the automobile electric door system in the prior art, the opening or closing of the electric door is controlled by a vehicle-mounted controller management unit, the control method is single and fixed, the period of iterative software is long when new requirements exist, the control method is suitable for single scene, and the function of arranging the scene by a user cannot be provided.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present invention provides a method, apparatus, device and medium for controlling an electric door based on an SOA architecture, so as to solve the above technical problems.
The invention provides an electrically operated gate control method based on an SOA architecture, which is applied to external call service and comprises the following steps:
Receiving out-of-domain service request information, door object operation request information and door opening position information sent by an out-of-domain calling requester;
The outside service request information, the door object operation request information and the door opening position information are checked, and after the check is qualified, the outside service request information, the door object operation request information and the door opening position information are sent to an execution end;
and receiving operation information fed back by the execution end in response to the out-of-domain service request information, the door object operation request information and the door opening position information.
In an embodiment of the present invention, the step of receiving the out-of-domain service request information, the door object operation request information, and the door opening position information sent by the out-of-domain call requester includes:
Receiving a calling service request ID and a calling service session ID sent by the calling requester outside the domain;
Receiving a door object operation type sent by the outside-domain calling requester, wherein the door object operation type comprises one of no-request, opening, closing and stopping movement;
and receiving the door opening percentage information sent by the calling requesting party outside the domain.
In an embodiment of the present invention, the executing end responding to the service request information outside the domain, the door object operation request information, and the operation information fed back by the door opening position information includes: the method comprises the steps of calling a service request ID corresponding to a calling service currently executed by an executing end and a service running state of the executing end, wherein the service running state comprises one of Idle, running, complete, interrupted.
In an embodiment of the present invention, when the executing terminal includes a plurality of gate objects, the step of generating response information according to the running information and the out-of-domain service request information includes:
and when the service running states of all the door objects are Idle, updating the service request response state in the response information to be Idle.
In an embodiment of the present invention, when the executing terminal includes a plurality of gate objects, the step of generating response information according to the running information and the out-of-domain service request information includes:
And when the service Running state of at least one door object is Running, updating the service request response state in the response information to Running.
In an embodiment of the present invention, when the executing terminal includes a plurality of gate objects, the step of generating response information according to the running information and the out-of-domain service request information includes:
and when the service running states of all the door objects are Complete, updating the service request response state in the response information to Complete.
In an embodiment of the present invention, when the executing terminal includes a plurality of gate objects, the step of generating response information according to the running information and the out-of-domain service request information includes:
And when the service running state of any door object is inter-connected, updating the service request response state in the response information to inter-connected.
In an embodiment of the present invention, the step of generating response information according to the operation information and the out-of-domain service request information includes:
when any one of the door objects enters a Running state, detecting the execution completion condition of the control instruction of the door object;
and when the call service request ID in the running information fed back by the door object is consistent with the call service request ID of the outside-domain call requester and the service running state is Complete, updating the service request response state in the response information to Complete.
In an embodiment of the present invention, the step of generating response information according to the operation information and the out-of-domain service request information further includes:
and when the call service request ID in the running information fed back by the door object is inconsistent with the call service request ID of the outside-domain call requester, and/or the service running state is inter-connected, updating the service request response state in the response information to be inter-connected.
In an embodiment of the present invention, the step of generating response information according to the operation information and the out-of-domain service request information includes:
When the service Running state in the Running information is interupted and the calling service request ID sent by the outside-domain calling requester in the Running information is consistent, the service request response state in the response information is kept as Running;
the invention provides an electric door control device based on SOA architecture, which is applied to external call service and comprises:
The input module is used for receiving the out-of-domain service request information, the door object operation request information and the door opening position information sent by the out-of-domain calling requester;
The first execution module is used for checking the out-of-domain service request information, the door object operation request information and the door opening position information, and sending the out-of-domain service request information, the door object operation request information and the door opening position information to an execution end after the out-of-domain service request information, the door object operation request information and the door opening position information are checked to be qualified;
And the second execution module is used for receiving the running information fed back by the execution end in response to the outside-domain service request information, the door object operation request information and the door opening position information.
The electronic device provided by the invention comprises:
One or more processors;
And the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic equipment realizes the electric door control method based on the SOA architecture.
The invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor of a computer, causes the computer to execute the electric door control method based on the SOA architecture.
The invention has the beneficial effects that: the vehicle door control method for the external call service based on the SOA architecture can realize multi-scene call, has universality and shortens the software development period. The method can realize scene arrangement, provide an achievable method for user-defined scenes, and simultaneously has real-time execution information feedback, thereby improving user experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is evident that the drawings in the following description are only some embodiments of the present application and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
Fig. 1 is an application scenario diagram of an electric door control method based on an SOA architecture according to an embodiment of the present invention;
FIG. 2 is a flow chart of an electrically operated gate control method based on an SOA architecture provided by an embodiment of the present invention;
FIG. 3 is a flow chart of a method of controlling a plurality of door objects provided by an embodiment of the present invention;
FIG. 4 is a flow chart of a multi-domain out-of-domain call control method provided by an embodiment of the present invention;
FIG. 5 is a logic block diagram of a four-gate control feedback method provided by an embodiment of the present invention;
FIG. 6 is a functional block diagram of an electrically operated gate control device based on an SOA architecture provided by an embodiment of the present invention;
fig. 7 is a block diagram of an electronic device provided by an embodiment of the invention.
Detailed Description
Further advantages and effects of the present invention will become readily apparent to those skilled in the art from the disclosure herein, by referring to the accompanying drawings and the preferred embodiments. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be understood that the preferred embodiments are presented by way of illustration only and not by way of limitation.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present invention by way of illustration, and only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
In the following description, numerous details are set forth in order to provide a more thorough explanation of embodiments of the present invention, it will be apparent, however, to one skilled in the art that embodiments of the present invention may be practiced without these specific details, in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the embodiments of the present invention.
It should be noted that the SOA architecture of the present invention is also called a service oriented architecture, and is a component model, which links different functional units (called services) of an application program through well-defined interfaces and contracts between the services. The interface is defined in a neutral manner and should be independent of the hardware platform, operating system and programming language in which the service is implemented. This allows services built into a variety of such systems to interact in a unified and versatile manner.
The development of the automobile intelligence becomes trend, the software-defined automobile becomes the focus of industry attention, the software architecture of the automobile is changed from the traditional one to the SOA (service-oriented architecture) oriented design, the complexity and the cost of the software upgrading can be greatly reduced based on the SOA architecture, and the development efficiency is improved. The SOA divides different functions and hardware capacity of the vehicle end into services, and standardized packages interfaces of all service components, so that the application layer functions can be multiplexed on different vehicle types; the new function requirements of the user can be responded quickly based on the standardized interface; meanwhile, the user-defined scene arrangement can be realized, and high-quality riding experience is brought to the user.
Fig. 1 is an application scenario diagram of an electric door control method based on an SOA architecture, where in the scenario, control functions of four electric doors are provided for an outside domain, so that a vehicle door can be opened to an arbitrary designated position, and an execution running state of calling is fed back. Specifically, two modules are included. A software interface in the form of a function is provided, which can support external services to be remotely called through a specific communication protocol, and the function comprises a group of general in-participation out-participation. And secondly, providing feedback of the running state for the calling service outside the domain.
It can be understood that the out-of-domain calling requester in the invention can be a mobile terminal, such as a mobile phone APP, or a vehicle-mounted terminal, such as a vehicle-mounted interaction system; the external call service and the execution end of the present invention may exist in the same hardware main body, such as a vehicle-mounted controller, for example.
Fig. 2 is a flowchart of an electric door control method based on an SOA architecture, which is provided by an embodiment of the present invention, and the electric door control method based on the SOA architecture is applied to external call service, and the method includes:
S21: the outside service request information RequestInfo, the door object operation request information ReqTypeDoorInfo, and the door open position information DoorPosn sent by the outside call requester are received.
In a specific embodiment, the out-of-domain service request information includes a call service request ID and a call service session ID; the door object operation request information includes a door object operation type including one of no request, open, close, and stop movement; the door opening position information includes door opening percentage information.
S22: and checking the out-of-domain service request information, the door object operation request information and the door opening position information, and sending the out-of-domain service request information, the door object operation request information and the door opening position information to an execution end after the out-of-domain service request information, the door object operation request information and the door opening position information are checked to be qualified. It will be appreciated that the executing end is the enhanced service shown in fig. 1, and the enhanced service is responsible for controlling the door object motion according to the upstream control instruction.
S23: and receiving operation information fed back by the execution end in response to the out-of-domain service request information, the door object operation request information and the door opening position information.
In a specific embodiment, the operation information includes: the method comprises the steps of calling a service request ID corresponding to a calling service currently executed by an executing end and a service Running state of the executing end, wherein the service Running state comprises one of Idle, running, complete and Interrupted.
It can be understood that the response information includes a request ID of a calling service issued by the requester, a session ID of the calling service issued by the requester, and a service request response state RtnCd _general; the service request response state RtnCd _general feeds back the current command execution condition to the caller, if the execution parameter is within the defined range, returns Success, otherwise, notifies that the parameter is out of range.
Referring to fig. 3, in an embodiment of the present invention, the executing end includes a plurality of gate objects, and the step of generating response information according to the running information and the out-of-domain service request information includes:
S31: and when the service running states of all the door objects are Idle, updating the service request response state in the response information to be Idle.
S32: and when the service Running state of at least one door object is Running, updating the service request response state in the response information to Running.
S33: and when the service running states of all the door objects are Complete, updating the service request response state in the response information to Complete.
S34: and when the service running state of any door object is inter-connected, updating the service request response state in the response information to inter-connected.
The following describes steps S31-S34 in detail with reference to one specific embodiment:
The first embodiment below describes a functional scenario for implementing four-door opening to the maximum opening position by calling and transmitting the service outside the electric door. When a user has a demand, the door opening control can be realized through calling outside the domain, as shown in fig. 1, the control parameter ReqTypeDoorInfo is assigned to be 1 to represent the door opening, the door opening position DoorPosn is set to be 0to represent the maximum opening position, and the parameters of the four doors are all set to be opened to the maximum angle position. The method comprises the steps that parameter verification is carried out after an external calling service receives a parameter, control parameters are transferred through an interface of the external calling service after the external calling service is verified to be qualified, meanwhile, a request ID of the external calling service is transferred, corresponding control actions are carried out after the external calling service is received and the parameters which are verified to be qualified are transferred, the operation states of the four doors are changed from Idle to Running and are notified to the external calling service, when the external calling service detects that one door enters the Running state, the external calling service enters the Running state from Idle state, four functions are simultaneously operated after entering the Running state, whether control instructions of the doors are executed or not is detected, when the request ID fed back to be executed by the left front door enhancement service is the external calling service and the operation state is Complete, the flag position 1 in the functions is notified to the external calling service by the external calling service when the flag bits of the four doors are detected to be 1, and the door opening instruction of the external calling service is completed.
Referring to fig. 4, in an embodiment of the present invention, the step of generating response information according to the operation information and the out-of-domain service request information includes:
s41: and when any one of the door objects enters a Running state, detecting the execution completion condition of the control instruction of the door object.
S42: and when the call service request ID in the running information fed back by the door object is consistent with the call service request ID of the outside-domain call requester and the service running state is Complete, updating the service request response state in the response information to Complete.
S43: and when the call service request ID in the running information fed back by the door object is inconsistent with the call service request ID of the outside-domain call requester, and/or the service running state is inter-connected, updating the service request response state in the response information to be inter-connected.
S44: when the service Running state in the Running information is interupted and the calling service request ID sent by the external calling requester in the Running information is consistent, the service request response state in the response information is kept as Running.
The following describes the steps S41 to S44 in detail with reference to specific embodiments:
The following example II is a functional scenario in which four-door closing execution is interrupted by calling and transferring the service outside the electric door. When the user attempts to close the car door through the instruction, the car door is closed and fails to execute the instruction successfully when encountering a fault, and the information that the external calling service is interrupted is required to be sent back to the user. The same external calling service transmits the received qualified door closing control parameters to the enhanced service to execute the door closing action, as shown in fig. 5, when the enhanced service feedback is received, the external calling service is executed and the service Running state is changed from Idle to Running, the external calling service notifies the external calling service that the request has started to execute, and if only one door is Running, the external calling service is notified to request to execute. In the execution process, the situation that one gate is not successfully invoked and is always in an Idle state, or all the successfully invoked conditions such as failure or anti-pinch and anti-blocking are met in the execution process, the enhanced service can inform that the execution is interrupted, and the situation that the zone bit is not 1 can occur for four functions Running in the external invoking service, so that when all the gates are not executing the Running, the execution of the service is interrupted for the request service.
The following example three is a functional scenario in which execution of a command is interrupted by a different out-of-domain invocation service. When a user sends a door opening instruction, the electric door starts to execute, and in the executing process, the user sends a door closing instruction, the electric door stops the door opening control to execute the door closing control, the door opening is regarded as calling the service 1 outside the domain, the door closing is regarded as calling the service 2 outside the domain, and when the service 2 requests to execute, the execution of the service 1 which needs to be fed back to the service is interrupted. In the execution process, the control instruction is always executed for the same external calling service, the execution ID for enhancing feedback is always the ID of the same external calling service, and interruption is not notified when abnormal conditions such as faults do not occur. When the external calling service 1 successfully calls and executes, the external calling service receives the request ID of the service 1, and then feeds back the current Running state to the request 1, and the external calling service 2 also requests the external calling service to execute at the moment, the external calling service detects the received request ID change, the service Running state jumps to Interrupted, and the service 1 is informed that the execution is Interrupted. And then entering a Running state, informing the service 2 that the Running is being executed, and informing the service 2 that the Running is finished after all the Running is successful.
According to the three embodiments, the vehicle door control method based on the SOA architecture for the external call service can realize multi-scene call, has universality and shortens the software development period. The method can realize scene arrangement, provide an achievable method for user-defined scenes, and simultaneously has real-time execution information feedback, thereby improving user experience.
Fig. 6 is a functional block diagram of an electric door control device based on an SOA architecture according to an embodiment of the present invention, where the electric door control device based on an SOA architecture provided by the present invention is applied to an external call service, and includes an input module 61, a first execution module 62 and a second execution module 63; the input module 61 is configured to receive out-of-domain service request information, door object operation request information, and door opening position information sent by an out-of-domain call requester; the first execution module 62 is configured to verify the out-of-domain service request information, the door object operation request information, and the door opening position information, and send the out-of-domain service request information, the door object operation request information, and the door opening position information to an execution end after the verification is qualified; the second execution module 63 is configured to receive operation information fed back by the execution end in response to the out-of-domain service request information, the door object operation request information, and the door opening position information.
It should be noted that, the electric gate control device based on the SOA architecture provided in the foregoing embodiment and the electric gate control method based on the SOA architecture provided in the foregoing embodiment belong to the same concept, and the specific manner in which each module and unit perform the operation has been described in detail in the method embodiment, which is not described herein again. In practical application, the electric door control device based on the SOA architecture provided in the foregoing embodiment may allocate the functions to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above, which is not limited herein.
The embodiment of the application also provides electronic equipment, which comprises: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic equipment realizes the electric door control method based on the SOA framework provided in the various embodiments.
Fig. 7 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the application. It should be noted that, the computer system 700 of the electronic device shown in fig. 7 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a central processing unit (Central Processing Unit, CPU) 701 that can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 702 or a program loaded from a storage portion 708 into a random access Memory (Random Access Memory, RAM) 703. In the RAM 703, various programs and data required for the system operation are also stored. The CPU701, ROM 702, and RAM 703 are connected to each other through a bus 704. An Input/Output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input section 706 including a keyboard, a mouse, and the like; an output portion 707 including a Cathode Ray Tube (CRT), a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), and a speaker, etc.; a storage section 708 including a hard disk or the like; and a communication section 709 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. The drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 710 as needed, so that a computer program read out therefrom is installed into the storage section 708 as needed.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711. When executed by a Central Processing Unit (CPU) 701, performs the various functions defined in the system of the present application.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), a flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the above-described electric gate control method based on the SOA architecture. The computer-readable storage medium may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the electric door control method based on the SOA architecture provided in the above embodiments.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. It is therefore intended that all equivalent modifications and changes made by those skilled in the art without departing from the spirit and technical spirit of the present invention shall be covered by the appended claims.
Claims (11)
1. The electric door control method based on the SOA architecture is characterized by being applied to external call service, and comprises the following steps:
Receiving out-of-domain service request information, door object operation request information and door opening position information sent by an out-of-domain calling requester;
The outside service request information, the door object operation request information and the door opening position information are checked, and after the check is qualified, the outside service request information, the door object operation request information and the door opening position information are sent to an execution end;
Receiving operation information fed back by the execution end in response to the out-of-domain service request information, the door object operation request information and the door opening position information;
the step of receiving the out-of-domain service request information, the door object operation request information and the door opening position information sent by the out-of-domain calling requester includes:
Receiving a calling service request ID and a calling service session ID sent by the calling requester outside the domain;
Receiving a door object operation type sent by the outside-domain calling requester, wherein the door object operation type comprises one of no-request, opening, closing and stopping movement;
Receiving door opening percentage information sent by the calling requesting party outside the domain;
The executing end responding to the service request information outside the domain, the door object operation request information and the operation information fed back by the door opening position information comprises the following steps: the method comprises the steps of calling a service request ID corresponding to a calling service currently executed by an executing end and a service running state of the executing end, wherein the service running state comprises one of Idle, running, complete, interrupted.
2. The SOA architecture based electric door control method according to claim 1, wherein when the execution side includes a plurality of door objects, the step of generating response information according to the operation information and the out-of-domain service request information includes:
and when the service running states of all the door objects are Idle, updating the service request response state in the response information to be Idle.
3. The SOA architecture based electric door control method according to claim 1, wherein when the execution side includes a plurality of door objects, the step of generating response information according to the operation information and the out-of-domain service request information includes:
And when the service Running state of at least one door object is Running, updating the service request response state in the response information to Running.
4. The SOA architecture based electric door control method according to claim 1, wherein when the execution side includes a plurality of door objects, the step of generating response information according to the operation information and the out-of-domain service request information includes:
and when the service running states of all the door objects are Complete, updating the service request response state in the response information to Complete.
5. The SOA architecture based electric door control method according to claim 1, wherein when the execution side includes a plurality of door objects, the step of generating response information according to the operation information and the out-of-domain service request information includes:
And when the service running state of any door object is inter-connected, updating the service request response state in the response information to inter-connected.
6. The SOA architecture based power door control method according to claim 1, wherein the step of generating response information according to the operation information and the out-of-domain service request information comprises:
when any one of the door objects enters a Running state, detecting the execution completion condition of the control instruction of the door object;
and when the call service request ID in the running information fed back by the door object is consistent with the call service request ID of the outside-domain call requester and the service running state is Complete, updating the service request response state in the response information to Complete.
7. The SOA architecture based power door control method according to claim 6, wherein said step of generating response information according to said operation information and said out-of-domain service request information further comprises:
and when the call service request ID in the running information fed back by the door object is inconsistent with the call service request ID of the outside-domain call requester, and/or the service running state is inter-connected, updating the service request response state in the response information to be inter-connected.
8. The SOA architecture based power door control method according to claim 1, wherein the step of generating response information according to the operation information and the out-of-domain service request information comprises:
When the service Running state in the Running information is interupted and the calling service request ID sent by the external calling requester in the Running information is consistent, the service request response state in the response information is kept as Running.
9. The utility model provides a power door control device based on SOA architecture which characterized in that is applied to the external calling service, includes:
The input module is used for receiving the out-of-domain service request information, the door object operation request information and the door opening position information sent by the out-of-domain calling requester;
the step of receiving the out-of-domain service request information, the door object operation request information and the door opening position information sent by the out-of-domain calling requester includes:
Receiving a calling service request ID and a calling service session ID sent by the calling requester outside the domain;
Receiving a door object operation type sent by the outside-domain calling requester, wherein the door object operation type comprises one of no-request, opening, closing and stopping movement;
Receiving door opening percentage information sent by the calling requesting party outside the domain;
The first execution module is used for checking the out-of-domain service request information, the door object operation request information and the door opening position information, and sending the out-of-domain service request information, the door object operation request information and the door opening position information to an execution end after the out-of-domain service request information, the door object operation request information and the door opening position information are checked to be qualified;
the second execution module is used for receiving the running information fed back by the execution end in response to the outside-domain service request information, the door object operation request information and the door opening position information;
The executing end responding to the service request information outside the domain, the door object operation request information and the operation information fed back by the door opening position information comprises the following steps: the method comprises the steps of calling a service request ID corresponding to a calling service currently executed by an executing end and a service running state of the executing end, wherein the service running state comprises one of Idle, running, complete, interrupted.
10. An electronic device, the electronic device comprising:
One or more processors;
Storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the electrically operated gate control method based on the SOA architecture as claimed in any one of claims 1 to 8.
11. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the SOA architecture based power door control method as claimed in any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310009414.XA CN116016627B (en) | 2023-01-03 | 2023-01-03 | SOA (service oriented architecture) -based electric door control method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310009414.XA CN116016627B (en) | 2023-01-03 | 2023-01-03 | SOA (service oriented architecture) -based electric door control method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116016627A CN116016627A (en) | 2023-04-25 |
CN116016627B true CN116016627B (en) | 2024-10-01 |
Family
ID=86020767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310009414.XA Active CN116016627B (en) | 2023-01-03 | 2023-01-03 | SOA (service oriented architecture) -based electric door control method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116016627B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114809855A (en) * | 2022-04-28 | 2022-07-29 | 重庆长安汽车股份有限公司 | Vehicle window control system based on SOA framework |
CN115476765A (en) * | 2022-08-12 | 2022-12-16 | 重庆长安汽车股份有限公司 | Method and device for controlling vehicle rearview mirror, vehicle and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049878B (en) * | 2019-10-23 | 2023-03-21 | 平安科技(深圳)有限公司 | Method, device, electronic device and storage medium for visualizing micro-service call chain |
KR102461963B1 (en) * | 2021-10-01 | 2022-11-03 | 주식회사 포레스트 | Artificial intelligence-based on-site car wash information provision and vehicle door device control method, device and system |
CN115450501B (en) * | 2022-08-12 | 2023-06-27 | 重庆长安汽车股份有限公司 | Control method and device of door lock, vehicle and storage medium |
-
2023
- 2023-01-03 CN CN202310009414.XA patent/CN116016627B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114809855A (en) * | 2022-04-28 | 2022-07-29 | 重庆长安汽车股份有限公司 | Vehicle window control system based on SOA framework |
CN115476765A (en) * | 2022-08-12 | 2022-12-16 | 重庆长安汽车股份有限公司 | Method and device for controlling vehicle rearview mirror, vehicle and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116016627A (en) | 2023-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110719372B (en) | Method, device and system for remote communication with vehicle | |
CN114809855A (en) | Vehicle window control system based on SOA framework | |
CN110673918B (en) | Control method and device of intelligent equipment, intelligent equipment and storage medium | |
CN109673000A (en) | The update method and system of bluetooth key, storage medium and vehicle Cloud Server | |
CN113556339A (en) | Privacy calculation method supporting heterogeneous TEE computational power node interaction | |
CN107766145A (en) | EMS memory management process and device under dual system | |
CN115268405A (en) | Method, device, equipment and medium for powering on and powering off during starting of whole vehicle | |
CN114293877A (en) | Control system and method for vehicle-mounted skylight | |
CN116016627B (en) | SOA (service oriented architecture) -based electric door control method, device, equipment and medium | |
CN115225492A (en) | Remote upgrading method and system | |
CN111970162B (en) | Heterogeneous GIS platform service central control system under super-integration framework | |
CN115268298B (en) | Simulation test method and device, electronic equipment and storage medium | |
WO2015117458A1 (en) | Fault information collection method, device and system | |
CN110816435A (en) | Method and device for remotely controlling vehicle | |
WO2023168913A1 (en) | Method and apparatus for compatibility of sdk with access application, device and medium | |
CN115617018A (en) | Vehicle sunroof control method, device, equipment and medium | |
CN112351089B (en) | Data transmission method, system and device between virtual machine and accelerator | |
CN112491614B (en) | Configuration information online automatic validation method and system for embedded equipment | |
CN116980410A (en) | Service framework switching method, device, equipment and storage medium | |
CN112685082A (en) | Task execution method and device, computer readable storage medium and vehicle-mounted terminal | |
CN103399786B (en) | A kind of based on run time context go out standing posture service implementing method and system | |
CN115743001B (en) | Vehicle control method, device, electronic apparatus, storage medium, and program product | |
CN116524629A (en) | Vehicle key configuration method and device, electronic equipment and storage medium | |
CN107239350A (en) | Method and system for calling gateway capacity | |
WO2024174699A1 (en) | Method for providing network service , electronic device, and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |