CN113326039B - Asynchronous code generation method and system for medical code flow modeling - Google Patents

Asynchronous code generation method and system for medical code flow modeling Download PDF

Info

Publication number
CN113326039B
CN113326039B CN202110682556.3A CN202110682556A CN113326039B CN 113326039 B CN113326039 B CN 113326039B CN 202110682556 A CN202110682556 A CN 202110682556A CN 113326039 B CN113326039 B CN 113326039B
Authority
CN
China
Prior art keywords
code
target
asynchronous conversion
response
asynchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110682556.3A
Other languages
Chinese (zh)
Other versions
CN113326039A (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.)
Shenzhen Wangtongxing Technology Development Co ltd
Original Assignee
Shenzhen Wangtongxing Technology Development 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 Shenzhen Wangtongxing Technology Development Co ltd filed Critical Shenzhen Wangtongxing Technology Development Co ltd
Priority to CN202110682556.3A priority Critical patent/CN113326039B/en
Publication of CN113326039A publication Critical patent/CN113326039A/en
Application granted granted Critical
Publication of CN113326039B publication Critical patent/CN113326039B/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/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/443Optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The embodiment of the disclosure provides an asynchronous code generation method and system for medical code flow modeling, which are beneficial to comparison among asynchronous conversion threads by calling back and quoting service code response instructions of a chain connection function set of the asynchronous conversion threads; and then matching with a plurality of reference service code response instructions of a plurality of preset target asynchronous conversion threads respectively to realize comparison of the reference service code response instructions of the same asynchronous conversion thread and the target asynchronous conversion threads to obtain the response synchronization rate of the reference service code response instructions of each asynchronous conversion thread and each target asynchronous conversion thread, finally determining the target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and further judging the response synchronization rate to further generate accurate updated asynchronous code information for the target code update block so as to provide accurate updated asynchronous code information.

Description

