A method and device for invoking a service process based on an Internet of Things cloud platform
A technology of service process and Internet of Things, applied in the field of service process invocation method and device based on Internet of Things cloud platform, can solve the problems of manpower waste and high error rate in operation and maintenance management, save consumption, improve success rate, and increase success rate. big effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] The present invention provides a service process calling method based on the Internet of Things cloud platform. The Internet of Things cloud platform includes a server end and a device end. This embodiment illustrates the service process based on the Internet of Things cloud platform from the perspective of cooperation between the server end and the device end. Invoking method specific examples, such as figure 1 As shown, the specific process of invoking the service process is as follows:
[0033] Step 110, when any device of the above-mentioned Internet of Things cloud platform starts a service process, report the registration information of the started service process to the server, and the above registration information includes the service process identifier and the device address;
[0034] In an optional implementation, starting a service process on the device side can be to start multiple service processes at the same time, or start a service process. When startin...
Embodiment approach
[0068] In this embodiment, after the device where the service process 2 is located is restarted, the service process 3 calls the service process 2 as an example to illustrate the calling process of the service process after the device address of the service process on the Internet of Things cloud platform changes. .
[0069] In this embodiment, three identical service processes 2 are selected to be stored in different devices respectively, device 1, device 2, and device 3. The service process identifiers of these three service processes 2 are consistent, and they are all service processes. 2, but their device addresses are different. The device addresses of service process 2 on device 1, device 2, and device 3 are 192.168.1.119, 192.168.2.34, and 192.168.3.25 respectively; running on device 4 Service process 3, device 1, device 2, device 3 and device 4 will report the registration information of the started service process to the server when starting the local service process,...
Embodiment 2
[0082] This embodiment provides an ETCD service registration and discovery center in the Internet of Things platform. The function of the ETCD service registration and discovery center is realized by the server. When each service process is started, it reports registration information to the ETCD service registration and discovery center. ETCD service registration discovery center instructions, and save the global service list information of the registration information of all other service processes at the same time, save the above global service list information in the local cache of the device where the above-mentioned started service process is located, when it is necessary to call other service processes , find the address of the device side of the called service process from the global service list information saved by the above device side and request to call it. In this embodiment, take service process 1 as an example, see figure 2 , the optional specific implementatio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


