CN116521186A - Method and device for assembling functional software package, electronic equipment and storage medium - Google Patents

Method and device for assembling functional software package, electronic equipment and storage medium Download PDF

Info

Publication number
CN116521186A
CN116521186A CN202211520873.6A CN202211520873A CN116521186A CN 116521186 A CN116521186 A CN 116521186A CN 202211520873 A CN202211520873 A CN 202211520873A CN 116521186 A CN116521186 A CN 116521186A
Authority
CN
China
Prior art keywords
software package
display
functional software
functional
dependency
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
CN202211520873.6A
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.)
Guoke Chushi Chongqing Software Co ltd
Original Assignee
Guoke Chushi Chongqing Software 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 Guoke Chushi Chongqing Software Co ltd filed Critical Guoke Chushi Chongqing Software Co ltd
Priority to CN202211520873.6A priority Critical patent/CN116521186A/en
Publication of CN116521186A publication Critical patent/CN116521186A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to an assembly method and device of a functional software package, an electronic device and a storage medium. The method comprises the following steps: receiving software package deployment scene information; acquiring N functional software packages related to the software package deployment scene information, wherein N is a positive integer; displaying a target display interface comprising N display identifiers, wherein the N display identifiers are in one-to-one correspondence with the N functional software packages, and each display identifier is used for identifying the corresponding functional software package; receiving a first input of at least one display identifier of the N display identifiers; and responding to the first input, executing the assembly processing of the functional software package corresponding to the at least one display identifier to obtain an assembled software package.

Description

