<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">26574</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2022.026574</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Dynamic Intelligent Supply-Demand Adaptation Model Towards Intelligent Cloud Manufacturing</article-title>
<alt-title alt-title-type="left-running-head">Dynamic Intelligent Supply-Demand Adaptation Model Towards Intelligent Cloud Manufacturing</alt-title>
<alt-title alt-title-type="right-running-head">Dynamic Intelligent Supply-Demand Adaptation Model Towards Intelligent Cloud Manufacturing</alt-title>
</title-group>
<contrib-group content-type="authors">
<contrib id="author-1" contrib-type="author">
<name name-style="western"><surname>Sun</surname><given-names>Yanfei</given-names>
</name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-2" contrib-type="author">
<name name-style="western"><surname>Qiao</surname><given-names>Feng</given-names>
</name><xref ref-type="aff" rid="aff-2">2</xref></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western"><surname>Wang</surname><given-names>Wei</given-names>
</name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-4" contrib-type="author">
<name name-style="western"><surname>Xu</surname><given-names>Bin</given-names>
</name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-5" contrib-type="author">
<name name-style="western"><surname>Zhu</surname><given-names>Jianming</given-names>
</name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-6" contrib-type="author">
<name name-style="western"><surname>Fouad Mansour</surname><given-names>Romany</given-names>
</name><xref ref-type="aff" rid="aff-3">3</xref></contrib>
<contrib id="author-7" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Qi</surname><given-names>Jin</given-names>
</name><xref ref-type="aff" rid="aff-1">1</xref><email>qijin@njupt.edu.cn</email>
</contrib>
<aff id="aff-1"><label>1</label><institution>School of Internet of Things, Nanjing University of Posts and Telecommunications</institution>, <addr-line>Nanjing, 210003</addr-line>, <country>China</country></aff>
<aff id="aff-2"><label>2</label><institution>College of Automation &#x0026; College of Artificial Intelligence, Nanjing University of Posts and Telecommunications</institution>, <addr-line>Nanjing, 210003</addr-line>, <country>China</country></aff>
<aff id="aff-3"><label>3</label><institution>Department of Mathematics, Faculty of Science, New Valley University</institution>, <addr-line>El-Karaga, 72511</addr-line>, <country>Egypt</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Jin Qi. Email: <email>qijin@njupt.edu.cn</email></corresp>
</author-notes>
<pub-date pub-type="epub" date-type="pub" iso-8601-date="2022-03-26"><day>26</day>
<month>03</month>
<year>2022</year></pub-date>
<volume>72</volume>
<issue>2</issue>
<fpage>2825</fpage>
<lpage>2843</lpage>
<history>
<date date-type="received">
<day>30</day>
<month>12</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>02</day>
<month>3</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2022 Sun et al.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Sun et al.</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_26574.pdf"></self-uri>
<abstract>
<p>As a new mode and means of smart manufacturing, smart cloud manufacturing (SCM) faces great challenges in massive supply and demand, dynamic resource collaboration and intelligent adaptation. To address the problem, this paper proposes an SCM-oriented dynamic supply-demand (S-D) intelligent adaptation model for massive manufacturing services. In this model, a collaborative network model is established based on the properties of both the supply-demand and their relationships; in addition, an algorithm based on deep graph clustering (DGC) and aligned sampling (AS) is used to divide and conquer the large adaptation domain to solve the problem of the slow computational speed caused by the high complexity of spatiotemporal search in the collaborative network model. At the same time, an intelligent supply-demand adaptation method driven by the quality of service (QoS) is established, in which the experiences of adaptation are shared among adaptation subdomains through deep reinforcement learning (DRL) powered by a transfer mechanism to improve the poor adaptation results caused by dynamic uncertainty. The results show that the model and the solution proposed in this paper can perform collaborative and intelligent supply-demand adaptation for the massive and dynamic resources in SCM through autonomous learning and can effectively perform global supply-demand matching and optimal resource allocation.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Smart Cloud Manufacturing</kwd>
<kwd>supply and demand sides</kwd>
<kwd>dynamic adaptation</kwd>
<kwd>Deep Graph Clustering</kwd>
<kwd>transfer learning</kwd>
<kwd>reinforcement learning</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>SCM is the result of applying next-generation information technologies such as big data, artificial intelligence and Internet of Things [<xref ref-type="bibr" rid="ref-1">1</xref>] to the field of cloud manufacturing, and it has further expanded into the fields of production, circulation and consumption [<xref ref-type="bibr" rid="ref-2">2</xref>]. As a very new approach to manufacturing services, SCM has the characteristics of having a large scale and being highly dynamic. It is difficult to achieve collaborative, intelligent, intensive supply-demand matching and the optimal allocation of service resources, because there is a lack of an intelligent adaptation mechanism based on the interaction between supplies and demands. This has become one of the great challenges in this field [<xref ref-type="bibr" rid="ref-3">3</xref>].</p>
<p>In order to meet the above challenges, domestic and foreign researchers have built different models and proposed different methods to solve the demand for the adaptation of massive service resources in the field of intelligent cloud manufacturing, and achieved some results. It includes the construction of mixed integer linear programming model and the mathematical optimization model based on multi-index to solve the process of service matching [<xref ref-type="bibr" rid="ref-4">4</xref>,<xref ref-type="bibr" rid="ref-5">5</xref>]. However, the above research is based on the supply and demand matching scenario of static service resources, and does not take into account the dynamic changes of tasks and services. With the increasing demand for the optimal allocation of intelligent service resources in intelligent manufacturing driven by artificial intelligence, and the diversity and complexity of tasks and services in intelligent cloud manufacturing, the contradiction between collaborative supply and demand adaptation is becoming more and more prominent [<xref ref-type="bibr" rid="ref-6">6</xref>]. Intelligent adaptation of massive dynamic service resources in intelligent cloud manufacturing has gradually become the focus of research.</p>
<p>With the deepening of research, some achievements have been made in the research considering the dynamic change scenarios of tasks and services in the process of resource adaptation. Reference [<xref ref-type="bibr" rid="ref-7">7</xref>] established a model of the dynamic cloud manufacturing scheduling problem and proposed a scheduling method based on simulation to improve its performance. Reference [<xref ref-type="bibr" rid="ref-8">8</xref>] used a simulation-optimization approach based on a hedging strategy to capture the randomness of the uncertain parameters. Reference [<xref ref-type="bibr" rid="ref-9">9</xref>] presented a realistic production&#x2013;distribution planning model that is robust to common supply interruptions and demand variations, which aims to reduce the dynamic impact on adaptation. Reference [<xref ref-type="bibr" rid="ref-10">10</xref>] considered the supply and demand matching method of the dynamic change of machine tool information, and reference [<xref ref-type="bibr" rid="ref-11">11</xref>] combined the static and dynamic characteristics of 3D printer to realize fast supply and demand matching. In view of the double uncertainty of supply and demand, a supply and demand adaptation method considering speculative delay strategy was proposed in reference [<xref ref-type="bibr" rid="ref-12">12</xref>]. This method can reduce the influence of dynamics on supply and demand adaptation as much as possible. The above research has made some progress in solving the dynamic uncertainty of service resource adaptation, but it has not taken into account the dynamic addition and withdrawal of service resources in the process of supply and demand adaptation. Therefore, considering the above factors, in order to meet the efficient interaction of service resources and improve the intelligence and robustness of adaptation, this paper innovatively transforms the traditional supply and demand adaptation problem into reinforcement learning (RL) problem [<xref ref-type="bibr" rid="ref-13">13</xref>]. so that the algorithm can learn the law of supply and demand adaptation.</p>
<p>With the explosive growth of massive service resources in SCM, in order to meet the demand for efficient and collaborative supply and demand adaptation, such as search, matching and selection of service resources, and to improve the efficiency and quality of supply and demand adaptation, the construction of a global service network model for collaborative interaction of massive service resources has become an urgent problem to be solved in the optimal allocation of intelligent cloud manufacturing service resources. At present, the research on this problem is in the preliminary stage, with few results. However, in other fields, common solutions to such problems are to divide the service resources by clustering [<xref ref-type="bibr" rid="ref-14">14</xref>,<xref ref-type="bibr" rid="ref-15">15</xref>] or to improve the efficiency of the traditional optimization algorithm so that it can overcome the impact of high-dimensional massive service resources [<xref ref-type="bibr" rid="ref-16">16</xref>,<xref ref-type="bibr" rid="ref-17">17</xref>]. However, these methods are not suitable for the massive and dynamic service resources in an SCM scenario. Reference [<xref ref-type="bibr" rid="ref-18">18</xref>] constructed a matching network model consisting of service network, manufacturing network and super-edge between them to match supply and demand. Reference [<xref ref-type="bibr" rid="ref-19">19</xref>] proposed enterprise collaboration network based on this network and adopted PSO algorithm to realize optimal collaboration. Reference [<xref ref-type="bibr" rid="ref-20">20</xref>] proposed a classified hypernetwork model and used NSGA-II algorithm to solve the supply-demand optimization. However, these methods do not have the dynamic processing and transfer characteristics of reinforcement learning. Therefore, an aggregated divide-and-conquer method based on DGC and an AS algorithm is proposed to divide the complex adaptation problem into several simple subproblems and transfer experiences among subproblems through transfer learning (TL) to improve the synergy and efficiency of supply-demand adaptation.</p>
<p>Therefore, this paper aims to solve the problem of the large scale and high dynamics encountered by the supply-demand adaptation of service resources in SCM, and it puts forward an SCM-oriented dynamic supply-demand intelligent adaptation model for massive manufacturing services. In this model, collaborative tasks and service networks are built based on both the properties of the supply-demand and their relationships; in addition, a divide-and-conquer framework of adaptation tasks based on DGC and TL is introduced to reduce the computational complexity; then, the DRL algorithm is used to solve this problem and finally achieve the collaborative, intelligent and intensive adaptation of the massive and dynamic service resources in SCM.</p>
<p>The main contributions of this paper are as follows: (1) An SCM-oriented dynamic supply-demand intelligent adaptation model for massive manufacturing services is proposed, in which a collaborative network model is established based on both the properties of supply-demand and their relationships; in addition, an intelligent adaptation method driven by the generalized QoS is proposed to achieve collaborative, intelligent and intensive adaptation; (2) A divide-and-conquer method based on DGC is proposed to solve the problem of the slow computational speed caused by the high complexity of spatiotemporal search in the collaborative network model; (3) An intelligent supply-demand adaptation method based on DRL is proposed, which makes use of the autonomous learning ability of DRL to reduce the adaptation difficulties caused by dynamic uncertainty and improve the effectiveness of dynamic adaptation; (4) An adaptation task collaboration mechanism based on TL is proposed to share experiences among the adaptation subdomains so that multiple tasks can cooperate with each other to improve the efficiency of dynamic adaptation; (5) The experimental results show that the model and the method proposed in this paper can not only effectively solve the problem of the supply-demand adaptation of massive and dynamic service resources in SCM but also greatly improve the universality and flexibility of supply-demand adaptation.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Supply-Demand Adaptation Model For SCM</title>
<p>This paper builds an SCM-oriented massive-resource dynamic adaptation model for both the supply and demand sides to achieve collaborative and intelligent optimal configuration of service resources in SCM.</p>
<sec id="s2_1">
<label>2.1</label>
<title>Collaborative Supply-Demand Network Model for SCM</title>
<p>As our goal is to better cluster tasks and services to divide-and-conquer massive manufacturing resources, in order to simplify the supply-demand adaptation problem in SCM. Therefore, distinguish from traditional methods, we consider the potential relationships between tasks or services to improve the performance of clustering. Inspired by reference [<xref ref-type="bibr" rid="ref-18">18</xref>], a collaborative network model is established to provide a knowledge representation basis for the supply-demand adaptation of service resources, as well as to better divide-and-conquer the supply-demand adaptation problem.</p>
<p>(1) Network Model for Manufacturing Tasks</p>
<p>The tasks in SCM can be divided into indissoluble meta-tasks and composite tasks composed of meta-tasks, and the combination of meta-tasks into a composite task follows the rules of a working procedure and time sequence. Therefore, it is necessary to construct a task network (TN) model based on a weighted directed graph, in which positive and negative weights represent the directions of the edges:</p>
<p><disp-formula id="eqn-1"><label>(1)</label><mml:math id="mml-eqn-1" display="block"><mml:mi>T</mml:mi><mml:mi>N</mml:mi><mml:mo>=&#x003C;</mml:mo><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo></mml:math></disp-formula></p>
<p><disp-formula id="eqn-2"><label>(2)</label><mml:math id="mml-eqn-2" display="block"><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>}</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p><disp-formula id="eqn-3"><label>(3)</label><mml:math id="mml-eqn-3" display="block"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>}</mml:mo></mml:mrow><mml:mo>;</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:math></disp-formula></p>
<p><disp-formula id="eqn-4"><label>(4)</label><mml:math id="mml-eqn-4" display="block"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=&#x003C;</mml:mo><mml:mi>I</mml:mi><mml:mi>n</mml:mi><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi></mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>E</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>&#x003E;</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:mi>T</mml:mi></mml:math></inline-formula> represents the set of task nodes; <inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the set of edges, which represent relationships between tasks; <inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is a meta-task, and its features are extracted from a specific description of the physical manufacturing resources [<xref ref-type="bibr" rid="ref-21">21</xref>]; <inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:msub><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula id="ieqn-5"><mml:math id="mml-ieqn-5"><mml:msub><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula id="ieqn-6"><mml:math id="mml-ieqn-6"><mml:mi>S</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-7"><mml:math id="mml-ieqn-7"><mml:mi>E</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are the input, output, starting time and ending time of the task, respectively; <inline-formula id="ieqn-8"><mml:math id="mml-ieqn-8"><mml:mi>R</mml:mi><mml:mi>c</mml:mi><mml:mo>=</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi>r</mml:mi><mml:msub><mml:mi>c</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>r</mml:mi><mml:msub><mml:mi>c</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></inline-formula> is a collection of the task&#x2019;s consumption of various customized QoS indicator attributes; <inline-formula id="ieqn-9"><mml:math id="mml-ieqn-9"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represents the type of edge between the <inline-formula id="ieqn-10"><mml:math id="mml-ieqn-10"><mml:mi>i</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-11"><mml:math id="mml-ieqn-11"><mml:mi>j</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> meta-tasks; and <inline-formula id="ieqn-12"><mml:math id="mml-ieqn-12"><mml:msub><mml:mi>w</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the weight of an edge. There are three kinds of relationships that need to be defined:</p>
<p><bold>Definition 1.</bold> Similar Tasks: When <inline-formula id="ieqn-13"><mml:math id="mml-ieqn-13"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, <inline-formula id="ieqn-14"><mml:math id="mml-ieqn-14"><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> or <inline-formula id="ieqn-15"><mml:math id="mml-ieqn-15"><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula id="ieqn-16"><mml:math id="mml-ieqn-16"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>i</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-17"><mml:math id="mml-ieqn-17"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>j</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> are similar tasks, and the edge between them is undirected;</p>
<p><bold>Definition 2.</bold> Complementary Tasks: When <inline-formula id="ieqn-18"><mml:math id="mml-ieqn-18"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mrow><mml:mtext>&#xA0;and&#xA0;</mml:mtext></mml:mrow><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2270;</mml:mo><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, or <inline-formula id="ieqn-19"><mml:math id="mml-ieqn-19"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mrow><mml:mtext>&#xA0;and&#xA0;</mml:mtext></mml:mrow><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2270;</mml:mo><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula id="ieqn-20"><mml:math id="mml-ieqn-20"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>i</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-21"><mml:math id="mml-ieqn-21"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>j</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> are complimentary tasks, and the edge between them is undirected;</p>
<p><bold>Definition 3.</bold> Sequential Tasks: When <inline-formula id="ieqn-22"><mml:math id="mml-ieqn-22"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>w</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mrow><mml:mtext>and&#xA0;</mml:mtext></mml:mrow><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2264;</mml:mo><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, or <inline-formula id="ieqn-23"><mml:math id="mml-ieqn-23"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>w</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mrow><mml:mtext>and&#xA0;</mml:mtext></mml:mrow><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2264;</mml:mo><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula id="ieqn-24"><mml:math id="mml-ieqn-24"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>i</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-25"><mml:math id="mml-ieqn-25"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>j</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> are sequential tasks, and the edge between them is directed from the preorder to the postorder.</p>
<p>(2) Network Model for Manufacturing Services</p>
<p>Service providers generally do not provide sequential services in the process of the supply-demand adaptation of service resources driven by task requirements [<xref ref-type="bibr" rid="ref-22">22</xref>], which makes the use of sequential relationships inappropriate for describing the services. Therefore, the service network (SN) model that is to be built is based on an undirected graph:</p>
<p><disp-formula id="eqn-5"><label>(5)</label><mml:math id="mml-eqn-5" display="block"><mml:mrow><mml:mtext>SN</mml:mtext></mml:mrow><mml:mo>=&#x003C;</mml:mo><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003E;</mml:mo></mml:math></disp-formula></p>
<p><disp-formula id="eqn-6"><label>(6)</label><mml:math id="mml-eqn-6" display="block"><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p><disp-formula id="eqn-7"><label>(7)</label><mml:math id="mml-eqn-7" display="block"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>}</mml:mo></mml:mrow><mml:mo>;</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:math></disp-formula></p>
<p><disp-formula id="eqn-8"><label>(8)</label><mml:math id="mml-eqn-8" display="block"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=&#x003C;</mml:mo><mml:mi>I</mml:mi><mml:mi>n</mml:mi><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi></mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>E</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mi>g</mml:mi><mml:mo>&#x003E;</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-26"><mml:math id="mml-ieqn-26"><mml:mi>S</mml:mi></mml:math></inline-formula> represents the set of service nodes; <inline-formula id="ieqn-27"><mml:math id="mml-ieqn-27"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the set of edges, which represent relationships between services; <inline-formula id="ieqn-28"><mml:math id="mml-ieqn-28"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is a meta-service; <inline-formula id="ieqn-29"><mml:math id="mml-ieqn-29"><mml:msub><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula id="ieqn-30"><mml:math id="mml-ieqn-30"><mml:msub><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula id="ieqn-31"><mml:math id="mml-ieqn-31"><mml:mi>S</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-32"><mml:math id="mml-ieqn-32"><mml:mi>E</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are the input, output, starting time and ending time of the service, respectively; <inline-formula id="ieqn-33"><mml:math id="mml-ieqn-33"><mml:mi>R</mml:mi><mml:mo>=</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi>r</mml:mi><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>r</mml:mi><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></inline-formula> is a collection of the service&#x2019;s gross of various customized QoS indicator attributes; and <inline-formula id="ieqn-34"><mml:math id="mml-ieqn-34"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represents the type of edge between the <inline-formula id="ieqn-35"><mml:math id="mml-ieqn-35"><mml:mi>i</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-36"><mml:math id="mml-ieqn-36"><mml:mi>j</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> meta-services, which can indicate two kinds of relationships:</p>
<p><bold>Definition 4.</bold> Similar Services: When <inline-formula id="ieqn-37"><mml:math id="mml-ieqn-37"><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mtext>&#xA0;or&#xA0;</mml:mtext></mml:mrow><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula id="ieqn-38"><mml:math id="mml-ieqn-38"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>i</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-39"><mml:math id="mml-ieqn-39"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>j</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> are similar services, <inline-formula id="ieqn-40"><mml:math id="mml-ieqn-40"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>;</p>
<p><bold>Definition 5.</bold> Complementary Services: When <inline-formula id="ieqn-41"><mml:math id="mml-ieqn-41"><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> or <inline-formula id="ieqn-42"><mml:math id="mml-ieqn-42"><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula id="ieqn-43"><mml:math id="mml-ieqn-43"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>i</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-44"><mml:math id="mml-ieqn-44"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext>j</mml:mtext></mml:mrow></mml:mrow></mml:msubsup></mml:math></inline-formula> are complementary services, and <inline-formula id="ieqn-45"><mml:math id="mml-ieqn-45"><mml:msub><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>.</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Optimization Model for Supply-demand Adaptation in SCM</title>
<p>This paper considers the supply-demand adaptation problem of SCM in the adaptation domain:</p>
<p><disp-formula id="eqn-9"><label>(9)</label><mml:math id="mml-eqn-9" display="block"><mml:mi>M</mml:mi><mml:mo>=&#x003C;</mml:mo><mml:mi>T</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mi>N</mml:mi><mml:mo>&#x003E;</mml:mo></mml:math></disp-formula></p>
<p>Assume that <inline-formula id="ieqn-46"><mml:math id="mml-ieqn-46"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2208;</mml:mo><mml:mi>T</mml:mi><mml:mi>N</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-47"><mml:math id="mml-ieqn-47"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2208;</mml:mo><mml:mi>S</mml:mi><mml:mi>N</mml:mi></mml:math></inline-formula> represent the <inline-formula id="ieqn-48"><mml:math id="mml-ieqn-48"><mml:mi>k</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> meta-task in <inline-formula id="ieqn-49"><mml:math id="mml-ieqn-49"><mml:mi>T</mml:mi><mml:mi>N</mml:mi></mml:math></inline-formula> and the <inline-formula id="ieqn-50"><mml:math id="mml-ieqn-50"><mml:mi>l</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> meta-service in <inline-formula id="ieqn-51"><mml:math id="mml-ieqn-51"><mml:mi>S</mml:mi><mml:mi>N</mml:mi></mml:math></inline-formula>, respectively. When task <inline-formula id="ieqn-52"><mml:math id="mml-ieqn-52"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is assigned to <inline-formula id="ieqn-53"><mml:math id="mml-ieqn-53"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, some of the QoS indicator resources of <inline-formula id="ieqn-54"><mml:math id="mml-ieqn-54"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> are occupied. In most cases, multiple tasks will match multiple services. To determine the best combination, a generalized QoS-driven supply-demand adaptation model is introduced in this paper:</p>
<p><disp-formula id="eqn-10"><label>(10)</label><mml:math id="mml-eqn-10" display="block"><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mi>Q</mml:mi><mml:mi>o</mml:mi><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mi>Q</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mi>b</mml:mi><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>o</mml:mi><mml:mi>b</mml:mi><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-55"><mml:math id="mml-ieqn-55"><mml:mi>Q</mml:mi></mml:math></inline-formula> is a function of various evaluation indexes. Different definitions of <inline-formula id="ieqn-56"><mml:math id="mml-ieqn-56"><mml:mi>Q</mml:mi></mml:math></inline-formula> represent different preferences of decision-makers; therefore, the idea of QoS here is generalized.</p>
<p><inline-formula id="ieqn-57"><mml:math id="mml-ieqn-57"><mml:mi>i</mml:mi><mml:mi>b</mml:mi><mml:mi>r</mml:mi></mml:math></inline-formula> is the local equilibrium degree of service, and it measures the difference level of QoS indexes within the service:</p>
<p><disp-formula id="eqn-11"><label>(11)</label><mml:math id="mml-eqn-11" display="block"><mml:mi>i</mml:mi><mml:mi>b</mml:mi><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:munderover><mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:msub><mml:mi>o</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mi>R</mml:mi><mml:mi>O</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>p</mml:mi></mml:math></disp-formula>where <inline-formula id="ieqn-58"><mml:math id="mml-ieqn-58"><mml:mi>r</mml:mi><mml:msub><mml:mi>o</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represents the occupancy rate of the <inline-formula id="ieqn-59"><mml:math id="mml-ieqn-59"><mml:mi>i</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> indicator, <inline-formula id="ieqn-60"><mml:math id="mml-ieqn-60"><mml:mi>R</mml:mi><mml:mi>O</mml:mi></mml:math></inline-formula> represents the average occupancy rate of various indicators, and <inline-formula id="ieqn-61"><mml:math id="mml-ieqn-61"><mml:mi>p</mml:mi></mml:math></inline-formula> is the total number of indicators.</p>
<p><inline-formula id="ieqn-62"><mml:math id="mml-ieqn-62"><mml:mi>o</mml:mi><mml:mi>b</mml:mi><mml:mi>r</mml:mi></mml:math></inline-formula> is the global equilibrium degree of services; it measures the difference level of the occupancy rate of normalized QoS indexes between services and is expressed in the form of variance:</p>
<p><disp-formula id="eqn-12"><label>(12)</label><mml:math id="mml-eqn-12" display="block"><mml:mi>o</mml:mi><mml:mi>b</mml:mi><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover><mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mi>R</mml:mi><mml:msub><mml:mi>O</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mover><mml:mrow><mml:mi>R</mml:mi><mml:mi>O</mml:mi></mml:mrow><mml:mo accent="false">&#x00AF;</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>m</mml:mi></mml:math></disp-formula>where <inline-formula id="ieqn-63"><mml:math id="mml-ieqn-63"><mml:mi>R</mml:mi><mml:msub><mml:mi>O</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represents the mean occupancy rate of various indicators in the <inline-formula id="ieqn-64"><mml:math id="mml-ieqn-64"><mml:mi>i</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> service, <inline-formula id="ieqn-65"><mml:math id="mml-ieqn-65"><mml:mover><mml:mrow><mml:mi>R</mml:mi><mml:mi>O</mml:mi></mml:mrow><mml:mo accent="false">&#x00AF;</mml:mo></mml:mover></mml:math></inline-formula> is the mean value of <inline-formula id="ieqn-66"><mml:math id="mml-ieqn-66"><mml:mi>R</mml:mi><mml:mi>O</mml:mi></mml:math></inline-formula>, and <inline-formula id="ieqn-67"><mml:math id="mml-ieqn-67"><mml:mi>m</mml:mi></mml:math></inline-formula> is the number of services in the adaptation domain.</p>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>Constraints</title>
<p>On the basis of the intelligent adaptation model of cloud manufacturing established in this paper, multiple constraints of service resource adaptation on both sides of supply and demand of intelligent cloud manufacturing should also be considered. The adaptation problem in this paper follows the principles of function matching and time domain (TD) matching. That is, the functions provided by the service must meet the requirements of the task, and the time of the task must be within the cycle of the service. Therefore, the matching of <inline-formula id="ieqn-68"><mml:math id="mml-ieqn-68"><mml:msubsup><mml:mi>T</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-69"><mml:math id="mml-ieqn-69"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> should satisfy the constraints below:</p>
<p><bold>Constraint 1.</bold> Functionality Constraint: <inline-formula id="ieqn-70"><mml:math id="mml-ieqn-70"><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2286;</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-71"><mml:math id="mml-ieqn-71"><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2286;</mml:mo><mml:msubsup><mml:mrow><mml:mi mathvariant="italic">O</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>.</p>
<p><bold>Constraint 2.</bold> TD Constraint: <inline-formula id="ieqn-72"><mml:math id="mml-ieqn-72"><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2265;</mml:mo><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-73"><mml:math id="mml-ieqn-73"><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2264;</mml:mo><mml:mi>E</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>.</p>
<p>For the indexes in <inline-formula id="ieqn-74"><mml:math id="mml-ieqn-74"><mml:mi>R</mml:mi><mml:mi>c</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-75"><mml:math id="mml-ieqn-75"><mml:mi>R</mml:mi><mml:mi>g</mml:mi></mml:math></inline-formula>, the upper limit of the index, described below, should also be satisfied.</p>
<p><bold>Constraint 3.</bold> Index Upper Limit Constraint:</p>
<p><disp-formula id="eqn-13"><label>(13)</label><mml:math id="mml-eqn-13" display="block"><mml:mi mathvariant="normal">&#x2200;</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi mathvariant="normal">&#x2200;</mml:mi><mml:mi>j</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:munderover><mml:mi>r</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2264;</mml:mo><mml:mi>r</mml:mi><mml:msubsup><mml:mi>g</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></disp-formula>where <inline-formula id="ieqn-76"><mml:math id="mml-ieqn-76"><mml:mi>m</mml:mi></mml:math></inline-formula> is the number of indicators, <inline-formula id="ieqn-77"><mml:math id="mml-ieqn-77"><mml:mi>n</mml:mi></mml:math></inline-formula> is the number of services in <inline-formula id="ieqn-78"><mml:math id="mml-ieqn-78"><mml:mi>M</mml:mi></mml:math></inline-formula>, <inline-formula id="ieqn-79"><mml:math id="mml-ieqn-79"><mml:mi>p</mml:mi></mml:math></inline-formula> is the number of tasks assigned to the corresponding service, <inline-formula id="ieqn-80"><mml:math id="mml-ieqn-80"><mml:mi>r</mml:mi><mml:msubsup><mml:mi>c</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:math></inline-formula> is the occupation of the <inline-formula id="ieqn-81"><mml:math id="mml-ieqn-81"><mml:mi>i</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> index of the <inline-formula id="ieqn-82"><mml:math id="mml-ieqn-82"><mml:mi>k</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> task assigned to the <inline-formula id="ieqn-83"><mml:math id="mml-ieqn-83"><mml:mi>j</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> service, and <inline-formula id="ieqn-84"><mml:math id="mml-ieqn-84"><mml:mi>r</mml:mi><mml:msubsup><mml:mi>g</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represents the upper limit of the <inline-formula id="ieqn-85"><mml:math id="mml-ieqn-85"><mml:mi>i</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> index of the <inline-formula id="ieqn-86"><mml:math id="mml-ieqn-86"><mml:mi>j</mml:mi><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:math></inline-formula> service.</p>
</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>Simplification and Solution of Dynamic Supply-Demand Adaptation of Massive Service Resources in SCM</title>
<p>The model established in this paper is to solve the problem of mass and dynamic service resource supply and demand optimization driven by quality of service. To simplify the proposed network model, reduce the computational complexity and increase the accuracy of artificial intelligence learning, an aggregated divide-and-conquer algorithm based on a graph neural network is introduced [<xref ref-type="bibr" rid="ref-23">23</xref>]. Then, a novel method based on DRL powered by the transfer mechanism is carried out to solve the dynamic adaptation problem intelligently while overcoming the drawback of the traditional optimization algorithm that is difficult to cope with dynamic changes in the environment. The general procedure of our solution is shown in <xref ref-type="fig" rid="fig-1">Fig. 1</xref></p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Procedure of the adaptation task</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-1.png"/>
</fig>
<p>The corresponding algorithm flow is shown in <xref ref-type="fig" rid="fig-2">Fig. 2</xref>. In the first stage of the flow chart, the network model is simplified by aggregated divide-and-conquer. In the second stage, transfer-based deep reinforcement learning is adopted for each sub-adaptive domain to cope with the dynamic changes of supply and demand adaptation.</p>
<sec id="s3_1">
<label>3.1</label>
<title>Simplification of the Collaborative Network Model</title>
<p>Considering the high spatiotemporal search complexity of the collaborative network model established in this paper, which is large scale and highly hybrid in the adaptation domain <inline-formula id="ieqn-87"><mml:math id="mml-ieqn-87"><mml:mi>M</mml:mi><mml:mo>=&#x003C;</mml:mo><mml:mi>T</mml:mi><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mi>N</mml:mi><mml:mo>&#x003E;</mml:mo></mml:math></inline-formula>, the computational speed is extremely slow. To overcome the disadvantages mentioned above, a novel method is proposed to cluster the nodes in <inline-formula id="ieqn-88"><mml:math id="mml-ieqn-88"><mml:mi>T</mml:mi><mml:mi>N</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-89"><mml:math id="mml-ieqn-89"><mml:mi>S</mml:mi><mml:mi>N</mml:mi></mml:math></inline-formula> and then sample multiple service and task subdomains from the clusters. Finally, the global network model is divided into various adaptation subdomains that have similar distributions to the global model to enable divide-and-conquer.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>Flowchart of the adaptation task</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-2.png"/>
</fig>
<p>(1) Optimization of Adaptation Domains Based on DGC</p>
<p>Optimization of adaptation domains of massive supply and demand data includes two steps: Clustering adaptation domains to form supply and demand service resource sets of different functional groups, and sampling from the above different resource sets to form multiple sub-adaptation domains.</p>
<p>The collaborative supply-demand network model is a graph network that considers the properties of the supply-demand and their relationships between the supply and demand. Inspired by [<xref ref-type="bibr" rid="ref-24">24</xref>], this paper proposes a novel graph clustering method based on graph neural networks and deep learning.</p>
<p>This method uses a graph attention network (GAT) to generate a unique vector representation of the nodes in the network model; next, it divides the nodes into several categories according to these vector representations with clustering algorithms. Then, it assigns the same pseudo-label to nodes in the same category; finally, it uses the pseudo-labels to train the GAT to achieve a satisfactory clustering result. The clustering process is shown in <xref ref-type="fig" rid="fig-3">Fig. 3</xref>.</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>Process of the clustering of tasks and services in SCM</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-3.png"/>
</fig>
<p>The GATs can handle both directed and undirected graph, due to its vertex-by-vertex operation mode, that is, each operation needs to loop through all the vertices on the graph. It means that the problem of directed graph can be solved by getting rid of the constraint of Laplacian matrix. So, the proposed DGC, which adopted GAT, can operate both the directed TN and the undirected SN.</p>
<p>The sampling algorithm guarantees the distribution consistency between the generated adaptation subdomain and the entire adaptation domain by ensuring that the subdomain covers the samples in each cluster and that the proportion of samples from each cluster in the subdomain is the same as that in the entire domain. Before sampling, to eliminate the interference of singular clusters, which have very small sample sizes, each singular cluster should be merged into the corresponding cluster with the smallest distance from its cluster center. After that, the number of samples in the smallest cluster should be ensured to be much larger than the number of subdomains <inline-formula id="ieqn-90"><mml:math id="mml-ieqn-90"><mml:mi>n</mml:mi></mml:math></inline-formula>. On this premise, random sample replication is used for each cluster to supplement its number of samples, an integer multiple of <inline-formula id="ieqn-91"><mml:math id="mml-ieqn-91"><mml:mi>n</mml:mi></mml:math></inline-formula>. Finally, the entire domain is divided into several adaptation subdomains <inline-formula id="ieqn-92"><mml:math id="mml-ieqn-92"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> after AS:</p>
<p><disp-formula id="eqn-14"><label>(14)</label><mml:math id="mml-eqn-14" display="block"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>}</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p><disp-formula id="eqn-15"><label>(15)</label><mml:math id="mml-eqn-15" display="block"><mml:msubsup><mml:mi>m</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=&#x003C;</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x003E;</mml:mo></mml:math></disp-formula></p>
<p><disp-formula id="eqn-16"><label>(16)</label><mml:math id="mml-eqn-16" display="block"><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>}</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p><disp-formula id="eqn-17"><label>(17)</label><mml:math id="mml-eqn-17" display="block"><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>}</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-93"><mml:math id="mml-ieqn-93"><mml:msubsup><mml:mi>m</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup><mml:mo>=&#x003C;</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x003E;</mml:mo></mml:math></inline-formula> represents one adaptation subdomain; <inline-formula id="ieqn-94"><mml:math id="mml-ieqn-94"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-95"><mml:math id="mml-ieqn-95"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are sets of service and task subdomains, respectively; and <inline-formula id="ieqn-96"><mml:math id="mml-ieqn-96"><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula id="ieqn-97"><mml:math id="mml-ieqn-97"><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> are a service and a task subdomains in <inline-formula id="ieqn-98"><mml:math id="mml-ieqn-98"><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-99"><mml:math id="mml-ieqn-99"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, respectively.</p>
<p>(2) Recursive Optimization Mechanism of Adaptation Domains</p>
<p>In the case of huge supply and demand adaptation data, the complexity of sub-adaptation domain is still too high after optimization of the adaptation domain. The adaptive domain optimization method proposed in this paper can be applied to sub-adaptive domains to further reduce the complexity of adaptation. That is, the optimization method can be used recursively until the complexity of the sub-adaptation domain is reduced to a reasonable value.</p>
<p>(3) Divide-and-conquer Algorithm Based on DGC and AS</p>
<p>To simplify the network model, first is to classify supplies and demands through DGC algorithm. Second, adaptation subdomains with similar distributions and less complexity are formed by applying AS to the clustered supply and demand instances. The divide-and-conquer algorithm for adaptation based on DGC and AS is shown in Algorithm 1:</p>
<fig id="fig-11">
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-11.png"/>
</fig>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Intelligent Solution to Adaptation Tasks Based on Deep Reinforcement Learning with Transfer Mechanism</title>
<p>The supplies and demands may appear or disappear at any time in SCM. The traditional optimization algorithm must address the problem that a tiny fluctuation will lead to a large change in the solution space. Therefore, this paper adopts the DRL algorithm, which has the abilities of migration and dynamic learning, to independently find the best adaptation scheme under a wide range of complicated decision-making [<xref ref-type="bibr" rid="ref-25">25</xref>]. At the same time, the parameters generated by DRL can be transferred among subdomains to improve the efficiency and results of adaptation tasks in other adaptation subdomains.</p>
<p>(1) Transformation of an Adaptation Task into an RL Problem</p>
<p>The adaptation environment in this paper is denoted as <inline-formula id="ieqn-160"><mml:math id="mml-ieqn-160"><mml:mrow><mml:mi mathvariant="italic">S</mml:mi><mml:mi mathvariant="italic">D</mml:mi><mml:mi mathvariant="italic">E</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">v</mml:mi></mml:mrow></mml:math></inline-formula>, and the adaptation process is described as follows: In the adaptation domain <inline-formula id="ieqn-161"><mml:math id="mml-ieqn-161"><mml:msubsup><mml:mi>m</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, each task finds the most suitable service according to the current state of services. Accordingly, each such process is regarded as a STEP in the training of the RL, and an EPISODE is ended after all tasks have been allocated or when there are abnormalities. We set the REWARD as a polynomial in the QoS and denote an OBSERVATION of RL as <inline-formula id="ieqn-162"><mml:math id="mml-ieqn-162"><mml:mrow><mml:mo>&#x27E8;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x27E9;</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula id="ieqn-163"><mml:math id="mml-ieqn-163"><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the feature set of the current task to be assigned and <inline-formula id="ieqn-164"><mml:math id="mml-ieqn-164"><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the feature set of all services as well as the assigned tasks in the adaptation domain. An ACTION is the sequence number of the service that matches the task. In addition, if the matching result given by RL does not meet the constraint of supply-demand adaptation, the REWARD is directly set to a negative value as punishment [<xref ref-type="bibr" rid="ref-26">26</xref>]. The details of <inline-formula id="ieqn-165"><mml:math id="mml-ieqn-165"><mml:mrow><mml:mi mathvariant="italic">S</mml:mi><mml:mi mathvariant="italic">D</mml:mi><mml:mi mathvariant="italic">E</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">v</mml:mi></mml:mrow></mml:math></inline-formula> are shown in <xref ref-type="table" rid="table-1">Tab. 1</xref>.</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Details of SDEnv</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Item</th>
<th>Category</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>observation</td>
<td>Variable (tensor)</td>
<td>Denoted as <inline-formula id="ieqn-166"><mml:math id="mml-ieqn-166"><mml:mrow><mml:mo>&#x27E8;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x27E9;</mml:mo></mml:mrow></mml:math></inline-formula>; a feature set of the<break/>current task to be assigned and all services.</td>
</tr>
<tr>
<td>reward</td>
<td>Variable (number)</td>
<td>A polynomial of the QoS.</td>
</tr>
<tr>
<td>reset( )</td>
<td>Function</td>
<td>Resets the <inline-formula id="ieqn-167"><mml:math id="mml-ieqn-167"><mml:mrow><mml:mi mathvariant="italic">S</mml:mi><mml:mi mathvariant="italic">D</mml:mi><mml:mi mathvariant="italic">E</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">v</mml:mi></mml:mrow></mml:math></inline-formula>.Reorder tasks to be<break/>assigned, then returns <inline-formula id="ieqn-168"><mml:math id="mml-ieqn-168"><mml:mrow><mml:mi mathvariant="italic">o</mml:mi><mml:mi mathvariant="italic">b</mml:mi><mml:mi mathvariant="italic">s</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">v</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi><mml:mi mathvariant="italic">n</mml:mi></mml:mrow></mml:math></inline-formula>.</td>
</tr>
<tr>
<td>step(action)</td>
<td>Function</td>
<td>Assigns tasks according to <inline-formula id="ieqn-169"><mml:math id="mml-ieqn-169"><mml:mrow><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">c</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi><mml:mi mathvariant="italic">n</mml:mi></mml:mrow></mml:math></inline-formula>. Returns <inline-formula id="ieqn-170"><mml:math id="mml-ieqn-170"><mml:mrow><mml:mi mathvariant="italic">o</mml:mi><mml:mi mathvariant="italic">b</mml:mi><mml:mi mathvariant="italic">s</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">v</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi><mml:mi mathvariant="italic">n</mml:mi></mml:mrow></mml:math></inline-formula>, <inline-formula id="ieqn-171"><mml:math id="mml-ieqn-171"><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">w</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">d</mml:mi></mml:mrow></mml:math></inline-formula>, <inline-formula id="ieqn-172"><mml:math id="mml-ieqn-172"><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi><mml:mi>e</mml:mi></mml:math></inline-formula> (if completed), <inline-formula id="ieqn-173"><mml:math id="mml-ieqn-173"><mml:mi>o</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi></mml:math></inline-formula> (if ended abnormally); Abnormal state ends the process when the process or result does not satisfy any of the constraints 1, 2, or 3.</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>(2) Collaborative Mechanism of S-D Adaptation Based on TL</p>
<p>The distributions among adaptation subdomains are similar, so the parameters of DRL can be transferred among subdomains at a low cost. Coupled with the randomness of DRL, it is easy to find the optimal strategy using parallel training. Therefore, we combine the parameter transfer mechanism with RL; that is, each subdomain performs an independent RL process and carries out parameter transfer among processes simultaneously. Transfer is achieved through an external shared parameter pool, where each process uploads its parameters to the pool and searches for better parameters from the pool to apply to itself according to the rules.</p>
<p>(3) Supply-demand Adaptation Algorithm Based on DRL Powered by a Transfer Mechanism</p>
<p>It is necessary to establish a proper external shared parameter pool to share the experiences and conduct transfer learning in order to perform supply-demand adaptation and result optimization. This paper takes the double DQN (DDQN) algorithm [<xref ref-type="bibr" rid="ref-27">27</xref>,<xref ref-type="bibr" rid="ref-28">28</xref>] as the baseline, as shown in Algorithm 2:</p>
<fig id="fig-12">
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-12.png"/>
</fig>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Analysis of Experimental Results</title>
<p>To verify the model and methods proposed in this paper, two experiments are designed. One aims to show the validity of the divide-and-conquer method for the adaptation domain, and the other aims to verify the effectiveness of the DRL powered by the transfer mechanism in performing the dynamic adaptation task. The experimental environment is set as follows: the hardware is an i7-9900k with 32 GB RAM and a GTX1080; the software is a Python 3.7.4 platform with CUDA 10.0, TensorFlow 1.14.0 and Ubuntu 16.04. For different experiments, the supply-demand service dataset, and the Cora dataset [<xref ref-type="bibr" rid="ref-29">29</xref>] are adopted in this paper. The service network in the supply-demand service dataset includes 100 nodes and 736 edges, and the task network has 400 nodes and 2,143 edges. The Cora dataset contains 2,708 nodes, 5,429 edges, and 7 types of nodes, each of which has 1,433 dimensions.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Results of the Divide-and-conquer Method Based on DGC</title>
<p>To achieve the intelligent dynamic adaptation of massive service resources, we propose a divide-and-conquer method based on DGC simplify the complex adaptation problem. In this experiment, both the Cora and the supply-demand service datasets are used to verify the validity of the method.</p>
<p>(1) Results on the Cora Dataset</p>
<p>In accordance with reference [<xref ref-type="bibr" rid="ref-30">30</xref>], the first 140 nodes in the dataset are selected for training, and the last 1000 nodes are selected for testing, while another 500 nodes are selected in the middle for cross-validation. The number of clusters is set to 7 according to the number of categories in the Cora dataset to obtain the best clustering results. Based on the parameter setting in reference [<xref ref-type="bibr" rid="ref-30">30</xref>] and the pretraining carried out before the experiment, the specific parameters are shown in <xref ref-type="table" rid="table-2">Tab. 2</xref>:</p>
<table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Hyperparameters of DGC</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Hyperparameter</th>
<th>Value</th>
<th>Parent</th>
</tr>
</thead>
<tbody>
<tr>
<td>Training Set Size</td>
<td>140 nodes</td>
<td>GAT</td>
</tr>
<tr>
<td>Test Set Size</td>
<td>1000 nodes</td>
<td>GAT</td>
</tr>
<tr>
<td>Validation Set Size</td>
<td>500 nodes</td>
<td>GAT</td>
</tr>
<tr>
<td>Batch Size</td>
<td>1</td>
<td>GAT</td>
</tr>
<tr>
<td>Epochs</td>
<td>200</td>
<td>GAT</td>
</tr>
<tr>
<td>Episodes</td>
<td>20</td>
<td>DGC</td>
</tr>
<tr>
<td>Patience</td>
<td>50</td>
<td>GAT</td>
</tr>
<tr>
<td>Learning Rate</td>
<td>0.002</td>
<td>GAT</td>
</tr>
<tr>
<td>Hidden Units</td>
<td>8</td>
<td>GAT</td>
</tr>
<tr>
<td>Active Function</td>
<td>LeakyReLU</td>
<td>GAT</td>
</tr>
<tr>
<td>Number of Clusters</td>
<td>7</td>
<td>DGC</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Where <inline-formula id="ieqn-216"><mml:math id="mml-ieqn-216"><mml:mrow><mml:mi mathvariant="italic">E</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">o</mml:mi><mml:mi mathvariant="italic">c</mml:mi><mml:mi mathvariant="italic">h</mml:mi><mml:mi mathvariant="italic">s</mml:mi></mml:mrow></mml:math></inline-formula> is the number of GAT&#x2019;s training cycles; <inline-formula id="ieqn-217"><mml:math id="mml-ieqn-217"><mml:mrow><mml:mi mathvariant="italic">E</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">s</mml:mi><mml:mi mathvariant="italic">o</mml:mi><mml:mi mathvariant="italic">d</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">s</mml:mi></mml:mrow></mml:math></inline-formula> is the number of cycles, which includes the complete procedure of GAT forward propagation, clustering, pseudo-label generation and GAT training, processed by DGC; and <inline-formula id="ieqn-218"><mml:math id="mml-ieqn-218"><mml:mrow><mml:mi mathvariant="italic">P</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">c</mml:mi><mml:mi mathvariant="italic">e</mml:mi></mml:mrow></mml:math></inline-formula> is the threshold at which the training of the GAT stops prematurely.</p>
<p>The adjusted Rand index (ARI), adjusted mutual information (AMI)-based scores, the mean of homogeneity and completeness (V-measure), Fowlkes-Mallows scores and the silhouette coefficient (SC) are used to evaluate the clustering algorithms. Only the SC is used for situations where the ground truth is unknown; therefore, it is also used to evaluate the results on the supply-demand service dataset. We also use the results of K-means (KM), the Gaussian mixture model (GMM), the spectral clustering algorithm (SCA) and k-means&#x002B;&#x002B; (KMPP), which are implemented in scikit-learn, as comparisons. Since none of the above algorithms can properly process graph data, only the features of the nodes in the graph are considered, when clustering with these algorithms.</p>
<p>As shown in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>, the performance of DGC on various evaluation indicators increases with the number of iterations and tends to level off and eventually converge after 5-6 iterations. This is because the training of the DGC makes its neural network increasingly close to reality, leading to the correction and redistribution of pseudo-labels. The results of the clustering algorithms other than DGC fluctuate randomly, mainly because they have no &#x201C;learning&#x201D; process. Additionally, the result of the first episode of DGC is worse than that of its counterparts because the weights of the GAT are initialized randomly. It is also clear that the similarity between the results of DGC and the ground truth shows an obvious advantage over other traditional algorithms. That is, the results of DGC better represent the real categories of the original data.</p>
<p><xref ref-type="fig" rid="fig-5">Fig. 5a</xref> shows the variation in the number of samples in each cluster of DGC. In the first few episodes, it varies greatly because the DGC has not been fully trained. As training goes on, fewer samples are redistributed, and a balanced state is reached within approximately 5&#x2013;6 episodes. This result is consistent with <xref ref-type="fig" rid="fig-4">Fig. 4</xref>; that is, when the clustering results tend to be stable, the evaluation indicators also tend to be at their highest value. <xref ref-type="fig" rid="fig-5">Fig. 5b</xref> shows the number of iterations required for the DGC and KMPP algorithms to converge. The KMPP algorithm fluctuates irregularly, while the DGC algorithm, as the neural network is trained, gradually reduces the number of iterations. Similarly, it reaches a balanced state at 5&#x2013;6 episodes, which is consistent with the previous conclusion.</p>
<p>(2) Results on the Supply-demand Service Dataset</p>
<p>The clustering result of the DGC algorithm on the task network and service network is also verified in this paper. We set different numbers of clustering categories and then calculate the mean value in each case. The results are shown in <xref ref-type="fig" rid="fig-6">Fig. 6</xref>.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>Performance of DGC on various evaluation indicators</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-4.png"/>
</fig>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>Details of the clustering process</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-5.png"/>
</fig>
<fig id="fig-6">
<label>Figure 6</label>
<caption>
<title>Performance of DGC on the supply-demand service dataset</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-6.png"/>
</fig>
<p><xref ref-type="fig" rid="fig-6">Fig. 6</xref> shows the results on the supply-demand service dataset and are consistent with the results on the Cora dataset. The clustering results of DGC improve as training deepens, and finally, it is far superior to the traditional algorithm. In summary, these experimental results show the effectiveness of the simplification method for the proposed collaborative network model. The divide-and-conquer algorithm based on DGC and AS can perform better classification and improve the distribution consistency between the adaptation subdomain and the entire domain. It also reduces the complexity of the intelligent adaptation algorithm and reduces the cost of the transfer of experience. Finally, it significantly reduces the difficulty of dynamic adaptation of large amounts of resources.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Results of the Divide-and-conquer Method Based on DGC</title>
<p>In Section 3, the problem of supply-demand adaptation was transformed into a problem of RL, and the DDQN algorithm, which has stable performance, was selected as the baseline for this problem. After some pretraining sets, the parameters of DDQN are shown in <xref ref-type="table" rid="table-3">Tab. 3</xref>.</p>
<table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>Hyperparameters of DDQN</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Hyperparameter</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Observation Dimension</td>
<td>56</td>
</tr>
<tr>
<td>Action Dimension</td>
<td>6</td>
</tr>
<tr>
<td>Memory Size</td>
<td>200000</td>
</tr>
<tr>
<td>Target Net Replacement Iteration</td>
<td>20000</td>
</tr>
<tr>
<td>Learning Rate</td>
<td>0.002</td>
</tr>
<tr>
<td>Batch Size</td>
<td>256</td>
</tr>
<tr>
<td>Reward Decay</td>
<td>0.95</td>
</tr>
<tr>
<td>&#x03B5;-Greedy, Increment</td>
<td>0.95, 0.0001</td>
</tr>
<tr>
<td>Eval/Target Net Structure</td>
<td>2 Dense layers with 50 units</td>
</tr>
<tr>
<td>Active Function</td>
<td>ReLU</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In this table, Memory Size represents the maximum number of trajectories stored in the playback library; <inline-formula id="ieqn-219"><mml:math id="mml-ieqn-219"><mml:mrow><mml:mi>&#x03B5;</mml:mi></mml:mrow><mml:mrow><mml:mtext>-</mml:mtext></mml:mrow><mml:mrow><mml:mi mathvariant="italic">g</mml:mi><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">d</mml:mi><mml:mi mathvariant="italic">y</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula id="ieqn-220"><mml:math id="mml-ieqn-220"><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">c</mml:mi><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">m</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow></mml:math></inline-formula> are the maximum probability of nonrandom exploration and the increment rate of it in each iteration, respectively; and <inline-formula id="ieqn-221"><mml:math id="mml-ieqn-221"><mml:mrow><mml:mi mathvariant="italic">T</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">g</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mi>N</mml:mi><mml:mi>e</mml:mi><mml:mi>t</mml:mi><mml:mrow><mml:mi mathvariant="italic">R</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">p</mml:mi><mml:mi mathvariant="italic">l</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">c</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">m</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">t</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">I</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi><mml:mi mathvariant="italic">n</mml:mi></mml:mrow></mml:math></inline-formula> represents the update interval of the target net. Due to the randomness of RL, the indicators will fluctuate greatly. Therefore, in a total of 60,000 episodes, we calculated the mean value every 500 episodes, and then formed 120 data points.</p>
<p>(1) Results of Intelligent Adaption</p>
<p>In this paper, the results of the intelligent supply-demand adaptation method for the model based on the generalized QoS are shown in <xref ref-type="fig" rid="fig-7">Fig. 7</xref>.</p>
<p><xref ref-type="fig" rid="fig-7">Fig. 7</xref> shows the changes in the normalized QoS value and the two evaluation indicators. As shown in the figure, the algorithm begins to learn in the 24th evaluation period after storing 200,000 experiences. Since the QoS function we set prefers the <inline-formula id="ieqn-222"><mml:math id="mml-ieqn-222"><mml:mi>o</mml:mi><mml:mi>b</mml:mi><mml:mi>r</mml:mi></mml:math></inline-formula> value, it decreases after learning, while the other indicator increases accordingly due to the strict relationship between them. Once learning starts, the indicators gradually become stable after 20 more evaluation periods, and the normalized QoS increases in fluctuation and finally tends toward stability, indicating that the method in this paper can ultimately achieve the goal of supply-demand adaptation.</p>
<fig id="fig-7">
<label>Figure 7</label>
<caption>
<title>Results of the supply-demand adaptation</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-7.png"/>
</fig>
<p>(2) Effectiveness in Solving the Dynamic Supply-demand Adaptation Problem</p>
<p>We studied the probability of completing the adaptation task and the change in the cumulative reward obtained after completion.</p>
<p><xref ref-type="fig" rid="fig-8">Fig. 8a</xref> shows the variation in the average failure rate of the adaptation tasks. For the subdomain, the failure rate reaches as high as 85% before learning begins, due to the random exploration of the DDQN. However, once learning starts, it rises briefly and then rapidly falls. After reaching a certain value, the failure rate declines slowly, with fluctuations, and eventually falls below 30%. This indicates that the RL algorithm has learned the law of supply-demand adaptation and is able to process the situation and then allocate the tasks effectively. In contrast, the adaptation task in the entire adaptation domain, which doesn&#x2019;t adopt the divide-and-conquer method, cannot make any progress under the corresponding computational cost due to the large search space caused by the dimensional explosion. This indirectly demonstrates the practicality and effectiveness of the proposed divide-and-conquer method. <xref ref-type="fig" rid="fig-8">Fig. 8b</xref> shows the change in the cumulative reward, which has the similar change law shown in <xref ref-type="fig" rid="fig-8">Fig. 8a</xref>, and it also shows the effectiveness of the DRL algorithm in solving the problem of supply-demand adaptation.</p>
<fig id="fig-8">
<label>Figure 8</label>
<caption>
<title>Progresses of the adaptation task along with training</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-8.png"/>
</fig>
<p>In summary, RL has inherent advantages in solving dynamic supply-demand adaptation problems. When a task or service is introduced or removed, this algorithm can adapt according to previous experience without re-optimization, which greatly improves the efficiency of adaptation. Therefore, the method proposed in this paper can learn the laws of adaptation and can solve the dynamic adaptation problem.</p>
<p>(3) Advantages of TL in Solving Massive Supply-demand Adaptation Problems</p>
<p>In this paper, TL is used to share experiences in the adaptation subdomains to an external shared parameter pool as candidate experiences for other subdomains, and the performance improvements are investigated.</p>
<p><xref ref-type="fig" rid="fig-9">Fig. 9a</xref> shows the variation in the failure rate of the TL and non-TL methods. After the use of TL, the failure rate immediately decreases by approximately 30% compared with that of the non-TL method, indicating that the experience in the subdomain has some applicability. With the deepening of training, the final failure rate of TL is 5%&#x2013;10% lower than that without TL, indicating that TL can improve the performance of adaptation. <xref ref-type="fig" rid="fig-9">Fig. 9b</xref> shows how the rewards change, and the same conclusion can be drawn from this figure.</p>
<fig id="fig-9">
<label>Figure 9</label>
<caption>
<title>Comparison of methods with and without parameter transfer</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-9.png"/>
</fig>
<p>We also recorded the change in the adaptation results and adaptation efficiency in each adaptation subdomain by turning the TL mechanism on and off.</p>
<p>As shown in <xref ref-type="fig" rid="fig-10">Fig. 10a</xref>, the initial adaptation result of TL was greatly improved, with an average of 37.3% improvement in any subdomain. For the final adaptation result, there was an improvement in most cases, with the average reaching 4.7%. <xref ref-type="fig" rid="fig-10">Fig. 10b</xref> shows a comparison of the number of evaluation periods needed with and without TL when achieving 80% of the optimal adaptation result. This indicator shows the advantage of TL in improving training efficiency. In most cases, TL has an advantage of more than 20 evaluation periods, and the mean number is 24.647.</p>
<fig id="fig-10">
<label>Figure 10</label>
<caption>
<title>Overall advantages of TL</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="CMC_26574-fig-10.png"/>
</fig>
<p>In summary, using TL to transfer parameters between adaptation subdomains can greatly improve not only the results but also the efficiency of adaptation. The excellent results of TL also indirectly show that there is a very similar distribution rule in the adaptation subdomains and the entire adaptation domain, which proves the great benefits of applying the divide-and-conquer method. Therefore, as a part of the framework proposed in this paper, TL greatly improves the ability to perform massive supply-demand adaptation.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Conclusion</title>
<p>This paper proposes a new dynamic supply-demand adaptation model that can handle the massive resources involved in SCM. The proposed model effectively solves the problem of highly dynamic and massive services caused by the expansion of cloud manufacturing. The goal is to simplify the adaptation tasks by a divide-and-conquer strategy and empower the model to cope with dynamic resources by transforming the adaptation task into an RL problem to achieve the collaborative, intelligent and intensive adaptation of the large amounts of dynamic service resources in SCM. In this article, TL is also used to share experiences among adaptation subdomains to further improve the synergy and efficiency of supply-demand adaptation.</p>
<p>The results of the experiments show that the dynamic supply-demand adaptation model proposed in this paper is reasonable. The divide-and-conquer method based on DGC can reduce both the complexity of intelligent supply-demand adaptation algorithms and the cost of transferring adaptation experiences. Additionally, the RL environment proposed in this paper can learn the laws of adaptation and can solve dynamic supply-demand adaptation problems. Furthermore, TL, as a part of the proposed divide-and-conquer framework, greatly improves the ability of the model to handle supply-demand adaptation tasks involving large amounts of service resources.</p>
</sec>
</body>
<back>
<ack><p>Thanks for the support and help of the team when writing the paper. Thanks to the reviewers and experts of your magazine for their valuable opinions on the article revision. This author has provided great inspiration when writing.</p></ack>
<fn-group>
<fn fn-type="other"><p><bold>Funding Statement:</bold> This paper was supported in part by the National Natural Science Foundation of China under Grant 62172235, in part by Natural Science Foundation of Jiangsu Province of China under Grant BK20191381, in part by Primary Research &#x0026; Development Plan of Jiangsu Province Grant BE2019742.</p>
</fn>
<fn fn-type="conflict"><p><bold>Conflicts of Interest:</bold> The authors declare that they have no conflicts of interest to report regarding the present study.</p>
</fn>
</fn-group>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Almutairi</surname></string-name> and <string-name><given-names>M.</given-names> <surname>Aldossary</surname></string-name></person-group>, &#x201C;<article-title>Exploring and modelling iot offloading policies in edge cloud environments</article-title>,&#x201D; <source>Computer Systems Science and Engineering</source>, vol. <volume>41</volume>, no. <issue>2</issue>, pp. <fpage>611</fpage>&#x2013;<lpage>624</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>B.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Zhang</surname></string-name> and <string-name><given-names>X.</given-names> <surname>Chai</surname></string-name></person-group>, &#x201C;<article-title>Introduction to cloud manufacturing</article-title>,&#x201D; <source>ZTE Communications</source>, vol. <volume>16</volume>, no. <issue>4</issue>, pp. <fpage>5</fpage>&#x2013;<lpage>8</lpage>, <year>2010</year>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M. K.</given-names> <surname>Lim</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Xiong</surname></string-name> and <string-name><given-names>Z.</given-names> <surname>Lei</surname></string-name></person-group>, &#x201C;<article-title>Theory, supporting technology and application analysis of cloud manufacturing: a systematic and comprehensive literature review</article-title>,&#x201D; <source>Industrial Management &#x0026; Data Systems</source>, vol. <volume>120</volume>, no. <issue>8</issue>, pp. <fpage>1585</fpage>&#x2013;<lpage>1614</lpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Akbaripour</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Houshmand</surname></string-name>, <string-name><given-names>T. V.</given-names> <surname>Woensel</surname></string-name> and <string-name><given-names>N.</given-names> <surname>Mutlu</surname></string-name></person-group>, &#x201C;<article-title>Cloud manufacturing service selection optimization and scheduling with transportation considerations: Mixed-integer programming models</article-title>,&#x201D; <source>The International Journal of Advanced Manufacturing Technology</source>, vol. <volume>95</volume>, no. <issue>1-4</issue>, pp. <fpage>43</fpage>&#x2013;<lpage>70</lpage>, <year>2018</year>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Guo</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Du</surname></string-name> and <string-name><given-names>W.</given-names> <surname>Xu</surname></string-name></person-group>, &#x201C;<article-title>Distributed manufacturing resource selection strategy in cloud manufacturing</article-title>,&#x201D; <source>The International Journal of Advanced Manufacturing Technology</source>, vol. <volume>94</volume>, no. <issue>9</issue>, pp. <fpage>3375</fpage>&#x2013;<lpage>3388</lpage>, <year>2018</year>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y. J.</given-names> <surname>Hu</surname></string-name>, <string-name><given-names>L. T.</given-names> <surname>Pan</surname></string-name>, <string-name><given-names>D. W.</given-names> <surname>Gu</surname></string-name>, <string-name><given-names>Z. L.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>H. L.</given-names> <surname>Liu</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Matching of manufacturing resources in cloud manufacturing environment</article-title>,&#x201D; <source>Symmetry</source>, vol. <volume>13</volume>, no. <issue>10</issue>, pp. <fpage>1970</fpage>, <year>2021</year>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Wang</surname></string-name></person-group>, &#x201C;<article-title>An analysis of manufacturers supply and demand uncertainty based on the dynamic customization degree</article-title>,&#x201D; <source>International Journal of Production Research</source>, vol. <volume>49</volume>, no. <issue>10</issue>, pp. <fpage>3023</fpage>&#x2013;<lpage>3043</lpage>, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>R. W.</given-names> <surname>Salem</surname></string-name> and <string-name><given-names>M.</given-names> <surname>Haouari</surname></string-name></person-group>, &#x201C;<article-title>A simulation-optimization approach for supply chain network design under supply and demand uncertainties</article-title>,&#x201D; <source>International Journal of Production Research</source>, vol. <volume>55</volume>, no. <issue>7</issue>, pp. <fpage>1845</fpage>&#x2013;<lpage>1861</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Jabbarzadeh</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Fahimnia</surname></string-name> and <string-name><given-names>J.-B.</given-names> <surname>Sheu</surname></string-name></person-group>, &#x201C;<article-title>An enhanced robustness approach for managing supply and demand uncertainties</article-title>,&#x201D; <source>International Journal of Production Economics</source>, vol. <volume>183</volume>, no. <issue>1/2</issue>, pp. <fpage>620</fpage>&#x2013;<lpage>631</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>X.</given-names> <surname>Gong</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Yin</surname></string-name> and <string-name><given-names>X.</given-names> <surname>Li</surname></string-name></person-group>, &#x201C;<article-title>A grey correlation based supply-demand matching of machine tools with multiple quality factors in cloud manufacturing environment</article-title>,&#x201D; <source>Journal of Ambient Intelligence and Humanized Computing</source>, vol. <volume>10</volume>, no. <issue>3</issue>, pp. <fpage>1025</fpage>&#x2013;<lpage>1038</lpage>, <year>2019</year>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>X.</given-names> <surname>Luo</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Ren</surname></string-name> and <string-name><given-names>Y.</given-names> <surname>Lali</surname></string-name></person-group>, &#x201C;<article-title>A dynamic and static data based matching method for cloud 3D printing</article-title>,&#x201D; <source>Robotics and Computer-Integrated Manufacturing</source>, vol. <volume>61</volume>, no. <issue>4</issue>, pp. <fpage>101858</fpage>, <year>2020</year>. <uri>https://doi.org/10.1016/j.rcim.2019.101858</uri>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Rau</surname></string-name>, <string-name><given-names>S. D.</given-names> <surname>Budiman</surname></string-name> and <string-name><given-names>C. N.</given-names> <surname>Monteiro</surname></string-name></person-group>, &#x201C;<article-title>Improving the sustainability of a reverse supply chain system under demand uncertainty by using postponement strategies</article-title>,&#x201D; <source>Waste Management</source>, vol. <volume>131</volume>, pp. <fpage>72</fpage>&#x2013;<lpage>87</lpage>, <year>2021</year><uri>https://doi.org/10.1016/j.wasman.2021.05.018</uri>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Zheng</surname></string-name> and <string-name><given-names>D.</given-names> <surname>Shi</surname></string-name></person-group>, &#x201C;<article-title>A multi-agent system for environmental monitoring using Boolean networks and reinforcement learning</article-title>,&#x201D; <source>Journal of Cyber Security</source>, vol. <volume>2</volume>, no. <issue>2</issue>, pp. <fpage>85</fpage>&#x2013;<lpage>96</lpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>&#x010C;au&#x0161;evi&#x0107;</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Warnier</surname></string-name> and <string-name><given-names>F. M. T.</given-names> <surname>Brazier</surname></string-name></person-group>, &#x201C;<article-title>Dynamic, self-organized clusters as a means to supply and demand matching in large-scale energy systems</article-title>,&#x201D; in <conf-name>Proc. of the 2017 IEEE 14th Int. Conf. on Networking, Sensing and Control (ICNSC)</conf-name>, <publisher-loc>Italy</publisher-loc>, <publisher-name>Calabria</publisher-name>, pp. <fpage>568</fpage>&#x2013;<lpage>573</lpage>, <year>2017</year><uri>10.1109/ICNSC.2017.8000154</uri></mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>W.</given-names> <surname>Chen</surname></string-name> and <string-name><given-names>I.</given-names> <surname>Paik</surname></string-name></person-group>, &#x201C;<article-title>Toward better quality of service composition based on a global social service network</article-title>,&#x201D; <source>IEEE Transactions on Parallel and Distributed Systems</source>, vol. <volume>26</volume>, no. <issue>5</issue>, pp. <fpage>1466</fpage>&#x2013;<lpage>1476</lpage>, <year>2015</year>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Zhou</surname></string-name> and <string-name><given-names>X.</given-names> <surname>Yao</surname></string-name></person-group>, &#x201C;<article-title>Multi-population parallel self-adaptive differential artificial bee colony algorithm with application in large-scale service composition for cloud manufacturing</article-title>,&#x201D; <source>Applied Soft Computing</source>, vol. <volume>56</volume>, no. <issue>5</issue>, pp. <fpage>379</fpage>&#x2013;<lpage>397</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Salpakari</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Mikkola</surname></string-name> and <string-name><given-names>P. D.</given-names> <surname>Lund</surname></string-name></person-group>, &#x201C;<article-title>Improved flexibility with large-scale variable renewable power in cities through optimal demand side management and power-to-heat conversion</article-title>,&#x201D; <source>Energy Conversion and Management</source>, vol. <volume>126</volume>, no. <issue>2014</issue>, pp. <fpage>649</fpage>&#x2013;<lpage>661</lpage>, <year>2016</year>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y.</given-names> <surname>Cheng</surname></string-name>, <string-name><given-names>F.</given-names> <surname>Tao</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Zhao</surname></string-name> and <string-name><given-names>L.</given-names> <surname>Zhang</surname></string-name></person-group>, &#x201C;<article-title>Modeling of manufacturing service supply-demand matching hypernetwork in service-oriented manufacturing systems</article-title>,&#x201D; <source>Robotics and Computer-Integrated Manufacturing</source>, vol. <volume>45</volume>, no. <issue>10</issue>, pp. <fpage>59</fpage>&#x2013;<lpage>72</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y.</given-names> <surname>Cheng</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Xie</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Zhao</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Ji</surname></string-name> and <string-name><given-names>F.</given-names> <surname>Tao</surname></string-name></person-group>, &#x201C;<article-title>Scalable hypernetwork-based manufacturing services supply demand matching toward industrial internet platforms</article-title>,&#x201D; <source>IEEE Transactions on Systems, Man, and Cybernetics: Systems</source>, vol. <volume>50</volume>, no. <issue>12</issue>, pp. <fpage>5000</fpage>&#x2013;<lpage>5014</lpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>R.</given-names> <surname>Hao</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Cheng</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Zhang</surname></string-name> and <string-name><given-names>F.</given-names> <surname>Tao</surname></string-name></person-group>, &#x201C;<article-title>Manufacturing service supply-demand optimization with dual diversities for industrial internet platforms</article-title>,&#x201D; <source>Computers &#x0026; Industrial Engineering</source>, vol. <volume>156</volume>, no. <issue>5</issue>, pp. <fpage>107237</fpage>, <year>2021</year>. <uri>https://doi.org/10.1016/j.cie.2021.107237</uri>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y.</given-names> <surname>Hu</surname></string-name>, <string-name><given-names>F.</given-names> <surname>Tao</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Zhao</surname></string-name> and <string-name><given-names>Z.</given-names> <surname>Zhou</surname></string-name></person-group>, &#x201C;<article-title>Manufacturing grid resource and resource service digital description</article-title>,&#x201D; <source>International Journal of Advanced Manufacturing Technology</source>, vol. <volume>44</volume>, no. <issue>9</issue>, pp. <fpage>1024</fpage>&#x2013;<lpage>1035</lpage>, <year>2009</year>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Zhou</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Ren</surname></string-name> and <string-name><given-names>J.</given-names> <surname>Wang</surname></string-name></person-group>, &#x201C;<article-title>Real-time scheduling of cloud manufacturing services based on dynamic data-driven simulation</article-title>,&#x201D; <source>IEEE Transactions on Industrial Informatics</source>, vol. <volume>15</volume>, no. <issue>9</issue>, pp. <fpage>5042</fpage>&#x2013;<lpage>5051</lpage>, <year>2019</year>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Lee</surname></string-name></person-group>, &#x201C;<article-title>A study on classification and detection of small moths using cnn model</article-title>,&#x201D; <source>Computers, Materials &#x0026; Continua</source>, vol. <volume>71</volume>, no. <issue>1</issue>, pp. <fpage>1987</fpage>&#x2013;<lpage>1998</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-24"><label>[24]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Caron</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Bojanowski</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Joulin</surname></string-name> and <string-name><given-names>M.</given-names> <surname>Douze</surname></string-name></person-group>, &#x201C;<article-title>Deep clustering for unsupervised learning of visual features</article-title>,&#x201D; in <conf-name>presented at the Proc. of the European Conf. on Computer Vision (ECCV)</conf-name>, Germany, Munich, pp. <fpage>132</fpage>&#x2013;<lpage>149</lpage>, <year>2018</year>.</mixed-citation></ref>
<ref id="ref-25"><label>[25]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Shoab</surname></string-name> and <string-name><given-names>A. S.</given-names> <surname>Alotaibi</surname></string-name></person-group>, &#x201C;<article-title>Deep q-learning based optimal query routing approach for unstructured p2p network</article-title>,&#x201D; <source>Computers, Materials &#x0026; Continua</source>, vol. <volume>70</volume>, no. <issue>3</issue>, pp. <fpage>5765</fpage>&#x2013;<lpage>5781</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-26"><label>[26]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Mao</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Alizadeh</surname></string-name>, <string-name><given-names>I.</given-names> <surname>Menache</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Kandula</surname></string-name></person-group>, &#x201C;<article-title>Resource management with deep reinforcement learning</article-title>,&#x201D; in <conf-name>Proc. of the 15th ACM Workshop on Hot Topics in Networks</conf-name>, <publisher-loc>Atlanta, GA, USA</publisher-loc>, <publisher-name>HotNets-XV</publisher-name>, pp. <fpage>50</fpage>&#x2013;<lpage>56</lpage>, <year>2016</year>. </mixed-citation></ref>
<ref id="ref-27"><label>[27]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>van Hasselt</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Guez</surname></string-name> and <string-name><given-names>D.</given-names> <surname>Silver</surname></string-name></person-group>, &#x201C;<article-title>Deep reinforcement learning with double q-learning</article-title>,&#x201D; in <conf-name>Thirtieth AAAI Conf. on Artificial Intelligence</conf-name>, <publisher-loc>Worldwide</publisher-loc>, <publisher-name>AAAI Press, </publisher-name><volume>30</volume>, pp. <fpage>2094</fpage>&#x2013;<lpage>2100</lpage>, <year>2016</year>. </mixed-citation></ref>
<ref id="ref-28"><label>[28]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Sun</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Zhou</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Wen</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Wei</surname></string-name> and <string-name><given-names>X.</given-names> <surname>Wang</surname></string-name></person-group>, &#x201C;<article-title>A dqn-based cache strategy for mobile edge networks</article-title>,&#x201D; <source>Computers, Materials &#x0026; Continua</source>, vol. <volume>71</volume>, no. <issue>2</issue>, pp. <fpage>3277</fpage>&#x2013;<lpage>3291</lpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-29"><label>[29]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>T.</given-names> <surname>Kipf</surname></string-name> and <string-name><given-names>M.</given-names> <surname>Welling</surname></string-name></person-group>, &#x201C;<article-title>Semi-supervised classification with graph convolutional networks</article-title>,&#x201D; in <conf-name>5th Int. Conf. on Learning Representations (ICLR)</conf-name>, <publisher-loc> France, Toulon</publisher-loc>: OpenReview.net, pp. <fpage>1</fpage>&#x2013;<lpage>14</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-30"><label>[30]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>P.</given-names> <surname>Veli&#x010D;kovi&#x0107;</surname></string-name>, <string-name><given-names>G.</given-names> <surname>Cucurull</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Casanova</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Romero</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Li&#x00F2;</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Graph attention networks</article-title>,&#x201D; in <conf-name>6th Int. Conf. on Learning Representations (ICLR)</conf-name>, <publisher-loc>Vancouver, BC, Canada</publisher-loc>: OpenReview.net, pp. <fpage>1</fpage>&#x2013;<lpage>12</lpage>, <year>2018</year>.</mixed-citation></ref>
</ref-list>
</back>
</article>