Asynchronous code generation method and system for medical code flow modeling
Technical Field
The disclosure relates to the technical field of computers, in particular to an asynchronous code generation method and system for medical code flow modeling.
Background
In the related art, when code update migration is performed, a cut-in is performed to a related compiled code update library object to perform compiled code update. However, in the software code development process after the code update migration, since a new target code update block is located at this time, how to generate accurate update asynchronous code information for the target code update block to provide accurate update asynchronous code information is a main technical problem to be solved by the following embodiments of the present invention.
Disclosure of Invention
In order to overcome at least the above-mentioned deficiencies in the prior art, it is an object of the present disclosure to provide an asynchronous code generation method and system for medical code flow modeling.
In a first aspect, the present disclosure provides an asynchronous code generation method for medical code flow modeling, applied to a code server, where the code server is communicatively connected to a plurality of code editing terminals, and the method includes:
acquiring a target code updating library object for calling the code editing example to update and migrate codes by a medical code modeling process of the code editing terminal, acquiring a target code updating block after accessing the target code updating library object, acquiring a target code compiling task stream in an asynchronous code updating task class corresponding to the target code updating block, and determining one or more chain connection function sets of each asynchronous conversion thread in the target code updating block according to the target code compiling task stream;
respectively performing service code response instruction callback reference on each asynchronous conversion thread based on the chain connection function set to obtain a service code response instruction of each asynchronous conversion thread;
respectively matching the service code response instruction of each asynchronous conversion thread with a plurality of preset reference service code response instructions of a plurality of target asynchronous conversion threads to obtain the response synchronization rate of each asynchronous conversion thread and the reference service code response instruction of each target asynchronous conversion thread;
and determining a target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and adding the target asynchronous conversion thread to each corresponding asynchronous conversion thread based on the current updated asynchronous code information of each target asynchronous conversion thread.
In a second aspect, the disclosed embodiments also provide an asynchronous code generation system for medical code flow modeling, where the asynchronous code generation system for medical code flow modeling includes a code server and a plurality of code editing terminals communicatively connected to the code server;
the code server is configured to:
acquiring a target code updating library object for calling the code editing example to update and migrate codes by a medical code modeling process of the code editing terminal, acquiring a target code updating block after accessing the target code updating library object, acquiring a target code compiling task stream in an asynchronous code updating task class corresponding to the target code updating block, and determining one or more chain connection function sets of each asynchronous conversion thread in the target code updating block according to the target code compiling task stream;
respectively performing service code response instruction callback reference on each asynchronous conversion thread based on the chain connection function set to obtain a service code response instruction of each asynchronous conversion thread;
respectively matching the service code response instruction of each asynchronous conversion thread with a plurality of preset reference service code response instructions of a plurality of target asynchronous conversion threads to obtain the response synchronization rate of each asynchronous conversion thread and the reference service code response instruction of each target asynchronous conversion thread;
and determining a target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and adding the target asynchronous conversion thread to each corresponding asynchronous conversion thread based on the current updated asynchronous code information of each target asynchronous conversion thread.
According to any one of the aspects, in the embodiment provided by the disclosure, the service code response instruction callback reference is performed on the chain connection function set of the asynchronous conversion threads, so that the comparison between the asynchronous conversion threads is facilitated; and then matching with a plurality of reference service code response instructions of a plurality of preset target asynchronous conversion threads respectively to realize comparison of the reference service code response instructions of the same asynchronous conversion thread and the target asynchronous conversion threads to obtain the response synchronization rate of the reference service code response instructions of each asynchronous conversion thread and each target asynchronous conversion thread, finally determining the target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and further judging the response synchronization rate to further generate accurate updated asynchronous code information for the target code update block so as to provide accurate updated asynchronous code information.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, 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 disclosure, 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 an asynchronous code generation system for medical code flow modeling provided in an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating an asynchronous code generation method for medical code flow modeling provided by an embodiment of the present disclosure;
FIG. 3 is a functional block diagram of an asynchronous code generation device for modeling a medical code flow provided by an embodiment of the present disclosure;
fig. 4 is a schematic block diagram of a structure of a code server for implementing the asynchronous code generation method for medical code flow modeling according to an embodiment of the present disclosure.
Detailed Description
The following describes in detail aspects of embodiments of the present disclosure with reference to the drawings attached hereto.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, interfaces, techniques, etc. in order to provide a thorough understanding of the disclosed embodiments.
Fig. 1 is an explanatory diagram of an asynchronous code generation system 10 for medical code flow modeling provided by an embodiment of the present disclosure. The asynchronous code generation system 10 for medical code flow modeling may include a code server 100 and a code editing terminal 200 communicatively coupled to the code server 100. The medical code flow modeling asynchronous code generation system 10 shown in FIG. 1 is but one possible example, and in other possible embodiments, the medical code flow modeling asynchronous code generation system 10 may include only at least some of the components shown in FIG. 1 or may include additional components.
In one embodiment, the code server 100 and the code editing terminal 200 in the asynchronous code generation system 10 for medical code flow modeling may cooperate to perform the asynchronous code generation method for medical code flow modeling described in the following method embodiments, and the specific code server 100 and the code editing terminal 200 may be partially executed according to the detailed description of the following method embodiments.
In order to solve the technical problem in the foregoing background, fig. 2 is a flowchart illustrating an asynchronous code generation method for medical code flow modeling provided in an embodiment of the present disclosure, which may be executed by the code server 100 shown in fig. 1, and the asynchronous code generation method for medical code flow modeling is described in detail below.
Step S110, acquiring a target code update library object for calling the code editing example to perform code update migration by the medical code modeling process of the code editing terminal, acquiring a target code update block after accessing the target code update library object, acquiring a target code compiling task stream in an asynchronous code update task class corresponding to the target code update block, and determining one or more chain connection function sets of each asynchronous conversion thread in the target code update block according to the target code compiling task stream.
In this embodiment, one or more chain connection function sets of each asynchronous conversion thread are acquired, and are identified based on the chain connection function sets of each asynchronous conversion thread.
The asynchronous transfer thread may be understood as thread instruction information for generating an asynchronous transfer request, and is not particularly limited.
And step S120, respectively performing service code response instruction callback reference on each asynchronous conversion thread based on the chain connection function set to obtain the service code response instruction of each asynchronous conversion thread.
After the chain connection function sets of the multiple asynchronous conversion threads are obtained, service code response instruction callback reference is respectively carried out on each asynchronous conversion thread based on the chain connection function sets, so that a service code response instruction of each asynchronous conversion thread is obtained.
In an embodiment, in order to improve the accuracy of subsequent code update, before performing service code response instruction callback reference on the chain connection function set of each asynchronous conversion thread, the chain connection function set of each asynchronous conversion thread may be further preprocessed, for example, the preprocessing may include performing instruction clustering and unification on the chain connection function set of each asynchronous conversion thread, which is beneficial to improving the accuracy of subsequent code update.
In one embodiment, based on a chain connection function set, service code response instruction callback reference is respectively performed on each asynchronous conversion thread, so that the service code response content of each asynchronous conversion thread can be obtained, the service code response content is subjected to a response instruction, the response instruction of each asynchronous conversion thread is obtained, and the response instruction is determined as the service code response instruction of each asynchronous conversion thread.
Step S130, matching the service code response instruction of each asynchronous conversion thread with a plurality of reference service code response instructions of a plurality of preset target asynchronous conversion threads, respectively, to obtain a response synchronization rate of each asynchronous conversion thread and the reference service code response instruction of each target asynchronous conversion thread.
Before service code response instruction callback reference is carried out on the chain connection function sets of the multiple asynchronous conversion threads, multiple reference service code response instructions of all target asynchronous conversion threads are obtained to be used as an instruction library generated by asynchronous codes of medical code flow modeling. Wherein the asynchronous conversion thread belongs to a plurality of target asynchronous conversion threads. The multiple reference service code response instructions of the target asynchronous conversion thread may also be characteristic of different asynchronous conversion relationships of the target asynchronous conversion thread, such as: direct, indirect and the like asynchronous conversion relationships are not limited herein.
In one embodiment, the target asynchronous translation thread may also update nodes for all target entries in a particular code update entry, and the asynchronous translation thread may update nodes for selected entries in a code update operating environment. Before analyzing the instruction of the selected item update node in a certain code update operation environment, a plurality of reference service code response instructions of all target item update nodes in the specific code update item are obtained in advance to be used as an instruction analysis basis. And respectively matching the service code response instruction of each selected item updating node with a plurality of preset reference service code response instructions of all target item updating nodes to obtain the response synchronization rate of each selected item updating node and the preset reference service code response instructions of all target item updating nodes, so as to confirm the selected item updating nodes.
And respectively carrying out one-to-many comparison on the service code response instruction of each asynchronous conversion thread and a plurality of preset reference service code response instructions of a plurality of target asynchronous conversion threads. Wherein, each target asynchronous conversion thread is preset with a plurality of related reference service code response instructions. For example, the service code response instruction of each asynchronous conversion thread is compared with a plurality of reference service code response instructions of each target asynchronous conversion thread one-to-many respectively, so as to obtain a plurality of response synchronization rates of the reference service code response instructions of each asynchronous conversion thread and each target asynchronous conversion thread.
Step S140, determining a target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and adding the currently updated asynchronous code information of each target asynchronous conversion thread to each corresponding asynchronous conversion thread.
And determining the synchronism between the asynchronous conversion thread and each target asynchronous conversion thread by utilizing a plurality of response synchronous rates of the reference service code response instructions of the asynchronous conversion threads and the target asynchronous conversion threads, and selecting the target asynchronous conversion thread with the highest synchronism from the synchronous conversion threads, so as to further determine the target asynchronous conversion thread corresponding to the asynchronous conversion thread, and finish the generation of the asynchronous codes of the medical code flow modeling of the asynchronous conversion thread.
In one embodiment, after the target asynchronous conversion thread with the highest synchronization is selected from all the target asynchronous conversion threads, it is further determined whether the response synchronization rates of the target asynchronous conversion thread and the asynchronous conversion thread exceed the target response synchronization rate. If the response synchronous rate of the target asynchronous conversion thread and the asynchronous conversion thread exceeds the target response synchronous rate, determining the asynchronous conversion thread as the target asynchronous conversion thread; if the response synchronization rates of the target asynchronous conversion thread and the asynchronous conversion thread do not exceed the target response synchronization rate, the asynchronous conversion thread is not determined to be the target asynchronous conversion thread, and step S110 is executed again to perform the aforementioned processing again.
By the mode, the method and the device have the advantages that the chain connection function set of the asynchronous conversion threads is subjected to service code response instruction callback reference, so that comparison among the asynchronous conversion threads is facilitated; and then matching with a plurality of reference service code response instructions of a plurality of preset target asynchronous conversion threads respectively to realize comparison of the reference service code response instructions of the same asynchronous conversion thread and the target asynchronous conversion threads to obtain the response synchronization rate of the reference service code response instructions of each asynchronous conversion thread and each target asynchronous conversion thread, finally determining the target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and further judging the response synchronization rate to further generate accurate updated asynchronous code information for the target code update block so as to provide accurate updated asynchronous code information.
In another separately implementable embodiment, another embodiment of the disclosed asynchronous code generation method for medical code flow modeling may include the steps of:
step S210, obtaining a plurality of preset asynchronous conversion threads with different asynchronous conversion relationships of each target asynchronous conversion thread, and performing callback reference on each preset asynchronous conversion thread of each target asynchronous conversion thread to obtain a plurality of reference service code response instructions of each target asynchronous conversion thread.
Before callback reference is performed on the target asynchronous conversion thread, a plurality of preset asynchronous conversion threads with different asynchronous conversion relations of each target asynchronous conversion thread are obtained, and service code response instruction callback reference is performed on each preset asynchronous conversion thread of each target asynchronous conversion thread respectively to obtain a plurality of reference service code response instructions of each target asynchronous conversion thread, namely the reference service code response instructions with different asynchronous conversion relations of the same target asynchronous conversion thread are obtained in the step.
In one embodiment, a preset asynchronous conversion thread for acquiring a plurality of different asynchronous conversion relations of a target asynchronous conversion thread is composed of a plurality of asynchronous conversion relation components, and a plurality of acquisition instructions of different nodes are arranged on the multiple asynchronous conversion relation components to acquire the preset asynchronous conversion thread with the different asynchronous conversion relations of the target asynchronous conversion thread. The asynchronous conversion threads for acquiring the plurality of different asynchronous conversion relationships of the target asynchronous conversion thread may be: and collecting the distribution of preset direct asynchronous conversion logic blocks, the distribution of preset indirect asynchronous conversion logic blocks, the distribution of preset forward asynchronous conversion logic blocks and the distribution of backward asynchronous conversion logic blocks of the target asynchronous conversion thread.
And respectively carrying out service code response instruction callback reference on the preset direct asynchronous conversion logic block distribution, the preset indirect asynchronous conversion logic block distribution, the preset forward asynchronous conversion logic block distribution and the backward asynchronous conversion logic block distribution of the target asynchronous conversion thread to obtain the preset direct asynchronous conversion logic block distribution characteristic, the preset indirect asynchronous conversion logic block distribution characteristic, the preset forward asynchronous conversion logic block distribution characteristic and the backward asynchronous conversion logic block distribution characteristic of the target asynchronous conversion thread. The component composition of the multiple asynchronous conversion relations in the implementation scenario may be replaced by mining the target asynchronous conversion thread in the asynchronous conversion instance distribution of the multiple asynchronous conversion relations or in the asynchronous conversion instance distribution of a single asynchronous conversion instance for multiple different asynchronous conversion relations, so as to obtain the preset asynchronous conversion threads of multiple different asynchronous conversion relations of each target asynchronous conversion thread, without any special limitation.
Step S220, establishing a code generation relationship between the multiple reference service code response instructions of the target asynchronous conversion thread and the traversator of the target asynchronous conversion thread.
And establishing a code generation relation between the multiple reference service code response instructions of the target asynchronous conversion thread acquired in the previous step and the traverser of the target asynchronous conversion thread, and generating a first traversal code unit together for subsequent callback reference.
In one embodiment, after obtaining the plurality of reference service code response instructions of each target asynchronous conversion thread, establishing a code generation relationship between the plurality of reference service code response instructions of each target asynchronous conversion thread and a traversator of the target asynchronous conversion thread, and generating first history code units of the target asynchronous conversion thread, wherein the first history code units of all the target asynchronous conversion threads together form a first history code unit. And taking a plurality of reference service code response instructions of all target asynchronous conversion threads and a first traversal code unit of the traversator as an instruction library. Meanwhile, the first traversal code unit of each target asynchronous conversion thread can be named as an identification code by adopting the traversal node position in the traverser of the target asynchronous conversion thread, and the identification code is stored in the memory of the code server in a correlation manner, so that the callback reference efficiency is improved.
In step S230, one or more sets of chain connection functions of each asynchronous conversion thread are obtained.
And after a first traversal code unit containing all target asynchronous conversion thread traversars and a plurality of reference service code response instructions is established, callback reference is carried out on the asynchronous conversion threads. Firstly, a chain connection function set of a plurality of asynchronous conversion threads is obtained. In one embodiment, an asynchronous translation request code block for an asynchronous translation thread may be obtained by a get instruction, and a set of chained link functions for the asynchronous translation thread in the asynchronous translation request code block is extracted. In the case of many asynchronous conversion threads, there may be a case where the same fetch instruction needs to fetch the chain connection function sets of multiple asynchronous conversion threads at the same time and needs multiple fetch instructions to fetch the chain connection function sets of multiple asynchronous conversion threads. Therefore, after the plurality of fetch instructions fetch a plurality of asynchronous translation request code blocks each containing a plurality of asynchronous translation threads, the set of chained functions of the plurality of asynchronous translation threads is extracted from a single asynchronous translation request code block.
After the chain connection function set of the asynchronous conversion thread is obtained, service code response instruction callback reference is respectively carried out on the asynchronous conversion thread based on the chain connection function set of the asynchronous conversion thread, and a service code response instruction T of each asynchronous conversion thread is obtained.
Step S240, the service code response instructions of the asynchronous conversion threads are respectively matched with the reference service code response instructions of the direct asynchronous conversion logic block distributions of the target asynchronous conversion threads and the indirect asynchronous conversion logic block distributions of a plurality of different asynchronous conversion relationships, so as to obtain a first response synchronization rate of the asynchronous conversion threads and the direct asynchronous conversion logic block distributions of the target asynchronous conversion threads, and a plurality of second response synchronization rates of the indirect asynchronous conversion logic block distributions of a plurality of different asynchronous conversion relationships with the target asynchronous conversion threads.
And respectively matching the service code response instruction of each asynchronous conversion thread with the direct asynchronous conversion logic block distribution of each target asynchronous conversion thread and the reference service code response instruction of the indirect asynchronous conversion logic block distribution of a plurality of different asynchronous conversion relations to obtain a first response synchronization rate of the asynchronous conversion thread and the direct asynchronous conversion logic block distribution of each target asynchronous conversion thread and a plurality of second response synchronization rates of the indirect asynchronous conversion logic block distribution of a plurality of different asynchronous conversion relations with each target asynchronous conversion thread. In the step, the service code response instruction of the same asynchronous conversion thread is respectively compared with the reference service code response instruction of different asynchronous conversion relations, so that the resolution precision of the same asynchronous conversion thread is improved.
In one embodiment, the service code response instruction T of each asynchronous conversion thread is matched with the first distributed instruction set T1 of the preset direct asynchronous conversion logic block distribution, the second distributed instruction set T2 of the preset indirect asynchronous conversion logic block distribution, the third distributed instruction set T3 of the preset forward asynchronous conversion logic block distribution and the fourth distributed instruction set T4 of the backward asynchronous conversion logic block distribution of each target asynchronous conversion thread, respectively, to obtain a first response synchronization rate S1 of the asynchronous conversion thread and the direct asynchronous conversion logic block distribution of each target asynchronous conversion thread, and a response synchronization rate S2 of the preset indirect asynchronous conversion logic block distribution, a response synchronization rate S3 of the preset forward asynchronous conversion logic block distribution and a response synchronization rate S4 of the backward asynchronous conversion logic block distribution of each target asynchronous conversion thread. In other implementation scenarios, the number of reference service code response instructions may also be 5, 7, etc., and is not particularly limited, and the number of response synchronization rates between the service code response instruction T and the plurality of reference service code response instructions is the same as the number of reference service code response instructions.
Step S250, determining whether there exists a target asynchronous conversion thread of which the first response synchronization rate is greater than the first target response synchronization rate and one or more second response synchronization rates are greater than the second target response synchronization rate in the plurality of target asynchronous conversion threads.
After a first response synchronization rate of the distribution of the direct asynchronous conversion logic blocks of the asynchronous conversion threads and each target asynchronous conversion thread and a plurality of second response synchronization rates of the distribution of the indirect asynchronous conversion logic blocks of a plurality of different asynchronous conversion relations with each target asynchronous conversion thread are obtained, whether a target asynchronous conversion thread with a first response synchronization rate larger than the first target response synchronization rate and one or a plurality of target asynchronous conversion threads with a second response synchronization rate larger than the second target response synchronization rate exist in all target asynchronous conversion threads in the second traversal code unit or not is judged.
Wherein if there is a target asynchronous conversion thread whose first response synchronization rate is greater than the first target response synchronization rate among the plurality of target asynchronous conversion threads but there is no target asynchronous conversion thread whose second response synchronization rate is greater than the second target response synchronization rate, it is determined that the asynchronous conversion behavior of the asynchronous conversion thread is stopped from being activated; and also determining that the asynchronous conversion behavior of the asynchronous conversion thread is deactivated if there is a target asynchronous conversion thread of the plurality of target asynchronous conversion threads whose second response synchronization rate is greater than the second target response synchronization rate, but there is no target asynchronous conversion thread whose first response synchronization rate is greater than the first target response synchronization rate.
In one embodiment, the response synchronization rate S2 of the preset indirect asynchronous conversion logic block distribution, the response synchronization rate S3 of the preset forward asynchronous conversion logic block distribution, and the response synchronization rate S4 of the backward asynchronous conversion logic block distribution are compared, and the maximum response synchronization rate in the indirect asynchronous conversion logic block distribution is selected as a comparison basis for determination. For example: when the response synchronization rate S2 of the distribution of the indirect asynchronous conversion logic blocks is preset to be 51, the response synchronization rate S3 of the distribution of the forward asynchronous conversion logic blocks is preset to be 64, and the response synchronization rate S4 of the distribution of the backward asynchronous conversion logic blocks is preset to be 78, the response synchronization rate S4 of the distribution of the backward asynchronous conversion logic blocks with the largest value is selected as a comparison basis for judgment. In one embodiment, it is determined whether there is a target asynchronous conversion thread having a first response synchronization rate S1 greater than the first target response synchronization rate and a backward asynchronous conversion logic block distribution response synchronization rate S4 greater than the second target response synchronization rate among all target asynchronous conversion threads in the second traversal code unit. The specific values of the first target response synchronization rate and the second target response synchronization rate may be set according to practical applications, and are not particularly limited.
In this step, the first response synchronization rate S1 corresponding to the direct asynchronous conversion logic block distribution is used alone as the primary judgment, and the second response synchronization rates corresponding to the indirect asynchronous conversion logic block distributions, such as the indirect asynchronous conversion logic block distribution, the forward asynchronous conversion logic block distribution, and the negative dimension asynchronous conversion instance distribution, are used together as the secondary judgment to perform double recognition on the same asynchronous conversion thread, so as to improve the resolution accuracy of the asynchronous conversion thread.
When there are target asynchronous conversion threads with the first response synchronization rate greater than the first target response synchronization rate and one or more second response synchronization rates greater than the second target response synchronization rate among all the target asynchronous conversion threads in the second traversal code unit, step S26 is performed, and when there are no target asynchronous conversion threads with the first response synchronization rate greater than the first target response synchronization rate and one or more second response synchronization rates greater than the second target response synchronization rate among all the target asynchronous conversion threads in the second traversal code unit, step S23 is performed to re-identify the asynchronous conversion threads. For example, the chain connection function set of the asynchronous conversion thread can be obtained, callback reference is carried out again, or manual identification is carried out on the chain connection function set.
In step S260, the target asynchronous conversion thread is determined as a target asynchronous conversion thread corresponding to the asynchronous conversion thread.
When the second traversal code unit has a target asynchronous conversion thread with a first response synchronization rate larger than a first target response synchronization rate and one or more second response synchronization rates larger than a second target response synchronization rate, determining the target asynchronous conversion thread as a target asynchronous conversion thread corresponding to the asynchronous conversion thread, and completing the generation of the asynchronous code of the medical code flow modeling of the asynchronous conversion thread.
In one embodiment, when there exists a target asynchronous conversion thread in the second traversal code unit, where the first response synchronization rate S1 is greater than the first target response synchronization rate and the response synchronization rate S4 of the maximum backward asynchronous conversion logic distribution in the indirect asynchronous conversion logic distribution is greater than the second target response synchronization rate, the target asynchronous conversion thread is determined as a target asynchronous conversion thread corresponding to the asynchronous conversion thread, and the generation of the asynchronous code for medical code flow modeling of the asynchronous conversion thread is completed.
When a target asynchronous conversion thread exists in the second traversal code unit, where the first response synchronization rate is greater than the first target response synchronization rate, but all the second response synchronization rates are not greater than the second target response synchronization rate, or one or more target asynchronous conversion threads do not exist in the second traversal code unit, where the first response synchronization rate is greater than the first target response synchronization rate, but the second response synchronization rate is greater than the second target response synchronization rate, the step S230 is also re-executed to re-acquire the chain connection function set of the asynchronous conversion thread, re-perform callback reference, or perform manual identification on the chain connection function set.
In one embodiment, when the number of the finally determined asynchronous conversion threads is different from the number of the target asynchronous conversion threads in the second traversal code unit, step S230 is also re-executed to re-acquire the chained connection function set of the asynchronous conversion threads, re-perform callback reference, or manually identify the number of the chained connection function set, so as to ensure the code update precision.
In one embodiment, after an asynchronous conversion thread is determined as a certain target asynchronous conversion thread, identification data such as time, place, chain connection function set and identification result generated by medical code flow modeling of the asynchronous conversion thread and the target asynchronous conversion thread in a first traversal code unit corresponding to the identification data establish a code generation relationship, and a second traversal code unit is generated to store and record the asynchronous code generation data modeled by the medical code flow, so that related data can be searched later.
By the mode, the method and the device have the advantages that the chain connection function set of the asynchronous conversion threads is subjected to service code response instruction callback reference, so that comparison among the asynchronous conversion threads is facilitated; and matching with a plurality of reference service code response instructions of different asynchronous conversion relations of the same target asynchronous conversion thread respectively to realize characteristic comparison of the reference service code response instructions of the same asynchronous conversion thread and a plurality of different asynchronous conversion relations to obtain the response synchronization rate of the reference service code response instructions of each asynchronous conversion thread and each target asynchronous conversion thread, finally determining the target asynchronous conversion thread corresponding to each asynchronous conversion thread by utilizing response synchronization rate progressive secondary judgment, and further ensuring code updating precision by further judging the response synchronization rate.
In an independently implementable embodiment, the present disclosure further provides an embodiment of a project update node determination method based on compilation history log information, so as to perform automatic project update node determination on a selected project update node through distribution of a plurality of code update firmware carried by a specific code update project itself, and to ensure accuracy of the project update node determination of the specific code update project to a certain extent.
Step S310, acquiring one or more chain connection function sets of each selected item updating node, wherein the one or more chain connection function sets are obtained by extracting a reference function when each selected item updating node is in a preset updating range through a preset reference function model.
And acquiring the chain connection function set of all the selected project updating nodes through asynchronous conversion logic block distribution of the specific code updating project which completely covers all task ranges of the selected project updating nodes.
And step S320, respectively performing service code response instruction callback reference on each selected project updating node based on the chain connection function set to obtain a service code response instruction of each selected project updating node.
And after the asynchronous conversion logic block distributes and acquires the chain connection function sets of the selected project updating nodes, performing service code response instruction callback reference on each selected project updating node based on the chain connection function set of each selected project updating node to obtain a service code response instruction of each selected project updating node.
Step S330, matching the service code response instruction of each selected item update node with a plurality of reference service code response instructions of a plurality of preset target item update nodes, respectively, to obtain a response synchronization rate of each selected item update node and the reference service code response instruction of each target item update node.
Before callback reference is carried out on the chain connection function sets of the selected item update nodes, the target item update nodes, namely a plurality of reference service code response instructions and corresponding traversators of all the selected item update nodes are obtained and used as the basis for determining the item update nodes, namely, a code generation relation is established between the reference service code response instructions and the corresponding traversators of all the target item update nodes, and a first history code unit is established.
And respectively carrying out one-to-many comparison on the service code response instruction of each selected project updating node asynchronous conversion thread and the preset reference service code response instructions of a plurality of different asynchronous conversion relations of all target project updating nodes. Wherein each selected item update node is preset with a plurality of associated reference service code response instructions. For example, the service code response instruction of each selected item update node is compared with a plurality of reference service code response instructions of each target item update node in the first historical code unit in a one-to-many manner, so as to obtain a plurality of response synchronization rates of the reference service code response instruction of each selected item update node to be identified and the determined item update node in each first historical code unit.
Step S340, determining a target item update node corresponding to each selected item update node by using the response synchronization rate.
And determining the response synchronization rate between each selected item updating node and each determined item updating node in the first historical code unit by utilizing a plurality of response synchronization rates of the reference service code response instruction of each selected item updating node and each target item updating node in the first historical code unit, and picking out the target item updating node with the highest response synchronization rate from the response synchronization rates, thereby further determining the task label of the selected item updating node to finish the item updating node determination.
In one embodiment, after the target item update node with the highest response synchronization rate is selected from the first historical code unit, it is further determined whether the response synchronization rate of the target item update node and the selected item update node to be identified in the first historical code unit exceeds the target response synchronization rate. If the response synchronization rate of the target item update node and the selected item update node to be identified in the first traversal code unit exceeds the target response synchronization rate, determining the asynchronous conversion thread as the target item update node; if the response synchronization rate of the target item update node and the selected item update node to be identified in the first traversal code unit does not exceed the target response synchronization rate, the selected item update node to be identified is not determined as the target item update node, and step S310 is executed again to determine the item update node again, or any application code service is notified to perform manual item update node determination on the selected item update node determined by no item update node, so as to ensure the accuracy of item update node determination.
In one embodiment, after the item update node is determined, identifying data such as a callback reference time-space domain, a chain connection function set and an item update node determination result generated by an asynchronous code of the medical code flow modeling of the selected item update node and a target asynchronous conversion thread in a first traversal code unit corresponding to the identifying data establish a code generation relation, and a second traversal code unit is generated.
Through the mode, the automatic project updating node determination of the selected project updating node can be realized, the workload of any application code service is reduced, and the project updating node determination efficiency is improved. And the project updating node determining method based on artificial intelligence respectively matches a plurality of reference service code response instructions of the same selected project updating node and the first historical code unit, realizes the characteristic comparison of the same selected project updating node and a plurality of different reference service code response instructions, obtains the response synchronization rate of the reference service code response instructions of each selected project updating node and each target project updating node of the first historical code unit, finally determines the task label of each selected project updating node by utilizing the response synchronization rate, and further judges the response synchronization rate so as to further ensure the accuracy of determining the project updating node of the specific code updating project.
In an embodiment, the specific implementation manner of acquiring the object code update library object for the medical code modeling process of the code editing terminal to call the code editing instance to perform code update migration in step S110, acquiring the object code update block after accessing the object code update library object, and acquiring the object code compilation task stream in the asynchronous code update task class corresponding to the object code update block may be implemented by the following exemplary steps.
Step A110, a compiled code update library object of the medical code modeling process on the code editing example is obtained, and the compiled code update library object is a code source parser used for providing the medical code modeling process to call the code editing example to perform code update migration.
Step A120, respectively obtaining compiling logic templates of all compiling code updating library objects, and obtaining first compiling logic distribution probability information of the medical code modeling process for compiling logic distribution in all compiling code updating library objects according to the compiling logic templates, wherein the first compiling logic distribution probability information is used for representing the compiling distribution reference degree of the medical code modeling process entering the compiling code updating library objects from the current modeling node.
Step A130, respectively obtaining compiling optimization data corresponding to each compiling code updating library object, and obtaining second compiling logic distribution probability information of the medical code modeling process for compiling logic distribution in each compiling code updating library object according to the compiling optimization data, wherein the second compiling logic distribution probability information is used for representing reference degree information of a compiling optimization instruction after the medical code modeling process enters the compiling code updating library object.
Step A140, the first compiling logic distribution probability information and the second compiling logic distribution probability information are collated to obtain compiling logic distribution information of each compiling code updating library object, and the compiling logic distribution information is used for providing distribution information of whether the compiling code updating library object is suitable for compiling code updating of a code updating migration process of the medical code modeling process.
Step A150, acquiring a target code update library object for the medical code modeling process to call the code editing instance to perform code update migration from the compiled code update library object according to the compiling logic distribution information, and acquiring a target code update block after accessing the target code update library object.
Therefore, by acquiring the first compiling logic distribution probability information and the second compiling logic distribution probability information for compiling logic distribution of the medical code modeling process at each compiling code updating library object, each compiling code updating library object can be considered from two aspects of the session security class probability dimension of the entering compiling code updating library object and the reference degree information dimension of the generating compiling optimization instruction, and the reliability of the code updating and transferring process is improved.
The following describes each method step of the asynchronous code generation method for modeling the medical code flow in detail with reference to a specific embodiment.
In step a110, a compiled code update library object of the medical code modeling process on the code editing instance is obtained, where the compiled code update library object is a code source parser for providing the medical code modeling process to call the code editing instance to perform code update migration.
When the compiled code updating processing of the code updating migration process needs to be performed on the session process on the code editing example, one or more compiled code updating library objects corresponding to the medical code modeling process can be acquired on the code editing example, each compiled code updating library object represents a code source parser, and the medical code modeling process can enter other modeling processes from the code editing example through the compiled code updating library objects, so that the compiling logic allocation is completed.
The following shows a flow of method steps for obtaining a compiled code updated library object in a separately implementable embodiment of the present disclosure, and the step of obtaining a compiled code updated library object of the medical code modeling flow on a code editing instance in step a110 may include the following steps a210 to a 230.
Step A210, obtaining a current modeling service instance of the medical code modeling flow, and determining a code editing instance where the medical code modeling flow is located according to the current modeling service instance.
Step A220, determining a compiling instance channel for compiling code updating processing of a code updating and transferring process of the medical code modeling process on a code editing instance according to the current modeling service instance.
Step A230, obtaining a compiled code update library object of the medical code modeling process on the compiled example channel.
Next, in the foregoing step a120, compiling logic templates of the compiling code updating library objects are respectively obtained, and first compiling logic distribution probability information for performing compiling logic distribution on the compiling code updating library objects in the medical code modeling process according to the compiling logic templates is obtained, where the first compiling logic distribution probability information is used to indicate a compiling distribution reference degree of the medical code modeling process entering the compiling code updating library objects from the current modeling node.
The following shows a flow of method steps for obtaining first compiling logic distribution probability information in a separately implementable embodiment of the present disclosure, and the obtaining of the first compiling logic distribution probability information of the medical code modeling flow performing compiling logic distribution on each compiling code update library object according to the compiling logic template in step a120 may include the following steps a310 to a 340.
Step A310, acquiring a current modeling service instance of the medical code modeling process and the current modeling category number of the medical code modeling process;
step A320, determining reference confidence degrees between the medical code modeling process and each compiled code updating library object according to the current modeling service instance and the compiled logic template;
step A330, obtaining the compiling distribution reference degree of the medical code modeling process entering each compiling code updating library object according to the current modeling category quantity and the reference confidence;
step A340, performing normalization conversion on each compiling distribution reference degree to obtain first compiling logic distribution probability information of the medical code modeling process performing compiling logic distribution on each compiling code updating library object.
In step a130, compiling optimization data corresponding to each compiling code updating library object may be respectively obtained, and second compiling logic distribution probability information for performing compiling logic distribution on each compiling code updating library object by the medical code modeling process according to the compiling optimization data may be obtained, where the second compiling logic distribution probability information is used to indicate reference degree information of a compiling optimization instruction occurring after the medical code modeling process enters the compiling code updating library object.
For example, a flow of method steps for obtaining compilation optimization data in a separately implementable embodiment of the present disclosure is provided below. The obtaining of the compilation optimization data corresponding to each compiled code update library object in step a130 may include steps a410 to a430 as follows.
Step A410, determining compiled code update example channels for performing compiled code update through each compiled code update library object and code edit example respectively.
Step A420, obtaining reference compilation optimization instruction data of the compilation code update instance channel in the candidate update range.
Step A430, determining compilation optimization data corresponding to each compiled code update library object according to the reference compilation optimization instruction data.
In step a140, the first compiling logic distribution probability information and the second compiling logic distribution probability information are collated to obtain compiling logic distribution information of each compiling code updating library object, where the compiling logic distribution information is used to provide distribution information of whether the compiling code updating library object is suitable for compiling code updating in a code updating migration process of the medical code modeling process.
For each compiled code update library object for providing a modeling process called by the medical code modeling process to be currently run, the first compiled logic allocation probability information and the second compiled logic allocation probability information can be respectively obtained from the asynchronous conversion relation between the software compiled code update efficiency and the software compiled code update reliability. The first compiling logic distribution probability information and the second compiling logic distribution probability information of each compiling code updating library object are respectively sorted to obtain sorting information of each compiling code updating library object, and the compiling logic distribution information of each compiling code updating library object can be obtained by carrying out normalized conversion on the sorting information of each compiling code updating library object. The compiling logic distribution information integrates two factors of software compiling code updating efficiency and software compiling code updating reliability, so that whether each compiling code updating library object is suitable for compiling code updating in the code updating and transferring process of the medical code modeling process or not is accurately determined.
In step a150, an object code update library object for the medical code modeling process to call the code editing instance to perform code update migration is obtained from the compiled code update library object according to the compiling logic allocation information.
In one embodiment, one or more compiled code update library objects with lowest software compiled code update cost can be used as the selected compiled code update library object according to the compiled logic allocation information; if the number of the selected compiled code updating library objects is one, taking the selected compiled code updating library objects as target code updating library objects for calling the code editing example to update and migrate codes by the medical code modeling process; and if the number of the selected compiled code updating library objects is multiple, selecting one selected compiled code updating library object with the highest second distribution probability value as a target code updating library object for calling the code editing example to update and migrate the code by the medical code modeling process according to the second compiled logic distribution probability information. In an embodiment, when a plurality of selected compiled code update library objects have the same software compiled code update basis, the selected compiled code update library objects may continue to be sorted according to the second distribution probability value obtaining result, for example, one selected compiled code update library object with the highest second distribution probability value may be selected as the target code update library object.
Fig. 3 is a functional module schematic diagram of an asynchronous code generation apparatus 300 for modeling a medical code flow provided by an embodiment of the present disclosure, and the functions of the functional modules of the asynchronous code generation apparatus 300 for modeling a medical code flow are explained in detail below.
The determining module 310 is configured to obtain an object code update library object for the medical code modeling process of the code editing terminal 200 to call the code editing instance to perform code update migration, obtain an object code update block after accessing the object code update library object, obtain an object code compiling task stream in an asynchronous code update task class corresponding to the object code update block, and determine one or more chain connection function sets of each asynchronous conversion thread in the object code update block according to the object code compiling task stream.
And the callback reference module 320 is configured to perform callback reference on the service code response instruction for each asynchronous conversion thread based on the chain connection function set, so as to obtain the service code response instruction for each asynchronous conversion thread.
The matching module 330 is configured to match the service code response instruction of each asynchronous conversion thread with a plurality of preset reference service code response instructions of a plurality of target asynchronous conversion threads, respectively, so as to obtain a response synchronization rate between each asynchronous conversion thread and the reference service code response instruction of each target asynchronous conversion thread.
And the adding module 340 is configured to determine a target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and add the target asynchronous conversion thread to each corresponding asynchronous conversion thread based on the currently updated asynchronous code information of each target asynchronous conversion thread.
Fig. 4 illustrates a hardware structure of the code server 100 for implementing the asynchronous code generation method for medical code flow modeling provided by the embodiment of the present disclosure, and as shown in fig. 4, the code server 100 may include a processor 110, a machine-readable storage medium 120, a bus 130, and a communication unit 140.
In a specific implementation process, one or more processors 110 execute the machine-readable execution instructions stored in the machine-readable storage medium 120, so that the processors 110 may execute the asynchronous code generation method for medical code flow modeling according to the above method embodiment, the processors 110, the machine-readable storage medium 120, and the communication unit 140 are connected through the bus 130, and the processors 110 may be configured to control the transceiving action of the communication unit 140, so as to perform data transceiving with the code editing terminal 200.
For a specific implementation process of the processor 110, reference may be made to the above-mentioned method embodiments executed by the code server 100, which implement principles and technical effects similar to each other, and this embodiment is not described herein again.
In addition, the embodiment of the disclosure also provides a readable storage medium, in which a machine-readable execution instruction is preset, and when a processor executes the machine-readable execution instruction, the asynchronous code generation method for medical code flow modeling is implemented.
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. Accordingly, by way of example, and not limitation, alternative configurations of the embodiments of the specification can be seen as matching 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. An asynchronous code generation method for medical code flow modeling, which is applied to a code server, wherein the code server is connected with a plurality of code editing terminals in a communication way, and the method comprises the following steps:
acquiring a target code updating library object for a medical code modeling process calling a code editing instance of the code editing terminal to update and migrate codes, acquiring a target code updating block after accessing the target code updating library object, acquiring a target code compiling task stream in an asynchronous code updating task class corresponding to the target code updating block, and determining one or more chain connection function sets of each asynchronous conversion thread in the target code updating block according to the target code compiling task stream;
respectively performing service code response instruction callback reference on each asynchronous conversion thread based on the chain connection function set to obtain a service code response instruction of each asynchronous conversion thread;
respectively matching the service code response instruction of each asynchronous conversion thread with a plurality of preset reference service code response instructions of a plurality of target asynchronous conversion threads to obtain the response synchronization rate of each asynchronous conversion thread and the reference service code response instruction of each target asynchronous conversion thread;
and determining a target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and adding the target asynchronous conversion thread to each corresponding asynchronous conversion thread based on the current updated asynchronous code information of each target asynchronous conversion thread.
2. The method of generating asynchronous code for medical code flow modeling according to claim 1, wherein said step of utilizing said response synchronization rate to determine a target asynchronous conversion thread for each of said asynchronous conversion threads comprises:
judging whether a target asynchronous conversion thread with the response synchronization rate of at least part of reference service code response instructions being larger than a target response synchronization rate exists in the target asynchronous conversion threads;
if yes, determining the target asynchronous conversion thread of which the response synchronous rate of at least part of the reference service code response instruction is greater than the target response synchronous rate as the target asynchronous conversion thread corresponding to the asynchronous conversion thread.
3. The method of asynchronous code generation for medical code flow modeling according to claim 2, wherein said step of determining one or more sets of chained connected functions for respective asynchronous translation threads in said object code update block from said object code compilation task stream comprises:
acquiring a plurality of preset asynchronous conversion threads with different asynchronous conversion relations of each target asynchronous conversion thread;
and respectively carrying out service code response instruction callback reference on each preset asynchronous conversion thread of each target asynchronous conversion thread to obtain a plurality of reference service code response instructions of each target asynchronous conversion thread.
4. The method of claim 3, wherein the plurality of predefined asynchronous translation threads of different asynchronous translation relationships comprises at least a direct asynchronous translation logic block distribution and a plurality of indirect asynchronous translation logic block distributions of different asynchronous translation relationships;
the step of matching the service code response instruction of each asynchronous conversion thread with a plurality of preset reference service code response instructions of a plurality of target asynchronous conversion threads to obtain the response synchronization rate of the reference service code response instruction of each asynchronous conversion thread and each target asynchronous conversion thread comprises:
respectively matching the service code response instruction of each asynchronous conversion thread with the direct asynchronous conversion logic block distribution of each target asynchronous conversion thread and the reference service code response instruction of the indirect asynchronous conversion logic block distribution of a plurality of different asynchronous conversion relations, and obtaining a first response synchronization rate of the asynchronous conversion thread and the direct asynchronous conversion logic block distribution of each target asynchronous conversion thread and a plurality of second response synchronization rates of the indirect asynchronous conversion logic block distribution of a plurality of different asynchronous conversion relations with each target asynchronous conversion thread;
the step of determining whether there is a target asynchronous conversion thread of which the response synchronization rate of at least part of the reference service code response instructions is greater than a target response synchronization rate among the plurality of target asynchronous conversion threads includes:
judging whether a target asynchronous conversion thread with the first response synchronous rate larger than a first target response synchronous rate and one or more second response synchronous rates larger than a second target response synchronous rate exists in the target asynchronous conversion threads;
and if so, determining the target asynchronous conversion thread as a target asynchronous conversion thread corresponding to the asynchronous conversion thread.
5. The method of claim 4, wherein the step of determining whether there are any target asynchronous conversion threads of the plurality of target asynchronous conversion threads having the first response synchronization rate greater than a first target response synchronization rate and one or more target asynchronous conversion threads having the second response synchronization rate greater than a second target response synchronization rate comprises:
judging whether the first response synchronization rate of the target asynchronous conversion thread is greater than a first target response synchronization rate;
if the first response synchronization rate is greater than a first target response synchronization rate, sorting the plurality of second response synchronization rates of the target asynchronous conversion thread and determining a largest second response synchronization rate of the plurality of second response synchronization rates of the target asynchronous conversion thread;
judging whether the maximum second response synchronization rate is greater than the second target response synchronization rate;
determining that the target asynchronous conversion thread of the asynchronous conversion thread exists if the maximum second response synchronization rate is greater than the second target response synchronization rate.
6. The method of claim 4, wherein said step of determining whether there are any target asynchronous conversion threads of said plurality of target asynchronous conversion threads having said first response synchronization rate greater than a first target response synchronization rate and one or more of said second response synchronization rates greater than a second target response synchronization rate further comprises:
and if the target asynchronous conversion threads with the first response synchronous rate larger than the first target response synchronous rate and one or more second response synchronous rates larger than the second target response synchronous rate do not exist in the plurality of target asynchronous conversion threads, stopping activating the asynchronous conversion behaviors of the asynchronous conversion threads, and re-performing code updating activation on the asynchronous conversion threads.
7. The method of claim 4, wherein said step of performing a service code response instruction callback reference for each of said predefined asynchronous conversion threads of said respective target asynchronous conversion threads to obtain a plurality of reference service code response instructions for said respective target asynchronous conversion threads further comprises:
establishing a code generation relationship between the direct asynchronous conversion logic block distribution of each target asynchronous conversion thread and the indirect asynchronous conversion logic block distribution of a plurality of different asynchronous conversion relationships and a traversator of the target asynchronous conversion thread so as to construct a first traversal code unit of the target asynchronous conversion threads;
the step of determining the target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate further comprises:
and establishing a code generation relation between the chain connection function set corresponding to the asynchronous conversion thread, the traversal source position of the chain connection function set, the traversal target position of the chain connection function set and a plurality of reference service code response instructions of the target asynchronous conversion thread corresponding to each asynchronous conversion thread in the first traversal code unit, and establishing a second traversal code unit for code traversal generation.
8. The method of generating asynchronous code for medical code flow modeling according to claim 6, wherein said step of reactivating said asynchronous conversion thread for which asynchronous conversion activity ceases if there is no target asynchronous conversion thread of said plurality of target asynchronous conversion threads having said first response synchronization rate greater than a first target response synchronization rate and said one or more second response synchronization rates greater than a second target response synchronization rate, comprises:
determining that the asynchronous conversion behavior of the asynchronous conversion thread is deactivated if there is a target asynchronous conversion thread of the plurality of target asynchronous conversion threads whose first response synchronization rate is greater than the first target response synchronization rate but there is no target asynchronous conversion thread whose second response synchronization rate is greater than the second target response synchronization rate;
and also determining that the asynchronous conversion behavior of the asynchronous conversion thread is deactivated if there is a target asynchronous conversion thread of the plurality of target asynchronous conversion threads whose response synchronization rate is greater than the second target response synchronization rate, but there is no target asynchronous conversion thread whose response synchronization rate is greater than the first target response synchronization rate.
9. The asynchronous code generation method for medical code flow modeling according to any one of claims 1 to 8, wherein the step of obtaining a target code update library object for the medical code modeling flow of the code editing terminal to call the code editing instance to perform code update migration, and obtaining a target code update block after accessing the target code update library object includes:
acquiring a compiled code updating library object of a medical code modeling process of the code editing terminal on a code editing example, wherein the compiled code updating library object is a code source parser used for providing the medical code modeling process to call the code editing example to update and migrate codes;
respectively acquiring compiling logic templates of the compiling code updating library objects, and acquiring first compiling logic distribution probability information of the medical code modeling process for compiling logic distribution in the compiling code updating library objects according to the compiling logic templates, wherein the first compiling logic distribution probability information is used for expressing the compiling distribution reference degree of the medical code modeling process entering the compiling code updating library objects from the current modeling node;
compiling optimization data corresponding to the compiling code updating library objects are respectively obtained, second compiling logic distribution probability information of the medical code modeling process, which is used for representing reference degree information of compiling optimization instructions after the medical code modeling process enters the compiling code updating library objects, is obtained according to the compiling optimization data, and the second compiling logic distribution probability information and the first compiling logic distribution probability information are obtained by integrating compiling history log information of the compiling code updating library objects;
sorting the first compiling logic distribution probability information and the second compiling logic distribution probability information to obtain compiling logic distribution information of each compiling code updating library object, wherein the compiling logic distribution information is used for providing distribution information of whether the compiling code updating library object is suitable for compiling code updating of a code updating migration process of the medical code modeling process;
and acquiring a target code updating library object for calling the code editing example to update and migrate codes by the medical code modeling process from the compiling code updating library object according to the compiling logic distribution information, and acquiring a target code updating block after accessing the target code updating library object.
10. An asynchronous code generation system for medical code flow modeling is characterized by comprising a code server and a plurality of code editing terminals which are in communication connection with the code server;
the code server is configured to:
acquiring a target code updating library object for a medical code modeling process calling a code editing instance of the code editing terminal to update and migrate codes, acquiring a target code updating block after accessing the target code updating library object, acquiring a target code compiling task stream in an asynchronous code updating task class corresponding to the target code updating block, and determining one or more chain connection function sets of each asynchronous conversion thread in the target code updating block according to the target code compiling task stream;
respectively performing service code response instruction callback reference on each asynchronous conversion thread based on the chain connection function set to obtain a service code response instruction of each asynchronous conversion thread;
respectively matching the service code response instruction of each asynchronous conversion thread with a plurality of preset reference service code response instructions of a plurality of target asynchronous conversion threads to obtain the response synchronization rate of each asynchronous conversion thread and the reference service code response instruction of each target asynchronous conversion thread;
and determining a target asynchronous conversion thread corresponding to each asynchronous conversion thread by using the response synchronization rate, and adding the target asynchronous conversion thread to each corresponding asynchronous conversion thread based on the current updated asynchronous code information of each target asynchronous conversion thread.
CN202110682556.3A 2021-06-21 2021-06-21 Asynchronous code generation method and system for medical code flow modeling Active CN113326039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110682556.3A CN113326039B (en) 2021-06-21 2021-06-21 Asynchronous code generation method and system for medical code flow modeling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110682556.3A CN113326039B (en) 2021-06-21 2021-06-21 Asynchronous code generation method and system for medical code flow modeling