Method and device for assembling functional software package, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of electronic technology, and in particular, to an assembly method and device of a functional software package, an electronic device and a storage medium.
Background
With the rapid development of electronic technology, devices such as robots and vehicles having electronic components are becoming an indispensable tool in people's daily lives. At present, the functions of the electronic components in the device are generally implemented by deploying various functional software packages in the device.
In the process of deploying each functional software package to the above device, the functional software package to be deployed needs to be assembled. In the related art, in the process of assembling a functional software package to be deployed, a deployment person is usually required to input a complex and cumbersome operation to filter the functional software package to be deployed, for example, the deployment person is usually required to compile the functional software package to be deployed in advance, and then assemble the functional software package to be deployed through a software package assembling tool, which results in lower efficiency of deploying the functional software package in a device with an electronic element.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an assembling method, apparatus, electronic device, and storage medium of a functional software package.
According to a first aspect of an embodiment of the present disclosure, there is provided a method for assembling a functional software package, including:
receiving software package deployment scene information;
acquiring N functional software packages related to the software package deployment scene information, wherein N is a positive integer;
displaying a target display interface comprising N display identifiers, wherein the N display identifiers are in one-to-one correspondence with the N functional software packages, and each display identifier is used for identifying the corresponding functional software package;
receiving a first input of at least one display identifier of the N display identifiers;
and responding to the first input, executing the assembly processing of the functional software package corresponding to the at least one display identifier to obtain an assembled software package.
According to a second aspect of the embodiments of the present disclosure, there is provided an assembling apparatus of a functional software package, including:
the receiving module is used for receiving the software package deployment scene information;
the software package acquisition module is used for acquiring N functional software packages related to the software package deployment scene information, wherein N is a positive integer;
the display module is used for displaying a target display interface comprising N display identifiers, the N display identifiers are in one-to-one correspondence with the N functional software packages, and each display identifier is used for identifying the corresponding functional software package;
the input module is used for receiving a first input of at least one display identifier in the N display identifiers;
and the assembling module is used for responding to the first input, executing the assembling process of the functional software package corresponding to the at least one display identifier, and obtaining the assembled software package.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; a memory for storing processor-executable instructions; and a processor for reading the executable instructions from the memory and executing the instructions to implement the method of assembling a functional software package provided in the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of assembling a functional software package provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: in the process of assembling the functional software packages, the electronic equipment can display the display identifiers of the functional software packages related to the software package deployment scene information in the target display interface, so that a user can quickly select the functional software packages required to be assembled by selecting at least one display identifier in the target display interface, and the electronic equipment automatically performs the assembly processing on the functional software packages required to be assembled by the user, so that the functional software packages are more convenient and time-saving to assemble, and the efficiency of arranging the functional software packages in the equipment is improved.
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 disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flowchart illustrating a method of assembling a functional software package according to an exemplary embodiment.
FIG. 2 is a schematic diagram of a display interface of an electronic device, shown according to an example embodiment;
FIG. 3 is another schematic diagram of a display interface of an electronic device shown according to an exemplary embodiment;
FIG. 4 is another schematic diagram of a display interface of an electronic device shown according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating an assembly of a functional software package according to an exemplary embodiment.
Fig. 6 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Exemplary embodiments will be described in detail below with reference to the accompanying drawings.
It should be noted that the related embodiments and the drawings are only for the purpose of describing exemplary embodiments provided by the present disclosure, and not all embodiments of the present disclosure, nor should the present disclosure be construed to be limited by the related exemplary embodiments.
It should be noted that the terms "first," "second," and the like, as used in this disclosure, are used merely to distinguish between different steps, devices, or modules, and the like. Relational terms are used not to indicate any particular technical meaning nor sequence or interdependence between them.
It should be noted that the modifications of the terms "one", "a plurality", "at least one" as used in this disclosure are intended to be illustrative rather than limiting. Unless the context clearly indicates otherwise, it should be understood as "one or more".
It should be noted that the term "and/or" is used in this disclosure to describe dependencies between dependent objects, generally indicating that there are at least three dependencies. For example, a and/or B may at least represent: a exists alone, A and B exist together, and B exists alone.
It should be noted that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. The scope of the present disclosure is not limited by the order of description of the steps in the related embodiments unless specifically stated.
It should be noted that, all actions for acquiring signals, information or data in the present disclosure are performed under the condition of conforming to the corresponding data protection rule policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
Exemplary method
Fig. 1 is a flowchart illustrating an assembling method of a functional software package according to an exemplary embodiment, and as shown in fig. 1, the assembling method of the functional software package is used in an electronic device, and includes the following steps S110 to S150.
In step S110, package deployment scenario information is received.
In this embodiment of the present invention, the receiving the software package deployment scenario information may be software package deployment scenario information input by a developer, a tester, or a deployment person who receives the software package in an information input interface for inputting scenario information when the electronic device displays the information input interface.
The above-described package deployment scenario information may be any information for indicating a scenario in which a functional package needs to be deployed. In some embodiments, the software package deployment scenario information may include at least one of platform information, device type information, target region information, and the like of the deployment device, so that the application scenario is wider.
The functional software package may be any software package that can be deployed on a deployment device having an electronic component, and is used to implement the function of the electronic component in the deployment device. For example, the functional software package may be a binary software package deployed in the robot, or the like.
In some embodiments, the functional software package may be a software package for deployment on a vehicle. Specifically, the above-described functional software package may be a software package for deployment to a domain controller of a vehicle.
The platform information of the deployment device may be information indicating a system platform of the deployment device. For example, any of x86, x86_64, s32g of Enzhi, xaivier or orin of Injeida, and J3 or J5 of horizon, etc. may be included.
The above device type information may be any information for indicating a configuration type of the deployed device. For example, in the case where the above-described functional software package is used for deployment in a vehicle, the above-described device type information may be vehicle type information of the vehicle, and vehicles of different vehicle type information have different functional configurations, and so on.
The target area information may be information indicating areas such as production, sales, or use of the deployment device.
In step S120, N functional software packages associated with the software package deployment scenario information, where N is a positive integer, are acquired, and the software package deployment scenario information is used to indicate a scenario in which the functional software packages are deployed.
In this embodiment of the present application, the acquiring N functional software packages associated with the software package deployment scenario information may be that the electronic device searches, according to the software package deployment scenario information, a functional software package product library for a functional software package matching the deployment scenario information with the received software package deployment scenario information.
The above-mentioned functional software package product library may be preset with various functional software packages and deployment scenario information corresponding to each functional software package, and each functional software package may correspond to at least one deployment scenario information.
In addition, the function software package product library may be a function software package that is pre-configured in a local database of the electronic device, and the electronic device searches the local database for a matching with the received software package deployment scenario information; or, the product library of the functional software package may be configured in a cloud server, the electronic device initiates a query request carrying the received deployment scenario information of the software package to the cloud server, and the cloud server obtains the N functional software packages in response to the query request and sends the N functional software packages to the electronic device.
Taking the above software package deployment scenario information as an example of a system platform for deploying vehicles, if a user selects a platform 1 in a display interface of an electronic device, that is, the above software package deployment scenario information is used to indicate the platform 1, the electronic device may match a functional software package A, B, C, D, E, F, G, H, I, J, K, L, M and N that may be deployed on the platform 1 in a functional software package product library; if the user selects the platform 2 in the display interface of the electronic device, that is, the software package deployment scenario information is used to indicate the platform 2, the electronic device may match the function software packages A, B, C, D, O, P, Q, R and S that may be deployed on the platform 2 in the function software package product library, and so on.
In step S130, a target display interface including N display identifiers is displayed, where the N display identifiers are in one-to-one correspondence with the N functional software packages, and each display identifier is used to identify the corresponding functional software package.
In this embodiment of the present application, the displaying includes displaying N target display interfaces of display identifiers, which may be that the electronic device generates display identifiers of each of the N functional software packages, obtains the N display identifiers, and displays the N display identifiers in the display interface of the electronic device.
The display identifier may be any pattern or text for identifying the corresponding functional software package.
Illustratively, in the case that the user selects the platform 1 in the display interface of the electronic device, as shown in fig. 2, the electronic device may display icons of the functional software packages in the display interface thereof, including icons A, B, C, D, E, F, G, H, I, J, K, L, M and N, and icon a is used to identify the functional software package a, icon B is used to identify the functional software packages B, … …, and icon N is used to identify the functional software package N; in the case where the user selects the platform 2 in the display interface of the electronic device, as shown in fig. 3, the electronic device may display icons of the respective functional software packages, including icons A, B, C, D, O, P, Q, R and S, in the display interface thereof.
It should be noted that, the N display identifiers may be randomly distributed in the target display interface; or may be distributed in the target display interface according to a preset rule, for example, distributed in a grid or matrix form, etc.
In some embodiments, the above method further comprises:
acquiring dependency information of N functional software packages, wherein the dependency information is used for indicating the dependency relationship between at least two functional software packages;
according to the dependency information of N functional software packages, M functional software package classes are determined, each functional software package class comprises at least one functional software package, and the functional software packages in the functional software package classes have a dependency relationship, wherein M is a positive integer.
The step S130 may include:
and displaying a target display interface comprising M display areas, wherein the M display areas are in one-to-one correspondence with the M functional software package classes, and each display area displays display identifiers of each functional software package in the corresponding functional software package class.
In this embodiment, the electronic device may divide the N functional software packages into M functional software package classes according to the dependency information of the N functional software packages, and display identifiers of the functional software packages in different functional software package classes in different display areas of the display interface, so that a user may more quickly select a display identifier of a corresponding functional software package in each display area, and improve the assembly efficiency of the functional software packages, and further improve the deployment efficiency of the functional software packages.
The dependency information may be any information for indicating a dependency relationship between each of the N functional software packages and other functional software packages, and the dependency information may include a dependency relationship between at least two functional software packages, and the dependency information may be parsed by each functional software package.
The dependency relationship between each functional software package and other functional software packages may be a dependency relationship between life cycles of two functional software packages, for example, two software packages are software packages with the same function and different release versions in succession; alternatively, the deployment of the dependent package may be premised on the deployment of the dependent package in the dependency relationship, and the like.
For example, in the case where there is a dependency between the package a and the package B, and the package B depends on the package a, if the package B needs to be deployed, the package a needs to be deployed first, and so on.
According to the dependency information of N functional software packages, M functional software package classes are determined, namely, the dependency relationship between each functional software package and other functional software packages can be determined according to the dependency information, and the software packages with the dependency relationship are divided into the same functional software package class, wherein the functional software packages in different functional software package classes have no dependency relationship, namely, the different functional software package classes are isolated from each other.
The displaying of the target display interface including M display areas may be dividing the display interface into M display areas, and displaying the display identifier of each functional software package in the corresponding functional software package class in each display area.
For example, in the case where M is 9, the area of the display interface may be divided into 9 display areas, and the display identifiers of the respective function packages in the 9 function package classes may be displayed in the 9 display areas, respectively.
The display identifier of each functional software package in the corresponding functional software package class is displayed in each display area, and the display position, arrangement, and the like of each display identifier may be not limited.
In some embodiments, the displaying a target display interface including M display areas includes:
and displaying a target display interface comprising M dependency trees, wherein different dependency trees are positioned in different display areas of the target display interface, the M dependency trees are in one-to-one correspondence with M functional software package classes, each dependency tree comprises at least one node and branches, each node is a display identifier, and each branch is used for representing that a dependency relationship exists between the functional software packages corresponding to the connected nodes.
In this embodiment, M dependency trees are displayed in the target display interface, and each display identifier is used as a node in the dependency tree, and branches between the nodes represent dependency relationships between functional software packages corresponding to the connected nodes, so that connection relationships between each functional software package and other functional software packages can be intuitively displayed through the dependency tree, and the operation convenience of a user in selecting the functional software package to be assembled is improved.
Illustratively, if the user selects the platform 1 in the display interface of the electronic device, the electronic device may display the dependency tree 21, the dependency tree 22, the dependency tree 23, and the dependency tree 24 as shown in fig. 2 in the display interface thereof, the dependency tree 21 includes the icon A, B, C, D and the icon E as nodes, the dependency tree 22 includes the icon F, G and the icon H as nodes, the dependency tree 23 includes the icon I, J and the icon K as nodes, and the dependency tree 24 includes the icon L, M and the icon N as nodes;
if the user selects the platform 2 in the display interface of the electronic device, the electronic device may display the dependency tree 31 and the dependency tree 32 as shown in fig. 3 in the display interface thereof, the dependency tree 31 including the icon A, B, C and the icon D as nodes, the dependency tree 32 including the icon O, P, Q, R and the icon S as nodes, and so on.
In other embodiments, a target display interface including M hierarchical lists is displayed, different hierarchical lists are located in different display areas of the target display interface, the M hierarchical lists are in one-to-one correspondence with the M functional software package classes, each hierarchical list includes at least one level of sub-list, each level of sub-list includes at least one list item, each list item includes a display identifier, and a functional software package identified by a list item in a next level of sub-list has a dependency relationship with a functional software package identified by a list item in a previous level of sub-list.
In this embodiment, the dependency relationships between the N display identifiers and the corresponding functional software packages may be displayed in the target display interface through the M hierarchical lists, so that not only the display effect may be improved, but also the display mode of the target display interface may be more flexible.
In step S140, a first input is received for at least one of the N display identifiers.
In this embodiment of the present application, the first input may be any input for selecting at least one display identifier from the N display identifiers, and may be at least one of a touch input, a voice input, a space gesture input, and the like.
For example, as shown in FIG. 2, if the user desires feature package B and feature package G, the user may click on icon B and icon G, respectively.
In step S150, in response to the first input, an assembling process of the functional software package corresponding to the at least one display identifier is performed, resulting in an assembled software package.
In this embodiment of the present application, the assembling the functional software package corresponding to the display identifier of the first input selection may be classifying the target file in the functional software package corresponding to the display identifier of the first input selection, so as to obtain the assembled software package.
For example, the above-described package may be obtained by classifying files such as target files bin, lib, and conf in the plurality of functional packages selected by the first input.
In some embodiments, the step S150 includes:
filtering static resources in the functional software package corresponding to the at least one display identifier to obtain at least one software package to be assembled;
and assembling at least one software package to be assembled to obtain an assembled software package.
In this embodiment, the number of processes in the assembly process may be reduced by filtering the static resources in each functional software package to be assembled, thereby improving the assembly efficiency.
The static resources may include at least one of a static link library and a header file in the functional software package.
In the case where the electronic device displays the target display interface including the M display areas, in some embodiments, the step S140 includes:
a first input is received to at least one of the M display areas.
The step S150 may include:
and responding to the first input, assembling the functional software package corresponding to the at least one display identifier in the at least one display area to obtain an assembled software package.
In this embodiment, at least one display area in the M display areas is selected through the first input, so that the functional software package corresponding to the display identifier in the at least one display area can be assembled, so that a user does not need to operate each display identifier in the display area independently, but can select all display identifiers in the display area through operating the display area, and the operation convenience of the user for selecting the functional software package to be assembled is improved, especially when the display identifiers in each display area are more.
For example, in the case where the dependency tree 21, the dependency tree 22, the dependency tree 23, and the dependency tree 24 shown in fig. 2 are displayed on the display interface of the electronic device, if the electronic device receives that the user clicks any icon (such as icon a) in the dependency tree 21 and clicks any icon (such as icon F) in the dependency tree 22, the electronic device assembles the function packages corresponding to the icons in the dependency tree 21 and the dependency tree 22 to obtain a deployment package (i.e., an assembly package), that is, assembles the function package A, B, C, D, E, F, G and the function package H.
After the electronic device is assembled to obtain the assembled software package, the electronic device may display information of the assembled software package in a display interface thereof. Specifically, in the case where the at least one display area includes a plurality of dependency trees, the method may further include: displaying a target dependency tree in a display interface of the electronic device, wherein the target dependency tree comprises the plurality of dependency trees, target display identifiers and branches between the target display identifiers and the plurality of dependency trees, and the target display identifiers are used for identifying the assembled software package.
Illustratively, after the electronic device assembles the functional software packages corresponding to the icons in the dependency tree 21 and the dependency tree 22 to obtain the deployment package, the electronic device may display the deployment package identifier, the dependency tree 21, the dependency tree 22, and the branches between the deployment package identifier and the dependency tree 21, and the branches between the deployment package identifier and the dependency tree 22 in its display interface, as shown in fig. 4.
In some embodiments, the above method further comprises:
receiving a second input from the user;
in response to the second input, the control assembly software package is remotely deployed to the device to be deployed indicated by the second input.
In this embodiment, after the above-mentioned assembled software package is assembled, the electronic device may implement remote deployment of the assembled software package on the device to be deployed indicated by the second input according to the second input of the user, so that the operation of deploying the assembled software package is more convenient and time-saving, and the deployment efficiency of the software package is improved.
The second input may be any input capable of indicating the device to be deployed, and may be at least one of a voice input, a touch input, a space gesture input, and the like.
For example, the electronic device may receive information such as an IP address of the device input by the user in a display interface of the electronic device, determine the device to be deployed according to the information such as the IP address, and remotely transmit the assembled function package to the device to be deployed for deployment in a script form.
It should be noted that, after the electronic device remotely deploys the assembly software package on the device to be deployed, the device to be deployed may further feed back operation information of the assembly software package to the electronic device.
In the embodiment of the application, in the process of assembling the functional software packages, the electronic equipment can display the display identifiers of the functional software packages related to the software package deployment scene information in the target display interface, so that a user can quickly select the functional software packages required to be assembled by selecting at least one display identifier in the target display interface, and the electronic equipment automatically executes the process of assembling the functional software packages required to be assembled by the user, so that the functional software packages are more convenient and time-saving to assemble, and the efficiency of deploying the functional software packages in the equipment is improved.
Exemplary embodimentsDevice and method for controlling the same
FIG. 5 is a block diagram of an assembly device of a functional software package, according to an exemplary embodiment. Referring to fig. 5, the apparatus 500 includes a receiving module 510, a software package obtaining module 520, a display module 530, an input module 540, and an assembling module 250.
The receiving module 510 is configured to receive the software package deployment scenario information.
The software package obtaining module 520 is configured to obtain N functional software packages associated with the software package deployment scenario information, where N is a positive integer.
The display module 530 is configured to display a target display interface including N display identifiers, where the N display identifiers are in one-to-one correspondence with the N functional software packages, and each display identifier is configured to identify the corresponding functional software package.
An input module 540 for receiving a first input of at least one of the N display identifiers.
And the assembling module 550 is configured to perform, in response to the first input, an assembling process on the functional software package corresponding to the at least one display identifier, to obtain an assembled software package.
In some embodiments, the apparatus 500 further comprises:
the dependency information acquisition module is used for acquiring dependency information of the N functional software packages, wherein the dependency information is used for indicating the dependency relationship between at least two functional software packages;
the software package class determining module is used for determining M functional software package classes according to the dependency information of the N functional software packages, each functional software package class comprises at least one functional software package, the functional software packages in the functional software package classes have a dependency relationship, and M is an integer larger than 10.
The display module 530 may specifically be configured to:
and displaying a target display interface comprising M display areas, wherein the M display areas are in one-to-one correspondence with the M functional software package classes, and each display area displays display identifiers of each functional software package in the corresponding functional software package class.
In some embodiments, the display module 530 is specifically configured to:
and displaying a target display interface comprising M dependency trees, wherein different dependency trees are positioned in different display areas of the target display interface, the M dependency trees are in one-to-one correspondence with M functional software package classes, each dependency tree comprises at least one node and branches, each node is a display identifier, and each branch is used for representing that a dependency relationship exists between the functional software packages corresponding to the connected nodes.
In some embodiments, the display module 530 is specifically configured to:
displaying a target display interface comprising M grading lists, wherein different grading lists are positioned in different display areas of the target display interface, the M grading lists are in one-to-one correspondence with the M functional software package types, each grading list comprises at least one level of sub-list, each level of sub-list comprises at least one list item, each list item comprises a display identifier, and the functional software package identified by the list item in the next level of sub-list has a dependency relationship with the functional software package identified by the list item in the previous level of sub-list.
In some embodiments, the input module 540 is specifically configured to:
a first input is received to at least one of the M display areas.
The assembly module 550 may be specifically configured to:
and responding to the first input, assembling the functional software package corresponding to the at least one display identifier in the at least one display area to obtain an assembled software package.
In some embodiments, assembly module 550 includes:
the filtering unit is used for filtering static resources in the functional software package corresponding to the at least one display identifier to obtain at least one software package to be assembled, wherein the static resources comprise at least one of a static link library and a header file;
and the assembling unit is used for assembling at least one software package to be assembled to obtain an assembled software package.
In some implementations, the software package deployment scenario information includes at least one of platform information, device type information, and target zone information of the deployment device.
The assembling device for the functional software package provided in the embodiment of the present application can implement each process implemented by the method embodiment shown in fig. 1, and achieve the same technical effects, so that repetition is avoided, and no further description is provided here.
Exemplary electronic device
Fig. 6 is a block diagram of an electronic device 600, according to an example embodiment. The electronic device 600 may be a vehicle controller, an in-vehicle terminal, an in-vehicle computer, or other type of electronic device.
Referring to fig. 6, an electronic device 600 may include at least one processor 610 and memory 620. Processor 610 may execute instructions stored in memory 620. The processor 610 is communicatively coupled to the memory 620 via a data bus. In addition to memory 620, processor 610 may also be communicatively coupled to input device 630, output device 640, and communication device 650 via a data bus.
The processor 610 may be any conventional processor, such as a commercially available CPU. The processor may also include, for example, an image processor (Graphic Process Unit, GPU), a field programmable gate array (Field Programmable Gate Array, FPGA), a System On Chip (SOC), an application specific integrated Chip (Application Specific Integrated Circuit, ASIC), or a combination thereof.
The memory 620 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
In the embodiment of the present disclosure, the memory 620 stores executable instructions, and the processor 610 may read the executable instructions from the memory 620 and execute the instructions to implement all or part of the steps of the method for assembling the functional software package in any of the above-described exemplary embodiments.
Exemplary computer-readable storage Medium
In addition to the methods and apparatus described above, exemplary embodiments of the present disclosure may also be a computer program product or a computer readable storage medium storing the computer program product. The computer program product comprises computer program instructions executable by a processor to perform all or part of the steps described in any of the methods of the exemplary embodiments described above.
The computer program product may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages, and scripting languages (e.g., python). The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
A computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the readable storage medium include: a Static Random Access Memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk, or any suitable combination of the foregoing having one or more electrical conductors.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method of assembling a functional software package, comprising:
receiving software package deployment scene information;
acquiring N functional software packages associated with the software package deployment scene information, wherein N is a positive integer;
displaying a target display interface comprising N display identifiers, wherein the N display identifiers are in one-to-one correspondence with the N functional software packages, and each display identifier is used for identifying the corresponding functional software package;
receiving a first input of at least one of the N display identifiers;
and responding to the first input, and executing the assembly processing of the functional software package corresponding to at least one display identifier to obtain an assembled software package.
2. The method as recited in claim 1, further comprising:
acquiring dependency information of the N functional software packages, wherein the dependency information is used for indicating the dependency relationship between at least two functional software packages;
determining M functional software package classes according to the dependency information of the N functional software packages, wherein each functional software package class comprises at least one functional software package, and the functional software packages in the functional software package classes have a dependency relationship, and M is a positive integer;
the display includes N target display interfaces displaying identifiers, including:
displaying a target display interface comprising M display areas, wherein the M display areas are in one-to-one correspondence with the M functional software package classes, and each display area displays a display identifier of each functional software package in the corresponding functional software package class.
3. The method of claim 2, wherein the displaying a target display interface comprising M display areas comprises:
displaying a target display interface comprising M dependency trees, wherein different dependency trees are positioned in different display areas of the target display interface, the M dependency trees are in one-to-one correspondence with the M functional software package classes, each dependency tree comprises at least one node and branches, each node is the display identifier, and each branch is used for representing that a dependency relationship exists between the functional software packages corresponding to the connected nodes.
4. The method of claim 2, wherein the displaying a target display interface comprising M display areas comprises:
displaying a target display interface comprising M grading lists, wherein different grading lists are positioned in different display areas of the target display interface, the M grading lists are in one-to-one correspondence with the M functional software package types, each grading list comprises at least one level of sub-list, each level of sub-list comprises at least one list item, each list item comprises the display identifier, and the functional software package identified by the list item in the next level of sub-list has a dependency relationship with the functional software package identified by the list item in the previous level of sub-list.
5. The method of claim 2, wherein said receiving a first input of at least one of the N display identifiers comprises:
receiving a first input to at least one of the M display areas;
the responding to the first input, executing the assembly processing of the functional software package corresponding to at least one display identifier, and obtaining an assembled software package, comprising:
and responding to the first input, and assembling the functional software package corresponding to at least one display identifier in the at least one display area to obtain an assembled software package.
6. The method according to claim 1, wherein the performing the assembling process on the functional software package corresponding to at least one of the display identifiers, to obtain an assembled software package, includes:
filtering static resources in the functional software package corresponding to at least one display identifier to obtain at least one software package to be assembled, wherein the static resources comprise at least one of a static link library and a header file;
and assembling the at least one software package to be assembled to obtain an assembled software package.
7. The method of claim 1, wherein the software package deployment scenario information comprises at least one of platform information, device type information, and target zone information of a deployment device.
8. An assembly device for a functional software package, comprising:
the receiving module is used for receiving the software package deployment scene information;
the software package acquisition module is used for acquiring N functional software packages related to the software package deployment scene information, wherein N is a positive integer;
the display module is used for displaying a target display interface comprising N display identifiers, the N display identifiers are in one-to-one correspondence with the N functional software packages, and each display identifier is used for identifying the corresponding functional software package;
the input module is used for receiving a first input of at least one display identifier in the N display identifiers;
and the assembling module is used for responding to the first input, executing the assembling processing of the functional software package corresponding to at least one display identifier and obtaining an assembled software package.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method of assembling a functional software package according to any one of claims 1-7.
10. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, perform the steps of the method of assembling a functional software package according to any of the claims 1-7.
CN202211520873.6A 2022-11-30 2022-11-30 Method and device for assembling functional software package, electronic equipment and storage medium Pending CN116521186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211520873.6A CN116521186A (en) 2022-11-30 2022-11-30 Method and device for assembling functional software package, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211520873.6A CN116521186A (en) 2022-11-30 2022-11-30 Method and device for assembling functional software package, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116521186A true CN116521186A (en) 2023-08-01

