Method, apparatus and product for generating use case interface in neuromorphic computation
By generating use case interfaces, neuromorphic computing experiments are simplified, complex operations and use case construction problems are solved, and an automatic processing layer and flexible experimental options are provided to help users choose the best solution.
Patent Information
- Application Number
- CN202310403703.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-18
AI Technical Summary
Neuromorphic computing has high complexity during hands-on operations and experiments, making it difficult for users to build neuromorphic use cases for common business problems, and comparing use cases in different environments, resulting in increased reliance on experts and increased communication costs.
Provides a method to simplify the neuromorphic computing experiment process by receiving requests, retrieving neuromorphic use cases and environment configurations, setting up software and hardware environments, generating software and hardware interfaces, installing neuromorphic use cases, and generating use case interfaces.
Provide users with ready-to-use neuromorphic solutions, reduce the complexity of manual operations, reduce the difficulty of modeling, support experiments in different software/hardware environments, and help users choose the best solution.
Smart Images

Figure CN118798328A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computers, and more particularly, to methods, electronic devices, and computer program products for generating use case interfaces in neuromorphic computing. Background Art
[0002] Neuromorphic computing is a system engineering approach that customizes chip structures to mimic the way the human brain processes information, matching hardware with algorithms to achieve faster and more energy-efficient computing. Neuromorphic computing is widely used in fields such as sensing, robotics, healthcare, and large-scale artificial intelligence applications. Summary of the invention
[0003] Embodiments of the present disclosure provide a method, an electronic device, and a computer program product for generating a use case interface in neuromorphic computing.
[0004] According to a first aspect of the present disclosure, a method for generating a use case interface in neuromorphic computing is provided. The method includes receiving a request for generating a use case interface in neuromorphic computing, and based on key information of the request, retrieving a neuromorphic use case and an environment configuration corresponding to the request. The method also includes setting a software environment and a hardware environment based on the environment configuration by confirming the use case and the environment configuration, generating a software interface and a hardware interface, installing a neuromorphic use case based on the software interface and the hardware interface, and generating a use case interface in neuromorphic computing based on the installed neuromorphic use case.
[0005] According to a second aspect of the present disclosure, an electronic device is provided. The electronic device includes at least one processor; and a memory coupled to the at least one processor and having instructions stored thereon, the instructions causing the electronic device to perform actions when executed by the at least one processor, the actions including receiving a request for generating a use case interface in neuromorphic computing, and retrieving a neuromorphic use case and environment configuration corresponding to the request based on key information of the request. The action also includes setting a software environment and a hardware environment based on the environment configuration by confirming the use case and the environment configuration, generating a software interface and a hardware interface, installing a neuromorphic use case based on the software interface and the hardware interface, and generating a use case interface in neuromorphic computing based on the installed neuromorphic use case.
[0006] According to a third aspect of the present disclosure, there is provided a computer program product, which is tangibly stored on a non-volatile computer-readable medium and comprises machine-executable instructions, which when executed cause a machine to perform the steps of the method in the first aspect of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the exemplary embodiments of the present disclosure in more detail in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same elements in the exemplary embodiments of the present disclosure. In the accompanying drawings:
[0008] Figure 1 A schematic diagram illustrating the use case interface generation system setting for neuromorphic computing is shown;
[0009] Figure 2 illustrates a flow chart of a method for generating a use case interface in neuromorphic computing according to an embodiment of the present disclosure;
[0010] Figure 3 The overall architecture diagram of the use case interface generation system according to an embodiment of the present disclosure is illustrated;
[0011] Figure 4 The internal architecture diagram of the neuromorphic software-hardware simulation platform in the use case interface generation system is illustrated;
[0012] Figure 5 A schematic diagram illustrating a user using a use case interface generation system to generate a use case interface according to an embodiment of the present disclosure is illustrated;
[0013] Figure 6 A schematic block diagram of an example device suitable for implementing embodiments of the present disclosure is illustrated. DETAILED DESCRIPTION
[0014] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some specific embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0015] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or identical objects, unless explicitly indicated to be different. Similar reference numerals may represent similar elements.
[0016] Neuromorphic computing has attracted a lot of attention with its concept of mimicking brain activity for intelligent, efficient and low-power computing. However, its development has not been smooth so far. When using neuromorphic computing for hands-on operations or experiments, the challenge is how to reduce the complexity and make it easier to compare and select solutions.
[0017] The process of doing neuromorphic computing experiments is usually too complicated. Conducting neuromorphic computing experiments usually requires environment setup and modeling. However, both of these steps are particularly difficult for general users. For the environment setup step, it is generally necessary to build the corresponding software simulator, or even find accessible hardware, and build the relevant software background to enable the hardware. For the modeling step, it needs to include input encoding, neuron model construction, and general model training, involving a large number of neuromorphic algorithms. Therefore, how to handle all the above complex operations to implement the entire neuromorphic experiment for business problems is one of the user's problems.
[0018] In addition, it is difficult to build neuromorphic use cases that target general business problems. Unlike traditional deep learning use cases, building neuromorphic use cases is very difficult due to the lack of a general and unified neuromorphic model. In general, in addition to understanding business problems, users are required to understand a series of algorithms that are completely different from traditional deep learning, including time-based encoding methods, neural modeling methods, and training methods. For users who focus on business problems, it is difficult to build neuromorphic use cases without experts, which leads to dependence on experts and additional communication time costs.
[0019] In other aspects, it is more difficult to compare use cases in various environments. In order to get the best solution to the business problem, it is necessary to try and compare the use cases in the simulation platform with various software / hardware. However, it is very difficult to build use cases on software simulators or on real hardware with manually implemented software backends, let alone create use cases in various environments. Therefore, it is useful for users to find an easy way to compare use cases in various environments to select the best solution to the business problem.
[0020] At least to solve the above and other potential problems, an embodiment of the present disclosure provides a method for generating a use case interface in neuromorphic computing. The method includes receiving a request for generating a use case interface in neuromorphic computing, and based on key information in the request, retrieving a neuromorphic use case and an environment configuration corresponding to the request from a neuromorphic use case library. The method also includes, in response to confirmation of the neuromorphic use case and the environment configuration, setting one or more of the software environment and the hardware environment based on the environment configuration, generating a software interface associated with the software environment and / or a hardware interface associated with the hardware environment, installing the neuromorphic use case based on the software interface and / or the hardware interface, and generating a use case interface in neuromorphic computing based on the installed neuromorphic use case. Through this method, a ready-to-use neuromorphic use case solution can be provided to users. The solution is responsible for the process of building a neuromorphic model and environment, in this way, users can be freed from these manual and complex operations and focus on their business problems. In addition, by providing flexible options for experimenting in different software / hardware environments, the solution can help users easily make the best choice for their business problems.
[0021] The method implemented according to the present disclosure provides an automatic processing layer by providing users with solutions for neuromorphic use cases to avoid users from going through complex operations during a complete neuromorphic experiment. The neuromorphic use case library can help users model independently instead of relying entirely on experts. The neuromorphic use case library can have some commonly used use cases built in, and can be continuously enriched and updated. The solution can also enable users to choose the best solution for their business problems by comparing the performance of use cases on multiple neuromorphic software and hardware simulation platforms.
[0022] The basic principles and several exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Figure 1 FIG. 1 shows a schematic diagram of the use case interface generation system 101 setting up the neuromorphic computing 100. It should be understood that Figure 1 The number, arrangement, and data transmission process of the devices, hardware, software, and other elements or components shown are only exemplary. Figure 1 The system may include devices, hardware and software in different numbers and arranged in different ways, as well as various additional elements, and the present disclosure does not impose any limitations on this.
[0023] In neuromorphic computing 100, business problem 102 may be one or more problems that need to be solved using neuromorphic computing. As an example, business problem 102 may be one or more problems in stereoscopic visualization, gesture recognition, expression recognition, visual flow, image classification and object tracking, real-time spatiotemporal sensing information processing, machine learning, robotics, online speech recognition, audio feature extraction, probabilistic reasoning, energy-saving neuromorphic classification, text image recognition, recursive neural network, encryption, computational chemistry, supply chain logistics, control and navigation of robots and other smart mobile devices. It should be understood that the problems listed above are only exemplary, and business problem 102 may include any one or more problems that need to be solved using neuromorphic computing, and the present disclosure does not impose any limitation on this.
[0024] like Figure 1 As shown, when the use case interface generation system 101 encounters a business problem 102 that requires neuromorphic computing, the use case interface generation system 101 first needs to model the business problem 102 in a spiking neuromorphic network 103 (“spiking neuromorphic network”, SNN). For example, the use case interface generation system 101 needs to select a neuromorphic model 104 associated with the business problem 102, and needs to input a code 105 to the spiking neuromorphic network 103, and select a learning method 106 suitable for the neuromorphic model 104.
[0025] In another aspect, the use case interface generation system 101 also needs to set up a related environment that supports the hardware layer 107 of the spiking neuromorphic network 103. For example, the use case interface generation system 101 needs to set up a software simulator 108 associated with the spiking neuromorphic network 103, set up a connection 109 between the hardware layer 107 and the software layer of the spiking neuromorphic network 103, and select hardware 110 that is adapted to the spiking neuromorphic network 103.
[0026] As an example, in the neuromorphic computing 100, the hardware layer 107 can be any computing device with processing computing resources or storage resources. For example, the hardware layer 107 has common capabilities such as receiving and sending data requests, real-time data analysis, local data storage, and real-time network connection. Computing devices can generally include various types of devices. Examples of computing devices may include, but are not limited to: desktop computers, laptops, smart phones, wearable devices, security equipment, smart manufacturing equipment, smart home devices, Internet of Things devices, smart cars, drones, etc. In the neuromorphic computing 100, any number and type of devices may be included, and the present disclosure does not impose any restrictions on this.
[0027] Additionally or alternatively, the hardware layer 107 may also be any cloud computing device with storage capabilities, such as a general-purpose server, a dedicated server, a desktop server, a rack server, a cabinet server, a blade server, etc., and the present disclosure does not impose any restrictions on this. The cloud computing device may also be further deployed as a private cloud, a community cloud, and a hybrid cloud, etc., and the present disclosure does not impose any restrictions on this. The cloud computing device may also have the characteristics of providing computing power according to user needs and being compatible with different software or hardware. Additionally or alternatively, any localized architecture may also be used to implement the cloud computing device.
[0028] Figure 2 A flow chart of a method 200 for generating a use case interface in neuromorphic computing according to an embodiment of the present disclosure is illustrated. Figure 2 The elements in can be Figure 1 The elements in are the same or similar.
[0029] At block 201, a request for generating a use case interface in neuromorphic computing is received. According to an embodiment of the present disclosure, a use case interface generation system may first receive a request for a use case interface from a user. According to an embodiment of the present disclosure, the use case interface generation system may include, but is not limited to, elements such as an automatic processing layer, a neuromorphic use case library, and a neuromorphic software and hardware simulation platform, and the use case interface generation system may be used to generate a user interface for the user request. Figure 3 and Figure 4 Let's describe the use case interface generation system in detail.
[0030] At box 202, based on the key information in the request, the neuromorphic use case and environment configuration corresponding to the request are retrieved from the neuromorphic use case library. According to an embodiment of the present disclosure, the use case interface generation system can then perform semantic analysis on the user request and extract key information in the user request. These key information may include keywords, metadata, identifiers that match the usage scenario or use case requested by the user, and solutions corresponding to the business problem 102 solved by the user request, etc. It should be understood that the above description of key information is only exemplary, and the present disclosure does not impose any restrictions on the types of key information. In some embodiments, the use case interface generation system can also perform weight calculation on one or more of the extracted key information to measure its importance in the request.
[0031] The use case interface generation system can automatically search the neuromorphic use case and environment configuration corresponding to the request and / or containing the key information in the neuromorphic use case library. The use case interface generation system can also score the relevance of multiple neuromorphic use cases and environment configurations in the neuromorphic use case library based on factors such as word frequency, field length normalization value, and vector distance of the key information in the neuromorphic use case, and return one or more associated neuromorphic use cases and environment configurations to the user as retrieval results.
[0032] According to an embodiment of the present disclosure, a neuromorphic use case may be a description of an application scenario that utilizes neuromorphic computing technology to solve a specific business problem 102 or implement a specific function. As an example, a neuromorphic use case may be a solution for controlling perception, control, and navigation in robots and other intelligent mobile devices, a solution for face or gesture recognition, a solution for image or audio feature extraction, a supply chain optimization solution, etc., and the present disclosure does not impose any limitation on this.
[0033] In some embodiments, users or experts, etc. may also input existing neuromorphic use cases and environment configurations into the neuromorphic use case library to establish or supplement the neuromorphic use case library. The neuromorphic use case library may include neuromorphic use cases and environment configurations suitable for solving the various business problems 102 described above. According to an embodiment of the present disclosure, the environment configuration may be a software environment configuration and a hardware environment configuration associated with the neuromorphic use case. For example, when the neuromorphic use case is a solution for face or gesture recognition, the environment configuration may be software environment configuration and hardware environment configuration information suitable for solving face or gesture recognition problems.
[0034] At box 203, in response to the confirmation of the neuromorphic use case and the environment configuration, one or more of the software environment and the hardware environment are set based on the environment configuration. According to an embodiment of the present disclosure, the user selects a neuromorphic use case and environment configuration applicable to the current request from one or more associated neuromorphic use cases and environment configurations returned by the use case interface generation system. Upon receiving the confirmation of the neuromorphic use case and the environment configuration, the use case interface generation system may set one or more of the software environment and the hardware environment based on the environment configuration, such as selecting a neuromorphic model and learning method suitable for the current neuromorphic use case, selecting a software simulator and hardware suitable for the current neuromorphic use case, etc., and the present disclosure does not impose any restrictions on this.
[0035] At box 204, a software interface associated with the software environment and / or a hardware interface associated with the hardware environment is generated. According to an embodiment of the present disclosure, after the software environment and the hardware environment are set up, the use case interface generation system can generate corresponding software interfaces and / or hardware interfaces based on the software environment and the hardware environment. The software interface can be used to implement information interaction between neuromorphic software, specify the content and actions that the neuromorphic computing software is to do, and at the same time allow users to not spend time paying attention to the details of the implementation of neuromorphic software functions, and can also easily replace or modify the implementation, thereby improving the scalability and flexibility between software. The hardware interface can be used to implement data transmission between neuromorphic hardware, and between software and hardware.
[0036] At block 205, the neuromorphic use case is installed based on the software interface and / or the hardware interface. According to an embodiment of the present disclosure, the use case interface generation system may install the neuromorphic use case selected by the user on the software interface and the hardware interface. In some embodiments, the use case interface generation system may install and interface the neuromorphic use case with the generated software interface and the hardware interface, thereby running the neuromorphic use case by calling the software interface and the hardware interface.
[0037] At block 206, a use case interface is generated in neuromorphic computing based on the installed neuromorphic use cases. The use case interface generation system may further generate the use case interface based on the installed neuromorphic use cases and the associated software interface and hardware interface, so that the user can enable the neuromorphic use case by calling the use case interface and via the software interface and hardware interface when the neuromorphic use case needs to be run, which reduces the burden of modeling neuromorphic use cases for the user.
[0038] Combined with the above Figure 2 A flowchart of a method for generating a use case interface in neuromorphic computing according to an embodiment of the present disclosure is described. The method implemented according to the present disclosure can prevent users from experiencing complex operations during a complete neuromorphic experiment, reduce the complex operations of users in performing neuromorphic experiments, provide users with an out-of-box neuromorphic solution, and reduce the difficulty for users to model neuromorphic use cases separately.
[0039] Combine the following Figure 3 The overall architecture diagram of the use case interface generation system 300 according to an embodiment of the present disclosure is described. Figure 3 The elements in can be Figure 1 The elements in are the same or similar. Figure 3As shown, the use case interface generation system 300 may include an automatic processing layer 301, a neuromorphic use case library 302, and a neuromorphic software / hardware simulation platform 303. The automatic processing layer 301 may automate all operations in the neuromorphic experiment process. The automatic processing layer 301 may receive a request from a user 304 to generate a use case interface, and may automatically search the neuromorphic use case library for the neuromorphic use case required to solve the relevant business problem 102. The automatic processing layer 301 may also provide the user 304 with an out-of-the-box use case interface and a neuromorphic solution in combination with the neuromorphic use case library 302 and the neuromorphic software / hardware simulation platform 303.
[0040] The neuromorphic use case library 302 can store neuromorphic use cases that have been fully modeled and associated environment configurations to help users conduct neuromorphic experiments. When receiving a search request from the automatic processing layer 301, the neuromorphic use case library 302 can return relevant one or more neuromorphic use cases and environment configuration recommendations. User 304 can further select the use case that best matches his or her business problem from these recommended one or more neuromorphic use cases and environment configurations. In this way, user 304 does not need to manually model his or her business problem from the beginning, but can directly use the recommended neuromorphic use case and environment configuration or modify the recommended neuromorphic use case and environment configuration to better meet the needs of user 304 himself or herself. The interaction 305 between the automatic search function of the automatic processing layer 301 and the neuromorphic use case library 302 can realize the automatic selection of neuromorphic use cases for business problems.
[0041] The neuromorphic software and hardware simulation platform 303 is responsible for processing the execution environment of the neuromorphic experiment. The neuromorphic software and hardware simulation platform 303 integrates multiple software simulators and hardware simulators to provide users with multiple execution environments. In combination with the automatic setting function of the automatic processing layer 301, neuromorphic use cases are executed on various platforms, which can help users 304 to more conveniently and quickly compare the differences between multiple neuromorphic use cases and multiple environmental configuration combinations, and ultimately select the best solution. The interaction 306 between the automatic setting function of the automatic processing layer 301 and the neuromorphic software and hardware simulation platform 303 can realize automatic acquisition of software and / or hardware interfaces and automatic installation of specific use cases.
[0042] Combination of the above Figure 3 Describes the overall architecture of the use case interface generation system. Figure 4 To describe the internal architecture diagram of the neuromorphic software hardware simulation platform 400 in the use case interface generation system. It should be understood that Figure 4The number and arrangement of the elements or components shown are only exemplary. The neuromorphic software-hardware simulation platform 400 may include different numbers of devices, hardware, and software arranged in different ways, as well as various additional elements, and the present disclosure does not impose any limitation on this.
[0043] like Figure 4 As shown, the neuromorphic software-hardware simulation platform 400 may include components such as a neuromorphic software platform 401, a software-hardware connection layer 402, and a neuromorphic hardware pool 403. The neuromorphic software platform 401 may integrate multiple neuromorphic software simulators, such as 401-1 to 401-3, which may utilize pulse neural networks to implement information processing and learning similar to biological nervous systems, and generate corresponding software interfaces. The neuromorphic software platform 401 may also quickly develop and test applications and algorithms for neuromorphic computing without relying on a specific hardware platform. Examples of neuromorphic software simulators 401-1 to 401-3 may include, but are not limited to, Brian simulators, BindsNET simulators, Norse simulators, NEST simulators, Nengo simulators, and the like. It should be understood that the neuromorphic software simulators listed above are only exemplary. The neuromorphic software platform 401 may include any type and any number of known or unknown neuromorphic software simulators, and the present disclosure does not impose any restrictions on this. The neuromorphic software platform 401 can run neuromorphic use cases in dedicated computing resources and provide complete support on hardware such as CPU or GPU.
[0044] The neuromorphic software and hardware simulation platform 400 may also include a neuromorphic hardware pool 403, which integrates a plurality of accessible neuromorphic hardware 403-1 to 403-3, which can use pulse neural networks as basic computing models, can realize asynchronous, parallel, distributed data processing, and generate corresponding hardware interfaces. Neuromorphic hardware can realize efficient artificial intelligence applications such as perception, recognition, behavior, and thinking at extremely low power consumption. Examples of neuromorphic hardware 403-1 to 403-3 may include, but are not limited to, Akida chips, BrainScaleS, SpiNNaker chips, TrueNorth chips, Loihi chips, Zeroth chips, etc. It should be understood that the neuromorphic hardware listed above is only exemplary. The neuromorphic hardware pool 403 may include any type and any number of known or unknown neuromorphic hardware, and the present disclosure does not impose any restrictions on this. The neuromorphic hardware pool 403 can provide users with a neuromorphic hardware backend to run neuromorphic use cases on real neuromorphic hardware.
[0045] The neuromorphic software-hardware simulation platform 400 may also include a software-hardware connection layer 402, which may implement a backend for some neuromorphic software simulators to execute neuromorphic use cases on real neuromorphic hardware. If a user wishes to run a neuromorphic use case on real neuromorphic hardware, the software-hardware connection layer 402 will establish connectivity between the neuromorphic software and the neuromorphic hardware, such as connecting a software interface to a hardware interface to execute the neuromorphic use case on the neuromorphic hardware backend through the neuromorphic software simulator front end. Therefore, the neuromorphic software-hardware simulation platform 401 provides users with multiple flexible neuromorphic software and hardware ends, so that users can compare the performance of specified neuromorphic use cases on different simulation backends and select the best solution.
[0046] As an example, in some embodiments, after selecting a neuromorphic use case to be run, the user may select one or more neuromorphic software simulators from a plurality of neuromorphic software simulators in the neuromorphic software platform 401, and select one or more neuromorphic hardware from a plurality of neuromorphic hardware in the neuromorphic hardware pool 403. The user may then combine the selected one or more neuromorphic software simulators with the selected one or more neuromorphic hardware to obtain one or more neuromorphic software hardware simulation solutions. The user may also call a use case interface associated with one or more neuromorphic software hardware simulation solutions to run the selected neuromorphic use case in the one or more neuromorphic software hardware simulation solutions.
[0047] Additionally or alternatively, in some embodiments, the user can also compare the neuromorphic software-hardware simulation solution performance scores obtained by running the same neuromorphic use case in different neuromorphic software-hardware simulation solutions. Depending on different neuromorphic use cases, the measurement criteria for the performance scores of neuromorphic software-hardware simulation solutions may be different. For example, in the neuromorphic use case of image recognition, the measurement criteria for the performance scores of neuromorphic software-hardware simulation solutions may be the accuracy of image recognition. As another example, in the neuromorphic use case of control and navigation of a mobile device, the measurement criteria for the performance scores of neuromorphic software-hardware simulation solutions may be navigation accuracy or the shortest distance of a path, etc. It should be understood that the measurement criteria for the performance scores of neuromorphic software-hardware simulation solutions listed above are only exemplary. The measurement criteria for the performance scores of neuromorphic software-hardware simulation solutions may vary according to different neuromorphic use cases, and the present disclosure does not impose any restrictions on this.
[0048] By comparing the neuromorphic software-hardware simulation scheme performance scores obtained by running the same neuromorphic use case in different neuromorphic software-hardware simulation schemes, the user can select, for example, the neuromorphic software-hardware simulation scheme with the highest score as the final neuromorphic software-hardware simulation scheme that best suits the selected neuromorphic use case.
[0049] The following will be combined Figure 5 A schematic diagram is described in which a user generates a use case interface using a use case interface generation system 500 according to an embodiment of the present disclosure. Figure 5 As shown, when a user 501 attempts to obtain a neuromorphic solution through a method according to the present disclosure, the user 501 may first send 511 a request for a specific business problem to the automatic processing layer 502. After receiving the request, the automatic processing layer 502 may analyze the request and extract key information 503 for the business problem from it.
[0050] Subsequently, the automatic processing layer 502 may automatically search 512 for one or more neuromorphic use cases and environment configurations corresponding to the request from the neuromorphic use case library 504 based on the key information, and return 513 the recommended, automatically searched neuromorphic use cases and corresponding environment configurations 505 to the automatic processing layer 502. The automatically searched neuromorphic use cases and corresponding environment configurations 505 may then be returned 514 to the user 501 via the automatic processing layer 502 as a recommendation.
[0051] The user 501 may then select one or more of the returned neuromorphic use cases and environment configurations, and confirm 515 the neuromorphic use case 506 and environment configuration 507 that are suitable for the business problem. The confirmation 515 may then be sent back to the automatic processing layer 502 by the user 501. After the automatic processing layer 502 receives the user's confirmation of the neuromorphic use case 506 and environment configuration 507, the automatic processing layer 502 may send the environment configuration 507 to the neuromorphic software-hardware simulation platform 508 to automatically set up 516 the software and / or hardware environment in the neuromorphic software-hardware simulation platform 508.
[0052] The neuromorphic software-hardware simulation platform 508 may then set up the software environment and one or more of the hardware environments based on the environment configuration, and after one or more of the software environment and the hardware environment (software simulator and / or hardware simulator) are set up, generate a software interface associated with the software environment (software simulator) and / or a hardware interface 509 associated with the hardware environment (hardware simulator), and then the neuromorphic software-hardware simulation platform 508 may send 517 the software interface and / or the hardware interface 509 back to the automatic processing layer 502.
[0053] By utilizing these software interfaces and / or hardware interfaces 509, the automatic processing layer 502 can automatically install 518 the neuromorphic use case 506 selected by the user on the software interface and / or hardware interface 509, and further generate a ready-to-use use case interface 510. The automatic processing layer 502 can then return 519 the ready-to-use use case interface 510 to the user 501.
[0054] When user 501 needs to run a neuromorphic use case associated with a business problem, user 501 only needs to call the use case interface 510. This saves the time and learning cost of user 504 manually building a neuromorphic use case and its associated environment configuration, greatly reducing the complexity of the entire process.
[0055] Figure 6 A schematic block diagram of an example device 600 that may be used to implement embodiments of the present disclosure is shown. Figure 1 The computing device in the device 600 can be implemented by using the device 600. As shown in the figure, the device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 602 or computer program instructions loaded from a storage unit 608 to a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the storage device 600 can also be included. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0056] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage page 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0057] The various processes and processing described above, such as method 200, may be performed by processing unit 601. For example, in some embodiments, method 200 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by CPU 601, one or more actions of method 200 described above may be performed.
[0058] The present disclosure may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.
[0059] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination of the above. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (e.g., a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.
[0060] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0061] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0062] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0063] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0064] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0065] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0066] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for generating a use case interface in neuromorphic computing, the method comprising: receiving a request for generating a use case interface in the neuromorphic computing; Retrieving a neuromorphic use case and an environment configuration corresponding to the request from a neuromorphic use case library based on key information in the request; In response to confirmation of the neuromorphic use case and the environment configuration, setting one or more of a software environment and a hardware environment based on the environment configuration; generating a software interface associated with the software environment and / or a hardware interface associated with the hardware environment; installing the neuromorphic use case based on the software interface and / or the hardware interface; as well as A use case interface is generated in the neuromorphic computing based on the installed neuromorphic use cases.
2. The method according to claim 1, wherein one or more of the software environment and the hardware environment are set by a neuromorphic software-hardware simulation platform based on the environment configuration, and the neuromorphic software-hardware simulation platform includes a neuromorphic software platform, a neuromorphic software-hardware connection layer, and a neuromorphic hardware pool.
3. The method of claim 2, wherein the neuromorphic software platform comprises a plurality of neuromorphic software simulators for executing the neuromorphic use cases in dedicated computing resources. 4 . The method of claim 2 , wherein the neuromorphic hardware pool comprises a plurality of neuromorphic hardware for executing the neuromorphic use case in the neuromorphic hardware.
5. The method of claim 3, wherein the neuromorphic software-hardware connection layer establishes a connection between the neuromorphic software platform and the neuromorphic hardware pool for executing the neuromorphic use case in the neuromorphic hardware pool through the neuromorphic software platform.
6. The method according to claim 5, further comprising: combining one or more neuromorphic software simulators of the plurality of neuromorphic software simulators with one or more neuromorphic hardware of the plurality of neuromorphic hardware to obtain one or more neuromorphic software hardware simulation solutions; Running the neuromorphic use case in the one or more neuromorphic software-hardware simulation solutions to obtain a neuromorphic software-hardware simulation solution performance score for the neuromorphic use case; as well as By comparing the performance scores of a plurality of different neuromorphic software-hardware simulation solutions for the same neuromorphic use case, the neuromorphic software-hardware simulation solution suitable for the neuromorphic use case is obtained.
7. The method according to claim 1, comprising: The neuromorphic use case library is established by inputting existing neuromorphic use cases and environment configurations into the neuromorphic use case library.
8. The method of claim 1, the confirming of the neuromorphic use case and the environmental configuration further comprising: The neuromorphic use case and the environment configuration are selected from a plurality of neuromorphic use cases and a plurality of environment configurations.
9. The method according to claim 1, further comprising: The neuromorphic computing service is provided by running the use case interface.
10. An electronic device comprising: at least one processor; as well as A memory coupled to at least one processor and having instructions stored thereon, wherein when the instructions are executed by the at least one processor, the electronic device performs actions, the actions comprising: receiving a request for generating a use case interface in neuromorphic computing; Retrieving a neuromorphic use case and an environment configuration corresponding to the request from a neuromorphic use case library based on key information in the request; In response to confirmation of the neuromorphic use case and the environment configuration, setting one or more of a software environment and a hardware environment based on the environment configuration; generating a software interface associated with the software environment and / or a hardware interface associated with the hardware environment; installing the neuromorphic use case based on the software interface and / or the hardware interface; and A use case interface is generated in the neuromorphic computing based on the installed neuromorphic use cases.
11. The electronic device according to claim 10, wherein one or more of the software environment and the hardware environment are set by a neuromorphic software-hardware simulation platform based on the environment configuration, and the neuromorphic software-hardware simulation platform includes a neuromorphic software platform, a neuromorphic software-hardware connection layer, and a neuromorphic hardware pool.
12. The electronic device of claim 11, wherein the neuromorphic software platform comprises a plurality of neuromorphic software simulators for executing the neuromorphic use cases in dedicated computing resources. 13 . The electronic device of claim 11 , wherein the neuromorphic hardware pool comprises a plurality of neuromorphic hardware for executing the neuromorphic use case in the neuromorphic hardware.
14. The electronic device of claim 12, wherein the neuromorphic software hardware connection layer establishes a connection between the neuromorphic software platform and the neuromorphic hardware pool for executing the neuromorphic use case in the neuromorphic hardware pool through the neuromorphic software platform.
15. The electronic device according to claim 14, further comprising: combining one or more neuromorphic software simulators of the plurality of neuromorphic software simulators with one or more neuromorphic hardware of the plurality of neuromorphic hardware to obtain one or more neuromorphic software hardware simulation solutions; Running the neuromorphic use case in the one or more neuromorphic software-hardware simulation solutions to obtain a neuromorphic software-hardware simulation solution performance score for the neuromorphic use case; as well as By comparing the performance scores of a plurality of different neuromorphic software-hardware simulation solutions for the same neuromorphic use case, the neuromorphic software-hardware simulation solution suitable for the neuromorphic use case is obtained.
16. The electronic device according to claim 10, comprising: The neuromorphic use case library is established by inputting existing neuromorphic use cases and environment configurations into the neuromorphic use case library.
17. The electronic device of claim 10, the confirmation of the neuromorphic use case and the environmental configuration further comprising: The neuromorphic use case and the environment configuration are selected from a plurality of neuromorphic use cases and a plurality of environment configurations.
18. The electronic device according to claim 10, further comprising: The neuromorphic computing service is provided by running the use case interface.
19. A computer program product tangibly stored on a non-transitory computer readable storage medium and comprising computer executable instructions that, when executed, cause a computer to perform: receiving a request for generating a use case interface in neuromorphic computing; Retrieving a neuromorphic use case and an environment configuration corresponding to the request from a neuromorphic use case library based on key information in the request; In response to confirmation of the neuromorphic use case and the environment configuration, setting one or more of a software environment and a hardware environment based on the environment configuration; generating a software interface associated with the software environment and / or a hardware interface associated with the hardware environment; installing the neuromorphic use case based on the software interface and / or the hardware interface; as well as A use case interface is generated in the neuromorphic computing based on the installed neuromorphic use cases.
20. The computer program product of claim 19, wherein one or more of the software environment and the hardware environment are set by a neuromorphic software-hardware simulation platform based on the environment configuration, and the neuromorphic software-hardware simulation platform comprises a neuromorphic software platform, a neuromorphic software-hardware connection layer, and a neuromorphic hardware pool.
