CN112631653A - Teaching evaluation index library code adaptation method and system - Google Patents

Teaching evaluation index library code adaptation method and system Download PDF

Info

Publication number
CN112631653A
CN112631653A CN202110252607.9A CN202110252607A CN112631653A CN 112631653 A CN112631653 A CN 112631653A CN 202110252607 A CN202110252607 A CN 202110252607A CN 112631653 A CN112631653 A CN 112631653A
Authority
CN
China
Prior art keywords
script
shared
link
library
adaptation
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.)
Granted
Application number
CN202110252607.9A
Other languages
Chinese (zh)
Other versions
CN112631653B (en
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.)
Guangzhou Ocs Information Technology Co ltd
Original Assignee
Guangzhou Ocs Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Ocs Information Technology Co ltd filed Critical Guangzhou Ocs Information Technology Co ltd
Priority to CN202110252607.9A priority Critical patent/CN112631653B/en
Publication of CN112631653A publication Critical patent/CN112631653A/en
Application granted granted Critical
Publication of CN112631653B publication Critical patent/CN112631653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/72Code refactoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Abstract

The invention relates to the technical field of software information development, in particular to a teaching evaluation index library code adaptation method and system. The invention can quickly find out the multiplexing shared link script capable of adaptive sharing from the multiplexing shared link scripts contained in the index library multiplexing scripts by the calculated software compiling adaptation parameters, thereby automatically adapting and sharing two to-be-determined link scripts in the found multiplexing shared link scripts to obtain the adaptive shared link script, further effectively avoiding the complexity of data test work of developers, improving the code compiling effect of the multiplexing shared link script after being applied to information software compiling, and generating the adaptive shared link script obtained by the last combination in a linkage manner to output the final code adaptation strategy, thereby improving the index library multiplexing efficiency.

Description

Teaching evaluation index library code adaptation method and system
Technical Field
The invention relates to the technical field of software information development, in particular to a teaching evaluation index library code adaptation method and system.
Background
In the current information software compiling process, at least one index library multiplexing script of an example to be compiled is generated based on the index code block sequence, and then software compiling is performed based on the index library multiplexing script of the at least one example to be compiled.
The processing process of the current link script generally performs adaptation sharing on the generated index library multiplexing script, and further performs adaptation sharing on the selected index library multiplexing script, so as to improve the index library multiplexing efficiency subsequently. However, when there are a large number of link scripts that need to be adapted and shared, the development difficulty of subsequent developers will be increased, so that a longer development optimization process will exist, and the development efficiency of information software compilation is further reduced.
Disclosure of Invention
In order to overcome at least the above-mentioned deficiencies in the prior art, the present invention aims to provide a method and a system for adapting teaching evaluation index library codes, wherein a multiplexing shared link script capable of adaptive sharing can be quickly found out from a multiplexing shared link script contained in an index library multiplexing script through a calculated software compiling adaptation parameter, so that two to-be-determined link scripts in the found multiplexing shared link script can be automatically adaptive shared to obtain an adaptive shared link script, and further, the complexity of data testing work of developers can be effectively avoided, so as to improve the code compiling effect of the multiplexing shared link script after being applied to information software compiling. In addition, the matching shared link scripts obtained by the last combination can be generated in a linkage mode to output the final code matching strategy, and therefore the multiplexing efficiency of the index library can be improved.
In a first aspect, the present invention provides a teaching evaluation index library code adaptation method, which is applied to a server, wherein the server is in communication connection with a plurality of software development terminals, and the method includes:
enabling an updated index code block sequence obtained by performing service updating on an index code block sequence of an index library obtained by counting current software requirement indexes, and generating at least one index library multiplexing script of an example to be compiled based on the updated index code block sequence, wherein the example to be compiled is used for representing instantiation elements providing a software compiling function, and the index library multiplexing script is used for representing a link script called when the index library is multiplexed;
determining a multiplexing shared link script from a plurality of pending link scripts of the index library multiplexing script; the multiplexing shared link script comprises any two pending link scripts in the multiple pending link scripts;
determining a multiplexing shared link script with software compiling adaptation parameters larger than target adaptation parameters in the multiplexing shared link script as a target multiplexing shared link script, and performing adaptation sharing on two undetermined link scripts in the target multiplexing shared link script to obtain an adaptation shared link script;
determining the adaptive shared linking script and the rest linking scripts as pending linking scripts, outputting a code adaptation strategy associated with the adaptive shared linking scripts until no multiplexing shared linking script with the software compilation adaptation parameter larger than the target adaptation parameter exists in the index library multiplexing scripts, and compiling the code set of the software development terminal by information software based on the code adaptation strategy associated with the adaptive shared linking scripts; and the rest link scripts are undetermined link scripts except the adaptive shared link script in the undetermined link scripts.
In a possible implementation manner of the first aspect, two pending link scripts in the multiplexing shared link script include a first link script and a second link script;
before determining the multiplexing shared link script with the software compiling adaptation parameter larger than the target adaptation parameter in the multiplexing shared link script as the target multiplexing shared link script, and performing adaptation sharing on two undetermined link scripts in the target multiplexing shared link script to obtain the adaptation shared link script, the method further includes:
acquiring each shared library in the linked script shared libraries corresponding to the multiplexing shared linked script, respectively determining the linked script configuration information of a first linked script associated with each shared library as first linked script configuration information, and determining the linked script configuration information of a second linked script associated with each shared library as second linked script configuration information;
determining software compiling adaptive parameters corresponding to the multiplexing shared link scripts based on each shared library, each first link script configuration information and each second link script configuration information;
the determining of the software compiling adaptive parameter corresponding to the multiplexing shared link script based on each shared library, each first link script configuration information and each second link script configuration information includes:
respectively determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library according to the preset adaptation attribute strategy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library;
and acquiring the sharing weight corresponding to each shared library, and determining the software compiling adaptation parameters corresponding to the multiplexing shared link script based on the sharing weight corresponding to each shared library and the adaptation attribute information of the multiplexing shared link script in the corresponding shared library.
In a possible implementation manner of the first aspect, the link script shared library includes a first shared library, and first link script configuration information associated with the first shared library is determined by first script function block information, first adaptation shared configuration information, and extension adaptation shared configuration information of the first link script in the index library multiplexing script; second chaining script configuration information associated with the first shared library is determined by second script function block information and second adaptive shared configuration information of the second chaining script in the index library multiplexing script;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining a reference link service between the first link script and the second link script in the index library multiplexing script according to first script function block information, first adaptation sharing configuration information, extension adaptation sharing configuration information, second script function block information in the second link script configuration information and second adaptation sharing configuration information in the first link script configuration information; the reference chaining service is used for describing service adaptation information between the first chaining script and the second chaining script;
determining adaptation attribute information of the multiplexing shared link script in the first shared library based on service adaptation information corresponding to the reference link service and a first preset adaptation attribute strategy corresponding to the first shared library; or
The link script shared library comprises a second shared library; the first link script configuration information associated with the second shared library is determined by the first adaptive shared configuration information of the script sequence in which the first link script is located; the second link script configuration information associated with the second shared library is determined by second adaptive shared configuration information of a script sequence in which the second link script is located;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
comparing first adaptive sharing configuration information in the first linking script configuration information with second adaptive sharing configuration information in the second linking script configuration information, and determining an adaptive sharing configuration information relationship between the first linking script and the second linking script according to a comparison result;
and determining the adaptation attribute information of the multiplexing shared link script in the second shared library based on the adaptation shared configuration information relation and a preset adaptation attribute strategy corresponding to the second shared library.
In a possible implementation manner of the first aspect, the linked script shared library includes a third shared library, and the first linked script configuration information associated with the third shared library is determined by the first whole script function block information of the script sequence where the first linked script is located and the first configuration item dynamic state information; the second link script configuration information associated with the third shared library is determined by second whole script function block information and second configuration item dynamic state information of a script sequence where the second link script is located;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining script statement information between the first link script and the second link script according to first integral script function block information in the first link script configuration information and second script function block information in the second link script configuration information;
determining first supervision rule information between the first link script and the second link script based on the script statement information, the first configuration item dynamic state information and the second configuration item dynamic state information;
determining adaptation attribute information of the multiplexing shared link script in the third shared library based on the first supervision rule information and a preset adaptation attribute strategy corresponding to the third shared library; or
The link script shared library comprises a fourth shared library;
the first link script configuration information associated with the fourth shared library is determined by a first configuration item relationship in the configuration items to which the first link script belongs;
the second link script configuration information associated with the fourth shared library is determined by a second configuration item relationship in the configuration items to which the second link script belongs;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining second supervision rule information between the first link script and the second link script based on a first configuration item relation in the first link script configuration information and a second configuration item relation in the second link script configuration information;
and determining the adaptation attribute information of the multiplexing shared link script in the fourth shared library based on the second supervision rule information and a preset adaptation attribute strategy corresponding to the fourth shared library.
In a possible implementation manner of the first aspect, the linked script shared library includes a fifth shared library; the first link script configuration information and the second link script configuration information which are associated with the fifth shared library are determined by the rule expression information to which the first link script and the second link script belong in the index library multiplexing script;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining expression item relation information between the first link script and the second link script based on an expression item of the first link script to the regular expression information in the first link script configuration information and an expression item of the second link script to the regular expression information in the second link script configuration information;
and determining the adaptation attribute information of the multiplexing shared link script in the fifth shared library based on the expression item relation information and a preset adaptation attribute strategy corresponding to the fifth shared library.
In a possible implementation manner of the first aspect, the linked script shared library includes a sixth shared library; first link script configuration information associated with the sixth shared library is determined by a first resource control item to which the first link script belongs; second link script configuration information associated with the sixth shared library is determined by a second resource control item to which the second link script belongs;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining resource control item adaptation information between the first link script and the second link script based on a first resource control item in the first link script configuration information and a second resource control item in the second link script configuration information;
and determining the adaptation attribute information of the multiplexing shared link script in the sixth shared library based on the resource control item adaptation information and a preset adaptation attribute strategy corresponding to the sixth shared library.
In a possible implementation manner of the first aspect, the linked script shared library includes a seventh shared library; the first link script configuration information associated with the seventh shared library is determined by a first middleware service item of a service item set to which the first link script belongs; second link script configuration information associated with the seventh shared library is determined by a second middleware service item of a set of service items to which the second link script belongs;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
acquiring a dynamic service item set corresponding to the multiplexing shared link script based on the seventh shared library; the dynamic service item set comprises target middleware service items;
determining a first middleware service item relationship between the first link script and the dynamic service item set based on the target middleware service item and a first middleware service item in the first link script configuration information;
determining a second middleware service item relationship between the second link script and the dynamic service item set based on the target middleware service item and a second middleware service item in the second link script configuration information;
and determining third supervision rule information between the first link script and the second link script based on the first middleware service item relation and the second middleware service item relation, and determining adaptation attribute information of the multiplexing shared link script in the seventh shared library based on the third supervision rule information and a preset adaptation attribute strategy corresponding to the seventh shared library.
In a possible implementation manner of the first aspect, the linked script shared library includes an eighth shared library; first linking script configuration information associated with the eighth shared library is determined by first dynamic script detection content to which the first linking script belongs; second link script configuration information associated with the eighth shared library is determined by second dynamic script detection content to which the second link script belongs;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
if the first dynamic script detection content and the second dynamic script detection content are both dynamic script detection content corresponding to a single decision attribute, determining script detection related information between the first linking script and the second linking script according to a decision precondition corresponding to the first dynamic script detection content and a decision precondition corresponding to the second dynamic script detection content;
if the first dynamic script detection content and the second dynamic script detection content are both dynamic script detection content corresponding to a non-single decision attribute, determining track related information between the first linking script and the second linking script according to a script detection track corresponding to the first dynamic script detection content and a script detection track corresponding to the second dynamic script detection content, wherein the script detection related information or the track related information is adaptive object information between the first linking script and the second linking script;
and determining the adaptation attribute information of the multiplexing shared link script in the eighth shared library based on the adaptation object information and a preset adaptation attribute strategy corresponding to the eighth shared library.
In a possible implementation manner of the first aspect, the linked script shared library includes a ninth shared library; first linking script configuration information associated with the ninth shared library is determined by a first executable event identification in which the first linking script is located; second linking script configuration information associated with the ninth shared library is determined by a second executable event identification in which the second linking script is located; executable events corresponding to the first executable event identification and executable events corresponding to the second executable event identification are identified by a target network model;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining executable event association information between the first link script and the second link script based on a first executable event identifier in the first link script configuration information and a second executable event identifier in the second link script configuration information;
and determining the adaptation attribute information of the multiplexing shared link script in the ninth shared library based on the executable event correlation information and a preset adaptation attribute strategy corresponding to the ninth shared library.
In a possible implementation manner of the first aspect, the step of enabling an updated index code block sequence obtained by performing service update on an index code block sequence of an index library obtained by counting current software requirement indexes, and generating at least one index library multiplexing script of an example to be compiled based on the updated index code block sequence includes:
extracting software compiling and calling information from code calling past data of the software development terminal to obtain state triggering process information of each piece of software compiling and calling information in the code calling past data;
respectively performing index library binding treatment on a plurality of index library binding index samples on each piece of software compiling and calling information in the code calling past data to obtain an index library binding result corresponding to each index library binding index sample;
determining an index library binding signature corresponding to each software compiling and calling information in each index library binding index sample based on the state triggering process information of each software compiling and calling information in the code calling past data and the index library binding result of each index library binding index sample;
and compiling the multiplexing processes of the index library binding index samples into an index code block sequence of the index library obtained by software requirement index statistics after fusing the multiplexing processes of the index library binding index samples according to the index library binding incidence relation to obtain an updated index code block sequence, and determining at least one example to be compiled and an index library multiplexing script of the at least one example to be compiled based on the updated index code block sequence.
In a second aspect, an embodiment of the present invention further provides a teaching evaluation index library code adaptation apparatus, which is applied to a server, where the server is in communication connection with multiple software development terminals, and the apparatus includes:
the system comprises a generation module, a compiling module and a compiling module, wherein the generation module is used for starting an updated index code block sequence obtained by counting index code blocks of an index library through current software requirement indexes after service updating is carried out on the index code block sequence, and generating at least one index library multiplexing script of an example to be compiled based on the updated index code block sequence, wherein the example to be compiled is used for representing instantiation elements providing a software compiling function, and the index library multiplexing script is used for representing a link script called when the index library is multiplexed;
the determination module is used for determining a multiplexing shared link script from a plurality of pending link scripts of the index library multiplexing script; the multiplexing shared link script comprises any two pending link scripts in the multiple pending link scripts;
the adaptive sharing module is used for determining a multiplexing shared link script with software compiling adaptation parameters larger than target adaptation parameters in the multiplexing shared link script as a target multiplexing shared link script, and performing adaptive sharing on two undetermined link scripts in the target multiplexing shared link script to obtain an adaptive shared link script;
the software compiling module is used for determining the adaptive shared link script and the rest link scripts as undetermined link scripts, outputting a code adapting strategy associated with the adaptive shared link script until no multiplexed shared link script with the software compiling adapting parameter larger than the target adapting parameter exists in the index library multiplexing script, and compiling the information software of the code set of the software development terminal based on the code adapting strategy associated with the adaptive shared link script; and the rest link scripts are undetermined link scripts except the adaptive shared link script in the undetermined link scripts.
In a third aspect, an embodiment of the present invention further provides a teaching evaluation index library code adaptation system, where the teaching evaluation index library code adaptation system includes a server and a plurality of software development terminals in communication connection with the server;
the server is configured to:
enabling an updated index code block sequence obtained by performing service updating on an index code block sequence of an index library obtained by counting current software requirement indexes, and generating at least one index library multiplexing script of an example to be compiled based on the updated index code block sequence, wherein the example to be compiled is used for representing instantiation elements providing a software compiling function, and the index library multiplexing script is used for representing a link script called when the index library is multiplexed;
determining a multiplexing shared link script from a plurality of pending link scripts of the index library multiplexing script; the multiplexing shared link script comprises any two pending link scripts in the multiple pending link scripts;
determining a multiplexing shared link script with software compiling adaptation parameters larger than target adaptation parameters in the multiplexing shared link script as a target multiplexing shared link script, and performing adaptation sharing on two undetermined link scripts in the target multiplexing shared link script to obtain an adaptation shared link script;
determining the adaptive shared linking script and the rest linking scripts as pending linking scripts, outputting a code adaptation strategy associated with the adaptive shared linking scripts until no multiplexing shared linking script with the software compilation adaptation parameter larger than the target adaptation parameter exists in the index library multiplexing scripts, and compiling the code set of the software development terminal by information software based on the code adaptation strategy associated with the adaptive shared linking scripts; and the rest link scripts are undetermined link scripts except the adaptive shared link script in the undetermined link scripts.
In a fourth aspect, an embodiment of the present invention further provides a server, where the server includes a processor, a machine-readable storage medium, and a network interface, where the machine-readable storage medium, the network interface, and the processor are connected through a bus system, the network interface is configured to be communicatively connected with at least one software development terminal, the machine-readable storage medium is configured to store a program, an instruction, or code, and the processor is configured to execute the program, the instruction, or the code in the machine-readable storage medium to perform the teaching evaluation index library code adaptation method in the first aspect or any one of the possible implementations of the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed, the instructions cause a computer to perform the teaching evaluation index library code adaptation method in the first aspect or any one of the possible implementations of the first aspect.
Based on any one of the aspects, the invention can quickly find out the multiplexing shared link script capable of adaptive sharing from the multiplexing shared link scripts contained in the index library multiplexing scripts through the calculated software compiling adaptation parameters, so that two to-be-determined link scripts in the found multiplexing shared link script can be automatically adaptive shared to obtain the adaptive shared link script, and further, the complexity of data testing work of developers can be effectively avoided, and the code compiling effect of the multiplexing shared link script after being applied to information software compiling is improved. The matching and combining steps of the link scripts can be repeatedly executed in order to find out all the link scripts capable of being matched and shared from the index library multiplexing scripts as much as possible, and when the software compiling adaptation parameters of the multiplexing shared link scripts formed by the link scripts displayed in the index library multiplexing scripts cannot be larger than the target adaptation parameters, the link scripts currently displayed in the index library multiplexing scripts cannot be further matched and shared, so that the matching shared link scripts obtained through last combination can be generated in a linkage mode to output a final code matching strategy, and the multiplexing efficiency of the index library can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that need to be called in the embodiments are briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic view of an application scenario of a teaching evaluation index library code adaptation system according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a teaching evaluation index library code adaptation method according to an embodiment of the present invention;
fig. 3 is a schematic functional module diagram of a teaching evaluation index library code adapting device according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a structural object of a server for implementing the teaching evaluation index library code adaptation method according to an embodiment of the present invention.
Detailed Description
The present invention is described in detail below with reference to the drawings, and the specific operation methods in the method embodiments can also be applied to the apparatus embodiments or the system embodiments.
Fig. 1 is an interaction diagram of a teaching evaluation index library code adaptation system 10 according to an embodiment of the present invention. The teaching evaluation index library code adaptation system 10 may include a server 100 and a software development terminal 200 communicatively coupled to the server 100. The teaching assessment index library code adaptation system 10 shown in FIG. 1 is merely one possible example, and in other possible embodiments, the teaching assessment index library code adaptation system 10 may include only a portion of the components shown in FIG. 1 or may include other components.
In this embodiment, the server 100 and the software development terminal 200 in the teaching evaluation index library code adaptation system 10 may cooperatively execute the teaching evaluation index library code adaptation method described in the following method embodiment, and the detailed description of the following method embodiment may be referred to for the execution steps of the specific server 100 and the software development terminal 200.
To solve the technical problem in the foregoing background art, fig. 2 is a schematic flow chart of a teaching evaluation index library code adaptation method according to an embodiment of the present invention, which can be executed by the server 100 shown in fig. 1, and the following describes the teaching evaluation index library code adaptation method in detail.
Step S110, starting an updated index code block sequence obtained by carrying out service updating on the index code block sequence of the index library obtained by counting the current software requirement indexes, and generating at least one index library multiplexing script of an example to be compiled based on the updated index code block sequence.
In this embodiment, the to-be-compiled instance may be used to represent an instantiation element providing a software compiling function, such as a file transfer instantiation element for an office intelligent device in a certain office area, an instantiation element for an interconnection privacy data store of a home access interconnection device in a certain home area, and the like, but is not limited thereto. The index library multiplexing script can be used for representing link scripts called when index library multiplexing is carried out, the link scripts can be operated in a program script mode, and one or more code adaptation strategies can be operated.
Step S120, a multiplexing shared link script is determined from a plurality of pending link scripts of the index library multiplexing script.
In this embodiment, the multiplexing shared linking script may include any two pending linking scripts of the multiple pending linking scripts. For example, when the pending link script includes a pending link script a, a pending link script B, and a pending link script C, the multiplexing shared link script may be the pending link script a and the pending link script B, the pending link script B and the pending link script C, and the pending link script a and the pending link script C.
Step S130, the multiplexing shared link script with the software compiling adaptation parameter larger than the target adaptation parameter in the multiplexing shared link script is determined to be the target multiplexing shared link script, and two undetermined link scripts in the target multiplexing shared link script are subjected to adaptation sharing to obtain the adaptation shared link script.
In this embodiment, when the software compilation adaptation parameter is greater than the target adaptation parameter, it indicates that the multiplexing shared link script may need to perform adaptation sharing integration of the adaptation scheme during software compilation, thereby avoiding the complexity of data testing work of developers and improving the efficiency of index library multiplexing. The specific manner of obtaining the software compiling adaptation parameters will be described in detail in the following description of the embodiments.
Step S140, determining the adaptive shared linking script and the remaining linking scripts as pending linking scripts, outputting a code adaptation policy associated with the adaptive shared linking script until no multiplexed shared linking script exists in the index library multiplexing script whose software compilation adaptation parameter is greater than the target adaptation parameter, and performing information software compilation on the code set of the software development terminal 200 based on the code adaptation policy associated with the adaptive shared linking script.
In this embodiment, the remaining link scripts may be understood as pending link scripts other than the adaptive shared link script in the multiple pending link scripts.
In this embodiment, in the process of outputting the code adaptation policy associated with the adaptation shared linking script and compiling the information software of the code set of the software development terminal 200 based on the code adaptation policy associated with the adaptation shared linking script, the adaptation shared linking script may be instantiated to obtain the code adaptation policy associated with the adaptation shared linking script, and then the information software compilation may be performed on the code set of the software development terminal 200 after obtaining the corresponding various adaptation rules from the code adaptation policy. It should be noted that the specific adaptation rule according to the embodiment of the present invention may be configured according to an actual service scenario, and this part is not a part intended to be improved in the embodiment of the present invention, and therefore, details are not described here, and reference may be made to the prior art.
Based on the above steps, the embodiment can quickly find out the multiplexing shared link script capable of adaptive sharing from the multiplexing shared link scripts included in the index library multiplexing scripts through the calculated software compiling adaptation parameters, so that two to-be-determined link scripts in the found multiplexing shared link script can be automatically adaptive shared to obtain the adaptive shared link script, and further, the data test work of developers can be effectively avoided from being complicated, so that the code compiling effect of the multiplexing shared link script after being applied to information software compiling is improved. In addition, the matching shared link scripts obtained by the last combination can be generated in a linkage mode to output the final code matching strategy, and therefore the multiplexing efficiency of the index library can be improved.
In one possible example, the two pending linkage scripts in the multiplexed shared linkage script may include a first linkage script and a second linkage script.
In one possible example, before step S130, the method may further include:
step S121, obtaining each shared library in the linked script shared libraries corresponding to the multiplexing shared linked script, respectively determining the linked script configuration information of the first linked script associated with each shared library as the first linked script configuration information, and determining the linked script configuration information of the second linked script associated with each shared library as the second linked script configuration information.
And step S122, determining software compiling adaptive parameters corresponding to the multiplexing shared link scripts based on each shared library, each first link script configuration information and each second link script configuration information.
For example, step S122 may be implemented by the following sub-steps.
And a substep S1221, determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library, and the first link script configuration information and the second link script configuration information associated with the corresponding shared library.
And a substep S1222, obtaining the sharing weight corresponding to each shared library, and determining the software compiling adaptation parameter corresponding to the multiplexing shared link script based on the sharing weight corresponding to each shared library and the adaptation attribute information of the multiplexing shared link script in the corresponding shared library.
The sharing weight corresponding to each sharing library may be preset and configured, and is not specifically limited herein. For example, the sharing weight corresponding to each shared library may be multiplied by the adaptation attribute information based on the sharing weight corresponding to each shared library and the multiplexing shared link script when the multiplexing shared link script is in the corresponding shared library, so as to obtain the software compiling adaptation parameter corresponding to the multiplexing shared link script.
In one possible example, the link script shared library may include a first shared library, and the first link script configuration information associated with the first shared library may be determined by the first link script in the index library multiplexing script, the first adaptive shared configuration information, and the extended adaptive shared configuration information. The second chaining script configuration information associated with the first shared library is determined by second script function block information and second adaptive shared configuration information of the second chaining script in the index library multiplexing script. For example, it should be noted that the script function block information may refer to a classification unit of the first linking script in the index library multiplexing script, the adaptation shared configuration information may refer to a service of a specific instantiation element covered by the interface, and the extended adaptation shared configuration information may refer to an attribute of a type extended based on the service of the specific instantiation element covered by the original adaptation shared configuration information.
Based on this, in sub-step S1221, for example, a reference linkage service between the first linkage script and the second linkage script may be determined in the index library multiplexing script according to the first script function block information, the first adaptive sharing configuration information, the extended adaptive sharing configuration information, and the second script function block information, and the second adaptive sharing configuration information in the first linkage script configuration information. The reference linking service may be used to describe service adaptation information between the first linking script and the second linking script.
Then, based on the service adaptation information corresponding to the reference link service and a first preset adaptation attribute strategy corresponding to the first shared library, the adaptation attribute information of the multiplexing shared link script in the first shared library is determined.
For another example, the linked script shared library may further include a second shared library. The first link script configuration information associated with the second shared library is determined by the first adapted shared configuration information of the script sequence in which the first link script is located. The second chaining script configuration information associated with the second shared library is determined by the second adaptive sharing configuration information of the script sequence in which the second chaining script is located.
Based on this, in sub-step S1221, for example, the first adaptation sharing configuration information in the first linking script configuration information and the second adaptation sharing configuration information in the second linking script configuration information may be compared, and the adaptation sharing configuration information relationship between the first linking script and the second linking script is determined according to the comparison result. Then, based on the adaptive shared configuration information relationship and a preset adaptive attribute strategy corresponding to the second shared library, determining adaptive attribute information of the multiplexing shared link script in the second shared library. For example, it should be noted that the matching shared configuration information relationship may be matched with the matching shared configuration information relationship of each matching attribute in the preset matching attribute policy, so as to obtain the matching attribute information of the multiplexing shared link script in the second shared library.
In one possible example, the shared library of linked scripts may include a third shared library, and the first linked script configuration information associated with the third shared library is determined by the first whole script function block information and the first configuration item dynamic state information of the script sequence in which the first linked script is located. The second link script configuration information associated with the third shared library is determined by the second whole script function block information and the second configuration item dynamic state information of the script sequence in which the second link script is located.
Based on this, in sub-step S1221, script statement information between the first link script and the second link script may be determined according to, for example, first whole script function block information in the first link script configuration information and second script function block information in the second link script configuration information. Then, based on the script statement information, the first configuration item dynamic state information and the second configuration item dynamic state information, determining first supervision rule information between the first link script and the second link script, and based on the first supervision rule information and a preset adaptation attribute strategy corresponding to the third shared library, determining adaptation attribute information of the multiplexing shared link script in the third shared library. For example, the number of the supervision rules in the first supervision rule information may be matched with the number of the pair supervision rules for each adaptation attribute in the preset adaptation attribute policy, so as to obtain the adaptation attribute information of the multiplexing shared link script in the third shared library.
As another example, the linked script shared library may comprise a fourth shared library. The first link script configuration information associated with the fourth shared library is determined by the first configuration item relationship among the configuration items to which the first link script belongs. The second link script configuration information associated with the fourth shared library is determined by the second configuration item relationship among the configuration items to which the second link script belongs.
Based on this, in sub-step S1221, for example, second supervision rule information between the first link script and the second link script may be determined based on a first configuration item relationship in the first link script configuration information and a second configuration item relationship in the second link script configuration information. And then, based on the second supervision rule information and a preset adaptation attribute strategy corresponding to the fourth shared library, determining adaptation attribute information of the multiplexing shared link script in the fourth shared library. For example, the number of the supervision rules in the second supervision rule information may be matched with the number of the pair supervision rules for each adaptation attribute in the preset adaptation attribute policy, so as to obtain the adaptation attribute information of the multiplexing shared link script in the fourth shared library.
In one possible example, the linked script shared library comprises a fifth shared library. And the first link script configuration information and the second link script configuration information which are associated with the fifth shared library are determined by the regular expression information to which the first link script and the second link script belong in the index library multiplexing script.
Based on this, in sub-step S1221, expression item relationship information between the first link script and the second link script may be determined based on, for example, an expression item of the first link script to regular expression information in the first link script configuration information, and an expression item of the second link script to regular expression information in the second link script configuration information. And then, based on the expression item relation information and a preset adaptation attribute strategy corresponding to the fifth shared library, determining adaptation attribute information of the multiplexing shared link script in the fifth shared library. For example, the number of expression item relationships in the expression item relationship information may be matched with the number of opposite expression item relationships of each adaptation attribute in the preset adaptation attribute policy, so as to obtain the adaptation attribute information of the multiplexing sharing link script in the fifth shared library.
In one possible example, the linked script shared library comprises a sixth shared library. The first link script configuration information associated with the sixth shared library is determined by the first resource control item to which the first link script belongs. The second link script configuration information associated with the sixth shared library is determined by the second resource control item to which the second link script belongs.
Based on this, in sub-step S1221, resource control item adaptation information between the first link script and the second link script may be determined based on, for example, a first resource control item in the first link script configuration information and a second resource control item in the second link script configuration information. And then, determining the adaptation attribute information of the multiplexing sharing link script in the sixth shared library based on the resource control item adaptation information and a preset adaptation attribute strategy corresponding to the sixth shared library. For example, the number of service interface applicable associated scenes in the resource control item adaptation information may be matched with the number of paired service interface applicable associated scenes of each adaptation attribute in the preset adaptation attribute policy, so as to obtain the adaptation attribute information of the multiplexing shared link script in the sixth shared library.
In one possible example, the linked script shared library comprises a seventh shared library. The first link script configuration information associated with the seventh shared library is determined by a first middleware service item of a set of service items to which the first link script belongs. The second link script configuration information associated with the seventh shared library is determined by a second middleware service item of the set of service items to which the second link script belongs.
Based on this, in sub-step S1221, for example, a set of dynamic service items corresponding to the multiplexing shared link script may be obtained based on the seventh shared library. The dynamic service item set contains target middleware service items. Then, a first middleware service item relation between the first link script and the dynamic service item set is determined based on the target middleware service item and the first middleware service item in the first link script configuration information.
On the basis, the second middleware service item relation between the second link script and the dynamic service item set can be determined based on the target middleware service item and the second middleware service item in the second link script configuration information. Therefore, the third supervision rule information between the first link script and the second link script can be determined based on the first middleware service item relation and the second middleware service item relation, and the adaptation attribute information of the multiplexing shared link script in the seventh shared library can be determined based on the third supervision rule information and the preset adaptation attribute strategy corresponding to the seventh shared library. For example, the number of the supervision rule information in the third supervision rule information may be matched with the number of the pair supervision rule information of each adaptation attribute in the preset adaptation attribute policy, so as to obtain the adaptation attribute information of the multiplexing sharing link script in the seventh shared library.
In one possible example, the linked script shared library comprises an eighth shared library. The first linking script configuration information associated with the eighth shared library is determined by the first dynamic scenario detection content to which the first linking script belongs. The second linked script configuration information associated with the eighth shared library is determined by the second dynamic scenario detection content to which the second linked script belongs.
Based on this, in sub-step S1221, if the first dynamic scenario detection content and the second dynamic scenario detection content are both dynamic scenario detection contents corresponding to a single decision attribute, the scenario detection related information between the first linking scenario and the second linking scenario may be determined according to a decision precondition corresponding to the first dynamic scenario detection content and a decision precondition corresponding to the second dynamic scenario detection content.
If the first dynamic script detection content and the second dynamic script detection content are both dynamic script detection content corresponding to the non-single decision attribute, determining track related information between the first linking script and the second linking script according to a script detection track corresponding to the first dynamic script detection content and a script detection track corresponding to the second dynamic script detection content, wherein the script detection related information or the track related information is adaptive object information between the first linking script and the second linking script.
In this way, the adaptation attribute information of the multiplexing shared link script in the eighth shared library can be determined based on the adaptation object information and the preset adaptation attribute policy corresponding to the eighth shared library. For example, the number of attribute matching nodes in the adaptation object information may be matched with the number of opposite attribute matching nodes of each adaptation attribute in the preset adaptation attribute policy, so as to obtain the adaptation attribute information of the multiplexing shared link script in the eighth shared library.
In one possible example, the linked script shared library comprises a ninth shared library. The first linking script configuration information associated with the ninth shared library is determined by the first executable event identification in which the first linking script is located. The second link script configuration information associated with the ninth shared library is determined by the second executable event identification at which the second link script is located. Executable events corresponding to the first executable event identification and executable events corresponding to the second executable event identification are both identified by the target network model.
Based on this, in sub-step S1221, executable event association information between the first link script and the second link script may be determined based on a first executable event identifier in the first link script configuration information and a second executable event identifier in the second link script configuration information, for example. And then, determining the adaptive attribute information of the multiplexing shared link script in the ninth shared library based on the executable event correlation information and a preset adaptive attribute strategy corresponding to the ninth shared library. For example, the number of executable associated events in the executable event associated information may be matched with the number of paired executable associated events of each adaptation attribute in the preset adaptation attribute policy, so as to obtain the adaptation attribute information of the multiplexing shared link script in the ninth shared library.
In one possible example, for step S110, in the process of enabling an updated index code block sequence after service update is performed on an index code block sequence of an index library obtained by current software requirement index statistics, and generating an index library multiplexing script of at least one to-be-compiled instance based on the updated index code block sequence, the following exemplary sub-steps can be implemented, which are described in detail below.
And a substep S111 of extracting software compiling and calling information from the code calling past data of the software development terminal 200 to obtain state triggering process information of each piece of software compiling and calling information in the code calling past data.
In this embodiment, the code calling past data may refer to a data set formed by various adaptation behavior data adapted through cloud computing in a use process of various terminal devices. In addition, the software compiling and calling information may refer to adaptation behavior data generated after various software compiling rules are called in each cloud computing software compiling process, and the state triggering process information of the software compiling and calling information may refer to state triggering record characteristics, such as state switching triggering information, state recording triggering information, and the like, in the adaptation behavior data triggered by each continuous state.
And a substep S112, respectively performing index library binding processing of a plurality of index library binding index samples on each piece of software compiling and calling information in the code calling past data to obtain an index library binding result corresponding to each index library binding index sample.
In this embodiment, the index library binding index sample may refer to an index sample template configured in advance for different index library binding requirements, and may include configuration information of a plurality of index library binding rules, for example.
And a substep S113, determining an index library binding signature corresponding to each software compiling and calling information in each index library binding index sample based on the state triggering process information of each software compiling and calling information in the code calling past data and the index library binding result of each index library binding index sample.
In this embodiment, the index library binding signature may refer to information such as development tag attributes or development tag behaviors of each piece of software compilation call information in an index library binding index sample.
And a substep S114, generating a multiplexing process corresponding to the index library binding index samples based on the index library binding signature corresponding to each software compiling and calling information in each index library binding index sample, fusing the multiplexing processes of the plurality of index library binding index samples according to the index library binding incidence relation, compiling the multiplexing processes into an index code block sequence of the index library obtained by software requirement index statistics, obtaining an updated index code block sequence, and determining at least one example to be compiled and an index library multiplexing script of the at least one example to be compiled based on the updated index code block sequence.
In this embodiment, the multiplexing process may refer to a functional software development module for executing a software compiling function, in which access and filtering rules for controlling index instantiation elements in an information software compiling process may be configured. The index library binding association relation can refer to an object sequence relation of index library binding of index instantiation elements in the process of index library binding of a multiplexing process, or other arbitrary object logic relation.
In this embodiment, the index library may be obtained based on software requirement index statistics, for example, the software requirement index statistics may be performed by collecting a large number of data samples with privacy security exposure, and a data area with a higher importance degree is analyzed as the index library, for example, a data area with a user use frequency degree greater than a preset degree is used as the index library, and is not particularly limited.
Fig. 3 is a schematic functional module diagram of a teaching evaluation index library code adapting device 300 according to an embodiment of the present disclosure, and in this embodiment, functional modules of the teaching evaluation index library code adapting device 300 may be divided according to a method embodiment executed by the server 100, that is, the following functional modules corresponding to the teaching evaluation index library code adapting device 300 may be used to execute each method embodiment executed by the server 100. The teaching evaluation index library code adapting device 300 may include a generating module 310, a determining module 320, an adapting sharing module 330, and a software compiling module 340, where functions of the functional modules of the teaching evaluation index library code adapting device 300 are described in detail below.
The generating module 310 is configured to enable an updated index code block sequence obtained by performing service update on an index code block sequence of an index library obtained by counting current software requirement indexes, and generate an index library multiplexing script of at least one to-be-compiled example based on the updated index code block sequence, where the to-be-compiled example is used to represent an instantiation element providing a software compiling function, and the index library multiplexing script is used to represent a link script called when index library multiplexing is performed.
A determining module 320, configured to determine a multiplexing shared link script from multiple pending link scripts of the index library multiplexing script. The multiplexing shared linking script comprises any two pending linking scripts in the plurality of pending linking scripts.
And the adaptation sharing module 330 is configured to determine the multiplexing shared link script with the software compiling adaptation parameter larger than the target adaptation parameter in the multiplexing shared link script as the target multiplexing shared link script, and perform adaptation sharing on two undetermined link scripts in the target multiplexing shared link script to obtain the adaptation shared link script.
And the software compiling module 340 is configured to determine the adapted shared link script and the remaining link scripts as pending link scripts, output a code adaptation policy associated with the adapted shared link script until no multiplexed shared link script exists in the index library multiplexing script, where the software compilation adaptation parameter is greater than the target adaptation parameter, and perform information software compilation on the code set of the software development terminal 200 based on the code adaptation policy associated with the adapted shared link script. And the rest link scripts are the pending link scripts except the adaptive shared link script in the multiple pending link scripts.
Fig. 4 is a schematic diagram illustrating a hardware structure of a server 100 for implementing the teaching assessment index library code adaptation method, provided by the embodiment of the present disclosure, and as shown in fig. 4, the server 100 may include a processor 110, a machine-readable storage medium 120, a bus 130, and a transceiver 140.
In a specific implementation process, at least one processor 110 executes computer-executable instructions stored in the machine-readable storage medium 120, so that the processor 110 may execute the teaching evaluation index library code adaptation method according to the above method embodiment, where the processor 110, the machine-readable storage medium 120, and the transceiver 140 are connected through the bus 130, and the processor 110 may be configured to control the transceiver action of the transceiver 140, so as to perform data transceiving with the software development terminal 200.
For a specific implementation process of the processor 110, reference may be made to the above-mentioned method embodiments executed by the server 100, which implement similar principles and technical effects, and this embodiment is not described herein again.
The machine-readable storage medium 120 may comprise high-speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
In addition, the embodiment of the invention also provides a readable storage medium, wherein the readable storage medium stores computer execution instructions, and when a processor executes the computer execution instructions, the method for adapting the teaching evaluation index library code is realized.
Finally, it should be understood that the examples in this specification are only intended to illustrate the principles of the examples in this specification. Other variations are also possible within the scope of this description. Thus, by way of example, and not limitation, alternative configurations of the embodiments of the specification can be considered consistent with the teachings of the specification. Accordingly, the embodiments of the present description are not limited to only those embodiments explicitly described and depicted herein.

Claims (10)

1. A teaching evaluation index library code adaptation method is applied to a server, the server is in communication connection with a plurality of software development terminals, and the method comprises the following steps:
enabling an updated index code block sequence obtained by performing service updating on an index code block sequence of an index library obtained by counting current software requirement indexes, and generating at least one index library multiplexing script of an example to be compiled based on the updated index code block sequence, wherein the example to be compiled is used for representing instantiation elements providing a software compiling function, and the index library multiplexing script is used for representing a link script called when the index library is multiplexed;
determining a multiplexing shared link script from a plurality of pending link scripts of the index library multiplexing script; the multiplexing shared link script comprises any two pending link scripts in the multiple pending link scripts;
determining a multiplexing shared link script with software compiling adaptation parameters larger than target adaptation parameters in the multiplexing shared link script as a target multiplexing shared link script, and performing adaptation sharing on two undetermined link scripts in the target multiplexing shared link script to obtain an adaptation shared link script;
determining the adaptive shared linking script and the rest linking scripts as pending linking scripts, outputting a code adaptation strategy associated with the adaptive shared linking scripts until no multiplexing shared linking script with the software compilation adaptation parameter larger than the target adaptation parameter exists in the index library multiplexing scripts, and compiling the code set of the software development terminal by information software based on the code adaptation strategy associated with the adaptive shared linking scripts; and the rest link scripts are undetermined link scripts except the adaptive shared link script in the undetermined link scripts.
2. The teaching evaluation index library code adaptation method of claim 1, wherein two pending link scripts in the multiplexed shared link script comprise a first link script and a second link script;
before determining the multiplexing shared link script with the software compiling adaptation parameter larger than the target adaptation parameter in the multiplexing shared link script as the target multiplexing shared link script, and performing adaptation sharing on two undetermined link scripts in the target multiplexing shared link script to obtain the adaptation shared link script, the method further includes:
acquiring each shared library in the linked script shared libraries corresponding to the multiplexing shared linked script, respectively determining the linked script configuration information of a first linked script associated with each shared library as first linked script configuration information, and determining the linked script configuration information of a second linked script associated with each shared library as second linked script configuration information;
determining software compiling adaptive parameters corresponding to the multiplexing shared link scripts based on each shared library, each first link script configuration information and each second link script configuration information;
the determining of the software compiling adaptive parameter corresponding to the multiplexing shared link script based on each shared library, each first link script configuration information and each second link script configuration information includes:
respectively determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library according to the preset adaptation attribute strategy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library;
and acquiring the sharing weight corresponding to each shared library, and determining the software compiling adaptation parameters corresponding to the multiplexing shared link script based on the sharing weight corresponding to each shared library and the adaptation attribute information of the multiplexing shared link script in the corresponding shared library.
3. The teaching evaluation index library code adaptation method of claim 2, wherein the linked script shared library comprises a first shared library, and first linked script configuration information associated with the first shared library is determined by first script function block information, first adaptation shared configuration information and extension adaptation shared configuration information of the first linked script in the index library multiplexing script; second chaining script configuration information associated with the first shared library is determined by second script function block information and second adaptive shared configuration information of the second chaining script in the index library multiplexing script;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining a reference link service between the first link script and the second link script in the index library multiplexing script according to first script function block information, first adaptation sharing configuration information, extension adaptation sharing configuration information, second script function block information in the second link script configuration information and second adaptation sharing configuration information in the first link script configuration information; the reference chaining service is used for describing service adaptation information between the first chaining script and the second chaining script;
determining adaptation attribute information of the multiplexing shared link script in the first shared library based on service adaptation information corresponding to the reference link service and a first preset adaptation attribute strategy corresponding to the first shared library; or
The link script shared library comprises a second shared library; the first link script configuration information associated with the second shared library is determined by the first adaptive shared configuration information of the script sequence in which the first link script is located; the second link script configuration information associated with the second shared library is determined by second adaptive shared configuration information of a script sequence in which the second link script is located;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
comparing first adaptive sharing configuration information in the first linking script configuration information with second adaptive sharing configuration information in the second linking script configuration information, and determining an adaptive sharing configuration information relationship between the first linking script and the second linking script according to a comparison result;
and determining the adaptation attribute information of the multiplexing shared link script in the second shared library based on the adaptation shared configuration information relation and a preset adaptation attribute strategy corresponding to the second shared library.
4. The teaching evaluation index library code adaptation method according to claim 2, wherein the linked script shared library comprises a third shared library, and the first linked script configuration information associated with the third shared library is determined by the first whole script function block information and the first configuration item dynamic state information of the script sequence in which the first linked script is located; the second link script configuration information associated with the third shared library is determined by second whole script function block information and second configuration item dynamic state information of a script sequence where the second link script is located;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining script statement information between the first link script and the second link script according to first integral script function block information in the first link script configuration information and second script function block information in the second link script configuration information;
determining first supervision rule information between the first link script and the second link script based on the script statement information, the first configuration item dynamic state information and the second configuration item dynamic state information;
determining adaptation attribute information of the multiplexing shared link script in the third shared library based on the first supervision rule information and a preset adaptation attribute strategy corresponding to the third shared library; or
The link script shared library comprises a fourth shared library;
the first link script configuration information associated with the fourth shared library is determined by a first configuration item relationship in the configuration items to which the first link script belongs;
the second link script configuration information associated with the fourth shared library is determined by a second configuration item relationship in the configuration items to which the second link script belongs;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining second supervision rule information between the first link script and the second link script based on a first configuration item relation in the first link script configuration information and a second configuration item relation in the second link script configuration information;
and determining the adaptation attribute information of the multiplexing shared link script in the fourth shared library based on the second supervision rule information and a preset adaptation attribute strategy corresponding to the fourth shared library.
5. The teaching evaluation index library code adaptation method of claim 2, wherein the linked script shared library comprises a fifth shared library; the first link script configuration information and the second link script configuration information which are associated with the fifth shared library are determined by the rule expression information to which the first link script and the second link script belong in the index library multiplexing script;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining expression item relation information between the first link script and the second link script based on an expression item of the first link script to the regular expression information in the first link script configuration information and an expression item of the second link script to the regular expression information in the second link script configuration information;
and determining the adaptation attribute information of the multiplexing shared link script in the fifth shared library based on the expression item relation information and a preset adaptation attribute strategy corresponding to the fifth shared library.
6. The teaching evaluation index library code adaptation method of claim 2, wherein the linked script shared library comprises a sixth shared library; first link script configuration information associated with the sixth shared library is determined by a first resource control item to which the first link script belongs; second link script configuration information associated with the sixth shared library is determined by a second resource control item to which the second link script belongs;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
determining resource control item adaptation information between the first link script and the second link script based on a first resource control item in the first link script configuration information and a second resource control item in the second link script configuration information;
and determining the adaptation attribute information of the multiplexing shared link script in the sixth shared library based on the resource control item adaptation information and a preset adaptation attribute strategy corresponding to the sixth shared library.
7. The teaching evaluation index library code adaptation method of claim 2, wherein the linked script shared library comprises a seventh shared library; the first link script configuration information associated with the seventh shared library is determined by a first middleware service item of a service item set to which the first link script belongs; second link script configuration information associated with the seventh shared library is determined by a second middleware service item of a set of service items to which the second link script belongs;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
acquiring a dynamic service item set corresponding to the multiplexing shared link script based on the seventh shared library; the dynamic service item set comprises target middleware service items;
determining a first middleware service item relationship between the first link script and the dynamic service item set based on the target middleware service item and a first middleware service item in the first link script configuration information;
determining a second middleware service item relationship between the second link script and the dynamic service item set based on the target middleware service item and a second middleware service item in the second link script configuration information;
and determining third supervision rule information between the first link script and the second link script based on the first middleware service item relation and the second middleware service item relation, and determining adaptation attribute information of the multiplexing shared link script in the seventh shared library based on the third supervision rule information and a preset adaptation attribute strategy corresponding to the seventh shared library.
8. The teaching evaluation index library code adaptation method of claim 2, wherein the linked script shared library comprises an eighth shared library; first linking script configuration information associated with the eighth shared library is determined by first dynamic script detection content to which the first linking script belongs; second link script configuration information associated with the eighth shared library is determined by second dynamic script detection content to which the second link script belongs;
the determining the adaptation attribute information of the multiplexing shared link script in the corresponding shared library respectively according to the preset adaptation attribute policy corresponding to each shared library and the first link script configuration information and the second link script configuration information associated with the corresponding shared library includes:
if the first dynamic script detection content and the second dynamic script detection content are both dynamic script detection content corresponding to a single decision attribute, determining script detection related information between the first linking script and the second linking script according to a decision precondition corresponding to the first dynamic script detection content and a decision precondition corresponding to the second dynamic script detection content;
if the first dynamic script detection content and the second dynamic script detection content are both dynamic script detection content corresponding to a non-single decision attribute, determining track related information between the first linking script and the second linking script according to a script detection track corresponding to the first dynamic script detection content and a script detection track corresponding to the second dynamic script detection content, wherein the script detection related information or the track related information is adaptive object information between the first linking script and the second linking script;
and determining the adaptation attribute information of the multiplexing shared link script in the eighth shared library based on the adaptation object information and a preset adaptation attribute strategy corresponding to the eighth shared library.
9. The teaching evaluation index library code adaptation method according to any one of claims 1 to 8, wherein the step of enabling an updated index code block sequence after service update is performed on an index code block sequence of an index library obtained by counting current software requirement indexes, and generating at least one index library multiplexing script of an example to be compiled based on the updated index code block sequence comprises:
extracting software compiling and calling information from code calling past data of the software development terminal to obtain state triggering process information of each piece of software compiling and calling information in the code calling past data;
respectively performing index library binding treatment on a plurality of index library binding index samples on each piece of software compiling and calling information in the code calling past data to obtain an index library binding result corresponding to each index library binding index sample;
determining an index library binding signature corresponding to each software compiling and calling information in each index library binding index sample based on the state triggering process information of each software compiling and calling information in the code calling past data and the index library binding result of each index library binding index sample;
and compiling the multiplexing processes of the index library binding index samples into an index code block sequence of the index library obtained by software requirement index statistics after fusing the multiplexing processes of the index library binding index samples according to the index library binding incidence relation to obtain an updated index code block sequence, and determining at least one example to be compiled and an index library multiplexing script of the at least one example to be compiled based on the updated index code block sequence.
10. The teaching evaluation index library code adaptation system is characterized by comprising a server and a plurality of software development terminals in communication connection with the server;
the server is configured to:
enabling an updated index code block sequence obtained by performing service updating on an index code block sequence of an index library obtained by counting current software requirement indexes, and generating at least one index library multiplexing script of an example to be compiled based on the updated index code block sequence, wherein the example to be compiled is used for representing instantiation elements providing a software compiling function, and the index library multiplexing script is used for representing a link script called when the index library is multiplexed;
determining a multiplexing shared link script from a plurality of pending link scripts of the index library multiplexing script; the multiplexing shared link script comprises any two pending link scripts in the multiple pending link scripts;
determining a multiplexing shared link script with software compiling adaptation parameters larger than target adaptation parameters in the multiplexing shared link script as a target multiplexing shared link script, and performing adaptation sharing on two undetermined link scripts in the target multiplexing shared link script to obtain an adaptation shared link script;
determining the adaptive shared linking script and the rest linking scripts as pending linking scripts, outputting a code adaptation strategy associated with the adaptive shared linking scripts until no multiplexing shared linking script with the software compilation adaptation parameter larger than the target adaptation parameter exists in the index library multiplexing scripts, and compiling the code set of the software development terminal by information software based on the code adaptation strategy associated with the adaptive shared linking scripts; and the rest link scripts are undetermined link scripts except the adaptive shared link script in the undetermined link scripts.
CN202110252607.9A 2021-03-09 2021-03-09 Index library code adaptation method and system Active CN112631653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110252607.9A CN112631653B (en) 2021-03-09 2021-03-09 Index library code adaptation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110252607.9A CN112631653B (en) 2021-03-09 2021-03-09 Index library code adaptation method and system

