একটি নির্ধারিত কাজ কি?
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এই বিভাগে ডকুমেন্টেশন দেখায় কিভাবে Google ম্যাপ মোবিলিটি নির্ধারিত টাস্ক পরিষেবা ব্যবহার করে নির্ধারিত কাজগুলি তৈরি এবং কাজ করতে হয়৷ এটি নিম্নলিখিতগুলির সাথে পরিচিতি অনুমান করে:
আপনি যে Task
রিসোর্সটি ব্যবহার করবেন তা gRPC এবং REST উভয় ক্ষেত্রেই উপলব্ধ।
নির্ধারিত কাজের জন্য ফ্লিট ইঞ্জিনে, একটি টাস্ক এমন একটি ড্রাইভার কার্যকলাপকে প্রতিনিধিত্ব করে যা আপনার গ্রাহকদের জন্য একটি নির্ধারিত চালান বা পরিষেবা পূরণ করে। আপনি গাড়ির স্টপেজ অবস্থানে কাজগুলি বরাদ্দ করেন যেখানে সেগুলি সম্পন্ন করা হবে এবং যানবাহন সেই স্টপে ভ্রমণ করে।
একটি টাস্কের দুটি সম্ভাব্য অবস্থা আছে, OPEN
বা CLOSED
। এই রাজ্যগুলি নির্দেশ করে যে টাস্কটি সিস্টেমে সক্রিয় আছে কিনা। একটি সক্রিয় টাস্কের জন্য যাত্রাটি বিকশিত হওয়ার সাথে সাথে, আপনি টাস্কের সাথে যুক্ত গাড়ির স্টপ আপডেট করে ফ্লিট ইঞ্জিনে এটি রিপোর্ট করেন, যেটি হয় রাস্তাঘাটে বা পৌঁছেছে। একবার ড্রাইভার কাজগুলি শেষ করে এবং স্টপ ছেড়ে চলে গেলে, আপনি গাড়ির স্টপের তালিকা থেকে স্টপটি সরিয়ে ফেলবেন। কাজ এবং স্টপ এবং যানবাহনের সাথে তাদের সম্পর্ক সম্পর্কে আরও জানতে, ফ্লীট ইঞ্জিন অপরিহার্যতায় নির্ধারিত কাজগুলি দেখুন।
একটি কাজের জীবন
ফ্লিট ইঞ্জিনে প্রতিটি কাজ ট্র্যাক করার জন্য, আপনাকে প্রথমে একটি Task
সত্তা তৈরি করতে হবে। রেফারেন্সের জন্য হয় gRCP বা REST দেখুন।
নিম্নলিখিত সারণীটি আপনার সিস্টেমে তৈরি একটি টাস্কের এন্ড-টু-এন্ড প্রবাহ এবং ফ্লিট ইঞ্জিনে এর জীবনচক্র পর্যায়ের উদাহরণ বর্ণনা করে। এটি অনুমান করে যে আপনি ফ্লিট ইঞ্জিন সেট আপ করেছেন এবং ড্রাইভার অ্যাপে অবস্থান আপডেটগুলি সক্ষম করে টাস্কের জন্য একটি যান রয়েছে৷ ড্রাইভার SDK দেখুন: নির্ধারিত কাজগুলি ।
1 | কাজ তৈরি করুন। | কাজের চক্রের শুরুতে, প্রেরক বা পরিষেবা প্রশাসক প্রথমে ডেলিভারি কাজ বা পরিষেবাগুলির জন্য একটি ম্যানিফেস্ট তৈরি করেন। সেখান থেকে, আপনার সিস্টেম তারপরে প্রয়োজনীয় ক্ষেত্রগুলির সাথে CreateTrip ব্যবহার করে টাস্ক এন্টিটি তৈরি করে, যেমন টাস্কের ধরন এবং অবস্থান। এটি এই সময়ে অন্যান্য কনফিগারেশনও সরবরাহ করতে পারে, যেমন টার্গেট টাইম উইন্ডো, শেয়ারিং টাস্ক অগ্রগতি এবং কাস্টম বৈশিষ্ট্য। চালানের কাজ এবং সম্পর্কিত গাইড তৈরি করুন দেখুন। |
2 | কাজের সময়সূচী করুন। | আপনি যখন ডেলিভারির জন্য একটি টাস্ক শিডিউল করেন, তখন আপনি একটি ডেলিভারি ভেহিকেল আপডেট রিকোয়েস্ট ইস্যু করেন, যা তারপর ভ্রমণের স্টপের তালিকা সহ গাড়ির সত্তাকে আপডেট করে। আপনি প্রতিটি স্টপে স্টপে সম্পন্ন করা কাজের একটি তালিকা বরাদ্দ করেন। আপডেট ডেলিভারি গাড়ির কাজ দেখুন. |
3 | কাজের অগ্রগতি আপডেট করুন। | একবার ডেলিভারি স্টপে টাস্ক অ্যাসাইন করা হলে এবং ফ্লিট ইঞ্জিনে সক্রিয় হয়ে গেলে, আপনার সিস্টেম ফ্লিট ইঞ্জিনকে গাড়ির অগ্রগতি সম্পর্কে অবহিত করে যখন এটি স্টপে আসে, পৌঁছায় এবং স্টপ সম্পূর্ণ করে। এই তথ্যের সাহায্যে, ফ্লিট ইঞ্জিন যাত্রার পাশাপাশি গাড়ির জন্য সারা দিন রাউটিং এবং স্ট্যাটাস আপডেটগুলি সর্বোত্তমভাবে সম্পাদন করতে পারে। যানবাহন থামার অবস্থা আপডেট দেখুন। |
4 | যাত্রা ভাগ করুন. | একই সময়ে যখন গাড়িটি ডেলিভারির দিনের জন্য সক্রিয় নেভিগেশন শুরু করে, আপনি আগ্রহী স্টেকহোল্ডারদের সাথে ভ্রমণের তথ্য শেয়ার করতে পারেন। ফ্লিট ইঞ্জিন নিম্নলিখিত উপায়ে আগ্রহী স্টেকহোল্ডারদের কাছে টাস্কের বিবরণ এবং গাড়ির অবস্থান উভয়ই উপলব্ধ করে:- ভোক্তাদের জন্য চালানের তথ্য । এই সমাধানের মাধ্যমে, ভোক্তারা তাদের প্যাকেজের স্ট্যাটাস এবং গাড়ির অবস্থানের তথ্য দেখতে পাবেন যা আপনি তাদের দেখার অনুমতি দিয়েছেন।
নির্ধারিত কাজের জন্য ভোক্তা শেয়ারিং দেখুন। - প্রশাসকদের জন্য ফ্লিট স্ট্যাটাস তথ্য । এই সমাধানের সাহায্যে, ফ্লিট অ্যাডমিনিস্ট্রেটররা আপনার ফ্লিটে ডেলিভারি যানের অবস্থান এবং তাদের স্টপগুলি কাছাকাছি রিয়েল টাইমে কল্পনা করতে পারে। যদি একটি যানবাহনের রুট জানা থাকে, তাহলে মানচিত্র দৃশ্য উপাদানটি সেই গাড়িটিকে অ্যানিমেট করে যখন এটি তার পূর্বাভাসিত পথ ধরে চলে।
জাভাস্ক্রিপ্ট ফ্লিট ট্র্যাকিং লাইব্রেরি দেখুন।
|
5 | কাজটি চূড়ান্ত করুন। | আপনি নিম্নলিখিত উপায়ে ফ্লিট ইঞ্জিনে চালানের কাজগুলি চূড়ান্ত করেন:- টাস্ক বন্ধ করুন : একটি চালান টাস্ক বন্ধ করা ইঙ্গিত দেয় যে সেই টাস্ক আর সক্রিয় নেই।
- টাস্কের ফলাফল সেট করুন : একবার একটি টাস্ক বন্ধ হয়ে গেলে, আপনি একটি সফল বা ব্যর্থ টাস্ক নির্দেশ করেন যে ডেলিভারি হয়েছে কি না। আপনার ভোক্তাদের অভিজ্ঞতায় ডেলিভারির ফলাফল দেখাতে এবং ফ্লিট ইঞ্জিন পরিষেবার জন্য সঠিক বিলিং নিশ্চিত করতে এটি একটি কাজ চূড়ান্ত করার একটি গুরুত্বপূর্ণ অংশ।
মনে রাখবেন, ডেলিভারি গাড়ির মতো, টাস্ক এন্টিটি 7 দিনের জন্য ফ্লিট ইঞ্জিনের মধ্যে সক্রিয় থাকে রাষ্ট্র নির্বিশেষে, যে সময়ে তাদের সরানো হয়। কাজগুলি চূড়ান্ত করা দেখুন। |
টাস্ক ক্রম প্রবাহ
নিম্নলিখিত চিত্রটি একটি টাস্ক জীবনচক্রের একটি বিস্তারিত প্রবাহ দেখায়।

এরপর কি
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis documentation outlines how to create and manage scheduled tasks, representing driver activities, within the Google Maps Mobility scheduled tasks service.\u003c/p\u003e\n"],["\u003cp\u003eTasks, which can be either OPEN or CLOSED, are assigned to vehicle stops, and their progress is updated as the vehicle travels to and completes these stops.\u003c/p\u003e\n"],["\u003cp\u003eThe lifecycle of a task involves creation, scheduling by assigning to a vehicle stop, updating progress, sharing journey details with stakeholders, and finalization by closing and setting the outcome.\u003c/p\u003e\n"],["\u003cp\u003eFleet Engine provides tools for consumers to track shipment status and for administrators to monitor fleet locations and progress in near real-time.\u003c/p\u003e\n"],["\u003cp\u003eTo successfully use this service, prior familiarity with Fleet Engine, vehicle basics for on-demand services, and task basics for scheduled tasks is assumed.\u003c/p\u003e\n"]]],[],null,["The documentation in this section shows how to create and work with scheduled\ntasks using the Google Maps Mobility scheduled tasks service. It assumes\nfamiliarity with the following:\n\n- **Fleet Engine** : You should be familiar with Fleet Engine implementation details, request mechanisms, and security. For that, see [What is the Fleet\n Engine service?](/maps/documentation/mobility/fleet-engine/essentials) and the security topics in [Set up Fleet Engine](/maps/documentation/mobility/fleet-engine/essentials/set-up-fleet).\n- **Vehicles basics** for on-demand services. See [Introduction to vehicles](/maps/documentation/mobility/fleet-engine/essentials/vehicles-intro).\n- **Task basics** for scheduled task services. See [Scheduled tasks](/maps/documentation/mobility/fleet-engine/essentials/tasks-intro)\n\nThe `Task` resource that you'll use is available in both [gRPC](/maps/documentation/mobility/fleet-engine/reference/tasks/rpc/maps.fleetengine.delivery.v1#task) and\n[REST](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks).\n\nIn Fleet Engine for scheduled tasks, a task represents a driver activity that\nfulfills a scheduled shipment or service for your consumers. You assign tasks to\nvehicle stop locations where they are to be completed, and the vehicle travels\nto those stops.\n\nA task has two possible states, `OPEN` or `CLOSED`. These states indicate\nwhether the task is active or not in the system. As the journey evolves for an\nactive task, you report this to Fleet Engine by updating the vehicle stop\nassociated with the task, which is either ENROUTE or ARRIVED. Once the driver\ncompletes tasks and leaves the stop, you remove the stop from the list of stops\non the vehicle. For more about\ntasks and their relationship to stops and vehicles, see\n[Scheduled tasks](/maps/documentation/mobility/fleet-engine/essentials/tasks-intro#basic_task_fields) in **Fleet Engine essentials** .\n\nLife of a task\n\nIn order to track each task in Fleet Engine, you must first create a `Task`\nentity. See either [gRCP](/maps/documentation/mobility/fleet-engine/reference/tasks/rpc/maps.fleetengine.delivery.v1#task) or [REST](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks) for reference.\n\nThe following table describes an example end-to-end flow of a task created in\nyour system and its lifecycle stages in Fleet Engine. It assumes you have set up\nFleet Engine and have a vehicle for the task, with location updates\nenabled in the driver app. See [Driver SDK: Scheduled tasks](/maps/documentation/mobility/driver-sdk/scheduled).\n\n|---|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 1 | **Create tasks.** | At the beginning of the work cycle, the dispatcher or service administrator first creates a manifest for delivery tasks or services. From there, your system then creates the task entities using `CreateTrip` with required fields, such as the type of task and the location. It can also supply other configurations at this point, such as target time window, sharing task progress, and custom attributes. See [Create shipment tasks](/maps/documentation/mobility/fleet-engine/journeys/tasks/create-shipment-tasks) and the related guides. |\n| 2 | **Schedule tasks.** | When you schedule a task for delivery, you issue a delivery vehicle update request, which then updates the vehicle entity with a list of stops to travel. You assign each stop a list of tasks to be completed at the stop. See [Update delivery vehicle tasks](/maps/documentation/mobility/fleet-engine/journeys/tasks/update-tasks). |\n| 3 | **Update the task progress.** | Once the task is assigned to a delivery stop and active in Fleet Engine, your system notifies Fleet Engine about the vehicle progress as it approaches, arrives at, and completes the stop. With this information, Fleet Engine can best perform routing and status updates along the journey as well as throughout the day for the vehicle. See [Update vehicle stop status](/maps/documentation/mobility/fleet-engine/journeys/tasks/update-stops). |\n| 4 | **Share journeys.** | At the same time that the vehicle begins active navigation for the delivery day, you can share journey information with interested stakeholders. Fleet Engine makes both task details and vehicle location available to interested stakeholders in the following ways: - **Shipment information for consumers** . With this solution, consumers can see the status of their package along with the vehicle location information you permit them to view. See [Consumer sharing for scheduled tasks](/maps/documentation/mobility/journey-sharing/scheduled). - **Fleet status information for administrators** . With this solution, fleet administrators can visualize the locations of delivery vehicles and their stops in your fleets in near real time. If the route for a vehicle is known, the map view component animates that vehicle as it moves along its predicted path. See the [JavaScript Fleet Tracking library](/maps/documentation/mobility/operations/fleet-tracking). |\n| 5 | **Finalize the task.** | You finalize shipment tasks in Fleet engine in the following ways: - **Close the task**: Closing a shipment task indicates that that task is no longer active. - **Set the task outcome**: Once a task is closed, you indicate either a successful or failed task to indicate if the delivery took place or not. This is an important part of finalizing a task to show the delivery outcome in your consumer experience and to ensure correct billing for the Fleet Engine service. Keep in mind that, like delivery vehicles, task entities remain active within Fleet Engine for 7 days regardless of state, at which point they are removed. See [Finalize tasks](/maps/documentation/mobility/fleet-engine/journeys/tasks/finalize-tasks). |\n\nTask sequence flow\n\nThe following diagram shows a detailed flow of a task lifecycle.\n\nWhat's next\n\n- [Create shipment tasks](/maps/documentation/mobility/fleet-engine/journeys/tasks/create-shipment-tasks)"]]