CN112702306A - Intelligent service sharing method, device, equipment and storage medium - Google Patents

Intelligent service sharing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112702306A
CN112702306A CN201911014036.4A CN201911014036A CN112702306A CN 112702306 A CN112702306 A CN 112702306A CN 201911014036 A CN201911014036 A CN 201911014036A CN 112702306 A CN112702306 A CN 112702306A
Authority
CN
China
Prior art keywords
service
intelligent
intelligent terminal
sharing
terminal
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.)
Granted
Application number
CN201911014036.4A
Other languages
Chinese (zh)
Other versions
CN112702306B (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 sharing intelligent services, wherein the method comprises the following steps: the method comprises the steps that a first intelligent terminal sends a service application request to a shared management platform; the service application request at least carries 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 identification 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 to obtain intelligent service.

Description

Intelligent service sharing method, device, equipment and storage medium
Technical Field
The present application relates to the field of internet of things, and relates to, but is not limited to, a method, apparatus, device, and storage medium for intelligent service sharing.
Background
With the development of Artificial Intelligence (AI) technology and intelligent chip technology, more and more internet of things terminal devices have local intelligent processing capability, for example, an intelligent camera can detect and recognize faces, and an intelligent sound box can recognize and synthesize voices. 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 the device cannot be fully utilized. Meanwhile, in the application scene of the internet of things, a large number of common terminal devices still have the capacity of local intelligent processing, and if data needs to be intelligently processed, the service provided by a remote cloud platform is used. At present, no proper technology or method is available for supporting the intelligent terminal device to share the intelligent processing capability of the intelligent terminal device to other common terminal devices 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, an apparatus, a device, and a 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 an intelligent service sharing method, where the method includes:
the method comprises the steps that a first intelligent terminal sends a service application request to a shared management platform; the service application request at least carries 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 identification 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 to obtain intelligent service.
In a second aspect, an embodiment of the present application provides an intelligent service sharing method, 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; and the resource information comprises the equipment identification of the second intelligent terminal.
In a third aspect, an embodiment of the present application provides an intelligent service sharing method, where the method includes:
the method comprises the steps that a second intelligent terminal receives an intelligent service request sent by a 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 intelligent service sharing apparatus, 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; the service application request at least carries identification information of the required intelligent service;
the first receiving module is used for 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 identification 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 the 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;
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; and the resource information comprises the equipment identification of the second intelligent terminal.
In a sixth aspect, an embodiment of the present application provides an intelligent service sharing apparatus, 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 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 configured to send the processing result to the first intelligent terminal by carrying the processing result in an intelligent service response.
In a seventh aspect, an embodiment of the present application provides an intelligent service sharing device, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps in the foregoing 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 intelligent service sharing method provided above.
In the embodiment of the application, firstly, a first intelligent terminal sends a service application request to a shared management platform; the service application request at least carries 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 identification 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 the intelligent service, so that if the common terminal equipment needs to intelligently process data, obtaining resource information of the intelligent terminal equipment supporting the required intelligent service in the local area network of the Internet of things by applying to the 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 shared intelligent terminal equipment without the help of the service provided by a remote cloud platform.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1A is a schematic structural diagram of an intelligent service sharing system provided in an embodiment of the present application;
fig. 1B is a schematic flowchart illustrating an implementation process of a method for sharing intelligent services according to an embodiment of the present application;
fig. 2 is a schematic overall implementation flowchart of a method for sharing intelligent services according to an embodiment of the present application;
FIG. 3 is a block diagram of an intelligent service sharing system according to an embodiment of the present disclosure;
fig. 4 is a schematic component architecture diagram of a home intelligence service sharing system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram illustrating an intelligent service sharing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another apparatus for intelligent service sharing according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another apparatus for intelligent service sharing according to an embodiment of the present application;
fig. 8 is a hardware entity diagram of an intelligent service sharing device according to an embodiment of the present disclosure.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. The equivalent structure or equivalent flow conversion made by the content of the specification and the attached drawings, or directly or indirectly applied to other related technical fields, are all included in the protection scope of the patent of the application.
The terminal device may be implemented in various forms. For example, the smart terminal in the local area network internet of things described in the present application may include devices such as a home service robot, a smart speaker, an electronic cat eye, a security camera, a refrigerator, and a liquid crystal television.
The technical solution of the present application is further elaborated below with reference to the drawings and the specific embodiments.
In order to solve the technical problem in the prior art, fig. 1A is a schematic structural diagram of a composition of an intelligent service sharing system provided in an embodiment of the present application, and as shown in fig. 1A, the sharing system includes: the sharing management platform 11, the first intelligent terminal 12 and the second intelligent terminals 21 to 2N, wherein:
the shared management platform 11 requires less computing resources and can be deployed in any device in the local area network of the internet of things that meets basic computing conditions.
The first intelligent terminal 12 is a common terminal device in the local area network of the internet of things, and can integrate an intelligent service user Agent (Agent) to apply and call the intelligent service shared by the second intelligent terminal device through the Agent.
The second intelligent terminals 21 to 2N are intelligent terminal devices with complex intelligent processing capacity in the local area network of the internet of things, and need to integrate an intelligent service contributor agent, and package the intelligent computing capacity of the agent into intelligent services with standard network calling interfaces for sharing.
The flow of the first smart terminal 12 applying to the shared management platform 11 and calling the smart service shared by the second smart terminals 21 to 2N will be described based on fig. 1A.
The embodiment of the application provides an intelligent service sharing method, which is applied to a first intelligent terminal, wherein the functions realized by the method can be realized by calling a program code through a processor in the first intelligent terminal, and the program code can be saved in a computer storage medium.
Fig. 1B is a schematic view of an implementation flow of a method for sharing intelligent services provided in the embodiment of the present application, and as shown in fig. 1B, the method for sharing intelligent services includes:
step S101, the first intelligent terminal sends a service application request to the sharing management platform.
Here, the first intelligent terminal is a common terminal device in an internet of things local area network, and can integrate an intelligent service user agent and apply for an intelligent service to the shared management platform through the agent.
Here, the shared management platform requires less computing resources in the actual implementation process, and may be deployed in any device that meets basic computing conditions in the local area network of the internet of things, for example, may be installed in an intelligent home gateway to provide an intelligent service shared management service for other devices.
Here, the Service application request at least carries identification information of a required smart Service, such as Service Function (Service Function) and Interface information (Interface Info).
And 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 that supports the applied intelligent Service.
And 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.
The intelligent service request carries 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 capacity 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 shared management platform; the service application request at least carries 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 the intelligent service, so that if the common terminal equipment needs to intelligently process data, obtaining the resource information of the intelligent terminal equipment supporting the required intelligent service in the local area network of the Internet of things by applying to the 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 shared intelligent terminal equipment without the help of 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 shared 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) and an IP address.
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 according to the first device information, is a unique user token of the first device, and can be used for authentication when a smart service request is transmitted later.
The embodiment of the application provides an intelligent service sharing method, which is applied to a sharing management platform, the functions realized by the method can be realized by calling a program code through a processor in the sharing management platform, the program code can be saved in a computer storage medium, and the sharing management platform at least comprises the processor and the 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 carries at least 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 shared management platform may determine a second smart terminal supporting the smart service by retrieving identification information of the smart service in a service resource pool.
Here, the intelligent terminals supporting the intelligent service may be a set, and each of the intelligent terminals in the set of intelligent terminals can support the intelligent service. In an embodiment, a terminal whose state information is idle is determined as the second intelligent terminal from the intelligent terminal set.
As another implementation, the service application request further includes a first user token of the first intelligent terminal, the shared management platform extracts the first user token of the first intelligent terminal from the service application request, then verifies the first user token, and after the first user token is verified, retrieves a service resource pool according to the identification information of the intelligent service, and determines an intelligent terminal set 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 related information of the intelligent service, such as a User Token (User Token) of the second intelligent terminal, a device busy/idle state, a service function, interface information, and the like.
Step S123, 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, related information of 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; the service application request at least carries 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 allocation of the intelligent service resources, and sharing the intelligent processing capacity of the intelligent terminal equipment without the help of the service provided by a remote cloud platform.
In other embodiments, the method further comprises the steps of:
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 the shared management platform generates different service tokens every time the same intelligent service applies for the same intelligent service.
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 also carries the service token, so that when the first intelligent terminal sends the intelligent service request to the second intelligent terminal, the reliability can be increased by checking the service token.
In other embodiments, after the step S124 of generating the service token corresponding to the smart service, the method further includes the following steps:
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 sending of the service token to the second intelligent terminal is to compare and check the service token with the service token stored in the first intelligent terminal to increase the reliability when the first intelligent terminal sends an intelligent service request to the second intelligent terminal later.
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, wherein the state information indicates that the second intelligent terminal is in a busy or idle state.
Step S128, if the service confirmation response confirms that the second intelligent terminal supports the intelligent service, the shared management platform determines resource information of the second intelligent terminal.
In other embodiments, in step S121, before the "receiving, by the shared management platform, the service application request sent by the first intelligent terminal," the method further includes the following steps:
step S1201, the shared management platform receives a first registration request sent by a first intelligent terminal, and the first registration request carries first equipment 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 shared management platform when the first intelligent terminal initiates a registration request to the shared management platform.
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 the intelligent service to be shared, where the identification information of the intelligent service includes service function and interface information.
And step S1205, the sharing management platform generates a second user token of the second intelligent terminal according to the second equipment information.
Step S1206, the sharing management platform returns a second user token to the second intelligent terminal.
Step S1207, the sharing management platform adds the identification information of the intelligent service to be shared to a service resource pool.
The steps S1204 to S1207 are processing steps of the shared management platform when the second intelligent terminal initiates the registration request to the shared management platform.
In other embodiments, the method further comprises:
and step S129, the sharing management platform receives the state updating request sent by the second intelligent terminal.
Here, 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.
Step S1210, the shared management platform updates the state information of the second intelligent terminal in the service resource pool.
Accordingly, the step S122 of "determining a second intelligent terminal supporting the intelligent service according to the identification information" may be implemented as follows: and the sharing management platform retrieves 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 an intelligent service sharing method, which is applied to a second intelligent terminal, wherein the functions realized by the method can be realized by calling a program code through a processor in the second intelligent terminal, and the program code can be saved in a computer storage medium.
The intelligent service sharing method comprises the following steps:
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.
Step S132, 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.
Here, the intelligent service resource of the second intelligent terminal is the intelligent computing capability local to the terminal device.
And step S133, the second intelligent terminal carries the processing result in an intelligent service response and sends the intelligent service response to the first intelligent terminal.
In the embodiment of the application, the second intelligent terminal receives an intelligent service request sent by the first intelligent terminal, then the intelligent service resource of the second intelligent terminal is called to process the data to be processed to obtain a processing result, and finally the processing result is carried in the intelligent service response to be sent to the first intelligent terminal, so that the second intelligent terminal shares the intelligent computing capability of the second intelligent terminal to other common terminal devices in the local area network of the internet of things in an intelligent service mode.
In another embodiment, the smart service request in step S131 further includes a service token, and accordingly, 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:
and step S1301, the second intelligent terminal packages the intelligent computing capacity of the second intelligent terminal into the intelligent service with a standard network calling 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 adding the identification information corresponding to the intelligent service into a service resource pool by the sharing management platform.
Step S1303, the second intelligent terminal receives a second user token returned by the shared management platform, and stores the second user token.
Here, the second user token is generated by the shared management platform according to the second device information.
In the above embodiment, the method further comprises the steps of:
step S134, the second intelligent terminal receives the service confirmation request sent by the shared management platform.
Here, the service confirmation request is used to confirm whether the second smart terminal can share the smart service in the current state.
Step S135, the second intelligent terminal responds to the service confirmation request according to the state information of the second intelligent terminal itself, and sends a service confirmation response to the shared management platform.
In the above embodiment, the method further comprises the steps of:
step S136, if the state information of the second intelligent terminal itself is updated, the second intelligent terminal sends a state update request to the shared management platform, so that the shared management platform updates the service resource pool.
Here, 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.
Fig. 2 is a schematic overall flowchart of a method for intelligent service sharing provided in an embodiment of the present application, and an overall flowchart of the method for intelligent service sharing according to the present application will be described below based on fig. 2. Firstly, a first intelligent terminal initiates a registration process to a shared 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 the sharing management platform according to the first device information.
And step S203, the first intelligent terminal saves the first user token.
Here, the first user token is saved for later use as a credential when sending a service application to the shared management platform.
Then, the second intelligent terminal initiates a registration process to the shared management platform, and the process comprises the following steps:
and step S204, the second intelligent terminal packages the intelligent computing capacity into an intelligent service with a standard network calling interface.
Here, the second intelligent terminal packages the intelligent computing power of the second intelligent terminal into an intelligent service with a standard network calling interface. Therefore, the second intelligent terminal can share the intelligent computing capacity of the second intelligent terminal to other terminals through the standard network calling interface.
And 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. Therefore, the sharing management platform can conveniently search and match the second intelligent terminal supporting 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 according to the second device information.
And step S208, the second intelligent terminal stores the second user token.
In other embodiments, the sequence of steps S201 to S203 and steps S204 to S208 may be changed, 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 process to the shared management platform, which may be performed according to 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 shared 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, after the first user token is verified, the shared management platform may determine, by retrieving identification information of the smart service from a service resource pool, a second smart terminal that supports the smart service.
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 of the second intelligent terminal, the busy/idle status of the device, the service function and the interface information.
Here, the intelligent terminals supporting the intelligent service may be a set, and each of the intelligent terminals in the set of intelligent terminals can support the intelligent service. In an embodiment, a terminal whose state information is idle is determined as the second intelligent terminal from the intelligent terminal set.
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 smart service.
Here, different intelligent services correspond to different service tokens, and the shared management platform generates different service tokens every time the same intelligent service applies for the same intelligent service.
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 an intelligent service request to the second intelligent terminal later, the service token is compared and checked with the service token stored in the first intelligent terminal, so as to increase the reliability.
And step S214, the second intelligent terminal stores the service token.
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-equipment, wherein the state information is used for representing a busy or idle state.
Step S216, the sharing management platform returns a service application response to the first intelligent terminal.
Here, the shared 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 information such as equipment information and a service token of the second intelligent terminal.
The aforementioned steps S209 to S216 complete the service application process of the first intelligent terminal, wherein the steps S213 to S215 are the service confirmation process sent by the shared management platform to the second intelligent terminal.
If the state information of the second intelligent terminal is updated, executing a state updating process of the second intelligent terminal according to the following steps:
step S217, the second intelligent terminal sends a status update request to the shared management platform.
Here, if the state information of the second intelligent terminal itself is updated, the second intelligent terminal sends a state update request to the shared management platform, where the state update request carries the updated state information of the second intelligent terminal, and the state information is used to represent a busy or idle state.
Step S218, the shared management platform updates the service resource pool.
Here, the shared management platform updates the status information of the second intelligent terminal in the service resource pool, and accordingly, in step S211, the shared management platform retrieves the updated service resource pool.
The above steps S217 and S218 complete the status updating process of the second intelligent terminal.
And finally, the first intelligent terminal initiates an intelligent service request flow to the second intelligent terminal:
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 device identifier of the second intelligent terminal, where the intelligent service request at least carries to-be-processed data and the service token.
And step S220, the second intelligent terminal calls the intelligent service resource to process.
Here, the second intelligent terminal checks the service token first, and calls after the service token passes the check
And step S221, the second intelligent terminal returns an intelligent service processing result to the first intelligent terminal.
The above steps S219 to S221 complete the process of the first intelligent terminal initiating the intelligent service request to the second intelligent terminal, i.e. the service call process.
The embodiment of the application provides an intelligent service sharing process, which is implemented by a registration process of a first intelligent terminal, a registration process of a 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 the idle intelligent processing capacity of the second intelligent terminal is shared to the first intelligent terminal in an intelligent service mode, and thus, the intelligent terminal equipment in the local area network of the internet of things can share the idle intelligent processing capacity of the intelligent terminal equipment to other local common terminal equipment in the intelligent service mode, and efficient, dynamic and crossed intelligent service sharing among equipment in the local area network of the internet of things can be supported.
At present, no suitable system or method supports intelligent terminal devices to share the intelligent processing capability of the intelligent terminal devices to other terminal devices 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 devices are idle. In order to fully utilize the intelligent processing capacity of the intelligent equipment, the proposal provides an intelligent service sharing system consisting of three modules, namely an intelligent service sharing center, an intelligent service contributor agent and an intelligent service user agent, so that the intelligent terminal equipment in the local area network of the internet of things can share the idle intelligent processing capacity (such as face recognition, voice recognition and the like) of the intelligent terminal equipment to other local common terminal equipment in an intelligent service mode. Taking a family internet of things scene as an example, the intelligent sound box can share the speech recognition and speech synthesis capabilities of the intelligent sound box to the electronic cat eye, the refrigerator, the liquid crystal television and other devices in a family, and the capabilities of the family service robot such as face recognition, human body detection and article recognition can be respectively shared to the electronic cat eye and the refrigerator, and the like.
The intelligent service sharing center in the three major components of the intelligent service sharing system needs less computing resources and can be deployed in any equipment meeting basic computing conditions in the local area network of the Internet of things. The intelligent terminal equipment with complex intelligent processing capacity in the local area network of the Internet of things needs to integrate an intelligent service contributor agent, and the agent packages the intelligent computing capacity of the intelligent terminal equipment into intelligent service with a standard network calling interface to be shared. And common terminal equipment in the local area network of the Internet of things can integrate an intelligent service user agent, and the intelligent service shared by the intelligent terminal equipment is applied and called 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:
the smart service sharing center 31: the intelligent computing power service management center can be dynamically deployed on a certain terminal device, such as an intelligent gateway, an intelligent sound box and the like, in an application scene local area network of the Internet of things as a management center for collecting and distributing the intelligent computing power service. The intelligent service contributor equipment is responsible for receiving and processing registration requests sent by the intelligent service user equipment; the intelligent service system is responsible for receiving an intelligent service application request sent by intelligent service user equipment and searching and distributing proper intelligent service resources; and the intelligent service contributor device is responsible for receiving and processing the state updating request sent by the intelligent service contributor device, and the like.
Intelligent service contributor agent 32: the intelligent computing system is responsible for packaging the intelligent computing capacity of the intelligent terminal equipment into an intelligent service with a standard network calling interface and registering the intelligent service with an intelligent service sharing center; the intelligent service processing system is responsible for receiving an intelligent service request sent by intelligent service user equipment, calling corresponding computing resources of the intelligent terminal equipment and returning an intelligent service processing result; and the intelligent service contributor device is responsible for managing the state of the intelligent service contributor device and sending the state change to the intelligent service sharing center.
The intelligent service user agent 33: the intelligent service sharing center is responsible for registering common terminal equipment to the intelligent service sharing center to prepare for the follow-up application of intelligent service; the intelligent service sharing center is responsible for sending an intelligent service application request to the intelligent service sharing center; and the intelligent service processing module is responsible for sending the intelligent service request to the distributed intelligent service contributors for intelligent service processing and accepting the subsequently returned intelligent service processing result.
Taking a home internet of things scene 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:
the intelligent home gateway 41: and installing an intelligent service sharing center and providing intelligent service sharing management service for other equipment.
Home service robot 42: and installing an intelligent service contributor agent, registering intelligent services such as human 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 equipment in the home local area network.
Electronic peephole 43 (equipped with a common camera, microphone and speaker, with simple face detection capability): and installing an intelligent service user agent and registering the self equipment in the intelligent service sharing center. When speech recognition, speech synthesis and face recognition services are required, the intelligent service sharing center 21 is applied, 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 intelligent service sharing center waits for receiving the processing result of the intelligent service.
Security camera 44 (with a common camera installed): and installing an intelligent service user agent and registering the self equipment in the intelligent service sharing center. When face recognition and human body detection services are required to be used, the intelligent service sharing center is applied, 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 intelligent service sharing center waits for receiving the processing result of the intelligent service.
Refrigerator 45 (with normal camera, microphone and speaker installed): and installing an intelligent service user agent and registering the self equipment in the intelligent service sharing center. When the services of voice recognition, voice synthesis and article recognition are needed, the intelligent service sharing center is applied, the information of the needed intelligent service contributors is obtained, and then the intelligent service request is directly sent to the intelligent service sharing center and the intelligent service processing result is waited to be received.
Liquid crystal television 46 (with a common microphone and speaker mounted): and installing an intelligent service user agent and registering the self equipment in the intelligent service sharing center. When the voice recognition and voice synthesis service is required to be used, the intelligent service sharing center is applied, 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 intelligent service sharing center waits for receiving the processing result of the intelligent service.
Smart speaker 47: and installing an intelligent service contributor agent, registering the self voice recognition and voice synthesis intelligent service processing capacity in an intelligent service sharing center, and sharing the self voice recognition and voice synthesis intelligent service processing capacity to other equipment 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 process such as intelligent service contributor registration, intelligent service contributor state update, intelligent service user registration, and intelligent service application, a star-shaped management connection architecture (such as the sharing management connection shown by the dotted arrow in fig. 4) is formed. And after the intelligent service user equipment applies for the relevant 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 an intelligent service calling process and waits for receiving the processing result of the intelligent service. Such point-to-point direct intelligent service network invocation connections would form a mesh connection architecture (such as the intelligent service invocation connections shown by solid arrows in fig. 4) that would support efficient, dynamic, and cross-directed intelligent service sharing among devices within the networked lan. The intelligent service contributor registration process, the intelligent service contributor state updating process, the intelligent service user registration process, the intelligent service application process and the intelligent service calling process required by the intelligent service sharing system are defined as follows:
1. intelligent service contributor registration process:
firstly, an intelligent service contributor agent sends relevant information of an intelligent service to be shared by an intelligent terminal device, such as a device identifier, an IP address, a service URL (Uniform Resource locator), a service Function (Function), an Interface Name (Interface Name) and an Interface Version (Interface Version) to an intelligent service sharing center;
secondly, the intelligent service sharing center generates a unique user token for the intelligent terminal equipment sharing the intelligent service after receiving the registration request and returns the unique user token to the intelligent terminal equipment, and meanwhile, the equipment and the related information of the intelligent service are added into an intelligent service resource pool;
and thirdly, the intelligent service contributor agent stores the user token returned by the intelligent service sharing center.
2. And (3) intelligent service contributor state updating process:
firstly, when the busy-idle state of the intelligent terminal equipment changes, an intelligent service contributor agent sends the latest state of the equipment to an intelligent service sharing center;
and secondly, the intelligent service sharing center correspondingly updates the state of the equipment in the intelligent service resource pool after receiving the state updating request.
3. Intelligent service user registration process:
firstly, an intelligent service user agent sends related information of common terminal equipment, such as equipment identification, IP address and the like to an intelligent service sharing center;
secondly, the intelligent service sharing center generates a unique user token for the common terminal equipment needing to use the intelligent service after receiving the registration request and returns the unique user token to the terminal equipment;
and thirdly, the intelligent service user agent saves the user token returned by the intelligent service sharing center as a certificate for the subsequent application of the intelligent service.
4. Intelligent service application process:
firstly, an intelligent service user agent sends relevant information of required intelligent service, such as a user token, service function and interface information, to an intelligent service sharing center;
and step two, after the intelligent service sharing center receives the intelligent service application: verifying the user token, searching the intelligent service resource pool for a matched intelligent service contributor, then generating a service token and sending an intelligent service confirmation request to a matched intelligent service contributor terminal;
thirdly, after receiving an intelligent service confirmation request sent by an intelligent service sharing center, an intelligent contributor agent confirms and replies the request according to the equipment state of the intelligent contributor agent, and simultaneously, a service token is stored;
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 calling process:
firstly, an intelligent service user agent sends an intelligent service request, data to be processed and a service token to a confirmed intelligent terminal device for providing shared intelligent service;
secondly, after the intelligent service contributor agent receives the intelligent service request sent by the intelligent service user agent: verifying the service token, and then calling local 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;
fourthly, the intelligent service contributor agent returns the intelligent service processing result to the intelligent service user agent.
Taking the above-mentioned electronic cat eye 43 in the home intelligent service sharing system as an example, on the premise that the relevant device has completed registration, a typical example process can be performed according to the following steps:
step 1, detecting a human face by an electronic cat eye through a camera of the electronic cat eye;
step 2, the electronic peephole applies for a face recognition service to an intelligent sharing center (an intelligent home gateway);
step 3, the intelligent service sharing center searches for the matched 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 (the family 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 family 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 a voice synthesis service to the intelligent sharing center;
step 8, the intelligent service sharing center searches for the matched intelligent service contributor equipment in the intelligent service resource pool;
step 9, the intelligent service sharing center feeds back the matched information of the intelligent service contributors (intelligent sound boxes) to the electronic cat eye;
step 10, the electronic cat eye sends the combined text characters of the greeting words (such as Mr. Li Ming, you good!) to the intelligent sound box for voice synthesis processing;
step 11, the intelligent sound box feeds the synthesized greeting voice frequency data simulating the voice of the owner back to the electronic peep hole;
step 12, the electronic cat eye plays the synthesized greeting audio data to the visitor through the loudspeaker of the electronic cat eye;
and step 13, the electronic cat eye continues to perform other interactive processes with the visitor.
In the embodiment of the application, if the common terminal device needs to perform intelligent processing on data, the common terminal device applies to the sharing management platform to obtain the resource information of the intelligent terminal device supporting the required intelligent service in the local area network of the internet of things, and sends the intelligent service request to the intelligent terminal device to finally obtain the intelligent service, so that the intelligent processing capability of the sharing intelligent terminal device 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 apparatus, where each unit included in the apparatus may be implemented by a processor in a first intelligent terminal, and certainly may also be implemented by a specific logic circuit; in implementation, 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 sharing intelligent services according to an embodiment of the present application, and 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 the shared management platform by the first intelligent terminal; the service application request at least carries identification information of the required intelligent service;
the first receiving module 502 is configured to receive 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 identification 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, wherein:
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; and 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 preservation module, wherein:
the first registration module is used for sending a first registration request to the sharing management platform; the first saving module is used for receiving the first user token returned by the sharing management platform and saving the first user token.
Here, it should be noted that: the above description of the embodiment of the apparatus is similar to the above description of the embodiment of the method, and has similar beneficial effects to the embodiment of the method, and therefore, the description thereof is omitted. For technical details not disclosed in the embodiments, please refer to the description of the method embodiments of the present application for understanding, and therefore, for brevity, will not be described again.
Based on the foregoing embodiments, the present application provides another intelligent service sharing apparatus, and all modules and units included in the apparatus may be implemented by a processor in a shared management platform, and may also be implemented by specific logic circuits.
Fig. 6 is a schematic structural diagram of another apparatus for intelligent service sharing according to an embodiment of the present application, and as shown in fig. 6, the apparatus 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, by the shared management platform, a service application request sent by the first intelligent terminal; the service application request at least carries 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 that supports 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; and the resource information comprises the equipment identification of the second intelligent terminal.
In the apparatus 600, the first determining module 602 includes a first checking unit and a first determining unit, wherein:
the first checking unit is used for checking the first user token; and the first determining unit is used for retrieving a service resource pool according to the identification information of the intelligent service and determining the intelligent terminal set supporting the intelligent service as the second intelligent terminal after the first user token passes the verification.
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 includes a first generating module, configured to generate a service token corresponding to the smart 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, wherein:
the fourth sending module is configured to send the service token to the second intelligent terminal by carrying the service token in a service confirmation request; the third receiving module is configured to receive 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 sending module, wherein:
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 generating 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 generating module is configured to generate a second user token of the second intelligent terminal according to the second device information; the sixth sending module is configured to return 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 includes 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 represent 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.
Here, it should be noted that: the description of the embodiment of the shared management platform is similar to that of the second embodiment of the method, and has similar beneficial effects to those of the second embodiment of the method, and therefore, the description is omitted. For technical details that are not disclosed in the embodiment of the shared management platform, please refer to the description of the second embodiment of the method of the present application for understanding, and therefore, for brevity, will not be described again.
Based on the foregoing embodiments, the embodiments of the present application provide an intelligent sharing apparatus, and all modules and units included in the apparatus may be implemented by a processor in the second intelligent terminal, and may also be implemented by specific logic circuits.
Fig. 7 is a schematic structural diagram of a further apparatus for sharing intelligent services according to an embodiment of the present application, and as shown in fig. 7, the apparatus 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 by carrying the processing result in the intelligent service response.
In the apparatus 700, the calling module 702 includes a second checking unit and a first calling unit, wherein:
the second checking unit is used for checking 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 saving module, wherein:
the packaging module is used for packaging the intelligent computing capability 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 shared 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 storage module is configured to receive a second user token returned by the shared management platform, and store the second user token; wherein the second user token is generated from the second device information.
In the apparatus 700, the apparatus further includes 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 shared management platform; and the seventh sending module is configured to respond to the service confirmation request according to the state information of the second intelligent terminal itself, and send a service confirmation response to the shared 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 the updated status information of the second intelligent terminal, and the status information is used to represent a busy or idle status.
Here, it should be noted that: the above description of the embodiment of the apparatus is similar to the above description of the embodiment of the method, and has similar beneficial effects to the embodiment of the method, and therefore, the description thereof is omitted. For technical details not disclosed in the embodiments of the present apparatus, please refer to the description of the embodiments of the method of the present application for understanding, and therefore, for brevity, will not be described again.
It should be noted that, in the embodiment of the present application, if the method for intelligent service sharing is implemented in the form of a software functional module and is sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, in essence or parts contributing to the related art, may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes several instructions to enable an intelligent service sharing device (which may be an intelligent terminal or a shared management platform, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the present application provides an intelligent service sharing device, which includes a memory and a processor, where the memory stores a computer program that can be executed on the processor, and the processor executes the computer program to implement the steps in the methods provided in the foregoing embodiments.
Correspondingly, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are stored in the computer-readable storage medium, and configured to implement the intelligent service sharing method provided in the foregoing embodiment when the program is executed.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 8 is a schematic diagram of a hardware entity of an intelligent service sharing device provided in the embodiment of the present application, and as shown in fig. 8, the hardware entity of the device 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 via a network.
The Memory 803 is configured to store instructions and applications executable by the processor 801, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 801 and modules in the device 800, and may be implemented by a FLASH Memory (FLASH) or a 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (15)

1. A method of intelligent service sharing, the method comprising:
the method comprises the steps that a first intelligent terminal sends a service application request to a shared management platform; the service application request at least carries 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 identification 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 to obtain intelligent service.
2. The method of claim 1, wherein before the first intelligent terminal sends the service application request to the shared management platform, the method further comprises:
sending a first registration request to the shared 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;
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; and the resource information comprises the equipment identification of the second intelligent terminal.
4. The method of claim 3, wherein the service application request further includes a first user token for the first smart terminal, the method further comprising:
verifying the first user token verification;
when the first user token passes the verification, 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;
and if the service confirmation response confirms that the second intelligent terminal supports the intelligent service, determining the resource information of the second intelligent terminal.
5. The method according to claim 3 or 4, 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 following steps: 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 an intelligent service to be shared; and adding the identification information of the intelligent service to be shared into a service resource pool.
6. The method according to claim 3 or 4, characterized in that the method further comprises:
receiving a state updating request sent by the second intelligent terminal, wherein the state updating 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.
7. A method of intelligent service sharing, the method comprising:
the method comprises the steps that a second intelligent terminal receives an intelligent service request sent by a 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.
8. The method according to claim 7, wherein the intelligent service request further includes a service token, and the invoking of the intelligent service resource of the second intelligent terminal processes the data to be processed to obtain a processing result includes: verifying the service token; and after the service token passes the verification, calling the intelligent service resource of the second intelligent terminal to process the data to be processed to obtain a processing result.
9. The method of claim 8, further comprising:
packaging the intelligent computing power of the intelligent computing device into intelligent service with a standard network calling interface; sending a second registration request to the shared management platform, wherein the second registration request carries second device information of the second intelligent terminal and identification information corresponding to the intelligent service; and adding the identification information corresponding to the intelligent service into a service resource pool by the sharing management platform.
10. The method according to any one of claims 7 to 9, further comprising: receiving a service confirmation request sent by the sharing management platform; 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;
and if the state information of the second intelligent terminal is updated, sending a state updating request to the shared management platform so that the shared management platform updates the service resource pool, wherein the state updating request carries the updated state information of the second intelligent terminal, and the state information is used for representing a busy or idle state.
11. An apparatus for intelligent service sharing, the apparatus comprising a first transmitting module, a first receiving module, and a second transmitting unit, 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 identification information of the required intelligent service;
the first receiving module is used for 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 identification 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.
12. An apparatus for intelligent service sharing, the apparatus comprising a second receiving module, a first determining module, and a third sending module, wherein:
the second receiving module is used for receiving the 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;
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; and the resource information comprises the equipment identification of the second intelligent terminal.
13. An apparatus for intelligent service sharing, the apparatus comprising a seventh receiving module, a calling module and a sixth sending module, wherein:
the seventh receiving module is configured to receive, by 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 configured to send the processing result to the first intelligent terminal by carrying the processing result in an intelligent service response.
14. An apparatus for intelligent service sharing, comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor when executing the program implements the steps of the method of any of claims 1 to 10.
15. A computer-readable storage medium having computer-executable instructions stored thereon, the computer-readable storage medium having computer-executable instructions stored thereon configured to perform the method for intelligent service sharing provided by any of claims 1 to 10.
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 true CN112702306A (en) 2021-04-23
CN112702306B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827259A (en) * 2022-03-02 2022-07-29 杭州华橙软件技术有限公司 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

Cited By (2)

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

Also Published As

Publication number Publication date
CN112702306B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
US10616754B2 (en) Profile download method and system, and related device
JP2019207710A (en) Interaction method between smart voice apparatuses, device, apparatus, and storage medium
JP2021511560A (en) Methods, devices, and electronic devices for performing transactions based on the blockchain
JP2019092147A (en) Information exchanging method and device, audio terminal, and computer-readable storage medium
CN112261047B (en) Gateway access method, mobile terminal and computer storage medium
US20070165615A1 (en) Apparatus and method for notifying communication network event in application server capable of supporting open API based on Web services
CN111431956A (en) Cross-network service access method, device, system and storage medium
US20190253368A1 (en) System and method for providing conversational contents
CN112054998A (en) Proxy service method, device, equipment and computer readable storage medium
CN105518645A (en) Load-balanced, persistent connection techniques
KR20190069574A (en) Wireless network type detection method and apparatus, and electronic device
CN113806037A (en) Service calling method and device, storage medium and electronic equipment
WO2023151439A1 (en) Account login processing
CN113220366A (en) Sub-application starting method and device, terminal and server
CN115883669A (en) Data distribution method, system, equipment and medium
CN109033393A (en) Paster processing method, device, storage medium and electronic equipment
CN112702306B (en) Method, device, equipment and storage medium for intelligent service sharing
CN109086401A (en) Paster acquisition methods, device, storage medium and electronic equipment
CN111581576B (en) Development processing method and device based on micro-service and storage medium
CN110750295B (en) Information processing method, device, electronic equipment and storage medium
US20230109249A1 (en) Electronic device forming network slice and data session, and method for operating same
CN114675876B (en) Service processing method and device, electronic equipment and storage medium
CN114285859B (en) Data processing method, device, equipment and storage medium for middle layer block chain service
CN113242314B (en) Cross-terminal resource access method and device, storage medium and electronic equipment
CN114238065B (en) Test processing method, device, equipment and readable storage medium

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