NEURON CIRCUITS FOR SPIKING NEURAL NETWORKS
20230376736 · 2023-11-23
Inventors
Cpc classification
G06N3/082
PHYSICS
G06N3/049
PHYSICS
International classification
G06N3/049
PHYSICS
G06F7/503
PHYSICS
Abstract
Neuron circuits are provided for spiking neural network apparatus having multiple such neuron circuits interconnected by links, each associated with a respective weight, for transmission of signals between neuron circuits. A neuron circuit includes a digital transmitter for generating trigger signals, indicating a state of the neuron circuit, on outgoing links of the circuit. The state is encoded in a time interval defined by these trigger signals. The neuron circuit includes a digital receiver for detecting such trigger signals on incoming links of the circuit, and digital accumulator logic. In response to detecting a trigger signal on an incoming link, the digital accumulator logic is adapted to generate a weighted signal dependent on the time interval and to accumulate the weighted signals generated from trigger signals on the incoming links to determine the state of the neuron circuit.
Claims
1. A circuit comprising: multiple neuron circuits interconnected by links in a spiking neural network apparatus, wherein each link is associated with a respective weight for transmission of signals between respective neuron circuits, wherein a neuron circuit of the multiple neuron circuits comprise: a digital transmitter for generating trigger signals, indicating a state of the neuron circuit, on outgoing links of the circuit, wherein the state is encoded in a time interval defined by the generated trigger signals; and a digital receiver comprising a signal detector for detecting such trigger signals on incoming links of the circuit, and digital accumulator logic adapted to generate, in response to detection of a trigger signal on an incoming link, a weighted signal dependent on the time interval defined by that trigger signal and said weight associated with that incoming link, and to accumulate the weighted signals generated from trigger signals on the incoming links to determine said state of the neuron circuit.
2. The circuit of claim 1, wherein the neuron circuit comprises: the transmitter is operable, for each outgoing link, to encode the weight associated with that link in a pulse signal embedded in trigger signals generated on that link; and the receiver is operable to decode the pulse signal embedded in a trigger signal on an incoming link to obtain the weight associated with that link.
3. The circuit of claim 1, wherein the neuron circuit comprises: the digital accumulator logic is adapted to accumulate said weighted signals periodically, with period T, to determine said state of the neuron circuit at the end of each period T; and the digital transmitter is adapted to generate a trigger signal indicating that state during the next period T.
4. The circuit of claim 3, wherein the digital transmitter is adapted such that the trigger signal defines said time interval with reference to the end of said next period T.
5. The circuit of claim 3, wherein the digital transmitter is adapted such that the trigger signal defines said time interval with reference to the start of said next period T.
6. The circuit of claim 3, wherein the trigger signals comprise one of spike signals and pulse-width modulated signals.
7. The circuit of claim 3, wherein said digital accumulator logic comprises: counter logic adapted, for each incoming link, to generate a thermometer-encoded output value dependent on the time interval defined by a trigger signal on that link; graphical multiplication logic adapted, for each incoming link, to multiply said output value by the weight associated with that link to obtain components of said weighted signal; and summation logic adapted to sum said components to generate the weighted signal for each incoming link, and to sum the weighted signals generated during each period T to produce an accumulated signal indicating the neuron state.
8. The circuit of claim 7, wherein the graphical multiplication logic comprises a plurality of lookup tables storing values of said components for possible values of said thermometer-encoded output value.
9. The circuit of claim 7, wherein the summation logic comprises a carry-save adder for summing said components to generate the weighted signal for each incoming link, and a ripple-carry adder for summing the weighted signals to produce said accumulated signal.
10. The circuit of claim 7, wherein the digital accumulator logic is further adapted to apply a non-linear activation function to said accumulated signal to determine the neuron state.
11. The circuit of claim 1, wherein: the digital accumulator logic is adapted, during each of successive time periods T′, to accumulate said weighted signals to produce an accumulated signal and to progressively compare the accumulated signal with a threshold to determine said state of the neuron circuit during that period T′; and the digital transmitter is adapted to generate a trigger signal during that period T′ in response to the accumulated signal traversing said threshold.
12. The circuit of claim 11, wherein the trigger signals comprise spike signals.
13. The circuit of claim 11, wherein the digital accumulator logic comprises: for each incoming link, a digital integrator adapted, in response to detection of a trigger signal on that link, to start integrating a value dependent on the weight associated with that link to generate said weighted signal for that link; and summation logic adapted to sum the weighted signals generated during each period T′ to produce said accumulated signal.
14. The circuit of claim 13, wherein the digital integrator comprises concatenated counters, and the summation logic comprises a carry-save adder and a ripple-carry adder.
15. The circuit of claim 11, wherein the digital accumulator logic comprises: for each incoming link, weighting logic adapted to generate said weighted signal by outputting a weight value, dependent on the weight associated with that link, in response to detection of a trigger signal on that link; and a digital integrator adapted to integrate weight values output by the weighting logic for the incoming links during said time period T′ to produce said accumulated signal.
16. The circuit of claim 15, wherein the digital integrator comprises a carry-save adder for summing the weight values output by the weighting logic for the incoming links to produce a sum value, and a ripple-carry adder adapted to progressively accumulate the sum value during the time period T′ to produce said accumulated signal.
17. The circuit of claim 11, wherein the digital accumulator logic is adapted to apply a leaky neuron function to said accumulated signal to implement a leaky neuron circuit.
18. The circuit of claim 11, wherein the receiver is adapted to apply a timing offset to trigger signals on incoming links to mitigate propagation delay differences between incoming links.
19. The circuit of claim 1, wherein the digital accumulator logic is adapted, during each of successive time periods T′, to accumulate said weighted signals to produce an accumulated signal, and the neuron circuit is selectively operable in first and second modes such that: in the first mode, the digital accumulator logic is adapted, during each period T′, to progressively compare the accumulated signal with a threshold to determine said state of the neuron circuit during that period T′, and the transmitter is adapted to generate a trigger signal during that period T′ in response to the accumulated signal traversing said threshold; and in the second mode, the digital accumulator logic is adapted to determine said state of the neuron circuit in dependence on the accumulated signal at the end of each period T′, and the transmitter is adapted to generate a trigger signal indicating that state during the next period T′.
20. The circuit of claim 19, wherein the digital accumulator logic comprises: for each incoming link, a digital integrator adapted, in response to detection of a trigger signal on that link, to start integrating a value dependent on the weight associated with that link to generate said weighted signal for that link; and summation logic adapted to sum the weighted signals generated during each period T′ to produce said accumulated signal.
21. The circuit of claim 19, wherein the digital accumulator logic comprises: for each incoming link, weighting logic adapted to generate said weighted signal by outputting a weight value, dependent on the weight associated with that link, in response to detection of a trigger signal on that link; and a digital integrator adapted to integrate weight values output by the weighting logic for the incoming links during said time period T′ to produce said accumulated signal.
22. A spiking neural network apparatus comprising: multiple neuron circuits interconnected by links, wherein each link connecting respective neuron circuits is associated with a respective weight for transmission of signals between the neuron circuits.
23. The spiking neural network apparatus of claim 22, wherein a neuron circuit of the multiple neuron circuits comprises: a digital transmitter for generating trigger signals that indicate a state of the neuron circuit, on outgoing links of the circuit, wherein the state is encoded in a time interval defined by the trigger signals; and a digital receiver comprising a signal detector for detecting such trigger signals on incoming links of the circuit, and digital accumulator logic adapted to generate, in response to detection of a trigger signal on an incoming link, a weighted signal dependent on the time interval defined by that trigger signal and said weight associated with that incoming link, and to accumulate the weighted signals generated from trigger signals on the incoming links to determine said state of the neuron circuit.
24. A computer-implemented method comprising: generating trigger signals on outgoing links of a neuron circuit of a spiking neural network comprising multiple neuron circuits each connected by links, wherein the generated trigger signals indicate a state of the neuron circuit that is encoded in a time interval defined by the generated trigger signals; in response to detecting of a trigger signal of the generated trigger signals on an incoming link of the neuron circuit, generating a weighted signal for the incoming link that is dependent on the time interval defined by that detected trigger signal; and encoding the weighted signal associated with the incoming link in a pulse signal embedded in trigger signals generated on the incoming link.
25. A computer system comprising: one or more computer processors; one or more computer readable storage media; and program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising: program instructions to generate trigger signals on outgoing links of a neuron circuit of a spiking neural network comprising multiple neuron circuits each connected by links, wherein the generated trigger signals indicate a state of the neuron circuit that is encoded in a time interval defined by the generated trigger signals; program instructions to, in response to detecting of a trigger signal of the generated trigger signals on an incoming link of the neuron circuit, generate a weighted signal for the incoming link that is dependent on the time interval defined by that detected trigger signal; and program instructions to encode the weighted signal associated with the incoming link in a pulse signal embedded in trigger signals generated on the incoming link.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Preferred embodiments of the present invention will now be described, by way of example only, with reference to the following drawings, in which:
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
DETAILED DESCRIPTION
[0031] The
[0032] Each link between a pair of neurons is associated with a respective weight which emulates the synaptic weight associated with synapses in biological neural networks. Hence, in
[0033]
[0034]
[0035] where w.sub.ip are the synaptic weights for incoming links and H(t) is the Heaviside function. The membrane potential V of each neuron n.sub.i, n.sub.j and n.sub.k shown in the upper left corner of
[0036] Calculation of the membrane potential V.sub.i of neuron n.sub.i at time t=T is illustrated in the lower timeline of
w.sub.ik−Σ.sub.mw.sub.ik,m2.sup.m=2, whereby w.sub.ik,1=1; and Formula 2:
w.sub.ij=Σ.sub.mw.sub.ij,m2.sup.m=5, whereby w.sub.ij,2=1 and w.sub.ij,0=1. Formula 3:
[0037] As indicated by the bold line in the figure, the state of neuron n.sub.i at the end of the time period T=1024 ΔT is thus determined by the expression represented by Formula 4:
V.sub.i≈X.sub.i=(X.sub.jw.sub.ij+X.sub.kw.sub.ik)=4X.sub.j+1X.sub.j+2X.sub.k Formula 4:
[0038]
[0039] In the signaling schemes of
[0040] The start/stop spike signaling approach has the advantage that evaluation occurs on the same clock edge (eighter rising or falling) as opposed to PWM where both edges are evaluated. The single clock-edge solution is less prone to bimodal jitter. However, PWM signaling may be more efficient in some embodiments because of the 50% reduced edge density. In particular, dynamic power dissipation in CMOS (Complementary Metal-Oxide-Semiconductor) circuits is directly related to the number of signaling edges.
[0041] In receiver 4 of this embodiment, the digital accumulator logic 6 is adapted to generate weighted signals, as described above, from trigger signals received on incoming links, and to accumulate these weighted signals periodically, with period T, to determine the state of the neuron at the end of each period T. The transmitter 3 then generates a trigger signal x.sub.j indicating that state during the next period T.
[0042] In this embodiment, graphical multiplier 21 employs an LUT (Lookup Table)-based graphical multiplication technique using a plurality of lookup tables storing values of the aforementioned components (partial products) for possible values of the thermometer-encoded output value from counter 20. Here, the graphical multiplier uses three lookup tables labeled LUT #1, LUT #2 and LUT #3. LUT #1 receives the (256=2{circumflex over ( )}8)-bit thermometer-encoded output value referred to in the following as x.sub.j, and determines the partial product obtained when overlaying x.sub.j with a coarse grid with a 32-bit step size. The residual vector is then processed in LUT #2 with an 8-bit step size, and finally LUT #3 determines the final residual with a 1-bit step size. The graphical multiplication operation is illustrated in detail in
[0043]
Output_A of LUT #1: pr.sub.1=Truncate(p.sub.j,32), and Formula 5:
Output_B of LUT #1: r.sub.LUT #1=Mod(p.sub.j,32), Formula 6:
[0044] where p.sub.j=x.sub.j*w.sub.j with * denoting multiplication here. In this example with x.sub.j=179 and w.sub.j=43, the resulting LUT entries are shown shaded in the figure, i.e., LUT Address=00000100; pr.sub.1=(43*160)=6880 (where 160 corresponds to five fully-populated 32-bit bins); and r.sub.LUT #1 is a 32-bit residual vector with 19 logical 1's followed by 13 logical 0's. The partial product pr.sub.1 from Output_A is supplied to summation logic 18, and the residual vector r.sub.LUT #1 from Output_B is passed on to LUT #2. Note that, for ease of representation in the figure, LUT entries for Output_A are given as decimal numbers. In the hardware implementation, however, numbers are stored in binary two's-complement format for processing in summation logic 18 as explained below. Also, only the range of the bit-positions of the residual vector r.sub.LUT #1 is shown for Output_B. In the hardware implementation, not the bit-positions but the bit values at those positions are passed on to LUT #2.
[0045]
Output_A of LUT #2: pr.sub.2=Truncate(pr.sub.LUT #1,8), and Formula 7:
Output_B of LUT #2: r.sub.LUT #2=Mod(pr.sub.LUT #1,8), Formula 8:
[0046] where pr.sub.LUT #1=r.sub.LUT #1*w.sub.j, with r.sub.LUT #1=19 and w.sub.j=.sup.43 here. Hence, Output_A=(43*16)=688 (where 16 corresponds to two fully populated 8-bit bins), and Output_B is an 8-bit residual vector with 3 logical 1's followed by 5 logical 0's. The partial product pr.sub.2 of Output_A is supplied to summation logic 18, and the residual vector r.sub.LUT #2 of Output_B is passed to LUT #3. LUT #3 has 7 addressable entries as shown in
[0047] Returning to
[0048] The CSAs for all incoming links (e.g., 250 or 780 links) provide their outputs to a final ripple-carry adder (RCA) of summation logic 18 which computes the final sum of all weighted signals x.sub.j*w.sub.j to obtain the accumulated signal S.sub.ACC. Resolution of the carry bits for the individual summations is thus deferred to the final RCA stage for highly-efficient computation and reduced power consumption due to arithmetic ripples in the addition. The RCA can be efficiently implemented by a 14-bit Kogge-Stone adder. After application of the ReLU function to S.sub.ACC in activation unit 22, the resulting 8-bit neural state is passed to transmitter 3.
[0049] It will be seen that the above embodiment provides a neuron in which transmitted neural state information is encoded in the length of a time interval, and this time interval is measured by digital counter logic at the neuron receiver. The neuron operates wholly in the digital domain, avoiding the need for analog-to-digital converters and the calibration of analog components. Pure CMOS implementations are possible, and circuit components can be readily described in VHDL (Very High-Speed Integrated Circuit Hardware Description Language) for synthesis. The circuit is modular and scalable due to the reference/data-spike concept (like PWM signaling), and synchronous operation is readily achievable with local frequency-multiplying PLLs (Phase-Locked Loops) for spike/PWM generation/detection in the transmitter and receiver. The receiver outputs directly provide two's-complement data due to LUT-based multiplication, whereby no data format conversion is required. This embodiment thus offers an efficient, fully digital realization of TTS-encoded SNNs. Close approximation of the performance offered by non-spiking artificial neural networks is readily achievable.
[0050]
TH=Σ.sub.pw.sub.ip(t.sub.i−t.sub.p)H(t.sub.i−t.sub.p), 0≤t<T′, Formula 9:
[0051] where TH is the firing threshold, w.sub.ip are the synaptic weights for incoming links, and H(t) is the Heaviside function. If no solution exists for t.sub.i, the neuron spikes at time t=T′ with probability P∈[0,1]. The time at which the states of neurons n.sub.k, n.sub.j and n.sub.i reach the threshold TH determines a corresponding time interval (denoted by X.sub.k, X.sub.j and X.sub.i respectively in the upper left corner of the figure) associated with output spike signals generated by each neuron in each of successive time periods T′, where T′ denotes the maximum value of the (non-leaky) integration time to complete one iteration of neuron operation. Thus, as shown in the upper timeline in the figure, neuron n.sub.k generates a spike signal at time t.sub.k, after time interval X.sub.k, when its membrane potential V.sub.k traverses the threshold TH. Similarly, neuron n.sub.j generates a spike signal at time t.sub.j, after time interval X.sub.j, when its membrane potential V.sub.j traverses the threshold. As before, if the values of synaptic weights w.sub.ik and w.sub.ij are not known at receiving neuron n.sub.i, then these values can be conveyed by respective pulse signals indicated by spike trains s.sub.k and s.sub.j. The state of the receiving neuron n.sub.i is determined by signals received on its incoming links during the time period T′. This neuron generates an output signal during that time period, after a time interval X.sub.i, when its membrane potential V.sub.i traverses TH. Again, the weight w.sub.pi associated with an outgoing link of neuron n.sub.i can be conveyed by a spike train s.sub.i if not known at a receiving neuron n.sub.p.
[0052] Calculation of the membrane potential V.sub.i of neuron n.sub.i during a time period T′ is illustrated in the lower timeline of
V.sub.i=(t−X.sub.j)H(t−X.sub.j)w.sub.ij+(t−X.sub.k)H(t−X.sub.k)w.sub.ik Formula 10:
[0053] as represented by the bold line in the figure. The neuron fires during T′ if V.sub.i reaches TH, otherwise if fires at t=T′ with probability P. If P=0, the neuron remains silent.
[0054] Neurons 2 for implementing the TTFS encoding scheme are described below with reference to
[0055]
[0056] In this embodiment, the digital integrator 30 comprises concatenated counters, namely a weight counter 35 and an integration counter 36. Link weights w.sub.ij for this implementation are stored in the form of 6-bit values W.sub.j=(w.sub.max−w.sub.ij), where w.sub.max is a predefined maximum value, and are represented in sign-magnitude format, i.e., W.sub.j(sign bit, w[0,5]). On detection of a spike on an incoming link, spike detector 15 closes the switch so that the master clock edges are fed to weight counter 35. (Because TTFS relies on a single spike, any propagation delay differences between incoming links can be mitigated via an adjustable timing offset, indicated as analog fine timing offset 37 and digital coarse timing offset 38 in the figure). The weight counter 35 comprises a 6-bit counter 40 which provides output bits c[0] to c[5] to combinatorial logic 41 which also receives the weight bits w[0,5]. The combinatorial logic 41 generates an output pulse whenever the count c[0] to c[5] reaches the weight value w[0,5]. This pulse is supplied to integration counter 36, and resets the counter 40 which starts counting again. The pulses from weight counter 35 thus define the update rate of integration counter 36.
[0057] Integration counter 36 comprises a 10-bit counter 43 which is progressively incremented to perform the integration, i.e., to calculate p.sub.j(t)=w.sub.j*(t−X.sub.j), t>X.sub.j. The integrator count value p.sub.j(t) can be positive or negative depending on the sign bit of W.sub.j which is supplied to combinatorial logic 44 of integration counter 36. The combinatorial logic 44 provides the integrator count value in CSA format as a sum vector (sum[0,10]) and a carry vector (carry[0,10]). A negative value is generated by a bit inversion of the output of counter 43 in conjunction with addition of a logical 1 in the carry vector. Optional coarse timing adjustment is applied at CSA adder block 38, and the resulting weighted signal w.sub.j*(t−X.sub.j), t>X.sub.j, is output in CSA format to summation logic 31.
[0058] The summation logic 31 comprises a carry-save adder tree followed by a ripple-carry adder (e.g., a Kogge-Stone adder) which sums the integrator outputs from all incoming links and supplies the resulting accumulated signal S.sub.ACC to the comparator 32. If S.sub.ACC traverses the threshold TH, the comparator outputs a global reset signal to reset all counters in integrator 30. The comparator output is also supplied to a transmitter, in the form of spike generator 33, which then generates a spike signal on outgoing links of the neuron.
[0059] The integration operation in the
[0060]
[0061] The embodiments of
[0062] The TTFS embodiments described are also readily reconfigurable for TTS encoding as illustrated in
[0063] Selective operation in both TTFS and TTS modes is an extremely attractive option for SNN implementations. TTS embodiments are well-suited to efficient implementation of iterative algorithms, e.g., message passing algorithms, using non-local timing reference, or classification algorithms, where a continuous stream of input data, e.g., images, needs to be processed. TTFS embodiments are well-suited to low-latency classification algorithms, where the neuron corresponding to the correct class fires first among the output layer neurons. Providing both options in a single SNN implementation is thus highly advantageous.
[0064] While the detailed operation has been described assuming that weights are known at the receiver, the embodiments above can be readily adapted to accommodate transmission of weight values via the weight signals shown in
[0065] Embodiments can also be adapted to implement a so-called “leaky neuron” circuit, whereby the neuron membrane potential decays with time according to some predetermined function. This is illustrated schematically in
[0066] Various other changes and modifications can of course be made to the embodiments described above. Also, where features are described herein with reference to a neuron embodying the invention, corresponding features may be provided in SNN apparatus employing such neurons.
[0067] The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. 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 terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
[0068]
[0069] The computer 1810 may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. The method steps and system components and techniques may be embodied in modules of the program 1860 for performing the tasks of each of the steps of the method and system. The modules are generically represented as program modules 1864. The program 1860 and program modules 1864 can execute specific steps, routines, sub-routines, instructions, or code, of the program.
[0070] Embodiments of the present disclosure can be run locally on a device such as a mobile device, or can be run a service, for instance, on the server 1900 which may be remote and can be accessed using the communications network 2000. The program or executable instructions may also be offered as a service by a provider. The computer 1810 may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network 2000. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
[0071] More specifically, the system 1800 includes the computer system 1810 shown in the form of a general-purpose computing device with illustrative periphery devices. The components of the computer system 1810 may include, but are not limited to, one or more processors or processing units 1820, a system memory 1830, and a bus 1814 that couples various system components including system memory 1830 to processor 1820.
[0072] The bus 1814 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
[0073] The computer 1810 can include a variety of computer readable media. Such media may be any available media that is accessible by the computer 1810 (e.g., computer system, or server), and can include both volatile and non-volatile media, as well as removable and non-removable media. Computer memory 1830 can include additional computer readable media 1834 in the form of volatile memory, such as random-access memory (RAM), and/or cache memory 1838. The computer 1810 may further include other removable/non-removable, volatile/non-volatile computer storage media, in one example, portable computer readable storage media 1872. In one embodiment, the computer readable storage medium 1850 can be provided for reading from and writing to a non-removable, non-volatile magnetic media. The computer readable storage medium 1850 can be embodied, for example, as a hard drive. Additional memory and data storage can be provided, for example, as the storage system 1910 (e.g., a database) for storing data 1914 and communicating with the processing unit 1820. The database can be stored on or be part of a server 1900. Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 1014 by one or more data media interfaces. As will be further depicted and described below, memory 1030 may include at least one program product which can include one or more program modules that are configured to carry out the functions of embodiments of the present invention.
[0074] The method of the present invention, for example, may be embodied in one or more computer programs, generically referred to as a program 1860 and can be stored in memory 1830 in the computer readable storage medium 1850. The program 1860 can include program modules 1864. The program modules 1864 can generally carry out functions and/or methodologies of embodiments of the invention as described herein. The program 1860 may be the keyword system or the natural language processing system. The one or more programs 1860 are stored in memory 1830 and are executable by the processing unit 1820. By way of example, the memory 1830 may store an operating system 1852, one or more application programs 1854, other program modules, and program data on the computer readable storage medium 1850. It is understood that the program 1060, and the operating system 1852 and the application program(s) 1854 stored on the computer readable storage medium 1850 are similarly executable by the processing unit 1820.
[0075] The computer 1810 may also communicate with one or more external devices 1874 such as a keyboard, a pointing device, a display 1880, etc.; one or more devices that enable a user to interact with the computer 1810; and/or any devices (e.g., network card, modem, etc.) that enables the computer 1810 to communicate with one or more other computing devices. Such communication can occur via the Input/Output (I/O) interfaces 1822. Still yet, the computer 1810 can communicate with one or more networks 2000 such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter/interface 1826. As depicted, network adapter 1826 communicates with the other components of the computer 1810 via bus 1814. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with the computer 1810. Examples, include, but are not limited to microcode, device drivers 1824, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
[0076] It is understood that a computer or a program running on the computer 1810 may communicate with a server, embodied as the server 1100, via one or more communications networks, embodied as the communications network 2000. The communications network 2000 may include transmission media and network links which include, for example, wireless, wired, or optical fiber, and routers, firewalls, switches, and gateway computers. The communications network may include connections, such as wire, wireless communication links, or fiber optic cables. A communications network may represent a worldwide collection of networks and gateways, such as the Internet, that use various protocols to communicate with one another, such as Lightweight Directory Access Protocol (LDAP), Transport Control Protocol/Internet Protocol (TCP/IP), Hypertext Transport Protocol (HTTP), Wireless Application Protocol (WAP), etc. A network may also include a number of different types of networks, such as, for example, an intranet, a local area network (LAN), or a wide area network (WAN).
[0077] In one example, a computer can use a network which may access a website on the Web (World Wide Web) using the Internet. In one embodiment, a computer 1810, including a mobile device, can use a communications system or network 2000 which can include the Internet, or a public switched telephone network (PSTN) for example, a cellular network. The PSTN may include telephone lines, fiber optic cables, microwave transmission links, cellular networks, and communications satellites. The Internet may facilitate numerous searching and texting techniques, for example, using a cell phone or laptop computer to send queries to search engines via text messages (SMS), Multimedia Messaging Service (MMS) (related to SMS), email, or a web browser. The search engine can retrieve search results, that is, links to websites, documents, or other downloadable data that correspond to the query, and similarly, provide the search results to the user via the device as, for example, a web page of search results.
[0078] The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
[0079] The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
[0080] Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
[0081] Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
[0082] Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
[0083] These computer readable program instructions may be provided to a processor of a general-purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
[0084] The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
[0085] The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.