Publications (2)

Publication Number Publication Date
CN112631653A true CN112631653A (en) 2021-04-09
CN112631653B CN112631653B (en) 2021-06-15

Family

ID=75297773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110252607.9A Active CN112631653B (en) 2021-03-09 2021-03-09 Index library code adaptation method and system

Country Status (1)

Country Link
CN (1) CN112631653B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988797A (en) * 2015-02-12 2016-10-05 北京仿真中心 Adaptation system and method of multidisciplinary design and analysis tool
CN108446115A (en) * 2018-03-12 2018-08-24 中国银行股份有限公司 A kind of method and device of code reuse
WO2018217741A1 (en) * 2017-05-25 2018-11-29 Versata Development Group, Inc. Library suggestion engine
CN109582303A (en) * 2018-10-31 2019-04-05 平安科技(深圳)有限公司 General purpose module call method, device, computer equipment and storage medium
US10725752B1 (en) * 2018-02-13 2020-07-28 Amazon Technologies, Inc. Dependency handling in an on-demand network code execution system
CN111914859A (en) * 2019-05-07 2020-11-10 中移(苏州)软件技术有限公司 Service multiplexing method, computing device and computer readable storage medium
CN112241262A (en) * 2020-12-07 2021-01-19 中国科学院软件研究所 Software-defined satellite-oriented reusable code extracting, analyzing and retrieving method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988797A (en) * 2015-02-12 2016-10-05 北京仿真中心 Adaptation system and method of multidisciplinary design and analysis tool
WO2018217741A1 (en) * 2017-05-25 2018-11-29 Versata Development Group, Inc. Library suggestion engine
US10725752B1 (en) * 2018-02-13 2020-07-28 Amazon Technologies, Inc. Dependency handling in an on-demand network code execution system
CN108446115A (en) * 2018-03-12 2018-08-24 中国银行股份有限公司 A kind of method and device of code reuse
CN109582303A (en) * 2018-10-31 2019-04-05 平安科技(深圳)有限公司 General purpose module call method, device, computer equipment and storage medium
CN111914859A (en) * 2019-05-07 2020-11-10 中移(苏州)软件技术有限公司 Service multiplexing method, computing device and computer readable storage medium
CN112241262A (en) * 2020-12-07 2021-01-19 中国科学院软件研究所 Software-defined satellite-oriented reusable code extracting, analyzing and retrieving method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴立松: "基于构件的测试脚本复用技术研究", 《计算机应用研究》 *
赵中芳: "基于CBR的测试用例复用模型的研究与应用", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN112631653B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
WO2019216976A1 (en) Analytics for an automated application testing platform
CN110968437A (en) Method, device, equipment and medium for parallel execution of single contract based on Java intelligent contract
CN113535399A (en) NFV resource scheduling method, device and system
CN113032268B (en) Software testing method, device and storage medium
CN109214178A (en) APP application malicious act detection method and device
CN111586071A (en) Encryption attack detection method and device based on recurrent neural network model
CN113010892B (en) Method and device for detecting malicious behavior of small program
CN112631653B (en) Index library code adaptation method and system
CN112653697A (en) Access request processing method based on cloud computing and block chain and cloud service center
CN112764764A (en) Scene model deployment method, device, equipment and storage medium
CN112688947B (en) Internet-based network communication information intelligent monitoring method and system
CN113098883B (en) Block chain and big data based security protection method and block chain service system
CN114741066B (en) Block chain application generation method and system
CN112711542A (en) Method for switching test environments of mobile phone client
CN111190813B (en) Android application network behavior information extraction system and method based on automatic testing
CN115422522A (en) Abnormal equipment judgment reference establishment method, abnormal equipment identification method, abnormal equipment judgment reference establishment device, abnormal equipment identification device and abnormal equipment identification device
CN115577363A (en) Detection method and device for deserialization utilization chain of malicious code
US20210012001A1 (en) Storage medium, information processing method, and information processing apparatus
CN113391795A (en) Method and system for realizing self-adaptive mapping of application scene and software development kit
CN112631577A (en) Model scheduling method, model scheduler and model safety test platform
CN112637323A (en) Intelligent equipment data processing method and system based on big data and cloud computing
CN112837040B (en) Power data management method and system applied to smart grid
CN116841564B (en) Data processing method, device, equipment and computer readable storage medium
CN114218809B (en) Automatic and formal protocol modeling method and system for Ether house intelligent contract
US20230064755A1 (en) Data processing method and apparatus

Legal Events

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