Family

ID=87405225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211520873.6A Pending CN116521186A (en) 2022-11-30 2022-11-30 Method and device for assembling functional software package, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116521186A (en)

Similar Documents

Publication Publication Date Title
US7987445B2 (en) Comparing a configuration diagram to an actual system
US8051148B2 (en) Determining differences between configuration diagrams
US8839107B2 (en) Context based script generation
US20060168182A1 (en) Determining and merging differences between configuration diagrams
CN107704396A (en) The method of testing and device of application program
CN107729246B (en) Auxiliary test method, device and equipment for target application and storage medium
CN101710351B (en) Method and system for simulating a plurality of devices
CN110750415B (en) Interface service configuration method, device, medium and computer equipment
CN114546738A (en) Server general test method, system, terminal and storage medium
CN112463588A (en) Automatic test system and method, storage medium and computing equipment
CN112433712A (en) Report display method and device, computer equipment and storage medium
CN111026670B (en) Test case generation method, test case generation device and storage medium
CN110648126A (en) Payment type configuration method, device, server and storage medium
CN113535567B (en) Software testing method, device, equipment and medium
US20080028057A1 (en) System and method to facilitate design and operation of event-driven, embedded solutions
CN111008031B (en) Component updating method and device, electronic equipment and computer readable storage medium
CN116521186A (en) Method and device for assembling functional software package, electronic equipment and storage medium
CN111538659A (en) Interface testing method and system for service scene, electronic device and storage medium
CN115993971A (en) Active page generation method, computing device and computer storage medium
CN114527993A (en) Application deployment method, device, equipment and medium
CN114385672A (en) Information processing method and device, electronic device and storage medium
CN114036132A (en) Object information processing method and device, storage medium and electronic equipment
CN117112654B (en) City data display method, device, computer equipment and storage medium
CN108021501B (en) Test case migration terminal, test case migration method, and storage medium
CN118152054A (en) Information display method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination