Coding method, system and equipment in project based on asynchronous programming and medium
A coding method and coding system technology, applied to systems, equipment and media, based on asynchronous programming in the field of coding methods in projects, can solve the problem of hard-coded service arrangement being difficult to develop and maintain, and achieve flexible and efficient cross-module data access functions, The effect of flexible up and down transfer, saving hard coding and maintenance work
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] like figure 1 As shown, a flowchart of a coding method in a project based on asynchronous programming in an embodiment of the present invention may specifically include the following steps:
[0044] S1. Obtain target item data; the target item data includes a plurality of first data modules, different first data modules correspond to different types of project sub-data, and the first data modules include class attribute identifiers.
[0045] S2. Determine the data structure diagram corresponding to the target item data; the data structure diagram is used to represent the tree structure formed by the first data module and the second data module generated depending on the first data module.
[0046] S3. Execute the processing thread set according to the first data module and the second data module.
[0047] S4. Detect whether the second data module to be processed in the currently executing processing thread is the root node, if not, execute step S51, and if so, execute ...
Embodiment 2
[0066] like image 3 As shown, a block diagram of a coding system based on asynchronous programming in a project in an embodiment of the present invention may specifically include the following steps: an acquisition module 210, a determination module 220, an execution module 230, a detection module 240, and a first processing module 251 and the second processing module 252.
[0067] The acquisition module 210 is used for acquiring target item data; the target item data includes a plurality of first data modules, different first data modules correspond to different types of project sub-data, and the first data modules include class attribute identifiers.
[0068] The determining module 220 is configured to determine a data structure diagram corresponding to the target item data; the data structure diagram is used to represent a tree structure composed of a first data module and a second data module generated depending on the first data module.
[0069] The execution module 230...
Embodiment 3
[0089] Figure 4 This is a schematic structural diagram of an electronic device provided in this embodiment. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the asynchronous programming-based coding method in the project of Embodiment 1 when the processor executes the program, Figure 4 The electronic device 30 shown is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
[0090] The electronic device 30 may take the form of a general-purpose computing device, which may be, for example, a server device. Components of the electronic device 30 may include, but are not limited to, the above-mentioned at least one processor 31 , the above-mentioned at least one memory 32 , and a bus 33 connecting different system components (including the memory 32 and the processor 31 ).
[0091] The bus 3...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com