Publications (2)

Publication Number Publication Date
CN113326039A CN113326039A (en) 2021-08-31
CN113326039B true CN113326039B (en) 2022-02-18

Family

ID=77424094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110682556.3A Active CN113326039B (en) 2021-06-21 2021-06-21 Asynchronous code generation method and system for medical code flow modeling

Country Status (1)

Country Link
CN (1) CN113326039B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111848A (en) * 2014-06-27 2014-10-22 华中科技大学 Multi-thread software dynamic upgrading method based on asynchronous check points
CN106371900A (en) * 2015-07-23 2017-02-01 腾讯科技(深圳)有限公司 Data processing method and device for realizing asynchronous call
CN109002286A (en) * 2018-06-29 2018-12-14 上海哔哩哔哩科技有限公司 Data asynchronous processing method and device based on synchronous programming
CN111679813A (en) * 2020-08-11 2020-09-18 南京云联数科科技有限公司 Method for information processing, electronic device, and storage medium
CN111831662A (en) * 2020-07-24 2020-10-27 深圳市网通兴技术发展有限公司 Medical data information processing method and system
CN112527487A (en) * 2020-12-18 2021-03-19 中国平安财产保险股份有限公司 Multithreading request data integration method and device, electronic equipment and storage medium
CN112685043A (en) * 2020-12-30 2021-04-20 平安普惠企业管理有限公司 Asynchronous conversion method, device and equipment of callback function and readable storage medium
CN112764738A (en) * 2021-01-19 2021-05-07 山东师范大学 Code automatic generation method and system based on multi-view program characteristics

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9552223B2 (en) * 2014-09-30 2017-01-24 International Business Machines Corporation Post-return asynchronous code execution
US10572305B2 (en) * 2016-03-11 2020-02-25 Intel Corporation Multi-grained memory operands
US10761904B2 (en) * 2018-01-17 2020-09-01 Salesforce.Com, Inc. Method and system for synchronizing and joining multiple calls to the same asynchronous code segment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111848A (en) * 2014-06-27 2014-10-22 华中科技大学 Multi-thread software dynamic upgrading method based on asynchronous check points
CN106371900A (en) * 2015-07-23 2017-02-01 腾讯科技(深圳)有限公司 Data processing method and device for realizing asynchronous call
CN109002286A (en) * 2018-06-29 2018-12-14 上海哔哩哔哩科技有限公司 Data asynchronous processing method and device based on synchronous programming
CN111831662A (en) * 2020-07-24 2020-10-27 深圳市网通兴技术发展有限公司 Medical data information processing method and system
CN111679813A (en) * 2020-08-11 2020-09-18 南京云联数科科技有限公司 Method for information processing, electronic device, and storage medium
CN112527487A (en) * 2020-12-18 2021-03-19 中国平安财产保险股份有限公司 Multithreading request data integration method and device, electronic equipment and storage medium
CN112685043A (en) * 2020-12-30 2021-04-20 平安普惠企业管理有限公司 Asynchronous conversion method, device and equipment of callback function and readable storage medium
CN112764738A (en) * 2021-01-19 2021-05-07 山东师范大学 Code automatic generation method and system based on multi-view program characteristics

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Peng Peng 等.Adaptive Distributed RDF Graph Fragmentation and Allocation based on Query Workload.《IEEE Transactions on Knowledge and Data Engineering》.2018,第31卷(第4期),第670 - 685页. *
weixin_39683858.获取到异步函数的结果再执行后续代码_同步请求和异步请求.《https://blog.csdn.net/weixin_39683858/article/details/111039160》.2020,全文. *
孟令权.分布对象中间件中的异步机制代码生成算法研究.《科技创新与应用》.2015,(第10期),第69页. *
陈磊 等.一种Fortran和C++混合编程规范化方法.《电脑知识与技术》.2014,第13卷(第10期),第2962-2966页. *

Also Published As

Publication number Publication date
CN113326039A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN112416337B (en) Software architecture development system for aerospace embedded system
CN110780879B (en) Decision execution method, device, equipment and medium based on intelligent compiling technology
CN113296786B (en) Data processing method, device, electronic equipment and storage medium
CN115640278B (en) Method and system for intelligently optimizing database performance
CN114564726A (en) Software vulnerability analysis method and system based on big data office
CN114398179B (en) Method and device for acquiring tracking identifier, server and storage medium
CN113326039B (en) Asynchronous code generation method and system for medical code flow modeling
CN112783508B (en) File compiling method, device, equipment and storage medium
CN112506802B (en) Test data management method and system
CN116089446A (en) Optimization control method and device for structured query statement
CN116108276A (en) Information recommendation method and device based on artificial intelligence and related equipment
KR102519132B1 (en) System and method for operating self-growing software based on microservice
CN114371875A (en) Software dependence detection and judgment method for Shenwei platform code migration
CN113807077A (en) Natural language test script parsing processing method and device and electronic equipment
CN112650787A (en) Data mining method based on big data and cloud computing and artificial intelligence server
CN112597169A (en) Method for realizing industrial software multi-tenant data isolation
CN111611167A (en) Embedded software testing method and system based on DSP
CN116069464B (en) Optimization method and device based on distributed storage call data execution
CN112445607A (en) Method and device for executing method function by application program
CN117852573B (en) Computing force execution system, operator computing flow management method, device, equipment and medium
CN113360184B (en) Multi-ecological software migration method and device, computer equipment and storage medium
CN113434374B (en) Method and system for testing performance of memory management algorithm of real-time operating system
CN117093638B (en) Micro-service data initialization method, system, electronic equipment and storage medium
CN115237938A (en) Data processing method and device based on artificial intelligence, electronic equipment and medium
CN118535324A (en) Multithread signal synchronous processing method and system based on ECS framework

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