Holarch
فصول الدورة

التدريب · المسار 6. الترحيل إلى Holarch · الفصل 6.3 من 5

6.3 المتطلبات من Word وReqIF 2:22

استورد مواصفة Word كمستند، وملف ReqIF من مورد مع تسلسله الهرمي وروابطه.

يعرض Holarch 2.21.

ما ستتعلمه

  • اشرح أي أجزاء ملف Word تصبح أقسامًا وأيها تصبح متطلبات
  • استورد مواصفة Word كمستند متطلبات مرقّم
  • استورد ملف ReqIF مع تسلسله الهرمي وسماته وعلاقاته
  • تحقق من علاقة مستوردة في قسم «التتبع»

استورد مواصفة الحمولة لـ Plant Inspection Drone من Word، حيث تصبح العناوين أقسامًا وجمل shall متطلبات، ومتطلبات مورد البطارية من ReqIF، مع تسلسلها الهرمي وسماتها وعلاقة refines.

ملفات المشاريع

  • مشروع البداية (.holarch.json؛ إدارة المشاريع ← ملفات المشروع ▾ ← استيراد مشروع (.json)…)
  • المشروع المكتمل (.holarch.json؛ إدارة المشاريع ← ملفات المشروع ▾ ← استيراد مشروع (.json)…)

يُشغَّل الفيديو من holarch.app؛ راجع سياسة الخصوصية.

التطبيق العملي

نفّذ هذا بنفسك في Holarch، على المشروع التوضيحي CubeSat EO-1.

  1. افتح مشروع EO-1 التوضيحي (إذا لم يكن لديك واحد، فأنشئه: إدارة المشاريع ← ملفات المشروع ▾ ← مشروع توضيحي جديد ← CubeSat (هندسة أنظمة موجّهة)). افتح المستندات ← EO-1 System Requirements Specification وانقر تسليم ▾ ← مواصفة (Word).
  2. في المستند نفسه، انقر تسليم ▾ ← المتطلبات (ReqIF)… ثم انقر تصدير.
  3. في إدارة المشاريع، انقر + مشروع جديد، وسمّه EO-1 Import Practice، ثم انقر إنشاء مشروع. افتح الاحتياجات والمتطلبات ← الاستيراد والتصدير، وأفلت ملف .docx، وانقر متابعة مرتين، واستورده.
  4. قارن المستند الجديد بـ SRS: لاحظ أي العناوين صارت Statements وأي جمل shall صارت Requirements، وكيف سُمّيت.
  5. استورد ملف .reqif إلى المشروع نفسه، ثم افتح المستند الذي ينشئه وحدد 1.6 Revisit Time لتتحقق من أبنائه وتسمياته.

تكون قد انتهيت عندما يحتوي المشروع على مستندين، أحدهما من Word والآخر من ReqIF، وتستطيع أن تقول أيهما احتفظ بالأسماء والأرقام الأصلية.

اختبر نفسك

  1. ما الذي يقرؤه استيراد Word كقسم، وما الذي يقرؤه كمتطلب؟
  2. يستطيع المورد إرسال Word أو ReqIF. لماذا تطلب ReqIF؟
  3. علاقة ReqIF لها اسم لا يعرفه Holarch. ماذا يحدث؟
إظهار الإجابات
  1. ما الذي يقرؤه استيراد Word كقسم، وما الذي يقرؤه كمتطلب؟

    الفقرات بأنماط عناوين Word تصبح Statements (أقسامًا). والفقرة التي فيها shall أو must أو will أو should تصبح Requirement، تُسمّى بالكلمات الأولى بعد الفعل. أما العناوين المكتوبة كنص عريض عادي فتُقرأ كنص عادي.

  2. يستطيع المورد إرسال Word أو ReqIF. لماذا تطلب ReqIF؟

    يحمل ReqIF معرّف كل متطلب وتسلسله الهرمي وسماته وعلاقاته. وعندما يرسل المورد ملفًا أحدث، يحدّث استيراده العناصر نفسها بدلًا من إضافة نسخ.

  3. علاقة ReqIF لها اسم لا يعرفه Holarch. ماذا يحدث؟

    تصل كـ traced to. وإذا كان المخطط الهيكلي لا يسمح بـ traced to بين الفئتين، تُتخطى العلاقة مع تحذير.

قراءة المزيد

النص المكتوب

إظهار النص المكتوب (التعليق الصوتي وما يظهر على الشاشة)

Introduction

Chapter three: requirements from Word and ReqIF. Many specifications live in Word, and many suppliers exchange requirements as ReqIF files. Both come in through the same Import and Export page.

We import the payload specification and the battery supplier's requirements into the Plant Inspection Drone project.

Word

The Word file uses heading styles for its sections, and plain sentences with shall for its requirements. That is what the Word import reads. Heading styles or Word's list numbering matter: headings typed as ordinary bold text are read as ordinary text.

On screen: Card: what Holarch reads in Word.

Open Import and Export, and drop the file. Holarch detects Word from the file and analyzes it.

On screen: Import and Export → drop the .docx → Word detected.

Click Continue. The numbering pattern stays automatic, which uses numbered headings and shall sentences. Click Continue for the review: Holarch creates a requirements document with the name of the file, and lists the sections and the requirements under them.

On screen: Continue → Map: numbering → Continue → Review.

Click Import. The document opens, numbered from the Word headings, with each shall sentence as a requirement you can now trace and check.

On screen: Import → the document.

ReqIF

Now the supplier's file. ReqIF is the standard exchange format between requirements tools. Open Import and Export again, and drop the file.

On screen: Import and Export → drop the .reqif → ReqIF detected.

Click Continue. Each requirement in the file is a row. Its ReqIF identifier and its parent rebuild the hierarchy, its type becomes the class, and its attributes map by name: the chapter name to the number, the name, and the text to the description.

On screen: Continue → Map.

Click Continue, check the review, and click Import.

On screen: Continue → Review → Import.

Check the result

The supplier's relations come in as relationships. Select Charge Time, and open Trace: it refines Pack Capacity, just as the file says.

On screen: Select B.4 Charge Time → Trace.

Recap

Let's recap. You imported a Word specification, where headings became sections and shall sentences requirements, and a supplier's ReqIF file, with its hierarchy, attributes and relations.

Next, a whole model from another tool.