|

In a hyper-smart society, systems are interconnected and interact with each other through advancements in communication technologies such as IoT, linking various elements like different purposes, functions, locations, environments, data definitions, and time. As systems become more complex, the development effort required grows exponentially. Even a specific interaction between 1 function can lead to a significant increase in overall development effort. Consequently, in recent system development projects, estimated development costs often become so large that they make development impossible, or the actual development effort exceeds initial estimates, leading to various problems. Simply removing functions without considering the behavior and interrelationships of the system will only result in an unsatisfactory system for users, while barely reducing the complexity or development effort. Here, we will discuss "pruning," a method for reducing development effort without diminishing the value of the system.
■ Pruning
In horticulture, pruning is not simply "cutting off unnecessary branches," but rather "trimming and shaping the branches of garden plants to promote healthy growth." A state of "healthy growth" for garden plants means that the branches and leaves are growing vigorously, flowers bloom, and fruit is produced every year. Trees that have been pruned grow strongly. Therefore, pruning involves removing "undesirable branches" that hinder the healthy growth of garden plants. Pruning requires considering various factors such as the characteristics of the target plant, nutrient flow, ventilation, and sunlight exposure; one cannot prune effectively without a thorough understanding of the plant. Furthermore, there are specific times when pruning is appropriate, and if done incorrectly, it can prevent flowers or fruit from developing in the following year, weakening the garden plant.
■ Complexity that hinders system stability
When a system is complex, it can have a significant negative impact not only on developers but also on users. Two metrics that indicate the complexity of a system are cohesion and coupling. Cohesion refers to the degree to which the responsibilities of individual components within a system are clear and focused. High cohesion, with minimal mutual influence between components and high independence, is desirable. With high cohesion, each component can manage its internal workings independently, and its state can be easily checked by other components, thus reducing the likelihood of negative impacts due to interactions between components. However, the functions that a system provides are realized through the collaborative actions of its components, and there is no absolute independence of any single component. The degree of interdependence between components is indicated by coupling. High coupling makes it difficult to define and understand the overall behavior of the system.
If cohesion is too high, a single component itself becomes large and complex. Furthermore, roles become compartmentalized, reducing flexibility. On the other hand, if cohesion is too low, coupling increases, leading to complex and unclear relationships. To optimize cohesion and coupling, it is necessary to appropriately define functions, roles, and behaviors. However, there is no definitive answer, and finding a balanced compromise requires sufficient analysis and consideration.
■ Pruning in system development
In system development, pruning is about improving productivity, quality, and customer satisfaction; it's not about reducing services for users, but rather a process to maximize the performance of the system, including future scalability. To effectively prune, one must understand how users interact with the system, how the system is structured, how data flows, and how the various components relate to each other. If pruning occurs too early, it may be difficult to visualize the actual operating conditions of the system, potentially leading to the removal of core functionalities. Conversely, if pruning is delayed, relationships with already designed features can become entangled, making it impossible to perform truly essential pruning.
In a hyper-smart society's system, the factors contributing to complexity increase explosively due to various connections. At the beginning of system analysis, it is often impossible to even imagine how the system will behave, making it impossible to construct the optimal solution from the outset. Therefore, a system structure diagram is created, and the behavior that realizes each function is executed on the structure diagram to verify inconsistencies and complexities. This process involves repeated revisions of the roles and relationships of functions. Through this iterative process, understanding and memory of the system deepen, allowing one to visualize the system's behavior in their mind, enabling faster consideration and verification of complex operations. This is similar to how a Shogi player can quickly analyze tens of thousands of possible moves. During analysis and design, unnecessary functions and constraints that hinder simplification are pruned while considering their necessity and priority.
■ Considerations for pruning
While being mindful of not diminishing the value of existing systems, we aim to visualize the operational status of a system by representing its components, functions, roles, and states as concisely as possible. If simplification is not feasible, we will use hierarchical structures to reduce the number of elements that need to be visualized simultaneously. Furthermore, we identify factors that prevent simplification or hierarchical structuring and re-examine them from a fundamental perspective. When the necessity of these factors is low, they are either removed or modified to acceptable conditions. Conversely, when the necessity of these factors is high, we explore alternative functions or behaviors, or reconsider the system structure at a higher level.
For example, if it is not operationally necessary for two functions to run concurrently, the system can be designed in a way that physically prevents them from running in parallel. This eliminates the possibility of those two functions being combined. Consequently, there is no need to consider scenarios where they might run concurrently, which significantly reduces the scope of system testing. Furthermore, we pay attention to consistency across functions, processing, data, communication procedures, and state transitions. Maintaining this consistency not only makes it easier to understand but also enables the standardization of various processes.
■ Pruning of abnormal processing and exception handling
Omissions or errors in handling abnormal conditions or exceptions can lead to serious quality problems. Furthermore, if considerations for handling abnormal conditions and exceptions are not incorporated during the initial design phase, and these features must be added during development, they can significantly impact the overall system behavior and contribute to increased complexity. Monitoring deviations from normal operation, such as exceptions and errors, requires continuous monitoring processes; it is not sufficient to simply modify specific procedures temporarily. When abnormal conditions or exceptions occur, related functions may become inoperable, and data may become inconsistent. A review is necessary for all processes that are directly or indirectly related to these functions and data. Moreover, the recovery procedures after an abnormality can also affect various aspects of the system.
On the other hand, exceptions and anomalies are extremely rare occurrences in actual operation. In such rare situations, it is necessary to maintain only the minimum essential functions to ensure system safety while preventing the impact of exceptions and anomalies from cascading. To achieve this, complexity should be avoided as much as possible. Therefore, it is crucial to identify potential risks of anomalies and exceptions during the initial design phase, and addressing these issues becomes a key focus. For example, during a transient period when the operating state of one device changes and that change is notified to many interconnected devices, inconsistencies in processing may occur due to discrepancies in the perceived states between the devices. To address this, a function can be added to temporarily suspend processing during such transient periods, thereby eliminating the need for complex inconsistency avoidance procedures by addressing the root cause of the problem. These transient periods are extremely short compared to the overall operation time, and even if processing is slightly delayed at that specific moment, it should not pose a significant issue.
By performing structural design that takes pruning into consideration during the initial stages of development, when conducting a comprehensive review of structure and behavior, it is possible to maintain overall simplicity and consistency, leading to healthy development.
For details on analysis methods and other information, please refer to "System Development for an Ultra-Smart Society," published by FORUM8 Publishing.
 |
|
System development for a super-smart society
~Why don't we re-examine Japanese manufacturing from the ground up?~
...A technological revolution in producing "experiences" that will drive the Fourth Industrial Revolution..
(For management, planning, development, quality assurance, and for client/contractor companies regarding system operations)
■ Author: Minoru Misé
■ Publication Date: November 2018
■ Price: ¥2,800 (excluding tax)
■ Publisher: FORUM8 Publishing |
| Based on extensive experience accumulated over approximately 30 years in commissioned development for major manufacturers, including new products, custom-made items, prototypes, and microcontroller software, this book introduces the concepts, knowledge, and techniques essential for embedded system development, which will be crucial for supporting a smart society in the future. This is a must-read guide for those involved in managing, planning, developing, ensuring quality, and ordering/receiving services related to systems. |
| Please purchase books from.. |
|
|
|
|