Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2021-10-15
HISENSE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method for dynamic registration and discovery of Internet of Things microservices, which solves the waste of manpower in operation and maintenance management caused by configuring service process calls through configuration files when accessing a large number of internal service processes in the Internet of Things cloud platform , and the problem of high error rate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for invoking a service process based on an Internet of Things cloud platform
  • A method and device for invoking a service process based on an Internet of Things cloud platform
  • A method and device for invoking a service process based on an Internet of Things cloud platform

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for invoking a service process based on the cloud platform of the Internet of Things. The method includes: each service process uploads the registration information of the service process to the server when starting, and at the same time saves the registration information of all other service processes. The global service list information of the information is synchronized to the local. When other service processes of the IoT cloud platform need to be called, the registration information of the relevant service process can be directly found in the local global service list information of the device where it is located and written into the configuration file for calling. , realize the automatic registration and discovery function of services, and solve the problem of adding overhead to configurations that require manual operation and maintenance of service process calls.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for invoking a service process based on an Internet of Things cloud platform. Background technique [0002] In the IoT scenario, a large number of terminal devices need to be connected to the IoT cloud platform. The terminal devices will enable multiple service processes during operation. When the enabled service processes need to call related service processes during operation, the invoked service processes may be local It may also be on other terminal devices under the Internet of Things cloud platform, so there will be thousands of service processes running at the same time under the Internet of Things cloud platform, and the dependencies between these service processes are very complicated. For each terminal device, the call between service processes is based on the configuration file of the above service process. When the service process is started...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/12H04L67/30H04L67/51H04L67/60
Inventor 朱守勤
Owner HISENSE