CN116132513B - Method, device, equipment and storage medium for updating parameters of service arrangement - Google Patents
Method, device, equipment and storage medium for updating parameters of service arrangement Download PDFInfo
- Publication number
- CN116132513B CN116132513B CN202310163903.0A CN202310163903A CN116132513B CN 116132513 B CN116132513 B CN 116132513B CN 202310163903 A CN202310163903 A CN 202310163903A CN 116132513 B CN116132513 B CN 116132513B
- Authority
- CN
- China
- Prior art keywords
- parameters
- item
- arrangement
- service
- execution
- 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 45
- 238000004590 computer program Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 6
- 230000009471 action Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 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
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a parameter updating method, device, equipment and storage medium for service arrangement, wherein the method comprises the following steps: acquiring a service arrangement sequence and a trigger instruction from a target terminal; executing the arrangement items in the service arrangement sequence according to the trigger instruction to obtain an execution item, wherein the arrangement items are services corresponding to the service-oriented architecture (SOA) service associated with the trigger instruction; comparing the parameters of the programming item with the parameters of the execution item, and determining target parameters based on a comparison result; if a user instruction of the target terminal is received, updating the parameters of the programming item into target parameters according to the user instruction so as to complete parameter updating. The invention can not only identify whether the parameters of the arrangement item are changed, but also update the parameters of the arrangement item, and provide the service for satisfying the user through the updated arrangement item.
Description
Technical Field
The present invention relates to the field of service orchestration technologies, and in particular, to a method, an apparatus, a device, and a storage medium for updating parameters of service orchestration.
Background
Providing intelligent automobile services for users is an important direction of future automobile development, and applications for serving business functions in automobiles depend on an SOA (Service OrientedArchitecture ). The SOA is an architecture design idea, changes interaction between controllers in an automobile from signal-based communication to service-based communication, and pulls out various functions in the automobile to form a plurality of services so as to cooperatively apply parts and application software in the whole automobile. In the related technology, mainly through a service arrangement technology, arrangement items, namely services are combined according to a certain logic or flow to obtain a service arrangement sequence, so that new automobile services are formulated, and then analysis processing is carried out through a corresponding service arrangement execution engine, so that application of the services is realized.
However, the service orchestration execution engine typically ends directly after the orchestration sequence is executed, without further processing and optimizing the orchestration. Therefore, if the user adjusts the relevant parameters of the currently executed service, i.e. the parameters of the programming item, the parameters are not identified and updated during the execution of the programming sequence, the user still needs to readjust the next time, and the problem that the parameters cannot be identified and updated is caused.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the present invention provides a method, apparatus, device and storage medium for updating parameters of service orchestration, so as to solve at least one of the above-mentioned technical problems.
According to an aspect of the embodiment of the present invention, there is provided a method for updating parameters of service orchestration, including:
acquiring a service arrangement sequence and a trigger instruction from a target terminal;
executing an arrangement item in the service arrangement sequence according to the trigger instruction to obtain an execution item, wherein the arrangement item is a service corresponding to the service-oriented architecture (SOA) service associated with the trigger instruction;
comparing the parameters of the arrangement item with the parameters of the execution item, and determining target parameters based on a comparison result;
and if a user instruction of the target terminal is received, updating the parameters of the arrangement item into the target parameters according to the user instruction so as to complete parameter updating.
In one embodiment of the present invention, comparing the parameters of the layout item and the parameters of the execution item, and before determining the target parameters based on the comparison result, further includes:
acquiring an arrangement item configuration list;
detecting an execution state of the service orchestration sequence;
and if the execution state is that the execution is finished, waiting for a first preset time, and judging whether the service arrangement sequence exists in the arrangement item configuration list.
In one embodiment of the present invention, comparing the parameters of the layout item and the parameters of the execution item, and determining the target parameters based on the comparison result includes:
If the service programming sequence exists in the programming item configuration list, comparing the parameters of the programming item with the parameters of the execution item, and determining whether the parameters of the programming item and the parameters of the execution item are consistent;
if the parameters of the arrangement item are consistent with the parameters of the execution item, ending the parameter updating;
and if the parameters of the arrangement item and the parameters of the execution item are inconsistent, taking the parameters of the execution item as the target parameters.
In one embodiment of the present invention, if a user instruction of the target terminal is received, updating parameters of the arrangement item to the target parameters according to the user instruction to complete parameter updating includes:
if the parameters of the arrangement item and the parameters of the execution item are inconsistent, the target terminal generates inquiry information whether to execute parameter updating according to the target parameters, and pushes the inquiry information to a user, wherein the user instruction is generated in response to the inquiry information;
If a user instruction for executing parameter updating is received in a second preset time, updating the parameters of the arrangement items to the target parameters through a cloud to obtain an updated service arrangement sequence;
and if a user instruction from the user for determining not to execute the parameter updating is received within the second preset time, not executing the parameter updating.
In one embodiment of the present invention, updating the parameters of the schedule item to the target parameters through the cloud end, after obtaining the updated service schedule sequence, includes:
Transmitting an update instruction to an execution engine by utilizing the cloud;
And synchronizing, by the execution engine, the updated orchestration sequence in response to the update instruction.
In one embodiment of the present invention, before acquiring the trigger instruction from the target terminal, the method further includes:
And receiving the trigger instruction input by the user by utilizing the target terminal, wherein the input mode of the trigger instruction comprises at least one of voice recognition, action recognition and automatic triggering.
According to an aspect of an embodiment of the present invention, a parameter updating apparatus for service orchestration includes:
the acquisition module is configured to acquire a service arrangement sequence and acquire a trigger instruction from a target terminal;
The execution module is configured to execute the arrangement items in the service arrangement sequence according to the trigger instruction to obtain execution items, wherein the arrangement items are services corresponding to the service-oriented architecture (SOA) services associated with the trigger instruction;
The determining module is configured to compare the parameters of the arrangement item with the parameters of the execution item and determine target parameters based on comparison results;
And the updating module is configured to update the parameters of the arrangement item to the target parameters according to the user instruction if the user instruction of the target terminal is received, so as to complete parameter updating.
According to an aspect of the embodiments of the present invention, there is provided a vehicle apparatus, the vehicle being applied to the parameter updating method of service orchestration as described in the above embodiments.
According to an aspect of an embodiment of the present invention, there is provided an electronic apparatus including: one or more processors; and a storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the parameter updating method of service orchestration as described in the above embodiments.
According to an aspect of the embodiments of the present invention, there is provided 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 a parameter updating method of service orchestration as described in the above embodiments.
The invention has the beneficial effects that: the invention provides a parameter updating method, a device, equipment and a storage medium for service arrangement, wherein the method comprises the steps of obtaining a service arrangement sequence and obtaining a trigger instruction from a target terminal; executing the arrangement items in the service arrangement sequence according to the trigger instruction to obtain an execution item, wherein the arrangement items are services corresponding to the service-oriented architecture (SOA) service associated with the trigger instruction; comparing the parameters of the programming item with the parameters of the execution item, and determining target parameters based on a comparison result; if a user instruction of the target terminal is received, updating the parameters of the arrangement item into target parameters according to the user instruction, and realizing the parameter update of service arrangement. Whether the programming parameters are changed can be identified through the target parameters, and the programming parameters can be updated through the user instructions, so that the user does not need to repeatedly adjust the programming parameters, and better service experience is provided for the user.
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 invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is evident that the drawings in the following description are only some embodiments of the present invention 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 a schematic diagram of an implementation environment of a parameter update method of a service orchestration according to an example embodiment of the present invention;
FIG. 2 is a flow chart of a method of updating parameters of a service orchestration shown in an exemplary embodiment of the invention;
FIG. 3 is a flow chart illustrating an execution engine start preparation phase according to an exemplary embodiment of the present invention;
FIG. 4 is a flow chart illustrating a parameter update for performing a service orchestration sequence according to an example embodiment of the present invention;
FIG. 5 is a block diagram of a parameter updating apparatus of a service orchestration shown in an exemplary embodiment of the invention;
Fig. 6 shows a schematic diagram of a computer system suitable for use in implementing 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.
Fig. 1 is a schematic view of an implementation environment of a parameter updating method of service orchestration according to an exemplary embodiment of the present invention.
Referring to fig. 1, the implementation environment includes a vehicle end 101 and a cloud end 102. The cloud 102 is provided with a cloud service arrangement system, and the vehicle end 101 and the cloud 102 are connected through a network, so that an execution engine (i.e., a service arrangement execution engine) and a target terminal can interact with the vehicle end 101 and the cloud arrangement system through the network. The execution engine can be arranged at a vehicle end or a cloud end; the target terminal is a vehicle-mounted programming application program, and can be mounted on a vehicle-mounted system in a vehicle end, and can also be mounted on mobile equipment connected with the vehicle-mounted system, such as a mobile phone, a computer and the like. The target terminal can interact with a user through a user interface of the vehicle-mounted system or a screen of the mobile device connected with the vehicle-mounted system, generates a trigger instruction to enable the execution engine to execute the programming sequence, displays the programming sequence to the user if the programming parameters are changed, then acquires a user instruction about updating the programming parameters through the target terminal, and notifies the user instruction to a service programming system in the cloud, so that the programming parameters are updated. Note that the specific connection method of the network connection is not limited herein, and may be, for example, a wireless network communication method such as 3G (third generation mobile information technology), 4G (fourth generation mobile information technology), and 5G (fifth generation mobile information technology).
With continued reference to fig. 1, in the embodiment of the present invention, the cloud 102 is carried by a server, which may be an independent physical server, or may be a server cluster or a distributed device formed by multiple physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content DeliveryNetwork, content delivery networks), and basic cloud computing services such as big data and artificial intelligence platforms.
Fig. 2 is a flowchart illustrating a parameter updating method of service orchestration according to an example embodiment of the present invention. The method may be applied to the implementation environment shown in fig. 1, and executed by an execution engine in a vehicle end or a cloud end, and it should be understood that the method may also be applicable to other exemplary implementation environments, and be specifically executed by devices in other implementation environments, and the implementation environment to which the method is applicable is not limited by the embodiment.
Referring to fig. 2, in an exemplary embodiment, the method for updating parameters of service orchestration at least includes steps S210 to S240, which are described in detail below:
step S210, a service arrangement sequence is acquired, and a trigger instruction from a target terminal is acquired.
Specifically, before the execution engine executes the service orchestration sequence, the orchestration item configuration list and the service orchestration sequence need to be obtained from the cloud service orchestration system in the cloud. The service arrangement sequence is a result of combining a plurality of arrangement items according to a certain logic or flow, the arrangement items are services described in an SOA (service oriented architecture) mode, if the services have parameters, the parameters of the arrangement items corresponding to the services are used as parameters of the arrangement items, the parameters are added into an arrangement item configuration list, and the arrangement item configuration list comprises the arrangement items which need to be checked whether parameter updating is carried out in the service arrangement sequence. It should be understood that before the execution engine does not receive the trigger instruction, the execution engine updates the service orchestration sequence and synchronizes the latest service orchestration sequence in the cloud service orchestration system.
In one embodiment of the present invention, the schedule items in the configuration list may be to set the temperature of the air conditioner in the vehicle to 26 ℃, or to start music playing, or to set the opening of the sunshade to 50%, etc. The parameters of the schedule term influence the state and the state value, for example, when the schedule term is the temperature of the air conditioner in the vehicle, the temperature of the air conditioner in the vehicle is the state, the temperature value is the state value, and the temperature value is expressed as floating point data between-50 and 60, and the unit is the temperature. For another example, the schedule term is to set the shade opening, and the parameters of the schedule term affect the state of the shade opening and the state value of the opening value, the opening value may be expressed as an integer of 0 to 100, and the unit is a percentage. It should be understood that the state is described as a service in the SOA manner, that is, the temperature of the air conditioner in the vehicle is described as Basc _actemplncar.get_ ACTEMPINCAR, and when the execution engine executes the schedule of setting the temperature of the air in the vehicle, the Basc _actemplncar.get_ ACTEMPINCAR service is invoked and the returned data, that is, the temperature value, is processed.
FIG. 3 is a flow chart illustrating the execution engine start preparation phase according to an exemplary embodiment of the present invention.
Referring to fig. 3, after the execution engine is started, parameters of the arrangement items in the arrangement sequence are acquired, states and state values influenced by the parameters of the arrangement items are determined, an arrangement item configuration list is acquired, then the arrangement script is updated, and finally a trigger instruction from the target terminal is waited, so that the execution of the service arrangement sequence is triggered. It should be understood that a orchestration script is a data description of an orchestration sequence.
Specifically, there are a plurality of service orchestration sequences, each including a different orchestration item, and the service orchestration sequence that needs to be executed needs to be determined by a trigger instruction. The trigger instruction of the target terminal is input by a user, and the input modes comprise voice recognition, action recognition and automatic triggering.
In one embodiment of the present invention, the input mode of the trigger instruction may be that the user directly clicks the service arrangement sequence to be executed on the target terminal manually; or determining a service orchestration sequence to be performed by identifying the user's voice; the automatic triggering can also be performed according to the triggering conditions preset by the user, so that the service arrangement sequence to be executed is determined.
Step S220, executing the arrangement items in the service arrangement sequence according to the trigger instruction to obtain the execution items, wherein the arrangement items are services corresponding to the service-oriented architecture SOA services associated with the trigger instruction.
Specifically, after receiving a trigger instruction from a target terminal, an execution engine executes an arrangement item in a service arrangement sequence determined by the trigger instruction, namely, invokes a service corresponding to the arrangement item, and takes the executed arrangement item as an execution item, wherein the arrangement item corresponds to the execution item one by one. In the execution process, the execution item and the execution result can be displayed to the user through the target terminal.
And step S230, comparing the parameters of the arrangement item with the parameters of the execution item, and determining target parameters based on the comparison result.
Specifically, after the service arrangement sequence is executed, waiting for a first preset time, and judging whether the executed arrangement sequence exists in the arrangement item configuration list. If the parameters do not exist, the method is directly ended, and the parameters of the programming item and the parameters of the execution item are not compared; if the parameters exist, comparing the parameters of the layout item with the parameters of the execution item, and judging whether the parameters are consistent. If the parameters of the programming item are consistent with the parameters of the execution item, the user is informed of the fact that the current parameters are suitable, the programming item can be directly ended, and the parameters are not updated; if the parameters of the programming item and the parameters of the execution item are inconsistent, the user is informed of adjusting the parameters of the programming item, and the parameters of the execution item are taken as target parameters for subsequent parameter updating. It should be noted that if the service engine receives the end signal sent by the controller in the vehicle end, execution of the schedule item in the service schedule sequence will also be stopped, and then the first preset time is waited, where the first preset time may be specifically set according to the actual situation. In this embodiment, by comparing the parameters of the layout item with the parameters of the execution item, it can be automatically identified whether the user has a need for parameter update for the adjusted parameters.
In one embodiment of the present invention, if the parameter of the schedule item and the parameter of the corresponding execution item affect the temperature of the air conditioner in the vehicle, at this time, the temperature value affected by the parameter of the schedule item is 26 ℃ and the temperature value affected by the parameter of the execution item is 28 ℃, the user adjusts the temperature value after the schedule item is executed, and invokes Basc _actemplncar. Get_ ACTEMPINCAR service after the adjustment, and the returned data is 28 ℃.
Step S240, if a user instruction of the target terminal is received, updating the parameters of the layout item to target parameters according to the user instruction, so as to complete the parameter updating.
Specifically, if the parameters of the arrangement item and the parameters of the execution item are inconsistent, the target terminal generates query information whether to execute parameter updating according to the target parameters, and pushes the query information to the user, and the user instruction is generated in response to the query information. If a user instruction for executing parameter updating is received in the second preset time, updating the parameters of the arrangement items to target parameters through the cloud to obtain an updated service arrangement sequence; and if a user instruction from the user for determining not to execute the parameter updating is received within the second preset time, not executing the parameter updating. It should be noted that the second preset time may be set according to actual situations, and is not limited herein.
In one embodiment of the present invention, if the user adjusts the schedule, the target terminal will generate query information, determining to the user whether to perform parameter updating, for example, whether to update the temperature value of the in-vehicle air conditioner to 28 ℃. If the user determines to execute, the target terminal informs a cloud service arrangement system in the cloud, and updates the parameters of the arrangement items to target parameters, namely to parameters adjusted by the user; if the user does not determine or exceeds the second preset time, the parameter updating is not executed.
Specifically, parameters of the arrangement items are updated to target parameters through the cloud, after an updated service arrangement sequence is obtained, an update instruction is sent to an execution engine through the cloud, and the updated arrangement sequence is synchronized through the response of the execution engine to the update instruction.
In one embodiment of the present invention, the cloud service arrangement system in the cloud obtains the updated service arrangement sequence by adjusting the parameters of the corresponding arrangement items in the service arrangement sequence as target parameters, and then notifies the execution engine to update, and the execution engine acquires the updated service arrangement sequence again from the cloud service arrangement system, so that the parameters of the arrangement items in the service arrangement sequence are the latest updated parameters when the execution engine executes the service arrangement sequence next time.
FIG. 4 is a flow chart illustrating parameter updating of an execution service orchestration sequence according to an example embodiment of the present invention.
Referring to fig. 4, parameter updating needs to be completed through an execution engine, a target terminal and a cloud service orchestration system. In the first stage, a user inputs a trigger instruction through a target terminal in a manual, voice and automatic triggering mode, then an execution engine acquires the trigger instruction sent by the target terminal, executes the arrangement items in the service arrangement sequence related to the trigger instruction until the service arrangement sequence is executed, the executed arrangement items are used as execution items, and the execution items and the execution results can be displayed to the user through the target terminal so as to prompt the user about the execution condition of the arrangement items. The second stage, waiting for the first preset time, comparing the parameters of the programming item with the parameters of the execution item, judging whether the parameters are consistent, and ending the flow if the parameters are consistent; if the parameters are inconsistent, the target terminal inquires whether the user performs parameter updating or not in the second preset time. If the user selects not to update, ending the parameter updating flow; if the user selects to update, the cloud service arrangement system is informed to update parameters through the target terminal to obtain an updated service arrangement sequence, and then the cloud service arrangement system sends an update instruction to the execution engine to enable the execution engine to synchronize the updated service arrangement sequence.
Fig. 5 is a block diagram of a parameter updating apparatus of service orchestration shown in an exemplary embodiment of the present invention. The apparatus may be applied to the implementation environment shown in fig. 1, and may also be applied to other exemplary implementation environments, and the embodiment is not limited to the implementation environment to which the apparatus is applied.
Referring to fig. 5, the exemplary service orchestration parameter updating device comprises: an acquisition module 501, an execution module 502, a determination module 503, and an update module 504.
An acquisition module 501 configured to acquire a service orchestration sequence, and acquire a trigger instruction from a target terminal;
the execution module 502 is configured to execute an arrangement item in the service arrangement sequence according to the trigger instruction to obtain an execution item, wherein the arrangement item is a service corresponding to the service-oriented architecture (SOA) service associated with the trigger instruction;
a determining module 503 configured to compare the parameters of the layout item and the parameters of the execution item, and determine the target parameters based on the comparison result;
and the updating module 504 is configured to update the parameters of the arrangement item to the target parameters according to the user instruction if the user instruction of the target terminal is received, so as to complete the parameter updating.
It should be noted that, the parameter updating device of the service orchestration provided by the above embodiment and the parameter updating method of the service orchestration provided by the above embodiment belong to the same concept, wherein the specific manner in which each module and unit perform the operation has been described in detail in the method embodiment, and will not be described in detail here. In practical application, the parameter updating device for service arrangement provided in the above 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 present invention 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 a parameter updating method of service orchestration as before. 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.
The embodiment of the invention also provides vehicle equipment, and the vehicle is applied to the parameter updating method of the service arrangement in the embodiment.
The embodiment of the invention also provides electronic equipment, which comprises: one or more processors; and a storage means for storing one or more programs which, when executed by the one or more processors, cause the electronic device to implement the parameter updating method of service orchestration provided in the above-described embodiments.
Fig. 6 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention. It should be noted that, the computer system 600 of the electronic device shown in fig. 6 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a central processing unit (Central Processing Unit, CPU) 601 that can perform various appropriate actions and processes, such as performing the methods in the above-described embodiments, according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage portion 608 into a random access memory (Random Access Memory, RAM) 603. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other through a bus 704. An Input/Output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), and a speaker, etc.; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN (Local AreaNetworK ) card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present invention, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present invention 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 through the communication portion 609, and/or installed from the removable medium 611. When executed by a Central Processing Unit (CPU) 601, performs the various functions defined in the system of the present invention.
Embodiments of the present invention also provide 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 a parameter updating method of service orchestration as before. 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.
It should be noted that, the computer readable medium shown in the embodiments of the present invention 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 invention, 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 invention. 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 invention 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.
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 (9)
1. A method for updating parameters of a service orchestration, comprising:
acquiring a service arrangement sequence and a trigger instruction from a target terminal;
executing an arrangement item in the service arrangement sequence according to the trigger instruction to obtain an execution item, wherein the arrangement item is a service corresponding to the service-oriented architecture (SOA) service associated with the trigger instruction;
comparing the parameters of the arrangement item with the parameters of the execution item, and determining target parameters based on a comparison result; if the service arrangement sequence exists in the arrangement item configuration list, comparing parameters of the arrangement item with parameters of the execution item, and determining whether the parameters of the arrangement item and the parameters of the execution item are consistent; if the parameters of the arrangement item are consistent with the parameters of the execution item, ending the parameter updating; if the parameters of the arrangement item and the parameters of the execution item are inconsistent, taking the parameters of the execution item as the target parameters;
and if a user instruction of the target terminal is received, updating the parameters of the arrangement item into the target parameters according to the user instruction so as to complete parameter updating.
2. The method for updating parameters of service orchestration according to claim 1, wherein comparing parameters of the orchestration item with parameters of the execution item, and before determining target parameters based on the comparison result, further comprising:
acquiring an arrangement item configuration list;
detecting an execution state of the service orchestration sequence;
and if the execution state is that the execution is finished, waiting for a first preset time, and judging whether the service arrangement sequence exists in the arrangement item configuration list.
3. The service orchestration parameter updating method according to claim 1, wherein if a user instruction of the target terminal is received, updating parameters of the orchestration item to the target parameters according to the user instruction to complete parameter updating, comprising:
if the parameters of the arrangement item and the parameters of the execution item are inconsistent, the target terminal generates inquiry information whether to execute parameter updating according to the target parameters, and pushes the inquiry information to a user, wherein the user instruction is generated in response to the inquiry information;
If a user instruction for executing parameter updating is received in a second preset time, updating the parameters of the arrangement items to the target parameters through a cloud to obtain an updated service arrangement sequence;
and if a user instruction from the user for determining not to execute the parameter updating is received within the second preset time, not executing the parameter updating.
4. The method for updating parameters of service orchestration according to claim 3, wherein after updating parameters of the orchestration item to the target parameters through a cloud, obtaining an updated service orchestration sequence, the method comprises:
Transmitting an update instruction to an execution engine by utilizing the cloud;
And synchronizing, by the execution engine, the updated orchestration sequence in response to the update instruction.
5. A method for updating parameters of a service orchestration according to any one of claims 1-4, further comprising, before obtaining a trigger instruction from a target terminal:
And receiving the trigger instruction input by the user by utilizing the target terminal, wherein the input mode of the trigger instruction comprises at least one of voice recognition, action recognition and automatic triggering.
6. A parameter updating apparatus for service orchestration, comprising:
The acquisition module is used for acquiring the service arrangement sequence and acquiring a trigger instruction from the target terminal;
The execution module is used for executing the arrangement items in the service arrangement sequence according to the trigger instruction to obtain the execution items, wherein the arrangement items are services corresponding to the service-oriented architecture (SOA) services associated with the trigger instruction;
The determining module is used for comparing the parameters of the arrangement item with the parameters of the execution item and determining target parameters based on a comparison result; if the service arrangement sequence exists in the arrangement item configuration list, comparing parameters of the arrangement item with parameters of the execution item, and determining whether the parameters of the arrangement item and the parameters of the execution item are consistent; if the parameters of the arrangement item are consistent with the parameters of the execution item, ending the parameter updating; if the parameters of the arrangement item and the parameters of the execution item are inconsistent, taking the parameters of the execution item as the target parameters;
And the updating module is used for updating the parameters of the arrangement item into the target parameters according to the user instruction if the user instruction of the target terminal is received, so as to complete parameter updating.
7. A vehicle apparatus, characterized in that the vehicle is applied to the parameter updating method of service orchestration according to any one of claims 1 to 5.
8. An electronic device, the electronic device comprising:
one or more processors;
Storage means for storing one or more programs which, when executed by the one or more processors, cause the electronic device to implement the method of updating parameters of service orchestration according to any one of claims 1 to 5.
9. A computer-readable storage medium, having stored thereon a computer program for causing a computer to perform the parameter updating method of service orchestration according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310163903.0A CN116132513B (en) | 2023-02-24 | 2023-02-24 | Method, device, equipment and storage medium for updating parameters of service arrangement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310163903.0A CN116132513B (en) | 2023-02-24 | 2023-02-24 | Method, device, equipment and storage medium for updating parameters of service arrangement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116132513A CN116132513A (en) | 2023-05-16 |
CN116132513B true CN116132513B (en) | 2024-04-19 |
Family
ID=86304627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310163903.0A Active CN116132513B (en) | 2023-02-24 | 2023-02-24 | Method, device, equipment and storage medium for updating parameters of service arrangement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116132513B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108985647A (en) * | 2018-07-27 | 2018-12-11 | 广船国际有限公司 | A kind of execution method, apparatus, equipment and the storage medium of the project plan |
CN112035110A (en) * | 2020-08-28 | 2020-12-04 | 腾讯科技(深圳)有限公司 | Parameter adjusting method, device, client and storage medium |
WO2020248805A1 (en) * | 2019-06-12 | 2020-12-17 | 中兴通讯股份有限公司 | Service chain orchestration method and apparatus, storage medium and electronic apparatus |
CN112181621A (en) * | 2020-09-27 | 2021-01-05 | 中国建设银行股份有限公司 | Task scheduling system, method, equipment and storage medium |
US10970113B1 (en) * | 2020-12-23 | 2021-04-06 | CTRL IQ, Inc. | Systems and methods for orchestrating seamless, distributed, and stateful high performance computing |
US11089092B1 (en) * | 2020-03-31 | 2021-08-10 | EMC IP Holding Company LLC | N-tier workload and data placement and orchestration |
CN113377289A (en) * | 2021-06-01 | 2021-09-10 | 北京齐尔布莱特科技有限公司 | Cache management method, system, computing device and readable storage medium |
US11182221B1 (en) * | 2020-12-18 | 2021-11-23 | SambaNova Systems, Inc. | Inter-node buffer-based streaming for reconfigurable processor-as-a-service (RPaaS) |
CN114675820A (en) * | 2022-04-12 | 2022-06-28 | 京东科技信息技术有限公司 | Service arrangement data processing method and device, electronic equipment and storage medium |
CN114756224A (en) * | 2022-04-08 | 2022-07-15 | 中国银行股份有限公司 | Activity execution method and device |
CN114996006A (en) * | 2022-05-31 | 2022-09-02 | 济南浪潮数据技术有限公司 | Server arrangement configuration execution method, device, equipment and medium |
CN115168215A (en) * | 2022-07-19 | 2022-10-11 | 中国银行股份有限公司 | Service-based arrangement testing method and device |
CN115237931A (en) * | 2022-07-22 | 2022-10-25 | 中国银行股份有限公司 | Method and system for updating sub-service processing result of service arrangement |
CN115514632A (en) * | 2022-09-29 | 2022-12-23 | 建信金融科技有限责任公司 | Resource template arranging method, device and equipment for cloud service and storage medium |
CN115567388A (en) * | 2022-09-23 | 2023-01-03 | 广州市申迪计算机系统有限公司 | Method, system, device and storage medium for automatically updating network slice configuration |
CN115629737A (en) * | 2022-09-26 | 2023-01-20 | 浙江极氪智能科技有限公司 | Method for implementing process arrangement engine and process arrangement engine system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9900391B2 (en) * | 2014-08-05 | 2018-02-20 | Microsoft Technology Licensing, Llc | Automated orchestration of infrastructure service blocks in hosted services |
CN108432208B (en) * | 2016-12-15 | 2020-02-21 | 华为技术有限公司 | Service arranging method, device and server |
US20210334235A1 (en) * | 2020-04-23 | 2021-10-28 | Netapp, Inc. | Systems and methods for configuring, creating, and modifying parallel file systems |
US20220318067A1 (en) * | 2021-04-06 | 2022-10-06 | Intuit Inc. | Orchestration layer for user defined automation workflows |
-
2023
- 2023-02-24 CN CN202310163903.0A patent/CN116132513B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108985647A (en) * | 2018-07-27 | 2018-12-11 | 广船国际有限公司 | A kind of execution method, apparatus, equipment and the storage medium of the project plan |
WO2020248805A1 (en) * | 2019-06-12 | 2020-12-17 | 中兴通讯股份有限公司 | Service chain orchestration method and apparatus, storage medium and electronic apparatus |
US11089092B1 (en) * | 2020-03-31 | 2021-08-10 | EMC IP Holding Company LLC | N-tier workload and data placement and orchestration |
CN112035110A (en) * | 2020-08-28 | 2020-12-04 | 腾讯科技(深圳)有限公司 | Parameter adjusting method, device, client and storage medium |
CN112181621A (en) * | 2020-09-27 | 2021-01-05 | 中国建设银行股份有限公司 | Task scheduling system, method, equipment and storage medium |
US11182221B1 (en) * | 2020-12-18 | 2021-11-23 | SambaNova Systems, Inc. | Inter-node buffer-based streaming for reconfigurable processor-as-a-service (RPaaS) |
US10970113B1 (en) * | 2020-12-23 | 2021-04-06 | CTRL IQ, Inc. | Systems and methods for orchestrating seamless, distributed, and stateful high performance computing |
CN113377289A (en) * | 2021-06-01 | 2021-09-10 | 北京齐尔布莱特科技有限公司 | Cache management method, system, computing device and readable storage medium |
CN114756224A (en) * | 2022-04-08 | 2022-07-15 | 中国银行股份有限公司 | Activity execution method and device |
CN114675820A (en) * | 2022-04-12 | 2022-06-28 | 京东科技信息技术有限公司 | Service arrangement data processing method and device, electronic equipment and storage medium |
CN114996006A (en) * | 2022-05-31 | 2022-09-02 | 济南浪潮数据技术有限公司 | Server arrangement configuration execution method, device, equipment and medium |
CN115168215A (en) * | 2022-07-19 | 2022-10-11 | 中国银行股份有限公司 | Service-based arrangement testing method and device |
CN115237931A (en) * | 2022-07-22 | 2022-10-25 | 中国银行股份有限公司 | Method and system for updating sub-service processing result of service arrangement |
CN115567388A (en) * | 2022-09-23 | 2023-01-03 | 广州市申迪计算机系统有限公司 | Method, system, device and storage medium for automatically updating network slice configuration |
CN115629737A (en) * | 2022-09-26 | 2023-01-20 | 浙江极氪智能科技有限公司 | Method for implementing process arrangement engine and process arrangement engine system |
CN115514632A (en) * | 2022-09-29 | 2022-12-23 | 建信金融科技有限责任公司 | Resource template arranging method, device and equipment for cloud service and storage medium |
Non-Patent Citations (2)
Title |
---|
基于智慧标识网络的服务链资源适配关键技术研究;徐琪;中国优秀硕士学位论文全文数据库信息科技辑;20191115;全文 * |
基于服务编排的云制造服务协同;陆剑峰;中国机械工程;20210416;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN116132513A (en) | 2023-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111246228B (en) | Method, device, medium and electronic equipment for updating gift resources of live broadcast room | |
CN110781373B (en) | List updating method and device, readable medium and electronic equipment | |
CN111163329B (en) | Live broadcast room gift list configuration method, device, medium and electronic equipment | |
CN110139118B (en) | Function running method and device of application program, electronic equipment and storage medium | |
CN111209306A (en) | Business logic judgment method and device, electronic equipment and storage medium | |
CN107347093B (en) | Configuration method and device for distributed server system | |
CN110795328A (en) | Interface testing method and device | |
CN111125503B (en) | Method and apparatus for generating information | |
CN111046371A (en) | Method, electronic device and computer-readable medium for generating device identification | |
CN113783916B (en) | Information synchronization method and device | |
CN116132513B (en) | Method, device, equipment and storage medium for updating parameters of service arrangement | |
CN110113176B (en) | Information synchronization method and device for configuration server | |
CN111124523A (en) | Method and apparatus for initializing applications | |
CN111767062A (en) | Application configuration data updating method, device, equipment and storage medium | |
CN112203158B (en) | Image display method, device, system, equipment and medium | |
CN113032046A (en) | Method, device and equipment for repairing so file and storage medium | |
US10580238B1 (en) | Method for providing enhanced telematics service and telematics server using the same | |
CN114385570A (en) | Data synchronization method and device, electronic equipment and readable medium | |
CN110661857A (en) | Data synchronization method and device | |
CN111324386A (en) | Method and device for starting personal application program, electronic equipment and storage medium | |
CN111246229B (en) | Method, device, medium and electronic equipment for updating gift resources of live broadcast room | |
CN114610346B (en) | Software upgrading method, device, storage medium and electronic equipment | |
CN111460270B (en) | Information pushing method and device | |
US20240152504A1 (en) | Data interaction method, apparatus, and electronic device | |
CN113626664A (en) | House resource screening information processing method, device, equipment and computer readable 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 |