Optical character recognition (OCR) systems are generally used to detect text present in an image and to convert the detected text into its equivalent electronic representation. Conventional OCR systems have relied on using a single image to detect and recognize text. Such OCR systems, when using a single image frame, often fail to recognize all text in the image as a result of poor lighting, contrast, focus conditions, and the like. Further, OCR systems typically require a minimum character size in order for the text to be properly recognized. Due to limited camera resolution, this means that many real-world documents, or other bodies of text, are too voluminous to be captured in a single image frame at a character size sufficiently large enough to be recognized by an OCR system. As technology advances and as people are increasingly using computing devices in a wider variety of ways, it can, therefore, be advantageous to adapt the ways in which text is captured, recognized, and processed using a computing device in order to enable users to capture and recognize larger bodies of text with the same.
Various embodiments in accordance with the present disclosure will be described with reference to the drawings, in which:
Systems and methods in accordance with various embodiments of the present disclosure may overcome one or more of the aforementioned and other deficiencies experienced in conventional approaches to recognizing text using a computing device. In particular, various approaches enable a computing device to track and store results from an optical character recognition (OCR) engine over time as OCR results from subsequent images are collected. These OCR results can then be aggregated together in order to piece together a larger and more accurate digital representation of a large volume of real-world text than can be captured in a single image.
As discussed herein, text aggregation uses OCR results from multiple frames (such as consecutive frames or every nth frame) in order to stitch together (or otherwise aggregate information from) newly scanned or captured areas of a document or other group of text, while additionally improving the accuracy of results in overlapping regions that appear in more than one image frame. In one example, while (or shortly after) the frames are being captured, text in at least one respective image is analyzed. In at least one embodiment, a text canvas (e.g., a digital representation of text) can initially be generated from OCR results of a first portion of a body of text captured in a first image. As used herein, the phrase “text canvas” refers to a digital representation (e.g., data, information, etc.) of one or more characters or glyphs corresponding to text recognized by a given OCR engine. Accordingly, text from subsequent images of different portions of the body of text can be submitted for text recognition as each subsequent image is captured. For example, recognized text from a second image, subsequent to the first image, corresponding to a second portion of the body of text can be analyzed using an algorithm (e.g., a RANdom SAmple Consensus (RANSAC) algorithm, etc.) to identify pairs of corresponding words in the recognized text of the first portion and the recognized text of the second portion. Upon identifying a minimum number of matching pairs, a mapping between the first portion and the second portion can be determined using a mapping technique (e.g., affine transform, projective homography, etc.) based at least in part on a geometric correspondence between respective identified pairs of corresponding words. Based on this mapping, the recognized text of the second portion can be merged with the text canvas by adding words from the second portion to the text canvas using the matching word pairs as alignment data points.
Further, each word or text canvas element can contain a map of unique text strings that have appeared in a respective location over time (e.g., for each image), therefore, the words of the text canvas in overlapping regions of adjacent images (e.g., where the first portion overlaps the second portion) can be verified for accuracy. Accordingly, the techniques described herein provide more accurate text recognition than systems based on a single image. Further, the techniques described herein provide the ability to scan and recognize text of large documents, which do not fit in the view of a single image.
Various other functions and advantages are described and suggested below as may be provided in accordance with the various embodiments.
In
Further, with respect to
In this example, detecting text in the image can include locating regions of extremes (e.g., regions of sharp transitions between pixel values) such as the edges of letters. The regions of extremes, or the maximally stable extremal regions (MSERs), can be extracted and analyzed to detect characters, where the detected characters can be connected and aggregated 304. An extremal region can be a set of connected pixels which have grayscale values above some threshold, and where the size of the region does not change significantly when the threshold is varied over some range. In addition to being stable, the regions can contain most of the edge intensity found by computing a gradient image beforehand. Regions that either have too many or too few pixels, and any MSER whose aspect ratio is too different from normal text or which has more than three child regions, can be ignored.
Text detection in an image can include performing glyph detection on the captured image. The image can be separated into regions of similar grayscale values that fall within predefined size constraints called glyphs. Glyph classification can then be performed, where any glyphs that are not characters are removed using machine learning algorithms or other similar algorithms 306. Pair finding/word finding can then be performed, where the glyphs are grouped into words and lines, and baseline estimation can then be performed on the words and lines to estimate lines for the top and bottom points on the words. Word splitting can then be performed, where the spaces between the glyphs can be examined to decide word boundaries used for evaluation or display purposes.
In accordance with an embodiment, glyph classification can further include extracting features from each MSER, the features including: Bounding Box Aspect Ratio (width over height); Compactness (4 pi times area over perimeter squared); Raw Compactness (4 pi times number of pixels over perimeter squared); Stroke Width (estimated using distance transform) divided by width; Stroke Width (estimated using distance transform) divided by height; Solidity (area over bounding box area); Convexity (convex hull perimeter over perimeter); Number of Holes (e.g., a ‘b’ has 1 hole, a ‘B’ has 2 holes, a ‘T’ has 0 holes). A fixed set of features can be selected and used to train a classifier using a machine learning algorithm such as a support vector machines (SVM) or AdaBoost. A classifier can be used to reject most non-characters from the list of characters, and an operating point on the receiver operating characteristic (ROC) curve can be chosen so that most characters are detected (ie. a low false negative rate), but with a high false positive rate. Further, pair finding can also include sorting the remaining glyphs (MSERs which appear to be characters) left to right, and all pairs which pass a test can be considered a possible character pair. The test compares the distance between glyphs, vertical overlap of two glyphs, their relative height, width, stroke width, and intensity.
In this example, a text line algorithm can be used to determine an orientation of connected characters 308. Once an orientation of the characters is determined, a binary mask of the region containing the characters can be extracted 310. The binary mask can be converted into a black white representation, where the regions are binarized to produce a crisp mask which can include any punctuation that may have been filtered out earlier due to the minimum size constraint. Thereafter, the region of binarized text or binary mask can be, in this example, compressed into a PNG file 312. Accordingly, after compression, the PNG file can be communicated to a remote server to be processed by an OCR engine or, alternatively, the OCR engine could reside locally on the portable computing device 314.
Detecting text in an image can include more or fewer steps as described above and this method can be performed on each image frame (or every nth frame) upon being captured in a frame-to-frame tracking mode. As a result, many images are captured, resulting in many OCR outputs. In this example, text aggregation uses these OCR results in an attempt to stitch together newly scanned areas of a document, while improving the recognized results of overlapping regions 316. Accordingly, text output or feedback can be provided to the user 318. In this example, the aggregated text can be displayed to the user or feedback can be provided to guide or instruct the user to perform actions to increase the quality of the aggregated text output. For example, the feedback can be provided in a form that instructs a user to make additional passes over certain text regions in order to improve recognition results or system confidence associated with text in those regions. Alternatively, the feedback can be provided the form of real-time recognition results, thereby, enabling the user to visually identify errors or discrepancies (i.e., between the scanned text and corresponding output) and rescan (i.e., move the computing device such that the field of view of the camera captures additional image information) of the region(s) containing these errors or discrepancies. Additionally, the output could be provided in a text tool, enabling the user to edit, copy, paste, search the aggregated text, for example, among other such features.
Accordingly,
In at least one embodiment, merging the second image with the text canvas can include identifying pairs of corresponding words between the text canvas and the second image. New text strings from the second image (i.e., strings not present in the first image) can be added to the text canvas using the identified pairs (e.g., bounding boxes of the identified pairs) as alignment points. In this example, the text canvas and the second image have three lines of text in common and, therefore, many identifiable corresponding pairs. However, not all of these pairs may be initially considered a corresponding pair. For example, “sail” 502b, if initially correctly recognized in the second image, will not match misspelled word 502a which is “5ail”. Accordingly, locations (e.g., as identified by their respective bounding boxes) known to contain text (i.e., a text string or individual text character) in both the text canvas and the second image that do not match, can be combined along with their respective confidence scores in order to increase the chances of determining the correct string or character, respectively. This process will be discussed later in more detail below.
Accordingly, as a result of the second image being merged with the text canvas in second iteration 500b, misspelled word 502a or “5ail” has been corrected to “sail” 502b, misspelled word 506a or “vvil” has been correct to “will”, and hole 504a has been filled with word 504b or “western”, as shown in
Text canvas manager 604 handles the incoming events 602, manages, and tracks text canvases (606a, 606b, 606c, . . . 606n). At any given time, there can only be one current text canvas and previous text canvases (e.g., previous OCR scans) can be stored for future redetection and possible aggregation into a stored text canvas. For example, if a user scans a page of a book followed by a business card, the user can go back to the book page and pick up where they left off (e.g., retrieving a stored text canvas).
Once a threshold number of corresponding pairs between the two lists has been identified, a weighted algorithm (e.g., RANSAC, etc.) analyzes both the text canvas and the new OCR result to find a mapping between the same 704. In at least one embodiment, the text canvas and the new OCR result are analyzed in an attempt to identify an affine mapping, however, any mapping, such as projective homography and the like, could also be used. In at least one embodiment, a number of randomly selected points sufficient to solve the mapping are chosen for each iteration of the weighted algorithm.
Accordingly, a score for the current mapping can be calculated by summing up all the weights of the corresponding word pairs by string lengths that overlap with the current mapping. At the end of a fixed number of iterations, the mapping that results in the highest score is chosen. The resulting mapping often has a significant impact on updated text canvas element locations for the current text canvas. This step, therefore, can correct for tracker drift or errors if any are present. This mapping can also send a signal to the tracker that the track has been corrected, which could in turn help other tracking functionality and better updated other tracked objects.
For example, three random words can be used to calculate an affine mapping. After applying the mapping to place the text canvas on top of the new OCR result, the following words from each word list line up:
Back-Back (length—4 characters)
The-The (length—3 characters)
Prudence-Prudence (length—8 characters)
In one example, the weighted score could sum the string length of each matching pair (i.e., 4+3+8=15). In some cases, however, a suitable mapping (i.e., above a threshold number of corresponding word pairs) may not be available as a result of little to no overlapping words, such as if the computing device has moved significantly from the last OCR result. In this case, no mapping is applied and the new OCR result is merged with the current text canvas without determining a mapping between the same. In some instance, this can be perfectly fine, since the tracking algorithm may not experience or generate any errors consequence and any errors that do result from the same can be corrected by subsequent OCR results.
When an appropriate mapping is determined between the current text canvas and the new OCR result, the two entities (e.g., corresponding word/text string pairs for a respective location) are then merged 706. In this step, each word from the new OCR result is added to the current text canvas if a respective word does not overlap with any other current text canvas elements (e.g., words). If a new word does overlap with current text canvas element (e.g., according to a determined overlap threshold), then the word is merged into the respective text canvas element. For a respective text canvas element location (e.g., bounding box), information for character strings that have occurred in that respective location are stored along with their corresponding OCR confidence scores. Accordingly, at the end of a respective scanning period, each text canvas element may contain a sum of scores for each character string that has appeared in a respective location. For example, a respective text canvas element location could have seen the following character strings from six OCR results (words and corresponding scores from six images):
‘Chowder’: 100
‘Chow’: 40
‘Chowder’: 60
‘Cowder’: 30
‘Chowder’: 120
‘Chowder’: 110
The scores for each unique character string can be summed, resulting in the following map:
‘Chowder’ >390
‘Chow’ >40
‘Cowder’ >30
Accordingly, ‘Chowder’ has the highest score among these six results.
Other factors for determining an appropriate word/text string for a respective text canvas element can also be used independently or in conjunction with the word scoring method described above. For example, a respective text canvas element can be determined simply based on confidence score returned by OCR, a number of times a respective word appears in a respective location, the length of a respective text string, and the like. Further, other factors may also be used to boost or incrementally increase a confidence for a respective word. For example, a respective confidence score may be increased if a respective word is recognized as a known or classified text entity (e.g., having a defined character structure, such as a phone number, email address, URL, etc.). The confidence score for a word could also be affected by the word's respective location in a particular image. For example, words near the center of a particular image could have their confidence scores boosted relative to words near the image's edges. The confidence scores of words at the center could be increased while the confidence scores of words near the edges are kept constant. The confidence scores of words near the edges of a particular image could also be decreased while the confidence scores of words near the center of the image are kept constant. Further, the confidence scores for words in an image could be increased, decreased, or both as a function of location with the center being associated with relatively higher confidence scores and the edges being associated with relatively lower confidence scores. Additionally, each recognized word could be compared to a dictionary and the confidence scores of words recognized in the text that are found in the dictionary can be boosted.
In this example, after the current text canvas and the new OCR result have merged, words being added to the text canvas are selected 708. Each text canvas element contains a map of all of the unique strings it has seen over time (i.e., for each image or merged image information instance) and their summed scores. In one example, the string with the highest score can be chosen to represent the word in a respective location in the text canvas. Alternatively, each of the character stings can be optimized at the character level. First, multiple strings are incrementally aligned to build a transition network using dynamic programming. Then, the candidate with the highest count is selected for each character in the network. The following is an example of alignment and “*” means a NULL character:
Candidate 1: *****//www.abc12B.com
Candidate 2: http*********************
Candidate 3: http*//www.abc123.com
Candidate 4: http://www.abo123.com
In this example, the final result is http://www.abc123.com, which fixes errors in each of the four candidates.
After the new OCR result is merged into the current text canvas, the bounding boxes for each text canvas element are aligned to have the same orientation 710. In at least one embodiment, this step can be optional, since all of the text is assumed to already be oriented in the same direction. In this example, the bounding box orientation of the new OCR result can be used and all other bounding boxes are analyzed to ensure that they are oriented in the same direction.
Accordingly, when there is not a current text canvas or a new document is being scanned for the first time, a new text canvas will be generated initially from the first OCR result of the new document (i.e., first frame captured of the new document). Instead of always starting with a new text canvas, the newly generated text canvas can be compared to stored text canvases to determine whether the newly generated text canvas is part of a text canvas stored in memory, such as if the user had started a scan, did not finish, and later came back to complete the same. In order to determine whether the newly generated text canvas is part of a text canvas stored in memory, the stitching algorithm mentioned above is run on each previous text canvases. If one of the resulting mapping scores is above a threshold, then the new text canvas is identified as part of a previous text canvas stored in memory and the two text canvases are merged together. This can be especially helpful when a track is lost while a user is scanning a body of text, such as if they were interrupted. In such a case, redetect can identify that a new text canvas as a pervious text canvas and pick up where the user left off, instead of starting over from the beginning.
In at least one embodiment, words near an edge of an image or OCR result frame can be disregarded or omitted from consideration. For example, if a frame is centered in on a paragraph of text that includes a sentence, such as “Colorful clay is often one floor above you,” the edges of the sentence could be clipped to “orful clay is often one flo,” as a result of each end of the sentence lying outside of the image frame. In order to prevent clipped character stings from being consider and, thereby, effecting the resulting text canvas, each word in an OCR result can be analyzed to identify words with bounding boxes within a determined distance of an edge of a respective image frame. Accordingly, having identified a set of words near the frame edge, he confidence scores for these words can be penalized to decrease the chances of incomplete or clipped words being chosen over the respective full and correct words.
In at least one embodiment, the text aggregator described herein can make use of a frame-to-frame tracking algorithm, which keeps track of mappings between frames over time. This mapping enables the locations of text canvas elements to be updated for a current frame as each new OCR result is obtained. The tracking algorithm can also indicate that a current tracking of element has been lost and a detection continuity of elements between frames has been interrupted, which may result when there is too much motion between image frames, such as if the user has moved the computing device to a new location. Upon losing track, the current text canvas can be automatically saved, however, no current text canvas exists any longer until a new OCR result is obtained to generated a new text canvas.
As a document is scanned, a current text canvas is generated. In the simplest form, the text canvas consists of words inside of bounding boxes floating in a two-dimensional (2D) space with respect to a camera input screen. There are many ways to convey this information to an end user. In one example, the output displayed on the display screen does not include any relational information between each of the words or text canvas elements. Also, some of the words off of the screen (not shown) can be aggregated from previous OCR results, as discussed herein. In another example, the bounding boxes and words therein could be displayed to a user as each word is scanned and recognized in real-time. This would enable the user to be provided with almost instant feedback regarding accuracy and the like. Further, the floating text could be displayed in a variety of colors, fonts, or animations to, in at least one implementation, differentiate the floating text from the image or to represent the confidence level the algorithm has in the recognized text being displayed to the user.
In at least one embodiment, the layout of the scanned text can be recreated or reproduced and presented to the user for further use or interaction.
Accordingly, text of the body of text captured within the first portion is recognized using an OCR engine 1104. In this example, a text canvas is generated using the recognized from the first image if the recognized text does not match any existing text canvas stored either on the computing device or remotely on a server. In this example, a second image of a second portion of the body of text is obtained 1106. The second image, in this example, includes an overlapping portion where the second image partially overlaps the first portion of the first image. The overlapping portion includes words of text that is common to both the first image and the second image.
In this example, text of the body of text captured within the second portion is recognized using an OCR engine 1108. The recognized text from the first image and the recognized text of the second image are then compared to identify pairs of corresponding words in the overlapping portion that appear in each image 1110. Once a threshold number of corresponding pairs has been identified, an algorithm (i.e., RANSAC, etc.) analyzes both the OCR results of the first portion and the second portion to determine a mapping between the same. Accordingly, the recognized text of the second portion is merged with the recognized text of the first portion according to the determined mapping 1112.
In this example, a user is able to utilize client computing device 1202, such as a personal computer, tablet computer, smart phone, and the like, to access an Optical Character Recognition system or service 1206 over at least one appropriate network 1204, such as a cellular network, the Internet, or another such network for communicating digital information. Computing device 1202 can capture one or more images (or video) of text and send the images to Optical Character Recognition system or service 1206 over at least one appropriate network 1204. Optical Character Recognition system 1206 includes an image-processing module 1208 that can apply different operators or techniques to pre-process the images before submitting the images to one or more optical character recognition modules 1210. Examples of the operators include a Laplacian-or-Gaussian filter, thresholding filters, and so forth, which enhance or mitigate different characteristics of the images. Examples of these characteristics include intensity, blurriness, and so forth. After pre-processing, the one or more recognition engines of the optical character recognition module 1210 concurrently recognizes text from the image to produce multiple recognized text outputs. In at least one embodiment, a processor can analyze the recognized text using a database 1212 of words in order to improve the recognition. The database 1212 includes a set of words which the processor can search for matches corresponding to words present in the recognized text. At least a portion of these tasks can be performed on a portable computing device or by using at least one resource available across a network as well. In at least some embodiments, an OCR application will be installed on the computing device 1202, such that much of the processing, analyzing, or other such aspects can be executed on the computing device. Various processing steps can be performed by the computing device 1202, by the Optical Character Recognition system 1206, or a combination thereof. Therefore, it should be understood that the components and capabilities of the Optical Character Recognition system 1206 could wholly or partly reside on the computing device 1202.
Computing device 1300 has a display screen 1302 (e.g., an LCD element) operable to display information or image content to one or more users or viewers of the device. The display screen of some embodiments displays information to the uses facing the display screen (e.g., on the same side of the computing device as the display screen). The computing device in this example can include one or more imaging elements, in this example including two image capture elements 1304 on the front of the device and at least one image capture element 1310 on the back of the device. It should be understood, however, that image capture elements could also, or alternatively, be placed on the sides or corners of the device, and that there can be any appropriate number of capture elements of similar or different types. Each image capture element 1304 and 1310 may be, for example, a camera, a charge-coupled element (CCD), a motion detection sensor or an infrared sensor, or other image capturing technology.
As discussed, the device can use the images (e.g., still or video) captured from the imaging elements 1304 and 1310 to generate a three-dimensional simulation of the surrounding environment (e.g., a virtual reality of the surrounding environment for display on the display element of the device). Further, the device can utilize outputs from at least one of the image capture elements 1304 and 1310 to assist in determining the location and/or orientation of a user and in recognizing nearby persons, objects, or locations. For example, if the user is holding the device, the captured image information can be analyzed (e.g., using mapping information about a particular area) to determine the approximate location and/or orientation of the user. The captured image information may also be analyzed to recognize nearby persons, objects, or locations (e.g., by matching parameters or elements from the mapping information).
The computing device can also include at least one microphone or other audio capture elements capable of capturing audio data, such as words spoken by a user of the device, music being hummed by a person near the device, or audio being generated by a nearby speaker or other such component, although audio elements are not required in at least some devices. In this example there are three microphones, one microphone 1308 on the front side, one microphone 1312 on the back, and one microphone 1306 on or near a top or side of the device. In some devices there may be only one microphone, while in other devices there might be at least one microphone on each side and/or corner of the device, or in other appropriate locations.
The device 1300 in this example also includes one or more orientation- or position-determining elements 1318 operable to provide information such as a position, direction, motion, or orientation of the device. These elements can include, for example, accelerometers, inertial sensors, electronic gyroscopes, and electronic compasses.
The example device also includes at least one communication mechanism 1314, such as may include at least one wired or wireless component operable to communicate with one or more electronic or computing devices. The device also includes a power system 1316, such as may include a battery operable to be recharged through conventional plug-in approaches, or through other approaches such as capacitive charging through proximity with a power mat or other such element. Various other elements and/or combinations are possible as well within the scope of various embodiments.
The device typically will include some type of display element 1406, such as a touch screen, electronic ink (e-ink), organic light emitting diode (OLED) or liquid crystal display (LCD), although devices such as portable media players might convey information via other means, such as through audio speakers.
As discussed, the device in many embodiments will include at least one imaging element 1408, such as one or more cameras that are able to capture images of the surrounding environment and that are able to image a user, people, or objects in the vicinity of the device. The image capture element can include any appropriate technology, such as a CCD image capture element having a sufficient resolution, focal range, and viewable area to capture an image of the user when the user is operating the device. Methods for capturing images using a camera element with a computing device are well known in the art and will not be discussed herein in detail. It should be understood that image capture can be performed using a single image, multiple images, periodic imaging, continuous image capturing, image streaming, etc. Further, a device can include the ability to start and/or stop image capture, such as when receiving a command from a user, application, or other device.
The example computing device 1400 also includes at least one orientation determining element 1410 able to determine and/or detect orientation and/or movement of the device. Such an element can include, for example, an accelerometer or gyroscope operable to detect movement (e.g., rotational movement, angular displacement, tilt, position, orientation, motion along a non-linear path, etc.) of the device 1400. An orientation determining element can also include an electronic or digital compass, which can indicate a direction (e.g., north or south) in which the device is determined to be pointing (e.g., with respect to a primary axis or other such aspect).
As discussed, the device in many embodiments will include at least a positioning element 1412 for determining a location of the device (or the user of the device). A positioning element can include or comprise a GPS or similar location-determining elements operable to determine relative coordinates for a position of the device. As mentioned above, positioning elements may include wireless access points, base stations, etc. that may either broadcast location information or enable triangulation of signals to determine the location of the device. Other positioning elements may include QR codes, barcodes, RFID tags, NFC tags, etc. that enable the device to detect and receive location information or identifiers that enable the device to obtain the location information (e.g., by mapping the identifiers to a corresponding location). Various embodiments can include one or more such elements in any appropriate combination.
As mentioned above, some embodiments use the element(s) to track the location of a device. Upon determining an initial position of a device (e.g., using GPS), the device of some embodiments may keep track of the location of the device by using the element(s), or in some instances, by using the orientation determining element(s) as mentioned above, or a combination thereof. As should be understood, the algorithms or mechanisms used for determining a position and/or orientation can depend at least in part upon the selection of elements available to the device.
The example device also includes one or more wireless components 1414 operable to communicate with one or more electronic or computing devices within a communication range of the particular wireless channel. The wireless channel can be any appropriate channel used to enable devices to communicate wirelessly, such as Bluetooth, cellular, NFC, or Wi-Fi channels. It should be understood that the device can have one or more conventional wired communications connections as known in the art.
The device also includes a power system 1416, such as may include a battery operable to be recharged through conventional plug-in approaches, or through other approaches such as capacitive charging through proximity with a power mat or other such component. Various other elements and/or combinations are possible as well within the scope of various embodiments.
In some embodiments the device can include at least one additional input element 1418 able to receive conventional input from a user. This conventional input can include, for example, a push button, touch pad, touch screen, wheel, joystick, keyboard, mouse, keypad, or any other such component or element whereby a user can input a command to the device. These I/O elements could even be connected by a wireless infrared or Bluetooth or other link as well in some embodiments. Some devices also can include a microphone or other audio capture element that accepts voice or other audio commands. For example, a device might not include any buttons at all, but might be controlled only through a combination of visual and audio commands, such that a user can control the device without having to be in contact with the device.
As discussed, different approaches can be implemented in various environments in accordance with the described embodiments. For example,
The illustrative environment includes at least one application server 1508 and a data store 1510. It should be understood that there can be several application servers, layers or other elements, processes or components, which may be chained or otherwise configured, which can interact to perform tasks such as obtaining data from an appropriate data store. As used herein, the term “data store” refers to any device or combination of devices capable of storing, accessing and retrieving data, which may include any combination and number of data servers, databases, data storage devices and data storage media, in any standard, distributed or clustered environment. The application server 1508 can include any appropriate hardware and software for integrating with the data store 1510 as needed to execute aspects of one or more applications for the client device and handling a majority of the data access and business logic for an application. The application server provides access control services in cooperation with the data store and is able to generate content such as text, graphics, audio and/or video to be transferred to the user, which may be served to the user by the Web server 1506 in the form of HTML, XML or another appropriate structured language in this example. The handling of all requests and responses, as well as the delivery of content between the client device 1502 and the application server 1508, can be handled by the Web server 1506. It should be understood that the Web and application servers are not required and are merely example components, as structured code discussed herein can be executed on any appropriate device or host machine as discussed elsewhere herein.
The data store 1510 can include several separate data tables, databases or other data storage mechanisms and media for storing data relating to a particular aspect. For example, the data store illustrated includes mechanisms for storing content (e.g., production data) 1512 and user information 1516, which can be used to serve content for the production side. The data store is also shown to include a mechanism for storing log or session data 1514. It should be understood that there can be many other aspects that may need to be stored in the data store, such as page image information and access rights information, which can be stored in any of the above listed mechanisms as appropriate or in additional mechanisms in the data store 1510. The data store 1510 is operable, through logic associated therewith, to receive instructions from the application server 1508 and obtain, update or otherwise process data in response thereto. In one example, a user might submit a search request for a certain type of item. In this case, the data store might access the user information to verify the identity of the user and can access the catalog detail information to obtain information about items of that type. The information can then be returned to the user, such as in a results listing on a Web page that the user is able to view via a browser on the user device 1502. Information for a particular item of interest can be viewed in a dedicated page or window of the browser.
Each server typically will include an operating system that provides executable program instructions for the general administration and operation of that server and typically will include computer-readable medium storing instructions that, when executed by a processor of the server, allow the server to perform its intended functions. Suitable implementations for the operating system and general functionality of the servers are known or commercially available and are readily implemented by persons having ordinary skill in the art, particularly in light of the disclosure herein.
The environment in one embodiment is a distributed computing environment utilizing several computer systems and components that are interconnected via communication links, using one or more computer networks or direct connections. However, it will be appreciated by those of ordinary skill in the art that such a system could operate equally well in a system having fewer or a greater number of components than are illustrated in
The various embodiments can be further implemented in a wide variety of operating environments, which in some cases can include one or more user computers or computing devices which can be used to operate any of a number of applications. User or client devices can include any of a number of general purpose personal computers, such as desktop or laptop computers running a standard operating system, as well as cellular, wireless and handheld devices running mobile software and capable of supporting a number of networking and messaging protocols. Such a system can also include a number of workstations running any of a variety of commercially-available operating systems and other known applications for purposes such as development and database management. These devices can also include other electronic devices, such as dummy terminals, thin-clients, gaming systems and other devices capable of communicating via a network.
Most embodiments utilize at least one network that would be familiar to those skilled in the art for supporting communications using any of a variety of commercially-available protocols, such as TCP/IP, OSI, FTP, UPnP, NFS, CIFS and AppleTalk. The network can be, for example, a local area network, a wide-area network, a virtual private network, the Internet, an intranet, an extranet, a public switched telephone network, an infrared network, a wireless network and any combination thereof.
In embodiments utilizing a Web server, the Web server can run any of a variety of server or mid-tier applications, including HTTP servers, FTP servers, CGI servers, data servers, Java servers and business application servers. The server(s) may also be capable of executing programs or scripts in response requests from user devices, such as by executing one or more Web applications that may be implemented as one or more scripts or programs written in any programming language, such as Java®, C, C# or C++ or any scripting language, such as Perl, Python or TCL, as well as combinations thereof. The server(s) may also include database servers, including without limitation those commercially available from Oracle®, Microsoft®, Sybase® and IBM®.
The environment can include a variety of data stores and other memory and storage media as discussed above. These can reside in a variety of locations, such as on a storage medium local to (and/or resident in) one or more of the computers or remote from any or all of the computers across the network. In a particular set of embodiments, the information may reside in a storage-area network (SAN) familiar to those skilled in the art. Similarly, any necessary files for performing the functions attributed to the computers, servers or other network devices may be stored locally and/or remotely, as appropriate. Where a system includes computerized devices, each such device can include hardware elements that may be electrically coupled via a bus, the elements including, for example, at least one central processing unit (CPU), at least one input device (e.g., a mouse, keyboard, controller, touch-sensitive display element or keypad) and at least one output device (e.g., a display device, printer or speaker). Such a system may also include one or more storage devices, such as disk drives, optical storage devices and solid-state storage devices such as random access memory (RAM) or read-only memory (ROM), as well as removable media devices, memory cards, flash cards, etc.
Such devices can also include a computer-readable storage media reader, a communications device (e.g., a modem, a network card (wireless or wired), an infrared communication device) and working memory as described above. The computer-readable storage media reader can be connected with, or configured to receive, a computer-readable storage medium representing remote, local, fixed and/or removable storage devices as well as storage media for temporarily and/or more permanently containing, storing, transmitting and retrieving computer-readable information. The system and various devices also typically will include a number of software applications, modules, services or other elements located within at least one working memory device, including an operating system and application programs such as a client application or Web browser. It should be appreciated that alternate embodiments may have numerous variations from that described above. For example, customized hardware might also be used and/or particular elements might be implemented in hardware, software (including portable software, such as applets) or both. Further, connection to other computing devices such as network input/output devices may be employed.
Storage media and computer readable media for containing code, or portions of code, can include any appropriate media known or used in the art, including storage media and communication media, such as but not limited to volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage and/or transmission of information such as computer readable instructions, data structures, program modules or other data, including RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other medium which can be used to store the desired information and which can be accessed by a system device. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the various embodiments.
The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that various modifications and changes may be made thereunto without departing from the broader spirit and scope of the invention as set forth in the claims.
Number | Name | Date | Kind |
---|---|---|---|
6400845 | Volino | Jun 2002 | B1 |
6562077 | Bobrow | May 2003 | B2 |
6785405 | Tuttle | Aug 2004 | B2 |
7499588 | Jacobs | Mar 2009 | B2 |
7779355 | Erol et al. | Aug 2010 | B1 |
7787712 | Takahashi et al. | Aug 2010 | B2 |
7802184 | Battilana | Sep 2010 | B1 |
8111927 | Vincent | Feb 2012 | B2 |
8527337 | Lim et al. | Sep 2013 | B1 |
8548246 | Al-Omari et al. | Oct 2013 | B2 |
8588528 | Chapman et al. | Nov 2013 | B2 |
8726148 | Battilana | May 2014 | B1 |