CN115729643A - Deployment conflict detection method and device, electronic equipment and storage medium - Google Patents

Deployment conflict detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115729643A
CN115729643A CN202211505440.3A CN202211505440A CN115729643A CN 115729643 A CN115729643 A CN 115729643A CN 202211505440 A CN202211505440 A CN 202211505440A CN 115729643 A CN115729643 A CN 115729643A
Authority
CN
China
Prior art keywords
deployment
content
conflict
deployed
detection method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211505440.3A
Other languages
Chinese (zh)
Inventor
陶登攀
周小波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202211505440.3A priority Critical patent/CN115729643A/en
Publication of CN115729643A publication Critical patent/CN115729643A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A deployment conflict detection method, a device, an electronic device and a storage medium respond to the saving operation of configuration deployment, obtain coded data generated by the content to be deployed which is referenced by different target objects, compare the coded data generated by the content to be deployed which is referenced by different target objects, and determine the deployment conflict state according to the comparison result so as to complete the detection of the deployment conflict.

Description

Deployment conflict detection method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computers, and in particular, to a deployment conflict detection method, apparatus, electronic device, and storage medium.
Background
Under the development trend background of 'software defined vehicles', a service-oriented architecture efficiently develops and deploys necessary driving force of vehicle-end application about vehicle innovation development, the existing vehicle-using scenes are personalized and diversified increasingly, and the host factory has higher requirements on the variability and the innovation of vehicle-mounted software, so that the vehicle-mounted software has stronger development and deployment flexibility and more efficient implementation path, and can support the requirements of multiple service scenes.
In the related technology, the problems of communication of vehicle-mounted application service encapsulation and a standardized communication protocol and service construction layering are solved to a certain extent, but the requirements for efficient and correct development and deployment of vehicle-mounted software cannot be met, and particularly the conflict detection of configuration files for application deployment cannot be effectively realized in the vehicle-mounted application development process in the related technology.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for deployment conflict detection, so as to solve the problem that conflict detection cannot be effectively performed on a configuration file for application deployment.
The invention provides a deployment conflict detection method, which comprises the following steps: responding to the saving operation of configuration deployment, and acquiring coded data generated by the content to be deployed and referenced by different target objects; comparing the coded data generated by the content to be deployed and referenced by different target objects; and determining a deployment conflict state according to the comparison result so as to finish the detection of the deployment conflict.
In an embodiment of the present invention, before obtaining encoded data generated by referencing content to be deployed by different target objects, the deployment conflict detection method includes: determining a referenced state of the initial deployment content; and if the initial deployment content is referred by at least two initial target objects, determining the initial deployment content referred by the at least two initial target objects as the content to be deployed.
In an embodiment of the present invention, when the content to be deployed is a service, the target object includes a microprocessor and a micro control unit, and after the initial deployment content referenced by at least two initial target objects is determined as the content to be deployed, the deployment conflict detection method further includes: determining a reference state of the service by the microprocessor and the micro control unit; if the service is quoted by the microprocessor and the micro control unit at the same time, acquiring a first current quote state of the service end of the microprocessor to the service and acquiring a second current quote state of the vehicle interface unit of the micro control unit to the service; and if the first current reference state and the second current reference state are both references, determining that the deployment conflicts.
In an embodiment of the present invention, when the content to be deployed is a data type, the target object includes a service, and comparing encoded data generated by referencing the content to be deployed by different target objects includes: determining a coherency state of data type snapshot encoded data resulting from the data type being referenced by a plurality of services; and if at least two data type snapshot coded data generated by the data types referenced by the plurality of services exist in the data type snapshot coded data and are consistent, determining that the deployment is conflicted.
In an embodiment of the present invention, when the content to be deployed is a service interface, the target object includes an application, and comparing encoded data generated by referencing the content to be deployed by different target objects includes: determining a consistency state of version snapshot encoded data produced by the service interface referenced by a plurality of applications; and if at least two version snapshot coded data of the version snapshot coded data generated by the service interface referenced by the plurality of applications are consistent, judging that the deployment conflicts exist.
In an embodiment of the present invention, after determining the deployment conflict status according to the comparison result, the method for detecting deployment conflict further includes: determining a save operating state for the configuration deployment based on the deployment conflict state; if the deployment conflict state is that the deployment conflicts, determining that the configuration deployment is failed to store; and if the deployment conflict state is that no conflict occurs in deployment, judging that the configuration deployment is successfully stored.
In an embodiment of the present invention, after determining the deployment conflict state according to the comparison result, the deployment conflict detection method further includes: and if the deployment conflict state is a deployment conflict, performing deployment conflict warning, and generating a deployment conflict list based on the comparison result for displaying.
The embodiment of the invention also provides a deployment conflict detection device, which comprises: the acquisition module is used for responding to the storage operation of the configuration deployment and acquiring the coded data generated by the reference of the content to be deployed by different target objects; the comparison module is used for comparing the coded data generated by the content to be deployed which is referenced by different target objects; and the decision module is used for determining the deployment conflict state according to the comparison result so as to finish the detection of the deployment conflict.
An embodiment of the present invention further provides an electronic device, including: one or more processors; a storage device to store one or more programs that, when executed by the one or more processors, cause the electronic device to implement the deployment conflict detection method of any of the above embodiments.
Embodiments of the present invention further provide a computer-readable storage medium, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the deployment conflict detection method according to any one of the above embodiments.
The deployment conflict detection method, the deployment conflict detection device, the electronic equipment and the storage medium in the embodiment of the invention comprise the steps of responding to the saving operation of configuration deployment, acquiring coded data generated by the content to be deployed, which is referred by different target objects, comparing the coded data generated by the content to be deployed, which is referred by different target objects, and determining the deployment conflict state according to the comparison result so as to complete the detection of the deployment conflict.
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.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a method for deployment conflict detection in an exemplary embodiment of the present application;
FIG. 3 is a flowchart illustrating a specific data structure deployment conflict detection method according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart illustrating a specific implementation of a service interface deployment conflict detection method according to an exemplary embodiment of the present application;
FIG. 5 is a flowchart illustrating a specific implementation of a service deployment conflict detection method according to an exemplary embodiment of the present application;
FIG. 6 is an illustration of a deployment conflict detection apparatus in accordance with an exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer system of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Other advantages and capabilities of the present invention will be easily understood by those skilled in the art from the disclosure in the present specification by describing embodiments of the present invention with reference to the attached drawings and specific embodiments. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be understood that the preferred embodiments are illustrative of the invention only and are not limiting upon the scope of the invention.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present invention, however, it will be apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details, and in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring embodiments of the present invention.
Reference to "and/or" in this application describes an association relationship of associated objects, meaning that there may be three relationships, for example, a and/or B may represent: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Fig. 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application.
Referring to FIG. 1, a system architecture may include a deployment file 101 and a computer device 102. The deployment file 101 is used for acquiring encoded data generated by referencing content to be deployed by different target objects in response to a saving operation of the configuration deployment, and the encoded data is processed by the computer device 102. The computer device 102 may be at least one of a microcomputer, an embedded computer, a network computer, and the like. The related technical personnel can compare the coded data generated by the computer device 102 when the content to be deployed is referred by different target objects, and determine the deployment conflict state according to the comparison result so as to complete the detection of the deployment conflict.
Illustratively, the computer device 102 obtains, in response to the saving operation of the configuration deployment, encoded data generated by referencing the content to be deployed of the deployment file 101 by different target objects, compares the encoded data generated by referencing the content to be deployed by different target objects, and determines the deployment conflict state according to the comparison result to complete the detection of the deployment conflict.
FIG. 2 is a flow diagram illustrating a deployment conflict detection method that may be performed by a computing processing device, which may be the computer device 102 shown in FIG. 1, in an exemplary embodiment of the present application. Referring to fig. 2, the flowchart of the deployment conflict detection method at least includes steps S210 to S240, which are described in detail as follows:
in step S210, in response to the saving operation of the configuration deployment, the encoded data generated by referencing the content to be deployed by different target objects is acquired.
In an embodiment of the application, before obtaining encoded data generated by referencing content to be deployed by different target objects, the deployment conflict detection manner includes determining a referred state of initial deployment content, and if the initial deployment content is referenced by at least two initial target objects, determining the initial deployment content referenced by the at least two initial target objects as the content to be deployed.
In an embodiment of the present application, before acquiring encoded data generated by referencing content to be deployed by different target objects, all deployment content involved in the deployment content of the plan is encoded.
In an embodiment of the application, when the content to be deployed is a service, the target object includes a microprocessor and a micro control unit, and after the initial deployment content referred by at least two initial target objects is determined as the content to be deployed, the deployment conflict detection method further includes determining reference states of the service by the microprocessor and the micro control unit, if the service is referred by the microprocessor and the micro control unit at the same time, acquiring a first current reference state of the service end of the microprocessor to the service, and acquiring a second current reference state of a vehicle interface unit of the micro control unit to the service, and if the first current reference state and the second current reference state are both referred, determining that the deployment conflict exists.
In an embodiment of the present application, before determining the reference state of the service by the microprocessor and the micro control unit, it is further required to obtain, in response to a saving operation of the configuration deployment, related information of the service content in the content to be deployed and all information related to the service content planned to be deployed in the configuration file.
In an embodiment of the present application, after obtaining all information related to the service content planned to be deployed in the configuration file, the method further includes encoding all information related to the service content planned to be deployed in the current time.
In an embodiment of the present application, when content to be deployed is a service, and a target object includes a microprocessor and a micro control unit, if the service is referred to by the microprocessor and the micro control unit at the same time, the deployment is determined as a conflict, a first current reference state of a service end of the microprocessor to the service is further obtained, and a second current reference state of a vehicle interface unit of the micro control unit to the service is further obtained, if the first current reference state and the second current reference state are both references, it is determined that a main reference unit service end in the microprocessor and a main reference unit vehicle interface unit of the micro control unit are based on the simultaneous reference of the microprocessor and the micro control unit, and a main deployment conflict unit is further determined.
In an embodiment of the present application, the determination of the service reference relationship related to the vehicle interface unit of the main reference unit in the microprocessor, the micro control unit, and the main reference unit server in the microprocessor and the main reference unit of the micro control unit may be determined based on a network topology relationship between the vehicle machine and a network architecture, may also be directly obtained based on configuration information related to a configuration file, or may be obtained based on any other obtaining manner capable of obtaining the reference relationship, where the determination manner of the service reference relationship is not specifically limited.
In step S220, comparison is performed between the encoded data generated by the content to be deployed being referenced by different target objects.
In an embodiment of the application, when the content to be deployed is of a data type, the target object includes a service, and comparing encoded data generated by referencing the content to be deployed by different target objects includes: and determining the consistency state of the data type snapshot encoding data generated by the data type referenced by the plurality of services, and judging that the deployment conflict exists if at least two data type snapshot encoding data of the data type referenced by the plurality of services are consistent.
In one embodiment of the application, when the content to be deployed is a data type, the problem that the data structure referred by different services is inconsistent if parameters of the data type are modified during the process when the same encoded data type is referred by different services at different front and back time points is solved.
Wherein the data type comprises at least one of the following data types: the data type is determined according to the data type required in the configuration file in the practical implementation of the scheme of the application, and the practical type of the data type is not specifically limited herein.
In an embodiment of the application, when the content to be deployed is a service interface, the target object includes an application, and comparing the encoded data of the content to be deployed, which is generated by being referred by different target objects, includes determining a consistency state of version snapshot encoded data of the service interface, which is generated by being referred by a plurality of applications, and if at least two version snapshot encoded data of the service interface, which is generated by being referred by a plurality of applications, are consistent, determining that the deployment is in conflict.
In an embodiment of the present application, when the content to be deployed is a service interface, the content is used to solve a problem that if a same service is referenced by different applications at different time points before and after on the premise that the same service has multiple service interface versions, during the time, different versions of the same service are referenced between different applications, for example, application a references 1.0 version of service a, and application B references 2.0 version of service a, the versions of the same service referenced between different services are inconsistent.
In step S230, a deployment conflict status is determined according to the comparison result to complete the detection of the deployment conflict.
In an embodiment of the application, after determining the deployment conflict state according to the comparison result, determining a saving operation state of the configuration deployment based on the deployment conflict state is further included, if the deployment conflict state is that the deployment conflicts, determining that the configuration deployment fails to be saved, and if the deployment conflict state is that the deployment does not conflict, determining that the configuration deployment is successfully saved.
In an embodiment of the application, after the deployment conflict state is determined according to the comparison result, if the deployment conflict state is a deployment conflict, a deployment conflict warning is performed, and a deployment conflict list is generated and displayed based on the comparison result.
In an embodiment of the application, the generation of the deployment conflict list for display based on the comparison result is to display the specific problem node of the deployment conflict to the related technical staff, so that the related technical staff can adjust the deployment configuration according to the deployment conflict list.
Referring to fig. 3, fig. 3 is a flowchart illustrating a specific data structure deployment conflict detection method according to an exemplary embodiment of the present application. The method may be applied to the implementation environment shown in fig. 3 and specifically executed by deployment file 101 and/or computer device 102 in the implementation environment. It should be understood that the method may also be applied to other exemplary implementation environments and specifically executed by devices in other implementation environments, and the embodiment does not limit the implementation environment to which the method is applied.
As shown in fig. 3, in a specific embodiment of the present application, a to-be-deployed content is configured based on a configuration file, a detection module is triggered after configuration is saved, first, traversal is performed on all data types of planned configuration, and the data types are encoded, then, a determination operation is triggered, first, it is determined whether the same data code is referred by multiple services, if the same data code is not referred by multiple services, it is determined that the saving deployment operation is successful, if the same data code is referred by multiple services, it is continuously determined whether the same data code has different snapshot codes, if the same data code has the same snapshot code, it is determined that the saving operation is successful, if the same data code has different snapshot codes, it is determined that the deployment conflict is present, and a deployment conflict is prompted to a user side, and a deployment conflict is presented, so as to help related technical personnel to adjust deployment, and determine that the saving operation is unsuccessful, and end the deployment conflict detection of the data code.
Referring to fig. 4, fig. 4 is a flowchart illustrating a specific service interface deployment conflict detection method according to an exemplary embodiment of the present application. The method may be applied to the implementation environment shown in fig. 4 and implemented by deployment file 101 and/or computer device 102 in the implementation environment. It should be understood that the method may also be applied to other exemplary implementation environments and specifically executed by devices in other implementation environments, and the embodiment does not limit the implementation environment to which the method is applied.
As shown in fig. 4, in a specific implementation example of the present application, content to be deployed is configured based on a configuration file, a detection module is triggered after configuration is saved, a traversal is performed on all services configured in plan, and the services are encoded, then a determination operation is triggered, it is first determined whether the same service code is referenced by multiple applications, if the same service code is not referenced by multiple applications, it is determined that the saving of the saving deployment operation is successful, if the same service code is referenced by multiple applications, it is continuously determined whether the same service code has different versions, if the same service code has the same version, it is determined that the saving of the deployment operation is successful, if the same service code has different versions, it is determined that the deployment conflict is present, and a deployment conflict is prompted to a user side, a conflict list is presented at the same time, a deployment conflict list is presented to help related technicians to adjust deployment, it is determined that the saving of the deployment operation is failed, and the detection of the deployment conflict of the service interface is terminated.
Referring to fig. 5, fig. 5 is a flowchart illustrating a specific service deployment conflict detection method according to an exemplary embodiment of the present application. The method may be applied to the implementation environment shown in fig. 5 and specifically executed by deployment file 101 and/or computer device 102 in the implementation environment. It should be understood that the method may also be applied to other exemplary implementation environments and specifically executed by devices in other implementation environments, and the embodiment does not limit the implementation environment to which the method is applied.
As shown in fig. 5, in a specific embodiment of the present application, the content to be deployed is configured based on a configuration file, when the detection module is triggered after the configuration is saved, first all services planned to be configured are traversed, and the services are encoded, then a determination operation is triggered, first it is determined whether the same service code is referred to by an MPU (microprocessor) and an MCU (micro control unit) at the same time, if the same service code is not referred to by the MPU (microprocessor) and the MCU (micro control unit) at the same time, it is determined that the saving and the deploying operation of this time is successful, if the same service code is referred to by the MPU (microprocessor) and the MCU (micro control unit) at the same time, it is further determined whether the same service code is referred to by an application SERVER (SERVER) deployed by the MPU (microprocessor) and a VIU (vehicle interface unit) deployed by the MCU (micro control unit) at the same time, it is determined that the deploying operation of this time is saved, if the same service code is not referred to the application SERVER (microprocessor) (SERVER) and the MCU (micro control unit) at the same time, it is determined that the deployment operation of the MPU (micro control unit) and the deployment conflict occurs, and the deployment of this time, it is determined that the deployment operation of this time is unsuccessful, and the deployment of the microprocessor is performed by the relevant deployment operation of the microprocessor, and the relevant schedule is performed by the relevant schedule, and the relevant schedule is shown, and ending the service deployment conflict detection.
The deployment conflict detection method comprises the steps of responding to the saving operation of configuration deployment, obtaining coded data generated by the fact that contents to be deployed are quoted by different target objects, comparing the coded data generated by the fact that the contents to be deployed are quoted by the different target objects, determining the deployment conflict state according to the comparison result, and completing detection of the deployment conflict.
The following describes embodiments of an apparatus of the present application, which may be used to perform the deployment conflict detection method in the above embodiments of the present application. For details that are not disclosed in the embodiments of the system of the present application, please refer to the embodiments of the deployment conflict detection method described above in the present application.
Fig. 6 is a diagram illustrating a deployment conflict detection apparatus in accordance with an exemplary embodiment of the present application. The apparatus may be applied to the implementation environment shown in fig. 2 and is particularly configured in the computer device 102. The apparatus may also be applied to other exemplary implementation environments, and is specifically configured in other devices, and the embodiment does not limit the implementation environment to which the apparatus is applied.
As shown in fig. 6, the exemplary deployment conflict detection apparatus includes: an obtaining module 601, a comparing module 602, and a decision module 603.
The obtaining module 601 is configured to obtain, in response to a saving operation of configuration deployment, encoded data generated by referencing content to be deployed by different target objects; a comparison module 602, configured to compare encoded data generated by referencing content to be deployed by different target objects; the decision module 603 is configured to determine a deployment conflict state according to the comparison result, so as to complete detection of the deployment conflict.
An embodiment of the present application further provides an electronic device, including: one or more processors; the storage device is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device is enabled to implement the deployment conflict detection method provided in the foregoing embodiments.
Fig. 7 is a schematic structural diagram of a computer system of an electronic device according to an exemplary embodiment of the present application, and illustrates a schematic structural diagram of a computer system suitable for implementing an electronic device according to an exemplary embodiment of the present 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 bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU) 701, which can execute various appropriate actions and processes, such as executing the method in the above embodiment, according to a program stored in a Read-Only Memory (ROM) 702 or a program loaded from a storage part into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for system operation are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus. An Input/Output (I/O) interface 705 is also connected to the bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 708 including a hard disk and the like; and a communication section 709 including a Network interface card such as a LAN (Local Area Network) card, a modem, and the like. The communication section performs communication processing via a network such as the internet. The drives are 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 mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams 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 illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program executes various functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 701.
It should be noted that the computer readable media shown in the embodiments of the present application may be computer readable signal media or computer readable storage media 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 of the foregoing. 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 (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 propagated data signal with a computer-readable computer program embodied therein, either in baseband or as part of a carrier wave. 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 thereof. 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. The computer program embodied on the 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 flowchart 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. 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 that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the corresponding figures of the above embodiments, the connecting lines may represent the connection relationship between the various components to indicate that more constituent signal paths (consistent _ signal paths) and/or one or more ends of some lines have arrows to indicate the main information flow direction, the connecting lines being used as a kind of identification, not a limitation on the scheme itself, but rather to facilitate easier connection of circuits or logic units using these lines in conjunction with one or more example embodiments, and any represented signal (determined by design requirements or preferences) may actually comprise one or more signals that may be transmitted in any one direction and may be implemented in any suitable type of signal scheme.
The units described in the embodiments of the present application may be implemented by software or hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Another aspect of the present application also provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the foregoing in-vehicle system application right management method. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist alone without being assembled into the electronic device.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
It should be appreciated that the subject application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It should be understood that the above-mentioned embodiments are only preferred examples of the present application, and are not intended to limit the embodiments of the present application, and those skilled in the art can easily make various changes and modifications according to the main concept and spirit of the present application, so that the scope of the present application should be defined by the appended claims.

Claims (10)

1. A deployment conflict detection method is characterized in that the deployment conflict detection mode comprises the following steps:
responding to the saving operation of configuration deployment, and acquiring coded data generated by the content to be deployed and referenced by different target objects;
comparing the coded data generated by the content to be deployed and referenced by different target objects;
and determining a deployment conflict state according to the comparison result so as to complete the detection of the deployment conflict.
2. The deployment conflict detection method according to claim 1, wherein before obtaining encoded data generated by referencing content to be deployed by different target objects, the deployment conflict detection method comprises:
determining a referenced state of the initial deployment content;
and if the initial deployment content is referred by at least two initial target objects, determining the initial deployment content referred by the at least two initial target objects as the content to be deployed.
3. The deployment conflict detection method according to claim 2, wherein when the content to be deployed is a service, the target objects comprise a microprocessor and a micro control unit, and after the initial deployment content referenced by at least two initial target objects is determined as the content to be deployed, the deployment conflict detection method further comprises:
determining a reference status of the service by the microprocessor and the microcontrol unit;
if the service is quoted by the microprocessor and the micro control unit at the same time, acquiring a first current quote state of the service end of the microprocessor to the service and acquiring a second current quote state of the vehicle interface unit of the micro control unit to the service;
and if the first current reference state and the second current reference state are references, determining that the deployment conflicts exist.
4. The deployment conflict detection method of claim 1, wherein when the content to be deployed is of a data type and the target object comprises a service, the comparison between the encoded data generated by the content to be deployed being referenced by different target objects comprises:
determining a coherency state of data type snapshot encoded data resulting from the data type being referenced by a plurality of services;
and if at least two data type snapshot encoding data generated by the data type referenced by the plurality of services are consistent, judging that the deployment conflicts exist.
5. The deployment conflict detection method of claim 1, wherein when the content to be deployed is a service interface and the target object comprises an application, the comparing between the encoded data generated by the content to be deployed being referenced by different target objects comprises:
determining a consistency state of version snapshot encoded data generated by the service interface referenced by a plurality of applications;
and if at least two version snapshot coded data of the version snapshot coded data generated by the service interface by the reference of the plurality of applications are consistent, determining that the deployment is in conflict.
6. The deployment conflict detection method according to any of claims 1-5, wherein after determining a deployment conflict status according to the comparison result, the deployment conflict detection method further comprises:
determining a save operating state for a configuration deployment based on the deployment conflict state;
if the deployment conflict state is that the deployment conflicts, determining that the configuration deployment is failed to store;
and if the deployment conflict state is that no conflict occurs in deployment, judging that the configuration deployment is successfully stored.
7. The deployment conflict detection method according to any of claims 1-5, wherein after determining a deployment conflict status according to the comparison result, the deployment conflict detection method further comprises:
and if the deployment conflict state is a deployment conflict, performing deployment conflict warning, and generating a deployment conflict list based on the comparison result for displaying.
8. A deployment conflict detection apparatus, the deployment conflict detection apparatus comprising:
the acquisition module is used for responding to the storage operation of the configuration deployment and acquiring the coded data generated by the reference of the content to be deployed by different target objects;
the comparison module is used for comparing the coded data generated by the content to be deployed which is referenced by different target objects;
and the decision module is used for determining the deployment conflict state according to the comparison result so as to finish the detection of the deployment conflict.
9. An 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 deployment conflict detection method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor of a computer, cause the computer to perform the deployment conflict detection method of any of claims 1 to 7.
CN202211505440.3A 2022-11-28 2022-11-28 Deployment conflict detection method and device, electronic equipment and storage medium Pending CN115729643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211505440.3A CN115729643A (en) 2022-11-28 2022-11-28 Deployment conflict detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211505440.3A CN115729643A (en) 2022-11-28 2022-11-28 Deployment conflict detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115729643A true CN115729643A (en) 2023-03-03

Family

ID=85298810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211505440.3A Pending CN115729643A (en) 2022-11-28 2022-11-28 Deployment conflict detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115729643A (en)

Similar Documents

Publication Publication Date Title
US8001281B1 (en) Configuring a management module through a graphical user interface for use in a computer system
CN109034394B (en) Updating method and device of machine learning model
CN104185836A (en) Method and system for verifying proper operation of computing device after system change
CN111610993A (en) Firmware upgrading method, server and system
US7434112B2 (en) System and method for verifying validity of assembled PCI devices of a computer
CN110324185B (en) Hyper-parameter tuning method, device, server, client and medium
CN110609755A (en) Message processing method, device, equipment and medium for cross-block chain node
CN115145605A (en) Vehicle-mounted application software upgrading method and system, electronic equipment and storage medium
CN110515671A (en) Initial method, apparatus for initializing, terminal device and readable storage medium storing program for executing
CN111459629A (en) Azkaban-based project operation method and device and terminal equipment
CN111367799B (en) Method, device, medium and electronic equipment for locating source code breakdown position
CN111857854A (en) Shutdown resource loading method and device, storage medium and electronic equipment
CN115729643A (en) Deployment conflict detection method and device, electronic equipment and storage medium
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN114036218A (en) Data model switching method and device, server and storage medium
CN115277398A (en) Cluster network configuration method and device
CN112764729B (en) Application software development method, device, computer equipment and readable storage medium
CN113961127A (en) Visualization server management method and device, electronic equipment and computer storage medium
CN114661523A (en) Data backup method, device, program product, medium and electronic equipment
CN112068895A (en) Code configuration method and device, video playing equipment and storage medium
CN112580086A (en) Access protection method, device, equipment and storage medium for configuration file
CN114564413B (en) Synchronous equipment testing method and device
CN111461913B (en) Monitoring method and device for terminal equipment manufacture, medium and electronic equipment
CN113934453B (en) Risk detection method, risk detection device and storage medium
CN113220507B (en) Version consistency checking method and device for double-master control system

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