CN112702306B - Method, device, equipment and storage medium for intelligent service sharing - Google Patents

Method, device, equipment and storage medium for intelligent service sharing Download PDF

Info

Publication number
CN112702306B
CN112702306B CN201911014036.4A CN201911014036A CN112702306B CN 112702306 B CN112702306 B CN 112702306B CN 201911014036 A CN201911014036 A CN 201911014036A CN 112702306 B CN112702306 B CN 112702306B
Authority
CN
China
Prior art keywords
service
intelligent
intelligent terminal
management platform
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911014036.4A
Other languages
Chinese (zh)
Other versions
CN112702306A (en
Inventor
杨新苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911014036.4A priority Critical patent/CN112702306B/en
Publication of CN112702306A publication Critical patent/CN112702306A/en
Application granted granted Critical
Publication of CN112702306B publication Critical patent/CN112702306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for intelligent service sharing, wherein the method comprises the following steps: the first intelligent terminal sends a service application request to the sharing management platform; wherein, the service application request at least carries the identification information of the required intelligent service; receiving a service application response returned by the sharing management platform according to the identification information of the intelligent service; the service application response carries resource information of the second intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal; and sending an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal so as to obtain intelligent service.

Description

Method, device, equipment and storage medium for intelligent service sharing
Technical Field
The present application relates to the field of internet of things, and relates to, but is not limited to, a method, an apparatus, a device, and a storage medium for intelligent service sharing.
Background
Along with the development of artificial intelligence (Artificial Intelligence, AI) technology and intelligent chip technology, more and more terminal devices of the Internet of things have local intelligent processing capability, such as intelligent cameras can detect and identify faces and the like, and intelligent sound boxes can identify and synthesize voices and the like. However, the local intelligent processing capability of these devices can only serve the device itself, and when the device is in an idle state, the intelligent processing capability is idle, and thus cannot be fully utilized. Meanwhile, a large number of common terminal devices still have no local intelligent processing capability in the application scene of the Internet of things, and if intelligent processing is required, services provided by a remote cloud platform are required. At present, no suitable technology or method supports the intelligent terminal equipment to share the intelligent processing capability of the intelligent terminal equipment to other common terminal equipment in the local area network of the Internet of things in an intelligent service mode.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, apparatus, device, and storage medium for intelligent service sharing.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for intelligent service sharing, where the method includes:
the first intelligent terminal sends a service application request to the sharing management platform; wherein, the service application request at least carries the identification information of the required intelligent service;
receiving a service application response returned by the sharing management platform according to the identification information of the intelligent service; the service application response carries resource information of the second intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal;
and sending an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal so as to obtain intelligent service.
In a second aspect, an embodiment of the present application provides a method for intelligent service sharing, where the method includes:
the method comprises the steps that a sharing management platform receives a service application request sent by a first intelligent terminal, wherein the service application request at least carries identification information of required intelligent service;
Determining a second intelligent terminal supporting the intelligent service according to the identification information of the intelligent service;
carrying the resource information of the second intelligent terminal in a service application response, and sending the service application response to the first intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal.
In a third aspect, an embodiment of the present application provides a method for intelligent service sharing, where the method includes:
the second intelligent terminal receives an intelligent service request sent by the first intelligent terminal, wherein the intelligent service request carries data to be processed;
calling intelligent service resources of the second intelligent terminal to process the data to be processed to obtain a processing result;
and carrying the processing result in an intelligent service response and sending the intelligent service response to the first intelligent terminal.
In a fourth aspect, an embodiment of the present application provides an apparatus for intelligent service sharing, where the apparatus includes a first sending module, a first receiving module, and a second sending unit, where:
the first sending module is used for sending a service application request to the sharing management platform by the first intelligent terminal; wherein, the service application request at least carries the identification information of the required intelligent service;
The first receiving module receives a service application response returned by the sharing management platform according to the identification information of the intelligent service; the service application response carries resource information of the second intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal;
and the second sending module is used for sending an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal so as to obtain intelligent service.
In a fifth aspect, an embodiment of the present application provides an apparatus for intelligent service sharing, where the apparatus includes a second receiving module, a first determining module, and a third sending module, where:
the second receiving module is used for receiving a service application request sent by the first intelligent terminal by the sharing management platform; the service application request at least carries the identification information of the required intelligent service;
the first determining module is used for determining a second intelligent terminal supporting the intelligent service according to the identification information of the intelligent service;
the third sending module is configured to carry the resource information of the second intelligent terminal in a service application response, and send the service application response to the first intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal.
In a sixth aspect, an embodiment of the present application provides an apparatus for intelligent service sharing, where the apparatus includes a seventh receiving module, a calling module, and a sixth sending module, where:
the seventh receiving module is configured to receive, by using the second intelligent terminal, an intelligent service request sent by the first intelligent terminal, where the intelligent service request carries data to be processed;
the calling module is used for calling the intelligent service resource of the second intelligent terminal to process the data to be processed to obtain a processing result;
and the sixth sending module is used for carrying the processing result in the intelligent service response and sending the processing result to the first intelligent terminal.
In a seventh aspect, an embodiment of the present application provides an apparatus for intelligent service sharing, including a memory and a processor, where the memory stores a computer program executable on the processor, and the processor implements steps in the above method when executing the program.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium having stored therein computer-executable instructions configured to perform the method of intelligent service sharing provided above.
In the embodiment of the application, firstly, a first intelligent terminal sends a service application request to a sharing management platform; wherein, the service application request at least carries the identification information of the required intelligent service; then, receiving a service application response returned by the sharing management platform according to the identification information of the intelligent service; the service application response carries resource information of the second intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal; and finally, sending an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal to obtain intelligent service, so that if the common terminal equipment needs to conduct intelligent processing on data, obtaining resource information of the intelligent terminal equipment supporting the required intelligent service in the Internet of things local area network by applying to a sharing management platform, and sending the intelligent service request to the intelligent terminal equipment to finally obtain the intelligent service, thereby realizing the intelligent processing capability of the sharing intelligent terminal equipment without the service provided by a remote cloud platform.
Drawings
In the drawings (which are not necessarily drawn to scale), like numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different instances of similar components. The drawings illustrate generally, by way of example and not by way of limitation, various embodiments discussed herein.
Fig. 1A is a schematic diagram of a composition structure of an intelligent service sharing system according to an embodiment of the present application;
fig. 1B is a schematic implementation flow chart of a method for sharing intelligent services according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an overall implementation of a method for sharing intelligent services according to an embodiment of the present application;
fig. 3 is a schematic block diagram of an intelligent service sharing system according to an embodiment of the present application;
fig. 4 is a schematic diagram of a component architecture of a home intelligent service sharing system according to an embodiment of the present application;
fig. 5 is a schematic diagram of a composition structure of an apparatus for intelligent service sharing according to an embodiment of the present application;
FIG. 6 is a schematic diagram of the composition and structure of another device for intelligent service sharing according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a composition structure of a device for sharing intelligent service according to an embodiment of the present application;
fig. 8 is a schematic diagram of a hardware entity of an intelligent service sharing device according to an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. Equivalent structures or equivalent flow transformations by the descriptions and drawings of this application, or direct or indirect use in other relevant technical fields, are also encompassed by the scope of this application.
The terminal device may be implemented in various forms. For example, the intelligent terminal in the local area network internet of things described in the application can include, for example, a home service robot, a smart speaker, an electronic cat eye, a security camera, a refrigerator, a liquid crystal television, and the like.
The technical scheme of the present application is further elaborated below with reference to the drawings and specific embodiments.
In order to solve the technical problems in the prior art, fig. 1A is a schematic diagram of a composition structure of an intelligent service sharing system provided in an embodiment of the present application, and as shown in fig. 1A, the sharing system includes: sharing management platform 11, first intelligent terminal 12 and second intelligent terminals 21 to 2N, wherein:
the shared management platform 11 requires less computing resources and can be deployed in any device meeting basic computing conditions in the local area network of the internet of things.
The first intelligent terminal 12 is a common terminal device in the internet of things lan, and may integrate an intelligent service user Agent (Agent) through which an intelligent service shared by the second intelligent terminal device is applied and invoked.
The second intelligent terminals 21 to 2N are intelligent terminal devices with complex intelligent processing capability in the internet of things local area network, and are required to integrate intelligent service contributor agents, and package the intelligent computing capability of the agents into intelligent services with standard network calling interfaces through the agents to share out.
A flow of the first intelligent terminal 12 by applying to the sharing management platform 11 and invoking the intelligent service shared by the second intelligent terminals 21 to 2N will be described below based on fig. 1A.
The embodiment of the application provides a method for sharing intelligent service, which is applied to a first intelligent terminal, the functions realized by the method can be realized by calling program codes by a processor in the first intelligent terminal, and the program codes can be stored in a computer storage medium.
Fig. 1B is a schematic implementation flow chart of a method for sharing intelligent services according to an embodiment of the present application, where, as shown in fig. 1B, the method for sharing intelligent services includes:
step S101, a first intelligent terminal sends a service application request to a sharing management platform.
Here, the first intelligent terminal is a common terminal device in the local area network of the internet of things, and can integrate an intelligent service user agent, and apply for intelligent service to the sharing management platform through the agent.
The sharing management platform needs less calculation resources in the actual implementation process, can be deployed in any equipment meeting basic calculation conditions in the local area network of the internet of things, for example, can be installed in an intelligent home gateway, and provides intelligent service sharing management service for other equipment.
Here, the Service application request at least carries identification information of the required intelligent Service, such as Service Function (Service Function) and Interface information (Interface Info), etc.
Step S102, the first intelligent terminal receives a service application response returned by the sharing management platform according to the identification information of the intelligent service.
Here, the Service application response carries resource information of the second intelligent terminal, where the resource information includes a device identifier of the second intelligent terminal, a Service Token (Service Token) corresponding to the intelligent Service, and the like, and the second intelligent terminal is a terminal supporting the applied intelligent Service.
Step S103, the first intelligent terminal sends an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal so as to obtain intelligent service.
Here, the intelligent service request carries the data to be processed, so that the result of the second intelligent terminal on the data to be processed is obtained by sending the intelligent service request to the second intelligent terminal, and the intelligent service processing capability of the second intelligent terminal is fully utilized.
In the embodiment of the application, firstly, a first intelligent terminal sends a service application request to a sharing management platform; wherein, the service application request at least carries the identification information of the required intelligent service; then, receiving a service application response returned by the sharing management platform according to the identification information of the intelligent service; the service application response carries resource information of the second intelligent terminal; and finally, sending an intelligent service request to the second intelligent terminal according to the resource information of the second intelligent terminal to obtain intelligent service, so that if the common terminal equipment needs to conduct intelligent processing on data, obtaining the resource information of the intelligent terminal equipment supporting the required intelligent service in the Internet of things local area network by applying to a sharing management platform, and sending the intelligent service request to the intelligent terminal equipment to finally obtain the intelligent service, thereby realizing the intelligent processing capability of the sharing intelligent terminal equipment without the service provided by a remote cloud platform.
In other embodiments, in the step S101, the service application request further includes a first user token, correspondingly, in the step S102, the resource information carried in the service application response further includes a service token, and in the step S103, the intelligent service request further includes a service token.
In other embodiments, before the step S101, that is, "the first intelligent terminal sends the service application request to the sharing management platform", the method further includes:
step S1001, the first intelligent terminal sends a first registration request to the sharing management platform.
Here, the first registration request carries first Device information of the first intelligent terminal, such as a Device identification (Device ID), an IP address, and the like.
Step S1002, the first intelligent terminal receives a first user token returned by the sharing management platform, and stores the first user token.
Here, the first user token is generated from the first device information and is a unique user token of the first device, which can be used for authentication when a request for intelligent service is sent later.
The embodiment of the application provides a method for sharing intelligent service, which is applied to a sharing management platform, the functions realized by the method can be realized by calling program codes by a processor in the sharing management platform, and the program codes can be stored in a computer storage medium.
The intelligent service sharing method comprises the following steps:
step S121, the sharing management platform receives a service application request sent by the first intelligent terminal.
Here, the service application request at least carries identification information of the required intelligent service, such as service function and interface information.
Step S122, the sharing management platform determines a second intelligent terminal supporting the intelligent service according to the identification information of the intelligent service.
Here, the sharing management platform may determine the second intelligent terminal supporting the intelligent service by retrieving identification information of the intelligent service in a service resource pool.
Here, the intelligent terminals supporting the intelligent service may be a set, and each intelligent terminal in the set of intelligent terminals can support the intelligent service. In one embodiment, from the set of intelligent terminals, a terminal whose state information is in an idle state is determined as the second intelligent terminal.
In another embodiment, the service application request further includes a first user token of the first intelligent terminal, the sharing management platform extracts the first user token of the first intelligent terminal from the service application request, then verifies the first user token, and when the first user token passes the verification, retrieves a service resource pool according to the identification information of the intelligent service, and determines the set of intelligent terminals supporting the intelligent service as the second intelligent terminal.
Here, the first User Token is generated by the sharing management platform according to the first device information of the first intelligent terminal, and the service resource pool stores the device information of the second intelligent terminal and the related information of the intelligent service, such as a User Token (User Token), a device busy and idle state, service functions, interface information and the like of the second intelligent terminal.
Step 123, the sharing management platform carries the resource information of the second intelligent terminal in a service application response, and sends the service application response to the first intelligent terminal.
Here, the resource information of the second intelligent terminal includes a device identifier of the second intelligent terminal, information related to the intelligent service, and the like.
In the embodiment of the application, firstly, a shared management platform receives a service application request sent by a first intelligent terminal; wherein, the service application request at least carries the identification information of the required intelligent service; then, determining a second intelligent terminal supporting the intelligent service according to the identification information of the intelligent service; and finally, carrying the resource information of the second intelligent terminal in a service application response, and sending the service application response to the first intelligent terminal, so that the sharing management platform determines the second intelligent terminal supporting the intelligent service according to the identification information of the intelligent service in the received service application request, and sends the resource information of the second intelligent terminal to the first intelligent terminal, thereby realizing the collection of the intelligent service request and the distribution of the intelligent service resource, and sharing the intelligent processing capacity of the intelligent terminal equipment without the service provided by a remote cloud platform.
In other embodiments, the method further comprises the steps of:
in step S124, the sharing management platform generates a service token corresponding to the intelligent service.
Here, different intelligent services correspond to different service tokens, and each time the same intelligent service applies for, the sharing management platform generates different service tokens.
And step S125, correspondingly, the sharing management platform carries the service token and the resource information of the second intelligent terminal in the service application response, and sends the service application response to the first intelligent terminal.
Here, the service application response further carries the service token, so that when the first intelligent terminal sends the intelligent service request to the second intelligent terminal, the reliability is increased by checking the service token.
In other embodiments, after the step S124, that is, "generating a service token corresponding to the intelligent service", the method further includes the following steps:
and step S126, the sharing management platform carries the service token in a service confirmation request and sends the service token to the second intelligent terminal.
Here, the service token is sent to the second intelligent terminal, so that when the first intelligent terminal sends the intelligent service request to the second intelligent terminal, the service token and the service token stored by the first intelligent terminal are compared and checked, so that the credibility is increased.
And step S127, the sharing management platform receives a service confirmation response returned by the second intelligent terminal.
Here, the second intelligent terminal returns a service confirmation response according to the state information of the self device, where the state information indicates that the second intelligent terminal is in a busy or idle state.
And step S128, the sharing management platform determines the resource information of the second intelligent terminal if the service confirmation response confirms that the second intelligent terminal supports the intelligent service.
In other embodiments, the step S121, that is, the method before the "the sharing management platform receives the service application request sent by the first intelligent terminal" further includes the following steps:
step S1201, the sharing management platform receives a first registration request sent by a first intelligent terminal, where the first registration request carries first device information of the first intelligent terminal;
step S1202, the sharing management platform generates a first user token of the first intelligent terminal according to the first device information;
step S1203, the sharing management platform returns a first user token to the first intelligent terminal.
The steps S1201 to S1203 are processing steps of the sharing management platform when the first intelligent terminal initiates a registration request to the sharing management platform.
In step S1204, the sharing management platform receives a second registration request sent by the second intelligent terminal.
Here, the second registration request carries second device information of the second intelligent terminal and identification information of an intelligent service to be shared, where the identification information of the intelligent service includes a service function, interface information, and the like.
And step S1205, the sharing management platform generates a second user token of the second intelligent terminal according to the second equipment information.
In step S1206, the sharing management platform returns a second user token to the second intelligent terminal.
In step S1207, the sharing management platform adds the identification information of the intelligent service to be shared into a service resource pool.
The steps S1204 to S1207 are processing steps of the sharing management platform when the second intelligent terminal initiates a registration request to the sharing management platform.
In other embodiments, the method further comprises:
step S129, the sharing management platform receives a status update request sent by the second intelligent terminal.
Here, the status update request carries updated status information of the second intelligent terminal, where the status information is used to characterize a busy or idle status.
Step S1210, the sharing management platform updates the state information of the second intelligent terminal in the service resource pool.
Accordingly, the step S122, that is, "determining the second intelligent terminal supporting the intelligent service according to the identification information" may be implemented as follows: and the sharing management platform searches the updated service resource pool according to the identification information and determines the intelligent terminal set supporting the intelligent service as the second intelligent terminal.
The embodiment of the application provides a method for sharing intelligent service, which is applied to a second intelligent terminal, the functions realized by the method can be realized by calling program codes by a processor in the second intelligent terminal, and the program codes can be stored in a computer storage medium.
The intelligent service sharing method comprises the following steps:
in step S131, the second intelligent terminal receives the intelligent service request sent by the first intelligent terminal.
Here, the intelligent service request carries data to be processed.
And step S132, the second intelligent terminal calls intelligent service resources of the second intelligent terminal to process the data to be processed, and a processing result is obtained.
Here, the intelligent service resource of the second intelligent terminal is the intelligent computing capability of the terminal equipment local.
And step S133, the second intelligent terminal carries the processing result in an intelligent service response and sends the processing result to the first intelligent terminal.
In the embodiment of the application, firstly, the second intelligent terminal receives the intelligent service request sent by the first intelligent terminal, then invokes the intelligent service resource of the second intelligent terminal to process the data to be processed to obtain a processing result, and finally, the processing result is carried in the intelligent service response and sent to the first intelligent terminal, so that the second intelligent terminal shares the intelligent computing capacity of the second intelligent terminal to other common terminal equipment in the local area network of the Internet of things in an intelligent service mode.
In other embodiments, the intelligent service request in the step S131 further includes a service token, and accordingly, the step S132 may be implemented as follows: the second intelligent terminal verifies the service token; and after the service token passes the verification, the second intelligent terminal calls the intelligent service resource of the second intelligent terminal to process the data to be processed, and a processing result is obtained.
In other embodiments, before the step S131, the method further includes the following steps:
in step S1301, the second intelligent terminal packages the intelligent computing capability of the second intelligent terminal into an intelligent service with a standard network call interface.
Step S1302, the second intelligent terminal sends a second registration request to the shared management platform.
Here, the second registration request carries second device information of the second intelligent terminal and identification information corresponding to the intelligent service; and the identification information corresponding to the intelligent service is added into a service resource pool by the sharing management platform.
Step S1303, the second intelligent terminal receives a second user token returned by the sharing management platform, and stores the second user token.
Here, the second user token is generated by the sharing management platform according to the second device information.
In the above embodiment, the method further includes the steps of:
step S134, the second intelligent terminal receives a service confirmation request sent by the sharing management platform.
Here, the service confirmation request is used to confirm whether the second intelligent terminal can share the intelligent service in the current state.
And step S135, the second intelligent terminal responds to the service confirmation request according to the state information of the second intelligent terminal, and sends the service confirmation response to the sharing management platform.
In the above embodiment, the method further includes the steps of:
and step S136, if the second intelligent terminal updates the state information of the second intelligent terminal, sending a state update request to the sharing management platform so that the sharing management platform updates a service resource pool.
Here, the status update request carries updated status information of the second intelligent terminal, where the status information is used to characterize a busy or idle status.
Fig. 2 is an overall flowchart of a method for sharing intelligent services according to an embodiment of the present application, and the overall flowchart of the method for sharing intelligent services according to the present application will be described below based on fig. 2. Firstly, a first intelligent terminal initiates a registration process to a sharing management platform, and the process comprises the following steps:
step S201, the first intelligent terminal sends a first registration request to the sharing management platform.
Here, the first registration request carries first device information of the first intelligent terminal.
Step S202, the sharing management platform returns a first user token to the first intelligent terminal.
Here, the first user token is generated by a sharing management platform according to the first device information.
And step S203, the first intelligent terminal stores the first user token.
Here, the first user token is saved for later use as a credential when sending a service application to the sharing management platform.
Then, the second intelligent terminal initiates a registration process to the sharing management platform, and the process comprises the following steps:
in step S204, the second intelligent terminal packages the intelligent computing capability into an intelligent service with a standard network call interface.
Here, the second intelligent terminal packages the intelligent computing capability of itself into an intelligent service with a standard network call interface. Thus, the second intelligent terminal can share the intelligent computing capability of the second intelligent terminal to other terminals through the standard network calling interface.
Step S205, the second intelligent terminal sends a second registration request to the sharing management platform.
Here, the second registration request carries second device information of the second intelligent terminal and identification information corresponding to the intelligent service.
Step S206, the sharing management platform adds the second registration request carrying information into a service resource pool.
Here, the second device information of the second intelligent terminal and the identification information corresponding to the intelligent service are added to the service resource pool. Thus, the sharing management platform can be convenient to search for the second intelligent terminal which is matched with and supports the corresponding intelligent service.
And step S207, the sharing management platform returns a second user token to the second intelligent terminal.
Here, the second user token is generated from the second device information.
And step S208, the second intelligent terminal stores the second user token.
The steps S201 to S203 are a process of registering the first intelligent terminal with the sharing management platform, and the steps S204 to S208 are a process of registering the second intelligent terminal with the sharing management platform, and in other embodiments, the sequence of the steps S201 to S203 and the steps S204 to S208 may be exchanged, that is, the second intelligent terminal registers first, which is not limited in this embodiment.
Then, after the first intelligent terminal and the second intelligent terminal have completed registration, the first intelligent terminal may initiate a service application procedure to the sharing management platform, and may perform the following steps:
step S209, the first intelligent terminal sends a service application request to the sharing management platform.
Here, the service application request carries at least identification information of the required intelligent service.
In other embodiments, the service application request further includes a first user token.
Step S210, the sharing management platform verifies the first user token.
Here, the sharing management platform extracts the first user token of the first intelligent terminal from the service application request, and then verifies the first user token. Here, the first user token is generated by the sharing management platform according to the first device information of the first intelligent terminal,
step S211, the sharing management platform determines a second intelligent terminal supporting the intelligent service according to the identification information of the intelligent service.
Here, the sharing management platform may determine the second intelligent terminal supporting the intelligent service by retrieving identification information of the intelligent service in a service resource pool when the first user token passes verification.
Here, the service resource pool stores the device information of the second intelligent terminal and the related information of the intelligent service, such as the user token, the busy state, the service function and the interface information of the second intelligent terminal, and the like.
Here, the intelligent terminals supporting the intelligent service may be a set, and each intelligent terminal in the set of intelligent terminals can support the intelligent service. In one embodiment, from the set of intelligent terminals, a terminal whose state information is in an idle state is determined as the second intelligent terminal.
Step S212, the sharing management platform generates a service token of the intelligent service.
Here, a service token is generated from the identification information of the intelligent service.
Here, different intelligent services correspond to different service tokens, and each time the same intelligent service applies for, the sharing management platform generates different service tokens.
Step S213, the sharing management platform sends a service confirmation request to the second intelligent terminal.
Here, the service confirmation request carries a service token, and the service token is sent to the second intelligent terminal, so that when the first intelligent terminal sends the intelligent service request to the second intelligent terminal, the service token and the service token stored by the first intelligent terminal are compared and checked, so that the reliability is increased.
And step S214, the second intelligent terminal stores the service token.
And step S215, the second intelligent terminal returns a service confirmation response to the sharing management platform.
Here, the second intelligent terminal confirms and replies the service confirmation request according to the state information of the self device, wherein the state information is used for representing the busy or idle state.
Step S216, the sharing management platform returns a service application response to the first intelligent terminal.
The sharing management platform carries the resource information of the second intelligent terminal in a service application response, and sends the service application response to the first intelligent terminal. The resource information comprises equipment information of the second intelligent terminal, service tokens and the like.
The steps S209 to S216 complete the service application procedure of the first intelligent terminal, where steps S213 to S215 are the service confirmation procedure sent by the sharing management platform to the second intelligent terminal.
If the state information of the second intelligent terminal is updated, executing a state updating flow of the second intelligent terminal according to the following steps:
and step S217, the second intelligent terminal sends a state update request to the sharing management platform.
Here, if the state information of the second intelligent terminal is updated, the second intelligent terminal sends a state update request to the sharing management platform, where the state update request carries updated state information of the second intelligent terminal, and the state information is used to represent a busy or idle state.
In step S218, the sharing management platform updates the service resource pool.
Here, the sharing management platform updates the state information of the second intelligent terminal in the service resource pool, and accordingly, the sharing management platform retrieves the updated service resource pool in step S211.
The above steps S217 and S218 complete the state update flow of the second intelligent terminal.
Finally, the first intelligent terminal initiates an intelligent service request flow to the second intelligent terminal:
in step S219, the first intelligent terminal sends an intelligent service request to the second intelligent terminal.
Here, the first intelligent terminal sends an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal, wherein the intelligent service request at least carries data to be processed, the service token and the like.
Step S220, the second intelligent terminal calls the intelligent service resource to process.
Here, the second intelligent terminal firstly checks the service token, and calls after the check is passed
In step S221, the second intelligent terminal returns the intelligent service processing result to the first intelligent terminal.
The steps S219 to S221 described above complete the process of the first intelligent terminal initiating the intelligent service request procedure, i.e., the service call procedure, to the second intelligent terminal.
The embodiment of the application provides an intelligent service sharing process, which completes sharing idle intelligent processing capacity of a second intelligent terminal to a first intelligent terminal in an intelligent service mode through a registration process of the first intelligent terminal, a registration process of the second intelligent terminal, a state updating process of the second intelligent terminal, a service application process, a service confirmation process and a service calling process, so that intelligent terminal equipment in an internet of things local area network shares the idle intelligent processing capacity of the intelligent terminal equipment to other local common terminal equipment in an intelligent service mode, and can support efficient, dynamic and crossed intelligent service sharing among equipment in the internet of things local area network.
At present, no suitable system or method supports that intelligent terminal equipment shares the intelligent processing capacity of the intelligent terminal equipment to other terminal equipment in the same application scene of the internet of things (such as intelligent families, intelligent buildings, intelligent greenhouses and the like) in an intelligent service mode when the intelligent terminal equipment is idle. In order to fully utilize the intelligent processing capacity of the intelligent equipment, the proposal provides an intelligent service sharing system which consists of three module components of an intelligent service sharing center, an intelligent service contributor agent and an intelligent service user agent, and realizes that the intelligent terminal equipment in the local area network of the Internet of things shares the idle intelligent processing capacity (such as face recognition, voice recognition and the like) to other local common terminal equipment in an intelligent service mode. Taking the home internet of things scene as an example, the intelligent sound equipment can share the own language recognition and voice synthesis capabilities to equipment such as an electronic cat eye, a refrigerator and a liquid crystal television in home, and the capabilities of face recognition, human body detection, article recognition and the like of a home service robot can be respectively shared to the electronic cat eye and the refrigerator.
The intelligent service sharing center in the three components of the intelligent service sharing system has fewer calculation resources and can be deployed in any equipment meeting basic calculation conditions in the local area network of the Internet of things. The intelligent terminal equipment with complex intelligent processing capability in the local area network of the internet of things needs to integrate an intelligent service contributor agent, and the intelligent computing capability of the intelligent terminal equipment is packaged into intelligent service sharing with a standard network calling interface through the agent. And the common terminal equipment in the local area network of the Internet of things can integrate the intelligent service user agent, and apply for and call the intelligent service shared by the intelligent terminal equipment through the agent. The architecture relationship among the three functional modules of the intelligent service sharing center, the intelligent service contributor agent and the intelligent service user agent is shown in fig. 3, and the specific functions of each functional module are as follows:
intelligent service sharing center 31: as a management center for collecting and distributing intelligent computing power service, the system can be dynamically deployed on a certain terminal device in an application scene local area network of the Internet of things, such as an intelligent gateway, an intelligent sound box and the like. Is responsible for receiving and processing a registration request sent by the intelligent service contributor equipment and the intelligent service user equipment; the method comprises the steps of being responsible for receiving an intelligent service application request sent by intelligent service user equipment and searching and distributing proper intelligent service resources; is responsible for receiving and processing status update requests sent by intelligent service contributor devices, etc.
Intelligent service contributor agent 32: the intelligent computing capability of the intelligent terminal equipment is packaged into intelligent service with a standard network call interface and registered with an intelligent service sharing center; the method comprises the steps of being responsible for receiving an intelligent service request sent by intelligent service user equipment, calling corresponding computing resources of intelligent terminal equipment and returning an intelligent service processing result; is responsible for managing the state of the intelligent service contributor's device and sending the state changes to the intelligent service sharing center.
Intelligent service user agent 33: the common terminal equipment is registered in the intelligent service sharing center to prepare for the follow-up application of intelligent service; the method comprises the steps of being responsible for sending an intelligent service application request to an intelligent service sharing center; and the intelligent service processing system is responsible for sending the intelligent service request to the distributed intelligent service contributors for intelligent service processing, and receiving the returned intelligent service processing results.
Taking a home internet of things scenario with devices such as an intelligent home gateway, a home service robot, an intelligent sound box, an electronic cat eye, a security camera, a liquid crystal television, a refrigerator and the like as an example, the three components can be installed and deployed in the devices as follows to construct a home intelligent service sharing system, as shown in fig. 4:
Intelligent home gateway 41: and installing an intelligent service sharing center to provide intelligent service sharing management service for other devices.
Home service robot 42: and installing an intelligent service contributor agent, registering intelligent services such as face recognition, human body detection, article recognition, gesture recognition, voice synthesis and the like in an intelligent service sharing center, and sharing the intelligent services to other devices in a home local area network.
Electronic cat eye 43 (with common camera, microphone and speaker mounted, with simple face detection capability): and installing an intelligent service user agent, and registering the self equipment in an intelligent service sharing center. When the voice recognition, voice synthesis and face recognition services are required, an application is made to the intelligent service sharing center 21, and after the required intelligent service contributor information is obtained, an intelligent service request is directly sent to the intelligent service sharing center and the processing result of the intelligent service is waited for receiving.
Security camera 44 (with a normal camera installed): and installing an intelligent service user agent, and registering the self equipment in an intelligent service sharing center. When the face recognition and human body detection services are needed, the application is carried out to the intelligent service sharing center, the intelligent service request is directly sent to the intelligent service sharing center after the information of the required intelligent service contributor is obtained, and the processing result of the intelligent service is waited to be received.
Refrigerator 45 (with conventional cameras, microphones and speakers installed): and installing an intelligent service user agent, and registering the self equipment in an intelligent service sharing center. When the voice recognition, voice synthesis and article recognition services are needed, the intelligent service sharing center is applied for, the required intelligent service contributor information is obtained, and then the request for the intelligent service to be directly sent to the intelligent service sharing center and the processing result of the intelligent service to be received are waited for.
Liquid crystal television 46 (mounted with a common microphone and speaker): and installing an intelligent service user agent, and registering the self equipment in an intelligent service sharing center. When the voice recognition and voice synthesis service is needed, the application is carried out to the intelligent service sharing center, the intelligent service request is directly sent to the intelligent service sharing center after the information of the needed intelligent service contributor is obtained, and the processing result of the intelligent service is waited to be received.
Intelligent sound box 47: and installing an intelligent service contributor agent, registering the own voice recognition and voice synthesis intelligent service processing capacity in an intelligent service sharing center and sharing the intelligent service contribution agent with other devices in the home local area network.
In such an intelligent service sharing system, when the intelligent service contributor device and the intelligent service user device are connected to the intelligent sharing center device through a sharing management flow such as intelligent service contributor registration, intelligent service contributor status update, intelligent service user registration, and intelligent service application, a star-shaped management connection architecture (sharing management connection shown by a dotted arrow in fig. 4) is formed. And after the intelligent service user equipment applies for the related information of the required intelligent service contributor from the intelligent service sharing center, the intelligent service user equipment directly sends the intelligent service data and the request to be processed to the intelligent service contributor equipment through the intelligent service calling flow and waits for receiving the processing result of the intelligent service. In this way, the point-to-point direct intelligent service network call connection forms a netlike connection architecture (intelligent service call connection shown by solid arrows in fig. 4), and can support efficient, dynamic and crossed intelligent service sharing among devices in the internet of things local area network. The intelligent service contributor registration flow, the intelligent service contributor state update flow, the intelligent service user registration flow, the intelligent service application flow and the intelligent service call flow required by the intelligent service sharing system are defined as follows:
1. Intelligent service contributor registration process:
firstly, an intelligent service contributor agent sends related information of intelligent service to be shared by intelligent terminal equipment, such as equipment identification, IP address, service URL (Uniform resource locator, uniform Resource Location) address, service Function (Function), interface Name (Interface Name), interface version (Interface Version) and the like, to an intelligent service sharing center;
secondly, after receiving the registration request, the intelligent service sharing center generates a unique user token for intelligent terminal equipment sharing intelligent service and returns the unique user token to the intelligent terminal equipment, and meanwhile, equipment and intelligent service related information are added into an intelligent service resource pool;
third, the intelligent service contributor agent saves the user token returned by the intelligent service sharing center.
2. Intelligent service contributor state update flow:
the method comprises the steps that firstly, when the busy and idle states of intelligent terminal equipment change, an intelligent service contributor agent sends the latest state of the equipment to an intelligent service sharing center;
and secondly, after receiving the state update request, the intelligent service sharing center correspondingly updates the state of the equipment in the intelligent service resource pool.
3. Intelligent service user registration process:
firstly, the intelligent service user agent sends the related information of the common terminal equipment, such as equipment identification, IP address and the like, to an intelligent service sharing center;
secondly, after receiving the registration request, the intelligent service sharing center generates a unique user token for common terminal equipment needing to use intelligent service and returns the unique user token to the terminal equipment;
and thirdly, the intelligent service user agent stores a user token returned by the intelligent service sharing center as a credential for applying for the intelligent service subsequently.
4. The intelligent service application flow:
the first step, the intelligent service user agent sends the relevant information of the required intelligent service, such as a user token, service functions, interface information and the like, to an intelligent service sharing center;
second, after receiving the intelligent service application, the intelligent service sharing center: verifying the user token, searching the intelligent service resource pool to find the matched intelligent service contributor, generating a service token and sending an intelligent service confirmation request to the matched intelligent service contributor terminal;
thirdly, after receiving the intelligent service confirmation request sent by the intelligent service sharing center, the intelligent contributor agent confirms and replies the request according to the equipment state of the intelligent contributor agent, and simultaneously stores the service token;
And fourthly, after receiving the confirmation sent back by the intelligent service contributor agent, the intelligent service sharing center returns the relevant information of the intelligent service contributor and the service token to the intelligent service user agent terminal equipment.
5. Intelligent service call flow:
the method comprises the steps that firstly, an intelligent service user agent sends an intelligent service request, data to be processed and a service token to well-confirmed intelligent terminal equipment for providing shared intelligent service;
second, after the intelligent service contributor agent receives the intelligent service request from the intelligent service user agent: verifying the service token, and then calling the intelligent service resources of the intelligent terminal equipment;
thirdly, the intelligent terminal equipment returns an intelligent service processing result to the intelligent service contributor agent after performing corresponding intelligent calculation processing on the data to be processed;
fourth, the intelligent service contributor agent returns the intelligent service processing result to the intelligent service user agent.
Taking the electronic cat eye 43 in the home intelligent service sharing system as an example, on the premise that the related devices have completed registration, a typical use case process may be performed according to the following steps:
step 1, an electronic cat eye detects a human face through a camera of the electronic cat eye;
Step 2, the electronic cat eye applies face recognition service to an intelligent sharing center (intelligent home gateway);
step 3, the intelligent service sharing center searches and matches the intelligent service contributor equipment in the intelligent service resource pool;
step 4, the intelligent service sharing center feeds back the information of the matched intelligent service contributors (home service robots) to the electronic cat eye;
step 5, the electronic cat eye sends the face image data and the face recognition service request to the home service robot;
step 6, the home service robot feeds back the face recognition result (such as name, gender, age and the like) to the electronic cat eye;
step 7, the electronic cat eye applies for voice synthesis service to the intelligent sharing center;
step 8, the intelligent service sharing center searches and matches the intelligent service contributor equipment in the intelligent service resource pool;
step 9, the intelligent service sharing center feeds the information of the matched intelligent service contributors (intelligent sound boxes) back to the electronic cat eye;
step 10, the electronic cat eye sends the combined greeting text words (such as' Li Ming Mr. your good-;
step 11, the intelligent sound box feeds the synthesized greeting voice frequency data simulating the host voice back to the electronic cat eye;
Step 12, the electronic cat eye plays the synthesized greeting audio data to the visitor through the speaker of the electronic cat eye;
and step 13, the electronic cat eye continues to perform other interaction flows with the visitor.
In the embodiment of the application, if the common terminal equipment needs to perform intelligent processing on the data, the resource information of the intelligent terminal equipment supporting the required intelligent service in the local area network of the Internet of things is obtained by applying to the sharing management platform, and the intelligent service request is sent to the intelligent terminal equipment to finally obtain the intelligent service, so that the intelligent processing capability of the sharing intelligent terminal equipment is realized, and the service provided by a remote cloud platform is not needed.
Based on the foregoing embodiments, the embodiments of the present application provide an intelligent service sharing device, where each unit included in the device may be implemented by a processor in a first intelligent terminal, and of course may also be implemented by a specific logic circuit; in practice, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 5 is a schematic structural diagram of an apparatus for intelligent service sharing according to an embodiment of the present application, as shown in fig. 5, the apparatus 500 includes a first sending module 501, a first receiving module 502, and a second sending unit 503, where:
The first sending module 501 is configured to send a service application request to a sharing management platform by using a first intelligent terminal; wherein, the service application request at least carries the identification information of the required intelligent service;
the first receiving module 502 receives a service application response returned by the sharing management platform according to the identification information of the intelligent service; the service application response carries resource information of the second intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal;
the second sending module 503 is configured to send an intelligent service request to the second intelligent terminal according to the device identifier of the second intelligent device to obtain an intelligent service.
In other embodiments, the second sending module 503 further includes a first sending unit and a first receiving unit, where:
the first sending unit is used for sending an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal; the first receiving unit is used for receiving the intelligent service response returned by the second intelligent terminal.
In other embodiments, the apparatus further comprises a first registration module and a first save module, wherein:
The first registration module is used for sending a first registration request to the sharing management platform; the first storage module is used for receiving a first user token returned by the sharing management platform and storing the first user token.
It should be noted here that: the description of the above device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments, and thus will not be described in detail. For technical details not disclosed in the present embodiment, please refer to the description of the method embodiment of the present application for understanding, so that details are not repeated.
Based on the foregoing embodiments, the embodiments of the present application provide another device for sharing intelligent services, where each module and unit included in the device may be implemented by a processor in a shared management platform, and of course, may also be implemented by specific logic circuits.
Fig. 6 is a schematic structural diagram of another device for intelligent service sharing according to an embodiment of the present application, as shown in fig. 6, the device 600 includes a second receiving module 601, a first determining module 602, and a third sending module 603, where:
the second receiving module 601 is configured to receive a service application request sent by the first intelligent terminal by using the sharing management platform; the service application request at least carries the identification information of the required intelligent service;
The first determining module 602 is configured to determine, according to the identification information of the intelligent service, a second intelligent terminal supporting the intelligent service;
the third sending module 603 is configured to carry the resource information of the second intelligent terminal in a service application response, and send the service application response to the first intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal.
In the apparatus 600, the first determining module 602 includes a first checking unit and a first determining unit, where:
the first verification unit is used for verifying the first user token; and the first determining unit is used for searching a service resource pool according to the identification information of the intelligent service after the first user token passes the verification, and determining the intelligent terminal set supporting the intelligent service as the second intelligent terminal.
In the apparatus 600, the first determining unit is further configured to determine, from the set of intelligent terminals, a terminal whose state information is in an idle state as the second intelligent terminal.
In the apparatus 600, the apparatus further comprises a first generation module for generating a service token corresponding to the intelligent service. Correspondingly, the third sending module 603 is further configured to carry the service token and the resource information of the second intelligent terminal in the service application response, and send the service application response to the first intelligent terminal.
In the apparatus 600, the apparatus further includes a fourth sending module, a third receiving module, and a second determining module, where:
the fourth sending module is used for carrying the service token in a service confirmation request and sending the service token to the second intelligent terminal; the third receiving module is used for receiving a service confirmation response returned by the second intelligent terminal; and the second determining module is used for determining the resource information of the second intelligent terminal if the service confirmation response confirms that the second intelligent terminal supports the intelligent service.
In the apparatus 600, the apparatus further includes a fourth receiving module, a second generating module, and a fifth transmitting module, where:
the fourth receiving module is configured to receive a first registration request sent by a first intelligent terminal, where the first registration request carries first device information of the first intelligent terminal; the second generation module is used for generating a first user token of the first intelligent terminal according to the first equipment information; and the fifth sending module returns a first user token to the first intelligent terminal.
In the apparatus 600, the apparatus further includes a fifth receiving module, a third generating module, a sixth sending module, and an adding module, where:
The fifth receiving module is configured to receive a second registration request sent by a second intelligent terminal, where the second registration request carries second device information of the second intelligent terminal and identification information of an intelligent service to be shared; the third generation module is used for generating a second user token of the second intelligent terminal according to the second equipment information; the sixth sending module is used for returning a second user token to the second intelligent terminal; and the adding module is used for adding the identification information of the intelligent service to be shared into a service resource pool.
In the apparatus 600, the apparatus further comprises a sixth receiving module and an updating module, wherein:
the sixth receiving module is configured to receive a status update request sent by the second intelligent terminal, where the status update request carries updated status information of the second intelligent terminal, and the status information is used to characterize a busy or idle status; the updating module is used for updating the state information of the second intelligent terminal in the service resource pool;
correspondingly, the first determining unit is configured to retrieve the updated service resource pool according to the identification information, and determine the set of intelligent terminals supporting the intelligent service as the second intelligent terminal.
It should be noted here that: the description of the embodiment of the shared management platform is similar to that of the second embodiment of the method, and has the same advantages as those of the second embodiment of the method, so that a detailed description is omitted. For technical details not disclosed in the embodiment of the present shared management platform, please refer to the description of the second embodiment of the method of the present application for understanding, so that the description is omitted for saving the space.
Based on the foregoing embodiments, the embodiments of the present application provide an intelligent sharing device, where each module and unit included in the device may be implemented by a processor in the second intelligent terminal, and of course, may also be implemented by a specific logic circuit.
Fig. 7 is a schematic structural diagram of another device for sharing intelligent services according to an embodiment of the present application, as shown in fig. 7, where the device 700 includes a seventh receiving module 701, a calling module 702, and a sixth sending module 703, where:
the seventh receiving module 701 is configured to receive an intelligent service request sent by a first intelligent terminal, where the intelligent service request carries data to be processed;
the calling module 702 is configured to call an intelligent service resource of the second intelligent terminal to process the data to be processed, so as to obtain a processing result;
The sixth sending module 703 is configured to send the processing result to the first intelligent terminal with the processing result carried in the intelligent service response.
In the apparatus 700, the calling module 702 includes a second checking unit and a first calling unit, where:
the second verification unit is used for verifying the service token; and the first calling unit is used for calling the intelligent service resource of the second intelligent terminal to process the data to be processed after the service token passes the verification, so as to obtain a processing result.
In the apparatus 700, the apparatus further comprises a packaging module, a second registration module, and a second save module, wherein:
the packaging module is used for packaging the intelligent computing capacity of the packaging module into intelligent service with a standard network calling interface; the second registration module is configured to send a second registration request to the sharing management platform, where the second registration request carries second device information of the second intelligent terminal and identification information corresponding to the intelligent service; the identification information corresponding to the intelligent service is added into a service resource pool by the sharing management platform; the second saving module is used for receiving a second user token returned by the sharing management platform and saving the second user token; wherein the second user token is generated from the second device information.
In the apparatus 700, the apparatus further comprises an eighth receiving module and a seventh transmitting module, wherein:
the eighth receiving module is configured to receive a service confirmation request sent by the sharing management platform; the seventh sending module is configured to respond to the service confirmation request according to the state information of the second intelligent terminal, and send a service confirmation response to the sharing management platform.
In the apparatus 700, the apparatus further includes an eighth sending module, configured to send a status update request to the shared management platform if the status information of the second intelligent terminal is updated, so that the shared management platform updates the service resource pool, where the status update request carries updated status information of the second intelligent terminal, and the status information is used to represent a busy or idle status.
It should be noted here that: the description of the above device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments, and thus will not be described in detail. For technical details not disclosed in the embodiment of the present apparatus, please refer to the description of the embodiment of the method of the present application for understanding, so that the description is omitted for saving the space.
It should be noted that, in the embodiment of the present application, if the above-mentioned method for sharing intelligent service is implemented in the form of a software functional module, and sold or used as a separate product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or partially contributing to the related art, and the computer software product may be stored in a storage medium, where the computer software product includes several instructions to enable a device (which may be an intelligent terminal or a sharing management platform, etc.) for sharing an intelligent service to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the embodiment of the application provides an intelligent service sharing device, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor realizes the steps in the method provided in the embodiment when executing the program.
Correspondingly, the embodiment of the application provides a computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and the computer executable instructions are stored in the computer readable storage medium, and are configured to implement the method for sharing the intelligent service provided in the embodiment when the program is executed.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present application, please refer to the description of the method embodiments of the present application for understanding.
It should be noted that, fig. 8 is a schematic diagram of a hardware entity of an apparatus for intelligent service sharing according to an embodiment of the present application, as shown in fig. 8, the hardware entity of the apparatus 800 includes: a processor 801, a communication interface 802, and a memory 803, wherein
The processor 801 generally controls the overall operation of the device 800.
The communication interface 802 may enable the device 800 to communicate with other terminals or servers over a network.
The memory 803 is configured to store instructions and applications executable by the processor 801, and may also cache data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or processed by various modules in the processor 801 and the device 800, which may be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (14)

1. A method of intelligent service sharing, the method comprising:
the first intelligent terminal sends a service application request to the sharing management platform; the service application request at least carries the identification information of the required intelligent service and a first user token of the first intelligent terminal, so that the sharing management platform searches a service resource pool according to the identification information of the intelligent service after the first user token passes verification, and an intelligent terminal set supporting the intelligent service is determined to be a second intelligent terminal;
The sharing management platform is further used for generating a service token corresponding to the intelligent service, carrying the service token in a service confirmation request and sending the service token to the second intelligent terminal; the second intelligent terminal responds to the service confirmation request according to the state information of the second intelligent terminal and sends a service confirmation response to the sharing management platform; if the service confirmation response confirms that the second intelligent terminal supports the intelligent service, the sharing management platform determines resource information of the second intelligent terminal;
receiving a service application response returned by the sharing management platform according to the identification information of the intelligent service; the service application response carries resource information of the second intelligent terminal; the second intelligent terminal is intelligent terminal equipment with complex intelligent processing; the resource information comprises a device identifier of the second intelligent terminal;
and sending an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal so as to obtain intelligent service.
2. The method of claim 1, wherein before the first intelligent terminal sends a service application request to the sharing management platform, the method further comprises:
Sending a first registration request to the sharing management platform; the first registration request carries first equipment information of the first intelligent terminal;
receiving a first user token returned by the sharing management platform, and storing the first user token; wherein the first user token is generated from the first device information.
3. A method of intelligent service sharing, the method comprising:
the method comprises the steps that a sharing management platform receives a service application request sent by a first intelligent terminal, wherein the service application request at least carries identification information of required intelligent service and a first user token of the first intelligent terminal;
checking the first user token check;
after the first user token passes the verification, searching a service resource pool according to the identification information of the intelligent service, and determining an intelligent terminal set supporting the intelligent service as a second intelligent terminal; the second intelligent terminal is intelligent terminal equipment with complex intelligent processing;
generating a service token corresponding to the intelligent service; carrying the service token in a service confirmation request and sending the service token to the second intelligent terminal;
Receiving a service confirmation response returned by the second intelligent terminal;
if the service confirmation response confirms that the second intelligent terminal supports the intelligent service, determining resource information of the second intelligent terminal;
carrying the resource information of the second intelligent terminal in a service application response, and sending the service application response to the first intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal.
4. A method according to claim 3, characterized in that the method further comprises:
receiving a first registration request sent by a first intelligent terminal, wherein the first registration request carries first equipment information of the first intelligent terminal; generating a first user token of the first intelligent terminal according to the first equipment information; returning a first user token to the first intelligent terminal;
the method further comprises the steps of: receiving a second registration request sent by a second intelligent terminal, wherein the second registration request carries second equipment information of the second intelligent terminal and identification information of intelligent service to be shared; and adding the identification information of the intelligent service to be shared into a service resource pool.
5. A method according to claim 3, characterized in that the method further comprises:
receiving a state update request sent by the second intelligent terminal, wherein the state update request carries updated state information of the second intelligent terminal, and the state information is used for representing a busy or idle state;
and updating the state information of the second intelligent terminal in the service resource pool.
6. A method of intelligent service sharing, the method comprising:
the second intelligent terminal receives a service confirmation request sent by the sharing management platform, wherein the service confirmation request comprises a service token which is generated by the sharing management platform and corresponds to the intelligent service; the second intelligent terminal searches a service resource pool according to the identification information of the intelligent service after the first user token passes the verification by the sharing management platform, and the intelligent terminal set supporting the intelligent service is determined;
responding to the service confirmation request according to the state information of the second intelligent terminal, and sending a service confirmation response to the sharing management platform;
wherein, if the service confirmation response confirms that the second intelligent terminal supports the intelligent service, the sharing management platform determines the resource information of the second intelligent terminal; the resource information of the second intelligent terminal is carried in a service application response by the sharing management platform, and the service application response is sent to the first intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal; the first intelligent terminal sends an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal;
The second intelligent terminal receives an intelligent service request sent by the first intelligent terminal, wherein the intelligent service request carries data to be processed; the second intelligent terminal is intelligent terminal equipment with complex intelligent processing;
calling intelligent service resources of the second intelligent terminal to process the data to be processed to obtain a processing result;
and carrying the processing result in an intelligent service response and sending the intelligent service response to the first intelligent terminal.
7. The method of claim 6, wherein the intelligent service request further includes a service token, and the calling the intelligent service resource of the second intelligent terminal to process the data to be processed to obtain a processing result includes: verifying the service token; and after the service token passes the verification, the intelligent service resource of the second intelligent terminal is called to process the data to be processed, and a processing result is obtained.
8. The method of claim 7, wherein the method further comprises:
packaging the self intelligent computing capacity into intelligent service with standard network call interface; sending a second registration request to the sharing management platform, wherein the second registration request carries second equipment information of the second intelligent terminal and identification information corresponding to the intelligent service; and the identification information corresponding to the intelligent service is added into a service resource pool by the sharing management platform.
9. The method according to any one of claims 6 to 8, further comprising:
if the state information of the second intelligent terminal is updated, a state update request is sent to the sharing management platform so that the sharing management platform updates a service resource pool, wherein the state update request carries updated state information of the second intelligent terminal, and the state information is used for representing a busy or idle state.
10. An apparatus for intelligent service sharing, wherein the apparatus comprises a first sending module, a first receiving module, and a second sending module, wherein:
the first sending module is used for sending a service application request to the sharing management platform by the first intelligent terminal; the service application request at least carries the identification information of the required intelligent service and a first user token of the first intelligent terminal, so that the sharing management platform searches a service resource pool according to the identification information of the intelligent service after the first user token passes verification, and an intelligent terminal set supporting the intelligent service is determined to be a second intelligent terminal; the sharing management platform is further used for generating a service token corresponding to the intelligent service, carrying the service token in a service confirmation request and sending the service token to the second intelligent terminal; the second intelligent terminal responds to the service confirmation request according to the state information of the second intelligent terminal and sends a service confirmation response to the sharing management platform; if the service confirmation response confirms that the second intelligent terminal supports the intelligent service, the sharing management platform determines resource information of the second intelligent terminal;
The first receiving module receives a service application response returned by the sharing management platform according to the identification information of the intelligent service; the service application response carries resource information of the second intelligent terminal; the second intelligent terminal is intelligent terminal equipment with complex intelligent processing; the resource information comprises a device identifier of the second intelligent terminal;
the second sending module is configured to send an intelligent service request to the second intelligent terminal according to the device identifier of the second intelligent terminal to obtain intelligent service.
11. An apparatus for intelligent service sharing, wherein the apparatus includes a second receiving module, a first determining module, a first generating module, a second determining module, a fourth transmitting module, a third receiving module, and a third transmitting module, wherein:
the second receiving module is used for receiving a service application request sent by the first intelligent terminal by the sharing management platform; the service application request at least carries identification information of the required intelligent service and a first user token of the first intelligent terminal;
the first determining module is used for searching a service resource pool according to the identification information of the intelligent service after the first user token passes the verification, and determining an intelligent terminal set supporting the intelligent service as a second intelligent terminal; the second intelligent terminal is intelligent terminal equipment with complex intelligent processing;
The first generation module is used for generating a service token corresponding to the intelligent service;
the fourth sending module is used for carrying the service token in a service confirmation request and sending the service token to the second intelligent terminal;
the third receiving module is used for receiving a service confirmation response returned by the second intelligent terminal;
the second determining module is configured to determine resource information of the second intelligent terminal if the service confirmation response confirms that the second intelligent terminal supports the intelligent service;
the third sending module is configured to carry the resource information of the second intelligent terminal in a service application response, and send the service application response to the first intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal.
12. An intelligent service sharing device, which is characterized by comprising a seventh receiving module, a calling module, an eighth receiving module, a seventh sending module and a sixth sending module, wherein:
the eighth receiving module is configured to receive, by the second intelligent terminal, a service confirmation request sent by the sharing management platform, where the service confirmation request includes a service token generated by the sharing management platform and corresponding to the intelligent service; the second intelligent terminal searches a service resource pool according to the identification information of the intelligent service after the first user token passes the verification by the sharing management platform, and the intelligent terminal set supporting the intelligent service is determined;
The seventh sending module is configured to respond to the service confirmation request according to the state information of the second intelligent terminal, and send a service confirmation response to the sharing management platform; wherein, if the service confirmation response confirms that the second intelligent terminal supports the intelligent service, the sharing management platform determines the resource information of the second intelligent terminal; the resource information of the second intelligent terminal is carried in a service application response by the sharing management platform, and the service application response is sent to the first intelligent terminal; the resource information comprises a device identifier of the second intelligent terminal; the first intelligent terminal sends an intelligent service request to the second intelligent terminal according to the equipment identifier of the second intelligent terminal;
the seventh receiving module is configured to receive, by using the second intelligent terminal, an intelligent service request sent by the first intelligent terminal, where the intelligent service request carries data to be processed; the second intelligent terminal is intelligent terminal equipment with complex intelligent processing;
the calling module is used for calling the intelligent service resource of the second intelligent terminal to process the data to be processed to obtain a processing result;
And the sixth sending module is used for carrying the processing result in the intelligent service response and sending the processing result to the first intelligent terminal.
13. An intelligent service sharing device comprising a memory and a processor, the memory storing a computer program executable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 9 when the program is executed.
14. A computer readable storage medium having stored therein computer executable instructions configured to perform the method of intelligent service sharing provided by any of the preceding claims 1 to 9.
CN201911014036.4A 2019-10-23 2019-10-23 Method, device, equipment and storage medium for intelligent service sharing Active CN112702306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911014036.4A CN112702306B (en) 2019-10-23 2019-10-23 Method, device, equipment and storage medium for intelligent service sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911014036.4A CN112702306B (en) 2019-10-23 2019-10-23 Method, device, equipment and storage medium for intelligent service sharing

Publications (2)

Publication Number Publication Date
CN112702306A CN112702306A (en) 2021-04-23
CN112702306B true CN112702306B (en) 2023-05-09

Family

ID=75505210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911014036.4A Active CN112702306B (en) 2019-10-23 2019-10-23 Method, device, equipment and storage medium for intelligent service sharing

Country Status (1)

Country Link
CN (1) CN112702306B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827259B (en) * 2022-03-02 2023-09-22 杭州华橙软件技术有限公司 Data processing method, computer readable storage medium and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068245A (en) * 2007-03-30 2007-11-07 腾讯科技(深圳)有限公司 Shared file issuing and downloading method and file sharing control system
CN103379107A (en) * 2012-04-26 2013-10-30 中兴通讯股份有限公司 Method and device for sharing network device capacity and network devices
CN104506600A (en) * 2014-12-16 2015-04-08 苏州海博智能系统有限公司 Computation resource sharing method, device and system as well as client side and server
CN105306577A (en) * 2015-11-10 2016-02-03 上海卓易科技股份有限公司 Data sharing system and method between handheld devices based on APP
CN105656854A (en) * 2014-11-12 2016-06-08 中国移动通信集团公司 Method, device and system for verifying WLAN (Wireless Local Area Network) user source
CN106331068A (en) * 2016-08-15 2017-01-11 中国联合网络通信集团有限公司 Remote resource sharing method and resource sharing platform
CN109325836A (en) * 2018-11-07 2019-02-12 王彬彬 A kind of intelligent remote Sharing computer host lease operation system and its method
CN109474596A (en) * 2018-11-16 2019-03-15 中山市力泰电子工业有限公司 A kind of resource share method of the intelligent sound box based on token
CN109587126A (en) * 2018-11-26 2019-04-05 平安科技(深圳)有限公司 User anthority identifying method and system
CN109688222A (en) * 2018-12-26 2019-04-26 深圳市网心科技有限公司 The dispatching method of shared computing resource, shared computing system, server and storage medium
CN113779545A (en) * 2021-08-27 2021-12-10 深圳市优必选科技股份有限公司 Data cross-process sharing method, terminal equipment and computer readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068245A (en) * 2007-03-30 2007-11-07 腾讯科技(深圳)有限公司 Shared file issuing and downloading method and file sharing control system
CN103379107A (en) * 2012-04-26 2013-10-30 中兴通讯股份有限公司 Method and device for sharing network device capacity and network devices
CN105656854A (en) * 2014-11-12 2016-06-08 中国移动通信集团公司 Method, device and system for verifying WLAN (Wireless Local Area Network) user source
CN104506600A (en) * 2014-12-16 2015-04-08 苏州海博智能系统有限公司 Computation resource sharing method, device and system as well as client side and server
CN105306577A (en) * 2015-11-10 2016-02-03 上海卓易科技股份有限公司 Data sharing system and method between handheld devices based on APP
CN106331068A (en) * 2016-08-15 2017-01-11 中国联合网络通信集团有限公司 Remote resource sharing method and resource sharing platform
CN109325836A (en) * 2018-11-07 2019-02-12 王彬彬 A kind of intelligent remote Sharing computer host lease operation system and its method
CN109474596A (en) * 2018-11-16 2019-03-15 中山市力泰电子工业有限公司 A kind of resource share method of the intelligent sound box based on token
CN109587126A (en) * 2018-11-26 2019-04-05 平安科技(深圳)有限公司 User anthority identifying method and system
CN109688222A (en) * 2018-12-26 2019-04-26 深圳市网心科技有限公司 The dispatching method of shared computing resource, shared computing system, server and storage medium
CN113779545A (en) * 2021-08-27 2021-12-10 深圳市优必选科技股份有限公司 Data cross-process sharing method, terminal equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112702306A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN109918040B (en) Voice instruction distribution method and device, electronic equipment and computer readable medium
CN109639636B (en) Service data forwarding method, service data processing method, service data forwarding device, service data processing device and electronic equipment
CN104572278B (en) The method, device and equipment of light application calling local side ability
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN108156268A (en) Acquisition methods and server, the terminal device of device identification
JP2019092147A (en) Information exchanging method and device, audio terminal, and computer-readable storage medium
US10165058B2 (en) Dynamic local function binding apparatus and method
CN107635022A (en) Across intranet and extranet service access methods and device
US8903972B2 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN114025021A (en) Communication method, system, medium and electronic device across Kubernetes cluster
CN111431956A (en) Cross-network service access method, device, system and storage medium
CN112799825A (en) Task processing method and network equipment
CN112261047B (en) Gateway access method, mobile terminal and computer storage medium
CN107222545B (en) Data transmission method and device
CN110764688B (en) Method and device for processing data
CN113220366A (en) Sub-application starting method and device, terminal and server
CN112702306B (en) Method, device, equipment and storage medium for intelligent service sharing
CN109033393A (en) Paster processing method, device, storage medium and electronic equipment
CN109086401A (en) Paster acquisition methods, device, storage medium and electronic equipment
CN114238065B (en) Test processing method, device, equipment and readable storage medium
US20130151553A1 (en) Method and apparatus for processing a composite context event
CN111581576B (en) Development processing method and device based on micro-service and storage medium
CN113538024B (en) Advertisement management method, system and content transmission network equipment
WO2019119962A1 (en) Information processing method, system, terminal, and computer readable storage medium
CN110474891A (en) Business access control method and device based on multisystem smart machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant