Processing method, device and electronic equipment for black-box-based software supply chain
Patent Information
- Application Number
- CN202310912872.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-07-24
AI Technical Summary
[0004]本申请的主要目的在于提供一种基于黑盒的软件供应链的处理方法、基于黑盒的软件供应链的处理装置、计算机可读存储介质和电子设备,以至少解决现有的软件研发产品真实功能和需求匹配度较低的问题
[0015]应用本申请的技术方案,上述黑盒的软件供应链的处理方法,首先获取初始服务信息,并根据初始服务信息配置初始服务的输入数据、初始服务的执行数据和初始服务的输出数据,初始服务信息至少包括初始服务的运行数据和初始服务的运行结果;之后至少根据初始服务的输入数据、初始服务的执行数据和初始服务的输出数据,配置黑盒中的目标服务,目标服务至少包括虚拟服务,虚拟服务为根据初始服务得到的;最后针对目标服务中的虚拟服务,根据目标服务在黑盒中的入口数据、目标服务在黑盒中的执行数据和目标服务在黑盒中的出口数据,运行目标服务,得到真实运行结果,在真实运行结果为目标运行结果的情况下,将目标服务储存在服务器中,在真实运行结果为非目标运行结果的情况下,重新配置目标服务。该方法以黑盒理论作为软件供应链环境中的关键一环,解决了业务对系统情况不完全了解从而无法有效地规划系统未来实现的问题,通过黑盒和虚拟服务,使得业务不需要主动关注实现过程,只关注实现结果的出入口,且业务人员可以根据需求和根据上下文服务对目标服务进行任意配置和探索性业务尝试,通过软件供应链的方法,使得业务人员先尝试、先认可需求结果,再由研发人员实现,该方法既减少了大方向的错误,又给具体实现带来了细节,解决了现有的软件研发产品真实功能和需求匹配度较低的问题。
Smart Images

