摘要:
The present invention provides a service testing method and system using a surrogate. The service testing method comprises steps of: generating, according to service description of a service to be simulated, a service-specific surrogate for said service to be simulated; deploying the generated service-specific surrogate onto a runtime system; specifying a test case by referring to the generated service-specific surrogate, wherein said test case comprises test configuration; and setting, according to the test configuration, a configuration option of the deployed surrogate on the runtime system. In the service testing method and system according to the present invention, parameters of the surrogate are dynamically configured without necessity of rewriting and deployment, thereby reducing the burden of designing and generating Mock objects.
摘要:
The present invention provides a service testing method and system using a surrogate. The service testing method comprises steps of: generating, according to service description of a service to be simulated, a service-specific surrogate for said service to be simulated; deploying the generated service-specific surrogate onto a runtime system; specifying a test case by referring to the generated service-specific surrogate, wherein said test case comprises test configuration; and setting, according to the test configuration, a configuration option of the deployed surrogate on the runtime system. In the service testing method and system according to the present invention, parameters of the surrogate are dynamically configured without necessity of rewriting and deployment, thereby reducing the burden of designing and generating Mock objects.
摘要:
The present invention provides a component reuse method for reusing at least first component that is selected from a first software system to a second software system. The method comprises the steps of: analyzing the first software system, determining dependencies of the at least one first component of the first software system and acquiring relevant interface information; generating surrogates based on the dependencies and the interface information, which will be deployed in the first operating environment and in the second operating environment respectively, wherein the surrogates allow the second software system to invoke service provided by the at least one first component in the first operating environment and allow the at least one first component to invoke relevant service provided in the second software system.
摘要:
The present invention provides a component reuse method for reusing at least first component that is selected from a first software system to a second software system. The method comprises the steps of: analyzing the first software system, determining dependencies of the at least one first component of the first software system and acquiring relevant interface information; generating surrogates based on the dependencies and the interface information, which will be deployed in the first operating environment and in the second operating environment respectively, wherein the surrogates allow the second software system to invoke service provided by the at least one first component in the first operating environment and allow the at least one first component to invoke relevant service provided in the second software system.
摘要:
The invention discloses a method for displaying a weighted tree based on hyperbolic geometry, comprising: obtaining weighted tree data defining a weighted tree structure; positioning the root node in a negatively curved space as a center, based on the weighted tree defining data; based on the weighted tree defining data, performing layout processing for each parent node and all its direct child nodes from top to bottom recursively, until all the nodes in the tree have been laid out in the negatively curved space, wherein the higher the weight of an edge connecting the parent node and each of its direct child nodes is, the shorter the distance between the parent node and the child node is; mapping the layout data from the negative curved space to an Euclidean plane; and displaying the mapped data in display.
摘要:
Identifying one or more source units for one or more food items may include assigning a sequence of numbers to a plurality of source units received at a processing entity and assigning a sequence of numbers to a plurality of end product units processed from the plurality of source units at the processing entity. A production rate associated with the end product units may be determined from a bill of materials associated with the end product units. A probability distribution function may be generated using at least the production rate. The probability distribution function maps a range of the sequence numbers associated with the plurality of source units to a range of sequence numbers associated with the end product units. A conversion algorithm may be generated that uses the probability distribution function to determine a source unit associated with a selected end product unit.
摘要:
The present invention provides a service providing device and a service providing method enabling a user to accept the service by utilizing the capabilities of several various devices. An available physical device or a combination of the physical devices is selected for the user based on the service requirement, and the user accepts the service via the selected physical device or the combination of the physical devices. The invention “hides” the physical devices by using a virtual device to provide the service for users. Furthermore, the invention provides a “tailored” virtual device based on the environment around the user, the favorite of user and the requirements of the service, and therefore the invention may provide to the user the “tailored” information suitable for the user. The operating environment of the virtual device according to the invention is dynamically changeable according to the environment around the user, the favorite of user and the requirements of the service, and therefore a seamless service may be provided to the user.
摘要:
A method, system and program for presenting dynamic data on a display. The dynamic data is displayed in a notebook as a plurality of groups, each group assigned to a page in the notebook. The dynamic data is monitored to detect a change in state of the dynamic data. In response to a detected change, a determination is made that the dynamic data should be regrouped in response to the change in state. The notebook is then displayed according to the regrouped dynamic data. Each page in the notebook has a tab which is displayed according to the state of the group assigned to that page. In response to the detected change of the dynamic data, the display of the tab may also be changed. Typically, the top page in a notebook has a window. A child window can be created by copying the window outside the notebook in an adjacent display. When the notebook is closed in response to a user command, the child window is automatically closed in response to closing the notebook.
摘要:
Provided is a secure apparatus for protecting the integrity of a software system and a method thereof. The apparatus comprises: a template repository for storing templates required for generating an agent module; a template generator for randomly selecting one template from said template repository and generating a new agent module according to the selected template; and a transceiver for sending said new agent module to an external apparatus communicating with said secure apparatus to update a current agent module which is running in said external apparatus, wherein said current agent module is used to verify the integrity of said software system running in said external apparatus. The secure apparatus can protect software in an insecure environment with a high software protection level to prevent the software from being tampered or bypassed.
摘要:
Identifying one or more source units for one or more food items may include assigning a sequence of numbers to a plurality of source units received at a processing entity and assigning a sequence of numbers to a plurality of end product units processed from the plurality of source units at the processing entity. A production rate associated with the end product units may be determined from a bill of materials associated with the end product units. A probability distribution function may be generated using at least the production rate. The probability distribution function maps a range of the sequence numbers associated with the plurality of source units to a range of sequence numbers associated with the end product units. A conversion algorithm may be generated that uses the probability distribution function to determine a source unit associated with a selected end product unit.