百度智能云

All Product Document

          Object Storage

          Event Notification

          Basic Introduction

          BOS event notification function is a set of intelligent triggering platform based on BOS data processing framework V2.0. Based on functions provided by the platform, developers can define data behaviors that occur in bucket of business concern. BOS will monitor behaviors such as Put object and Append object that occur in bucket, and provide downstream business system of users with trigger notification.

          At meanwhile, combining with the strong AI capacity of Baidu AI Cloud, BOS can support the user behaviors monitored and directly trigger the data processing capacities of Baidu AI Cloud, thus provide the results after such processing directly to the downstream business system of the user. It enables the user with stronger AI processing capacity of data while simplifying user development logic and accelerating the business.

          image.png

          Event Notification Platform

          The BOS Event Notification Platform provides the users with an automated data behavior monitoring and notification system. It is capable of meeting the following application scenarios:

          • If new data is uploaded to a certain bucket, it is required to immediately notify the upper application and the upper application will immediately pull and apply such data.
          • If new photo is uploaded to the bucket, it is required to process the content immediately and the new photo generated will be used for front-end presentation. While the original photo will be deleted immediately to release the storage space.
          • If new video is uploaded to the bucket, it is required to process the content immediately for the anti-pornography purpose, and violating content will be cleared up immediately.

          Based on the scenarios above, BOS users only need to make configurations in the console as follows:

          Step 1:Create and name a rule for subsequent management of the rule, in which the rule name must conform to the naming rule.

          image.png

          Step 2:Select monitoring events. Currently, BOS supports the following monitoring events:

          • appendObject, that is, the append upload behavior occurs;
          • CompleteMutipartUpload, that is, the three-step upload is completed;
          • Copyobject, that is, data copy behavior occurs;
          • Putobject, that is, simple upload behavior occurs;
          • Postobject, that is, the form upload behavior occurs;
          • Fetchobject, that is, the behavior of fetching resources from the specified URL and storing them occurs;
          • Deleteobject, that is, the behavior of deleting a single object occurs;
          • DeleteMultipleobjects, that is, the behavior of deleting multiple objects in the same bucket occurs.

          The user can select one or more of the above events as required.

          Step 3: Setting the scope of resources to be monitored. After the setting, BOS will only monitor and trigger the data within such scope. The BOS Event Notification Platform supports the filling of full name or prefix and suffix of resources.

          image.png

          Step 4: Triggering application. Based on the events occurred, BOS will notify the message to the downstream business. Users can flexibly set the applications that receive trigger notifications according to their own business architecture. The downstream application system consists of custom applications and Baidu official applications.

          • Custom applications

          That is the user's own downstream application system. The user only needs to fill in the URL for the business user to receive the trigger notification, and BOS will notify the event monitored in the bucket to the URL.

          image.png

          • Baidu official applications

          Based on the strong AI data processing capability of Baidu AI Cloud, BOS packs many high-frequency and easy-to-use applications. The user only needs to set an URL to receive the results of application processing.

          Taking the universal object recognition service as an example, BOS will automatically push the data uploaded to bucket to Baidu universal object recognition service. BOS will grade the content of original photo file and push the recognized result to the receiving URL of the user. As a result, the user will have the easy access to the content analysis results of the original photo file uploaded to bucket. Such results will be sent to the user as a specific json file.

          Step 5: Rule management. The user can find the existing rules on the homepage of the event notification platform, and perform management operations over such rules, including modification and deletion.

          Baidu Official Applications

          In order to grant the users an easier access to all AI capabilities of Baidu AI Cloud, based on the trigger capability of its event notification platform, BOS packs several commonly used AI services of Baidu AI Cloud as official applications. For which the developers only need to make simple configuration in the console to use Baidu AI capabilities and enable their businesses with the minimum development cost and maximum development efficiency.

          Universal Character Recognition

          Baidu Universal Character Recognition Service supports character detection and recognition in multiple scenarios, and ranks the first worldwide in terms of several ICDAR indexes, making it one of the capabilities with most application and abundance among the AI capabilities of Baidu AI Cloud.

          The user only needs to choose universal character recognition in the trigger application and fill in the receiving address related information through the BOS event notification platform.

          Once a rule is created, BOS will monitor the data behavior within the scope of resources defined by the user. If the trigger conditions are met, the photo data will be pushed to Baidu universal character recognition service which will analyze the photo content and extract the character content, and return the character information identified in the form of json file.

          Universal Object Recognition

          Similar to universal character recognition, Baidu Universal Object Recognition Service provides users with the ability to analyze, extract, and label output of photo content, which plays a very important role for upper applications with scenarios such as photo clustering and recognition.

          The user only needs to choose universal character recognition in the trigger application and fill in the receiving address related information through the BOS event notification platform, as shown below:

          image.png

          The BOS event notification platform will analyze the photo content and identify the content contained, and return the object information and confidence identified in the form of json file.

          Note:

          • Unretrieved archive type object will not trigger event notifications, and retrieved archive type object will trigger normally.
          Previous
          Data Disaster Recovery
          Next
          Photo Review