Figure CN116956274B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of software supply chain, and more specifically, to a black-box-based software supply chain processing method, a black-box-based software supply chain processing apparatus, a computer-readable storage medium, and an electronic device. Background Technology
[0002] With the development of the software industry, it has experienced a qualitative leap, but it also faces the problem of an overabundance of software products and applications. How to effectively integrate production and demand for collaborative innovation is a challenge faced by various industries. In the manufacturing sector, deep integration of information technology and manufacturing can better promote manufacturing development. In the financial industry, similar ideas, technologies, and platforms are being accumulated to promote collaborative innovation. To achieve effective collaborative innovation, it is necessary to focus on common technologies and applications for industrialization; and to effectively integrate production and demand, collaborative innovation must be a fundamental principle.
[0003] In the software and hardware industry, especially the pure software industry, a common R&D challenge lies in whether the output matches the requirements, whether the output meets the target of the requirements, and whether the business and implementation are well coordinated. Currently, software development directions are basically divided into two categories: one is application productization led by product managers. The advantage of this approach is a fast software iteration cycle and rapid market response, but product managers often lack sufficient understanding of existing applications or technologies, resulting in high-level product planning but low implementation. The other category is waterfall-based software development, which is the development method for most projects. Its advantage is that the requirements are relatively clear, making implementation easier, but the problems are also obvious: a lack of innovation-driven development, and an inevitable discrepancy between requirements and actual implementation. Summary of the Invention
[0004] The main objective of this application is to provide a black-box-based software supply chain processing method, a black-box-based software supply chain processing device, a computer-readable storage medium, and an electronic device, so as to at least solve the problem of low matching degree between the actual functions and requirements of existing software development products.
[0005] To achieve the above objectives, according to one aspect of this application, a black-box-based software supply chain processing method is provided, comprising: acquiring initial service information, and configuring input data, execution data, and output data of the initial service according to the initial service information, wherein the initial service information includes at least the running data and running results of the initial service; configuring a target service in the black box according to at least the input data, execution data, and output data of the initial service, wherein the target service includes at least a virtual service obtained from the initial service; running the target service for the virtual service in the target service according to the entry data, execution data, and exit data of the target service in the black box, obtaining a real running result; storing the target service in a server if the real running result is the target running result; and reconfiguring the target service if the real running result is not the target running result.
[0006] Optionally, before obtaining the initial service information, the method further includes: obtaining the technical language describing each service, wherein the technical language of the service includes at least the service's operating parameters, the service's calling parameters, and the service's code data, and the technical language of the service is a computer-recognizable language; converting the technical language describing each service into a business language, wherein the business language is a specified language; and using a preset identifier to represent each service, wherein the preset identifier includes at least the identifier shape and the identifier color of the preset identifier, wherein the identifier shape of the preset identifier indicates the type of service, and the identifier color of the preset identifier indicates the operating status of the service.
[0007] Optionally, each of the services is represented by a preset identifier, including: when the target service is in a non-running state, the identifier color of the preset identifier is a first color; when the actual running result is the target running result, the target service is confirmed to be in a completed state, and the identifier color of the preset identifier is a second color; when the actual running result is the non-target running result, the target service is confirmed to be in a run-but-not-completed state, and the identifier color of the preset identifier is a third color.
[0008] Optionally, configuring the target service in the black box, at least based on the input data, execution data, and output data of the initial service, includes: generating a virtual task based on the input data, execution data, and output data of the initial service, wherein the input data of the virtual task corresponds to the input data of the initial service, the execution data of the virtual task corresponds to the execution data of the initial service, and the output data of the virtual task corresponds to the output data of the initial service; obtaining all real services, wherein the real services are services that have been run within a historical time period and are stored in the server; and obtaining the target service based on the virtual services and the real services, wherein the target service includes the virtual service and / or the real service.
[0009] Optionally, the target service includes the virtual service and the real service. Obtaining the target service based on the virtual service and the real service includes: acquiring the target running result, which is the running result theoretically obtained after the target service runs; and assembling the virtual service and the real service based on the target running result to obtain the target service. The assembly method of the virtual service and the real service is either a first type of assembly running method or a second type of assembly running method. The first type of assembly running method includes at least parallel running, serial running, and conditional running. The second type of assembly running method includes at least nested running and information-triggered running.
[0010] Optionally, for the real services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial running parameters; if the initial running parameters are configured completely, the real service is processed using the real service processing method to obtain the real service processing result. The real service processing method includes at least one of the following: baffle processing, virtual data processing, and interceptor processing.
[0011] Optionally, for the actual services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with initial operating parameters. This includes: for the actual services in the target service, a union calculation is used to obtain a calculation result, which is used to indicate whether the initial operating parameters exist in the server; if the initial operating parameters exist in the server and the initial operating parameters are target parameters, then the initial operating parameters do not need to be reconfigured; if the initial operating parameters do not exist in the server, or if the initial operating parameters existing in the server are not target parameters, then the initial operating parameters are reconfigured to the target parameters.
[0012] According to another aspect of this application, a black-box-based software supply chain processing apparatus is provided, comprising: a first configuration unit, configured to acquire initial service information and configure input data, execution data, and output data of the initial service according to the initial service information, wherein the initial service information includes at least running data and running results of the initial service; a second configuration unit, configured to configure a target service in the black box according to at least the input data, execution data, and output data of the initial service, wherein the target service includes at least a virtual service obtained from the initial service; and a running unit, configured to run the target service for the virtual service in the target service according to the entry data, execution data, and exit data of the target service in the black box, to obtain a real running result, wherein if the real running result is the target running result, the target service is stored in a server, and if the real running result is not the target running result, the target service is reconfigured.
[0013] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform any of the aforementioned black-box-based software supply chain processing methods.
[0014] According to another aspect of this application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a processing method for performing any of the described black-box-based software supply chain methods.
[0015] Applying the technical solution of this application, the above-mentioned black-box software supply chain processing method first obtains initial service information, and configures the input data, execution data, and output data of the initial service based on the initial service information. The initial service information includes at least the running data and running results of the initial service. Then, based at least on the input data, execution data, and output data of the initial service, the target service in the black box is configured. The target service includes at least a virtual service, which is obtained based on the initial service. Finally, for the virtual service in the target service, the target service is run based on the entry data, execution data, and exit data of the target service in the black box to obtain the actual running result. If the actual running result is the target running result, the target service is stored in the server. If the actual running result is not the target running result, the target service is reconfigured. This method uses black-box theory as a key link in the software supply chain environment, solving the problem that businesses cannot effectively plan the future implementation of the system because they do not have a complete understanding of the system. Through black boxes and virtual services, businesses do not need to actively focus on the implementation process, but only on the entry and exit points of the implementation results. Business personnel can arbitrarily configure and explore business based on requirements and context services. Through the software supply chain approach, business personnel can try and approve the requirements first, and then the developers can implement them. This method reduces errors in the overall direction and adds details to the specific implementation, solving the problem of low matching between the actual functions and requirements of existing software development products. Attached Figure Description
[0016] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0017] Figure 1 A hardware structure block diagram of a mobile terminal implementing a black-box-based software supply chain processing method is shown in an embodiment of this application.
[0018] Figure 2 A flowchart illustrating a black-box-based software supply chain processing method according to an embodiment of this application is shown.
[0019] Figure 3 A flowchart illustrating another black-box-based software supply chain processing method provided according to an embodiment of this application is shown.
[0020] Figure 4 A structural block diagram of a black-box-based software supply chain processing apparatus is shown according to an embodiment of this application.
[0021] The above figures include the following reference numerals:
[0022] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation
[0023] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0024] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] As described in the background section, existing software development mainly suffers from the following problems:
[0027] 1. In the traditional waterfall model development process, communication between requirements personnel and implementation personnel is complicated, and the documentation is vague, which leads to the output not necessarily being what is needed.
[0028] 2. In the traditional waterfall model of R&D process, there are many meetings between requirements personnel and implementation personnel, constant communication, and often the meaning is not clearly expressed, making it difficult to form a collaborative work.
[0029] 3. In non-traditional waterfall development processes, product managers or requirements personnel often lack a thorough understanding of existing implementations, especially specific modules and functions, which often leads to well-planned but unimplementable projects.
[0030] 4. Regardless of the R&D model, there is a lack of a method or device that allows requirement personnel to easily understand the current state of R&D and effectively conduct requirement analysis and innovative experience on existing modules. Meanwhile, it is also difficult for R&D personnel to understand the true intentions of requirement personnel.
[0031] To address the issue of low matching between the actual functionality and requirements of existing software development products, embodiments of this application provide a black-box-based software supply chain processing method, a black-box-based software supply chain processing apparatus, a computer-readable storage medium, and an electronic device.
[0032] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0033] The methods and embodiments provided in this application can be executed on a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a black-box-based software supply chain processing method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0034] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the black-box-based software supply chain processing method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0035] This embodiment provides a black-box-based software supply chain processing method that runs on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0036] Figure 2 This is a flowchart of a black-box-based software supply chain processing method according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:
[0037] Step S201: Obtain initial service information, and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the running data and running results of the initial service.
[0038] Specifically, when business personnel need to perform a business module or function, a black box is provided for their use. Business personnel need to obtain the initial service according to their needs and first complete the initialization of the black box, that is, first determine the input data, execution data and output data of the initial service itself.
[0039] Prior to step S201, the above method further includes the following steps:
[0040] Step S301: Obtain the technical language describing each service. The technical language of the service includes at least the service's running parameters, the service's calling parameters, and the service's code data. The technical language of the service is a language that a computer can recognize.
[0041] Step S302: Convert the technical language describing each of the above services into a business language, wherein the business language is a specified language.
[0042] Step S303: Each of the above services is represented by a preset identifier. The preset identifier includes at least the identifier shape and the identifier color of the preset identifier. The identifier shape of the preset identifier represents the type of the service, and the identifier color of the preset identifier represents the operating status of the service.
[0043] Specifically, technical languages are generally computer-readable programming languages such as C, Java, and C++, while business languages are generally user- and business-readable languages such as icons and text. The conversion process requires transforming service parameters, calls, and code into business configurations and business language. Because services have various nesting, dependencies, and mutual exclusion relationships, existing services need to be distinguished graphically using shapes and colors. This allows business personnel and users to more clearly understand the operational status of each service and to operate accordingly.
[0044] The specific implementation steps of step S303 are as follows:
[0045] Step S3031: When the target service is not running, the color of the preset identifier is the first color.
[0046] Step S3032: If the actual running result is the target running result, confirm that the target service is in a completed state, and the color of the preset identifier is the second color.
[0047] Step S3033: If the actual running result is the non-target running result, confirm that the target service is in a running but incomplete state, and the color of the preset identifier is the third color.
[0048] Specifically, the identifiers for different service types vary. Service types can include general services and special services. General services can be simple and straightforward, such as payment services or discount services. Special services can be more complex, such as payment services under specific conditions or specific discount amounts. This allows business personnel and users to more clearly distinguish between various services and understand their operational status, enabling them to operate each service effectively.
[0049] Step S202: Configure the target service in the black box based at least on the input data of the initial service, the execution data of the initial service, and the output data of the initial service. The target service includes at least a virtual service, which is obtained based on the initial service.
[0050] Specifically, the tasks to be executed are placed into a black box, and the entry point, description, and exit point of each task within the black box are obtained. Since the initial service is established by business personnel based on requirements, the initial service is generally a virtual service.
[0051] The specific implementation steps of step S202 are as follows:
[0052] Step S401: Based on the input data of the initial service, the execution data of the initial service, and the output data of the initial service, a virtual task is generated. The input data of the virtual task corresponds to the input data of the initial service, the execution data of the virtual task corresponds to the execution data of the initial service, and the output data of the virtual task corresponds to the output data of the initial service.
[0053] Step S402: Obtain all real services, which are services that have been run within the historical time period and are stored in the aforementioned servers.
[0054] Step S403: Based on the virtual service and the real service, obtain the target service, which includes the virtual service and / or the real service.
[0055] Specifically, after a virtual service is generated, business personnel can assemble the real service and the virtual service according to their own ideas. The assembled service will be retained in its entirety. When developers implement the virtual service, they will treat the upstream and downstream services of the virtual service as the upstream and downstream of the supply chain, such as entry and exit points, in order to meet the requirements of the real realization of the virtual service.
[0056] In addition, the target service can include only virtual services, or it can include both virtual and real services. By combining and operating real and virtual services, the entire service process can be effectively run, solving the problem that the entire service cannot run if a certain service is missing. This method allows business personnel to experience the future implementation effect in advance.
[0057] The target service mentioned above includes the virtual service and the real service mentioned above. The specific implementation steps of step S403 are as follows:
[0058] Step S4031: Obtain the above target running result, which is the running result theoretically obtained after the above target service runs;
[0059] Step S4032: Based on the target operation result, the virtual service and the real service are assembled to obtain the target service. The assembly method of the virtual service and the real service is either a first type of assembly operation method or a second type of assembly operation method. The first type of assembly operation method includes at least parallel operation, serial operation and conditional operation. The second type of assembly operation method includes at least nested operation and information-triggered operation.
[0060] Specifically, the first type of assembly operation mode includes simple serial, parallel, cyclic, and conditional operations. The second type of assembly operation mode includes various complex assemblies such as nested, message-based, and destruction-based assemblies. Nested assembly, for example, does not apply discounts if a first condition is met, but applies discounts if a second condition is met. Message-based assembly, for example, executes a service when the real service receives a message from the virtual service, or when the virtual service receives a message from the real service. Through black-box and virtual services, businesses do not need to actively focus on the implementation process, but only on the entry and exit points of the results. Business personnel can also perform DIY and exploratory business experiments based on the context service, and freely assemble real and virtual services according to their needs.
[0061] Step S203: For the virtual service in the target service, based on the entry data, execution data and exit data of the target service in the black box, run the target service to obtain the actual running result. If the actual running result is the target running result, store the target service in the server. If the actual running result is not the target running result, reconfigure the target service.
[0062] Specifically, through black-box and virtual service mechanisms, the system effectively addresses the challenges of exploring and implementing uncertain future business scenarios. A complete supply chain structure enables maximum collaborative application and innovation between business personnel and implementation teams. Through operational and process retention mechanisms, business personnel gain access to WYSIWYG application scenarios, while R&D personnel understand the true intent of the business, moving beyond textual descriptions to a system-wide experience. Where the actual operational result matches the target result, the target service is marked as completed and saved; the virtual service within the target service is essentially equivalent to the real service.
[0063] The above method also includes the following steps:
[0064] Step S501: For the real services in the target services, use union calculation to determine whether the target services need to be reconfigured with initial running parameters;
[0065] Step S502: With the initial running parameters configured as described above, the real service is processed using the real service processing method to obtain the real service processing result. The real service processing method includes at least one of the following: baffle processing, virtual data processing, and interceptor processing.
[0066] Specifically, through the operational and process retention mechanisms, business personnel can obtain future WYSIWYG scenario applications, while R&D personnel can understand the true thoughts of the business. The understanding process is no longer limited to text and descriptions, but is conducted through system experience officers.
[0067] The specific implementation steps of step S501 are as follows:
[0068] Step S5011: For the real service in the target service, the union calculation is used to obtain the calculation result. The calculation result is used to indicate whether the initial running parameters exist in the server.
[0069] Step S5012: If the initial operating parameters exist in the server and the initial operating parameters are target parameters, there is no need to reconfigure the initial operating parameters.
[0070] Step S5013: If the initial operating parameters do not exist in the server, or if the initial operating parameters existing in the server are not the target parameters, the initial operating parameters are reconfigured to the target parameters.
[0071] Specifically, by combining and operating real and virtual services, the entire service process can operate effectively, solving the problem that the entire service would fail if a certain service was missing. This method allows business personnel to experience the future implementation effect in advance. Through a software supply chain approach, business personnel first try and approve the desired results before the developers implement them. This method reduces major errors while providing details for the specific implementation.
[0072] The software supply chain processing method of the black box described in this application first obtains initial service information and configures the input data, execution data, and output data of the initial service based on the initial service information. The initial service information includes at least the running data and running results of the initial service. Then, based on at least the input data, execution data, and output data of the initial service, a target service in the black box is configured. The target service includes at least a virtual service, which is obtained from the initial service. Finally, for the virtual service in the target service, the target service is run based on the entry data, execution data, and exit data of the target service in the black box to obtain the actual running result. If the actual running result is the target running result, the target service is stored in the server. If the actual running result is not the target running result, the target service is reconfigured. This method uses black-box theory as a key link in the software supply chain environment, solving the problem that businesses cannot effectively plan the future implementation of the system because they do not have a complete understanding of the system. Through black boxes and virtual services, businesses do not need to actively focus on the implementation process, but only on the entry and exit points of the implementation results. Business personnel can arbitrarily configure and explore business based on requirements and context services. Through the software supply chain approach, business personnel can try and approve the requirements first, and then the developers can implement them. This method reduces errors in the overall direction and adds details to the specific implementation, solving the problem of low matching between the actual functions and requirements of existing software development products.
[0073] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the black-box-based software supply chain processing method of this application will be described in detail below with reference to specific embodiments.
[0074] This embodiment relates to a specific black-box-based software supply chain processing method, such as... Figure 3 As shown, it includes the following steps:
[0075] Step S1: Presenting existing services. This involves translating the technical language of existing services into business language to present various services in a business-oriented manner.
[0076] Step S2: Service black box processing logic. Provide the black box to business personnel for use. Business personnel complete the configuration of the service's entry point, description, and exit point in the black box according to their needs.
[0077] Step S3: Virtual service generation. Generate virtual services according to requirements and complete the configuration of virtual services in a black box.
[0078] Step S4: Retention of Assembly Services. After generating virtual services, business personnel assemble virtual and real services according to their needs. The assembled services will be retained in their entirety. When R&D personnel implement virtual services, they treat the upstream and downstream services of the virtual services as the upstream and downstream of the supply chain, such as entry and exit points, in order to meet the real realization of virtual services.
[0079] Step S5: Service execution processing: Based on the union calculation, determine whether the data of the service in the target service needs to be initialized when running the target service;
[0080] Step S6: Form a complete supply chain, run the target services configured by business personnel, and present them using different graphics and colors according to the type and operating status of the target services.
[0081] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0082] This application also provides a black-box-based software supply chain processing apparatus. It should be noted that this black-box-based software supply chain processing apparatus can be used to execute the black-box-based software supply chain processing method provided in this application. This apparatus is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0083] The following describes the black-box-based software supply chain processing apparatus provided in the embodiments of this application.
[0084] Figure 4 This is a schematic diagram of a black-box-based software supply chain processing apparatus according to an embodiment of this application. Figure 4As shown, the device includes a first configuration unit 10, a second configuration unit 20, and a running unit 30. The first configuration unit 10 is used to acquire initial service information and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the running data and the running result of the initial service. The second configuration unit 20 is used to configure a target service in the black box according to at least the input data, execution data, and output data of the initial service. The target service includes at least a virtual service, which is obtained based on the initial service. The running unit 30 is used to run the target service for the virtual service in the target service according to the entry data, execution data, and exit data of the target service in the black box, to obtain a real running result. If the real running result is the target running result, the target service is stored in the server. If the real running result is not the target running result, the target service is reconfigured.
[0085] The software supply chain processing apparatus for the aforementioned black box of this application includes a first configuration unit, a second configuration unit, and an operating unit. The first configuration unit is used to acquire initial service information and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the operating data and the operating result of the initial service. The second configuration unit is used to configure a target service in the black box according to at least the input data, execution data, and output data of the initial service. The target service includes at least a virtual service, which is obtained from the initial service. The operating unit is used to run the target service for the virtual service in the target service according to the entry data, execution data, and exit data of the target service in the black box, to obtain the actual operating result. If the actual operating result is the target operating result, the target service is stored in the server. If the actual operating result is not the target operating result, the target service is reconfigured. This device uses black-box theory as a key link in the software supply chain environment, solving the problem that businesses cannot effectively plan the future implementation of the system because they do not have a complete understanding of the system. Through black boxes and virtual services, businesses do not need to actively focus on the implementation process, but only on the entry and exit points of the implementation results. Business personnel can arbitrarily configure and explore business processes for target services based on their needs and contextual services. Through the software supply chain approach, business personnel can try and approve the required results first, and then the developers can implement them. This method reduces errors in the overall direction and adds details to the specific implementation, solving the problem of low matching between the actual functions and requirements of existing software development products.
[0086] In an optional embodiment, the above apparatus further includes a first acquisition unit, a conversion unit, and an identification unit. The first acquisition unit acquires the technical language describing each service before acquiring initial service information. The technical language of the service includes at least the service's operating parameters, the service's calling parameters, and the service's code data. The technical language of the service is a computer-recognizable language. The conversion unit converts the technical language describing each service into a business language, which is a specified language. The identification unit uses a preset identifier to represent each service. The preset identifier includes at least the identifier shape and the identifier color. The identifier shape indicates the type of service, and the identifier color indicates the service's operating status. This allows business personnel and users to more clearly understand the operating status of each service and to operate each service accordingly.
[0087] In an optional example, the identification unit includes a first identification module, a second identification module, and a third identification module. The first identification module is used to set the preset identification color to a first color when the target service is in a non-running state. The second identification module is used to confirm that the target service is in a completed state when the actual running result is the target running result, and the preset identification color is a second color. The third identification module is used to confirm that the target service is in a run-but-not-completed state when the actual running result is not the target running result, and the preset identification color is a third color. This allows business personnel and users to more clearly distinguish various services and understand the running status of each service more clearly, enabling them to operate on each service.
[0088] For example, the second configuration unit includes a generation module, an acquisition module, and an execution module. The generation module generates a virtual task based on the input data, execution data, and output data of the initial service. The input data of the virtual task corresponds to the input data of the initial service, the execution data corresponds to the execution data, and the output data corresponds to the output data. The acquisition module acquires all real services, which are services that have been run within a historical time period and are stored in the server. The execution module obtains the target service based on the virtual and real services, whereby the target service includes the virtual service and / or the real service. By combining and running real and virtual services, the entire service process can be effectively implemented, solving the problem that the entire service would fail to run if a certain service was missing. This method allows business personnel to experience the future implementation effect in advance.
[0089] In this embodiment, the target service includes the virtual service and the real service. The execution module includes an acquisition submodule and an assembly submodule. The acquisition submodule is used to acquire the target execution result, which is the theoretical result obtained after the target service is run. The assembly submodule is used to assemble the virtual service and the real service according to the target execution result to obtain the target service. The assembly method of the virtual service and the real service is either a first type of assembly execution method or a second type of assembly execution method. The first type of assembly execution method includes at least parallel execution, serial execution, and conditional execution. The second type of assembly execution method includes at least nested execution and information-triggered execution. By using a black box and virtual services, the business does not need to actively focus on the implementation process, but only on the entry and exit points of the implementation result. Moreover, business personnel can perform DIY and exploratory business attempts based on the context service, and can freely assemble real services and virtual services according to their needs.
[0090] In an optional embodiment, the aforementioned device further includes a computing unit and a processing unit. The computing unit is used to perform union calculations on the real services within the target service to determine whether the target service needs to have its initial operating parameters reconfigured. The processing unit, assuming the initial operating parameters are fully configured, processes the real service using real service processing methods to obtain the real service processing result. These real service processing methods include at least one of the following: baffle processing, virtual data processing, and interceptor processing. Through the operational mechanism and process retention mechanism, business personnel can obtain a WYSIWYG scenario application, while R&D personnel can understand the true intentions of the business. This understanding process is no longer limited to text and descriptions but is achieved through the system experience officer.
[0091] As an optional solution, the calculation unit includes a calculation module, a first configuration module, and a second configuration module. The calculation module performs a union calculation on the real services within the target service to obtain the calculation result, which indicates whether the initial operating parameters exist on the server. The first configuration module, if the initial operating parameters exist on the server and are the target parameters, does not require reconfiguration. The second configuration module, if the initial operating parameters do not exist on the server, or if the initial operating parameters exist on the server but are not the target parameters, reconfigures the initial operating parameters to the target parameters. By combining and operating real and virtual services, the entire service process can run effectively, solving the problem that the entire service would fail if a certain service was missing. This method allows business personnel to experience the future implementation effect first. Through the software supply chain approach, business personnel can try and accept the requirements before the developers implement them. This method reduces major errors and provides details for the specific implementation.
[0092] The aforementioned black-box-based software supply chain processing device includes a processor and a memory. The first configuration unit and other components are stored as program units in the memory, and the processor executes these program units to implement corresponding functions. All of the aforementioned modules reside in the same processor; alternatively, the modules may be located in different processors in any combination.
[0093] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can address the issue of low matching between the actual functionality and requirements of existing software development products.
[0094] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0095] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the black-box-based software supply chain processing method.
[0096] Specifically, black-box-based software supply chain management methods include:
[0097] Step S201: Obtain initial service information, and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the running data and running results of the initial service.
[0098] Specifically, when business personnel need to perform a business module or function, a black box is provided for their use. Business personnel need to obtain the initial service according to their needs and first complete the initialization of the black box, that is, first determine the input data, execution data and output data of the initial service itself.
[0099] Step S202: Configure the target service in the black box based at least on the input data of the initial service, the execution data of the initial service, and the output data of the initial service. The target service includes at least a virtual service, which is obtained based on the initial service.
[0100] Specifically, the tasks to be executed are placed into a black box, and the entry point, description, and exit point of each task within the black box are obtained. Since the initial service is established by business personnel based on requirements, the initial service is generally a virtual service.
[0101] Step S203: For the virtual service in the target service, based on the entry data, execution data and exit data of the target service in the black box, run the target service to obtain the actual running result. If the actual running result is the target running result, store the target service in the server. If the actual running result is not the target running result, reconfigure the target service.
[0102] Specifically, through black-box and virtual service mechanisms, the system effectively addresses the challenges of exploring and implementing uncertain future business scenarios. A complete supply chain structure enables maximum collaborative application and innovation between business personnel and implementation teams. Through operational and process retention mechanisms, business personnel gain access to WYSIWYG application scenarios, while R&D personnel understand the true intent of the business, moving beyond textual descriptions to a system-wide experience. Where the actual operational result matches the target result, the target service is marked as completed and saved; the virtual service within the target service is essentially equivalent to the real service.
[0103] Optionally, before obtaining the initial service information, the method further includes: obtaining the technical language describing each service, wherein the technical language of the service includes at least the service's operating parameters, the service's calling parameters, and the service's code data, and the technical language of the service is a computer-recognizable language; converting the technical language describing each service into a business language, wherein the business language is a specified language; and using a preset identifier to represent each service, wherein the preset identifier includes at least the identifier shape and the identifier color of the preset identifier, wherein the identifier shape of the preset identifier indicates the type of service, and the identifier color of the preset identifier indicates the operating status of the service.
[0104] Optionally, a preset identifier is used to represent each of the above services, including: when the target service is not running, the identifier color of the preset identifier is a first color; when the actual running result is the target running result, the target service is confirmed to be in a completed state, and the identifier color of the preset identifier is a second color; when the actual running result is the non-target running result, the target service is confirmed to be in a run-but-not-completed state, and the identifier color of the preset identifier is a third color.
[0105] Optionally, the target service in the black box is configured based at least on the input data, execution data, and output data of the initial service, including: generating a virtual task based on the input data, execution data, and output data of the initial service, wherein the input data of the virtual task corresponds to the input data of the initial service, the execution data of the virtual task corresponds to the execution data of the initial service, and the output data of the virtual task corresponds to the output data of the initial service; obtaining all real services, wherein the real services are services that have been run within a historical time period and are stored in the server; and obtaining the target service based on the virtual service and the real service, wherein the target service includes the virtual service and / or the real service.
[0106] Optionally, the target service includes the virtual service and the real service. Obtaining the target service based on the virtual service and the real service includes: acquiring the target operation result, which is the theoretically obtained operation result after the target service is run; assembling the virtual service and the real service based on the target operation result to obtain the target service, wherein the assembly method of the virtual service and the real service is a first type of assembly operation method or a second type of assembly operation method, wherein the first type of assembly operation method includes at least parallel operation, serial operation and conditional operation, and the second type of assembly operation method includes at least nested operation and information-triggered operation.
[0107] Optionally, for the real services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial running parameters; if the initial running parameters are configured completely, the real service is processed using the real service processing method to obtain the real service processing result. The real service processing method includes at least one of the following: baffle processing, virtual data processing, and interceptor processing.
[0108] Optionally, for the actual services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial operating parameters. This includes: for the actual services in the target service, a union calculation is used to obtain a calculation result, which is used to indicate whether the initial operating parameters exist in the server; if the initial operating parameters exist in the server and are the target parameters, then the initial operating parameters do not need to be reconfigured; if the initial operating parameters do not exist in the server, or if the initial operating parameters existing in the server are not the target parameters, then the initial operating parameters are reconfigured to the target parameters.
[0109] This invention provides a processor for running a program, wherein the program executes the black-box-based software supply chain processing method.
[0110] Specifically, black-box-based software supply chain management methods include:
[0111] Step S201: Obtain initial service information, and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the running data and running results of the initial service.
[0112] Specifically, when business personnel need to perform a business module or function, a black box is provided for their use. Business personnel need to obtain the initial service according to their needs and first complete the initialization of the black box, that is, first determine the input data, execution data and output data of the initial service itself.
[0113] Step S202: Configure the target service in the black box based at least on the input data of the initial service, the execution data of the initial service, and the output data of the initial service. The target service includes at least a virtual service, which is obtained based on the initial service.
[0114] Specifically, the tasks to be executed are placed into a black box, and the entry point, description, and exit point of each task within the black box are obtained. Since the initial service is established by business personnel based on requirements, the initial service is generally a virtual service.
[0115] Step S203: For the virtual service in the target service, based on the entry data, execution data and exit data of the target service in the black box, run the target service to obtain the actual running result. If the actual running result is the target running result, store the target service in the server. If the actual running result is not the target running result, reconfigure the target service.
[0116] Specifically, through black-box and virtual service mechanisms, the system effectively addresses the challenges of exploring and implementing uncertain future business scenarios. A complete supply chain structure enables maximum collaborative application and innovation between business personnel and implementation teams. Through operational and process retention mechanisms, business personnel gain access to WYSIWYG application scenarios, while R&D personnel understand the true intent of the business, moving beyond textual descriptions to a system-wide experience. Where the actual operational result matches the target result, the target service is marked as completed and saved; the virtual service within the target service is essentially equivalent to the real service.
[0117] Optionally, before obtaining the initial service information, the method further includes: obtaining the technical language describing each service, wherein the technical language of the service includes at least the service's operating parameters, the service's calling parameters, and the service's code data, and the technical language of the service is a computer-recognizable language; converting the technical language describing each service into a business language, wherein the business language is a specified language; and using a preset identifier to represent each service, wherein the preset identifier includes at least the identifier shape and the identifier color of the preset identifier, wherein the identifier shape of the preset identifier indicates the type of service, and the identifier color of the preset identifier indicates the operating status of the service.
[0118] Optionally, a preset identifier is used to represent each of the above services, including: when the target service is not running, the identifier color of the preset identifier is a first color; when the actual running result is the target running result, the target service is confirmed to be in a completed state, and the identifier color of the preset identifier is a second color; when the actual running result is the non-target running result, the target service is confirmed to be in a run-but-not-completed state, and the identifier color of the preset identifier is a third color.
[0119] Optionally, the target service in the black box is configured based at least on the input data, execution data, and output data of the initial service, including: generating a virtual task based on the input data, execution data, and output data of the initial service, wherein the input data of the virtual task corresponds to the input data of the initial service, the execution data of the virtual task corresponds to the execution data of the initial service, and the output data of the virtual task corresponds to the output data of the initial service; obtaining all real services, wherein the real services are services that have been run within a historical time period and are stored in the server; and obtaining the target service based on the virtual service and the real service, wherein the target service includes the virtual service and / or the real service.
[0120] Optionally, the target service includes the virtual service and the real service. Obtaining the target service based on the virtual service and the real service includes: acquiring the target operation result, which is the theoretically obtained operation result after the target service is run; assembling the virtual service and the real service based on the target operation result to obtain the target service, wherein the assembly method of the virtual service and the real service is a first type of assembly operation method or a second type of assembly operation method, wherein the first type of assembly operation method includes at least parallel operation, serial operation and conditional operation, and the second type of assembly operation method includes at least nested operation and information-triggered operation.
[0121] Optionally, for the real services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial running parameters; if the initial running parameters are configured completely, the real service is processed using the real service processing method to obtain the real service processing result. The real service processing method includes at least one of the following: baffle processing, virtual data processing, and interceptor processing.
[0122] Optionally, for the actual services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial operating parameters. This includes: for the actual services in the target service, a union calculation is used to obtain a calculation result, which is used to indicate whether the initial operating parameters exist in the server; if the initial operating parameters exist in the server and are the target parameters, then the initial operating parameters do not need to be reconfigured; if the initial operating parameters do not exist in the server, or if the initial operating parameters existing in the server are not the target parameters, then the initial operating parameters are reconfigured to the target parameters.
[0123] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:
[0124] Step S201: Obtain initial service information, and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the running data and running results of the initial service.
[0125] Step S202: Configure the target service in the black box based at least on the input data of the initial service, the execution data of the initial service, and the output data of the initial service. The target service includes at least a virtual service, which is obtained based on the initial service.
[0126] Step S203: For the virtual service in the target service, based on the entry data, execution data and exit data of the target service in the black box, run the target service to obtain the actual running result. If the actual running result is the target running result, store the target service in the server. If the actual running result is not the target running result, reconfigure the target service.
[0127] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.
[0128] Optionally, before obtaining the initial service information, the method further includes: obtaining the technical language describing each service, wherein the technical language of the service includes at least the service's operating parameters, the service's calling parameters, and the service's code data, and the technical language of the service is a computer-recognizable language; converting the technical language describing each service into a business language, wherein the business language is a specified language; and using a preset identifier to represent each service, wherein the preset identifier includes at least the identifier shape and the identifier color of the preset identifier, wherein the identifier shape of the preset identifier indicates the type of service, and the identifier color of the preset identifier indicates the operating status of the service.
[0129] Optionally, a preset identifier is used to represent each of the above services, including: when the target service is not running, the identifier color of the preset identifier is a first color; when the actual running result is the target running result, the target service is confirmed to be in a completed state, and the identifier color of the preset identifier is a second color; when the actual running result is the non-target running result, the target service is confirmed to be in a run-but-not-completed state, and the identifier color of the preset identifier is a third color.
[0130] Optionally, the target service in the black box is configured based at least on the input data, execution data, and output data of the initial service, including: generating a virtual task based on the input data, execution data, and output data of the initial service, wherein the input data of the virtual task corresponds to the input data of the initial service, the execution data of the virtual task corresponds to the execution data of the initial service, and the output data of the virtual task corresponds to the output data of the initial service; obtaining all real services, wherein the real services are services that have been run within a historical time period and are stored in the server; and obtaining the target service based on the virtual service and the real service, wherein the target service includes the virtual service and / or the real service.
[0131] Optionally, the target service includes the virtual service and the real service. Obtaining the target service based on the virtual service and the real service includes: acquiring the target operation result, which is the theoretically obtained operation result after the target service is run; assembling the virtual service and the real service based on the target operation result to obtain the target service, wherein the assembly method of the virtual service and the real service is a first type of assembly operation method or a second type of assembly operation method, wherein the first type of assembly operation method includes at least parallel operation, serial operation and conditional operation, and the second type of assembly operation method includes at least nested operation and information-triggered operation.
[0132] Optionally, for the real services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial running parameters; if the initial running parameters are configured completely, the real service is processed using the real service processing method to obtain the real service processing result. The real service processing method includes at least one of the following: baffle processing, virtual data processing, and interceptor processing.
[0133] Optionally, for the actual services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial operating parameters. This includes: for the actual services in the target service, a union calculation is used to obtain a calculation result, which is used to indicate whether the initial operating parameters exist in the server; if the initial operating parameters exist in the server and are the target parameters, then the initial operating parameters do not need to be reconfigured; if the initial operating parameters do not exist in the server, or if the initial operating parameters existing in the server are not the target parameters, then the initial operating parameters are reconfigured to the target parameters.
[0134] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:
[0135] Step S201: Obtain initial service information, and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the running data and running results of the initial service.
[0136] Step S202: Configure the target service in the black box based at least on the input data of the initial service, the execution data of the initial service, and the output data of the initial service. The target service includes at least a virtual service, which is obtained based on the initial service.
[0137] Step S203: For the virtual service in the target service, based on the entry data, execution data and exit data of the target service in the black box, run the target service to obtain the actual running result. If the actual running result is the target running result, store the target service in the server. If the actual running result is not the target running result, reconfigure the target service.
[0138] Optionally, before obtaining the initial service information, the method further includes: obtaining the technical language describing each service, wherein the technical language of the service includes at least the service's operating parameters, the service's calling parameters, and the service's code data, and the technical language of the service is a computer-recognizable language; converting the technical language describing each service into a business language, wherein the business language is a specified language; and using a preset identifier to represent each service, wherein the preset identifier includes at least the identifier shape and the identifier color of the preset identifier, wherein the identifier shape of the preset identifier indicates the type of service, and the identifier color of the preset identifier indicates the operating status of the service.
[0139] Optionally, a preset identifier is used to represent each of the above services, including: when the target service is not running, the identifier color of the preset identifier is a first color; when the actual running result is the target running result, the target service is confirmed to be in a completed state, and the identifier color of the preset identifier is a second color; when the actual running result is the non-target running result, the target service is confirmed to be in a run-but-not-completed state, and the identifier color of the preset identifier is a third color.
[0140] Optionally, the target service in the black box is configured based at least on the input data, execution data, and output data of the initial service, including: generating a virtual task based on the input data, execution data, and output data of the initial service, wherein the input data of the virtual task corresponds to the input data of the initial service, the execution data of the virtual task corresponds to the execution data of the initial service, and the output data of the virtual task corresponds to the output data of the initial service; obtaining all real services, wherein the real services are services that have been run within a historical time period and are stored in the server; and obtaining the target service based on the virtual service and the real service, wherein the target service includes the virtual service and / or the real service.
[0141] Optionally, the target service includes the virtual service and the real service. Obtaining the target service based on the virtual service and the real service includes: acquiring the target operation result, which is the theoretically obtained operation result after the target service is run; assembling the virtual service and the real service based on the target operation result to obtain the target service, wherein the assembly method of the virtual service and the real service is a first type of assembly operation method or a second type of assembly operation method, wherein the first type of assembly operation method includes at least parallel operation, serial operation and conditional operation, and the second type of assembly operation method includes at least nested operation and information-triggered operation.
[0142] Optionally, for the real services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial running parameters; if the initial running parameters are configured completely, the real service is processed using the real service processing method to obtain the real service processing result. The real service processing method includes at least one of the following: baffle processing, virtual data processing, and interceptor processing.
[0143] Optionally, for the actual services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial operating parameters. This includes: for the actual services in the target service, a union calculation is used to obtain a calculation result, which is used to indicate whether the initial operating parameters exist in the server; if the initial operating parameters exist in the server and are the target parameters, then the initial operating parameters do not need to be reconfigured; if the initial operating parameters do not exist in the server, or if the initial operating parameters existing in the server are not the target parameters, then the initial operating parameters are reconfigured to the target parameters.
[0144] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0145] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0146] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0147] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0148] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0149] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0150] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0151] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0152] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0153] As can be seen from the above description, the embodiments of this application achieve the following technical effects:
[0154] 1) The software supply chain processing method of the black box described in this application first obtains initial service information and configures the input data, execution data, and output data of the initial service based on the initial service information. The initial service information includes at least the running data and running results of the initial service. Then, based on at least the input data, execution data, and output data of the initial service, the target service in the black box is configured. The target service includes at least a virtual service, which is obtained from the initial service. Finally, for the virtual service in the target service, the target service is run based on the entry data, execution data, and exit data of the target service in the black box to obtain the actual running result. If the actual running result is the target running result, the target service is stored in the server. If the actual running result is not the target running result, the target service is reconfigured. This method uses black-box theory as a key link in the software supply chain environment, solving the problem that businesses cannot effectively plan the future implementation of the system because they do not have a complete understanding of the system. Through black boxes and virtual services, businesses do not need to actively focus on the implementation process, but only on the entry and exit points of the implementation results. Business personnel can arbitrarily configure and explore business based on requirements and context services. Through the software supply chain approach, business personnel can try and approve the requirements first, and then the developers can implement them. This method reduces errors in the overall direction and adds details to the specific implementation, solving the problem of low matching between the actual functions and requirements of existing software development products.
[0155] 2) The software supply chain processing apparatus of the black box described in this application includes a first configuration unit, a second configuration unit, and an operating unit. The first configuration unit is used to acquire initial service information and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the operating data and the operating result of the initial service. The second configuration unit is used to configure the target service in the black box according to at least the input data, execution data, and output data of the initial service. The target service includes at least a virtual service, which is obtained from the initial service. The operating unit is used to run the target service for the virtual service in the target service according to the entry data, execution data, and exit data of the target service in the black box, to obtain the actual operating result. If the actual operating result is the target operating result, the target service is stored in the server. If the actual operating result is not the target operating result, the target service is reconfigured. This device uses black-box theory as a key link in the software supply chain environment, solving the problem that businesses cannot effectively plan the future implementation of the system because they do not have a complete understanding of the system. Through black boxes and virtual services, businesses do not need to actively focus on the implementation process, but only on the entry and exit points of the implementation results. Business personnel can arbitrarily configure and explore business processes for target services based on their needs and contextual services. Through the software supply chain approach, business personnel can try and approve the required results first, and then the developers can implement them. This method reduces errors in the overall direction and adds details to the specific implementation, solving the problem of low matching between the actual functions and requirements of existing software development products.
[0156] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A black-box-based software supply chain processing method, characterized in that, include: Obtain initial service information, and configure the input data, execution data, and output data of the initial service according to the initial service information. The initial service information includes at least the running data and running results of the initial service. The target service in the black box is configured based on at least the input data of the initial service, the execution data of the initial service, and the output data of the initial service. The target service includes at least a virtual service, which is obtained based on the initial service. For the virtual service in the target service, the target service is run according to the entry data, execution data and exit data of the target service in the black box to obtain the actual running result. If the actual running result is the target running result, the target service is stored in the server. If the actual running result is not the target running result, the target service is reconfigured. Configure the target service in the black box based at least on the input data, execution data, and output data of the initial service, including: A virtual task is generated based on the input data, execution data, and output data of the initial service. The input data of the virtual task corresponds to the input data of the initial service, the execution data of the virtual task corresponds to the execution data of the initial service, and the output data of the virtual task corresponds to the output data of the initial service. Obtain all real services, which are services that have been running within the historical time period and are stored in the server; The target service is obtained based on the virtual service and the real service, wherein the target service includes the virtual service and / or the real service; The target service includes the virtual service and the real service. The target service is obtained based on the virtual service and the real service, including: Obtain the target execution result, which is the execution result theoretically obtained after the target service is run; Based on the target execution result, the virtual service and the real service are assembled to obtain the target service. The assembly method of the virtual service and the real service is either a first type of assembly execution method or a second type of assembly execution method. The first type of assembly execution method includes at least parallel execution, serial execution and conditional execution, and the second type of assembly execution method includes at least nested execution and information-triggered execution.
2. The processing method according to claim 1, characterized in that, Before obtaining initial service information, the method further includes: Obtain the technical language describing each service. The technical language of the service includes at least the service's running parameters, the service's calling parameters, and the service's code data. The technical language of the service is a language that a computer can recognize. The technical language describing each of the services is converted into a business language, wherein the business language is a specified language. Each of the services is represented by a preset identifier, which includes at least the identifier shape and the identifier color. The identifier shape indicates the type of service, and the identifier color indicates the operating status of the service.
3. The processing method according to claim 2, characterized in that, Each of the services is represented by a preset identifier, including: When the target service is not running, the color of the preset identifier is the first color; If the actual running result is the target running result, the target service is confirmed to be in a completed state, and the color of the preset identifier is the second color; If the actual running result is the non-target running result, the target service is confirmed to be in a running but incomplete state, and the preset identifier's identifier color is the third color.
4. The processing method according to claim 1, characterized in that, The method further includes: For the actual services in the target service, a union calculation is used to determine whether the target service needs to be reconfigured with its initial running parameters. With the initial running parameters configured completely, the real service is processed using a real service processing method to obtain the real service processing result. The real service processing method includes at least one of the following: baffle processing, virtual data processing, and interceptor processing.
5. The processing method according to claim 4, characterized in that, For the actual services within the target service, a union calculation is used to determine whether the target service needs to have its initial runtime parameters reconfigured, including: For the actual service in the target service, a union calculation is used to obtain the calculation result, which is used to indicate whether the initial running parameters exist in the server; If the initial operating parameters exist in the server and the initial operating parameters are the target parameters, there is no need to reconfigure the initial operating parameters; If the initial operating parameters are not present in the server, or if the initial operating parameters present in the server are not the target parameters, the initial operating parameters will be reconfigured to the target parameters.
6. A black-box-based software supply chain processing device, characterized in that, include: The first configuration unit is used to obtain initial service information and configure the input data, execution data and output data of the initial service according to the initial service information. The initial service information includes at least the running data and running results of the initial service. The second configuration unit is configured to configure a target service in the black box based on at least the input data of the initial service, the execution data of the initial service, and the output data of the initial service. The target service includes at least a virtual service, which is obtained based on the initial service. The running unit is used to run the target service for the virtual service in the target service according to the entry data, execution data and exit data of the target service in the black box, to obtain the actual running result. If the actual running result is the target running result, the target service is stored in the server. If the actual running result is not the target running result, the target service is reconfigured. The second configuration unit includes a generation module, an acquisition module, and an execution module. The generation module is used to generate a virtual task based on the input data of the initial service, the execution data of the initial service, and the output data of the initial service. The input data of the virtual task corresponds to the input data of the initial service, the execution data of the virtual task corresponds to the execution data of the initial service, and the output data of the virtual task corresponds to the output data of the initial service. The acquisition module is used to acquire all real services, which are services that have been running within a historical time period and are stored in the server; The execution module is used to obtain the target service based on the virtual service and the real service, wherein the target service includes the virtual service and / or the real service; The target service includes the virtual service and the real service. The execution module includes an acquisition submodule and an assembly submodule. The acquisition submodule is used to acquire the target running result, which is theoretically the running result obtained after the target service runs. The assembly submodule is used to assemble the virtual service and the real service according to the target running result to obtain the target service. The assembly method of the virtual service and the real service is either a first type of assembly running method or a second type of assembly running method. The first type of assembly running method includes at least parallel running, serial running and conditional item running, and the second type of assembly running method includes at least nested running and information-triggered running.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the black-box-based software supply chain processing method according to any one of claims 1 to 5.
8. An electronic device, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a processing method for performing a black-box-based software supply chain as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Design method and device of simulation system technical scheme based on MBSE
CN115291835A
System and Method for Service Virtualization in a Service Governance Framework
US20100049628A1