Service access method provision method
Patent Information
- Authority / Receiving Office
- TW · TW
- Patent Type
- Applications
- Current Assignee / Owner
- 余宗修
- Filing Date
- 2025-01-06
- Publication Date
- 2026-07-16
AI Technical Summary
The current method of accessing services through mobile apps requires users to download and install multiple apps and perform frequent updates, leading to cumbersome and inefficient use.
A service access method utilizing a large language model to generate service requests and input data for accessing target application interface services without the need for app downloads or updates, facilitated by a service system and storage server connected via a communication network.
Enables seamless access to services without app installations or updates, improving usability and security through authentication and permission-based access control.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] This invention relates to a service provision method, and more particularly to a service access method that provides a service access specification to a large language model running on a service requesting end. [Previous Technology]
[0002] With the widespread use of mobile devices, the rise of applications (Apps) has been driven. Users can download or purchase the applications they want anytime, anywhere by connecting their mobile devices, such as smartphones or tablets, to an App platform via the Internet. Services such as ordering food delivery, registering for hospital appointments, calling taxis, booking tickets, and even online banking can all be completed through Apps running on mobile devices, greatly improving the convenience of people's lives.
[0003] Users rely on apps developed by various vendors to access their services. When a user wants to use a service from a particular vendor, they need to download and install the corresponding app developed by that vendor before they can use the service. Furthermore, whenever a vendor releases a new version of their app, the user also needs to update their app to stay up-to-date and ensure service quality. Therefore, the current method not only requires downloading and installing different apps for different service needs but also necessitates frequent app updates to maintain the latest version, leaving room for improvement in usability. [Summary of the Invention]
[0004] Therefore, the purpose of this invention is to provide a service access method that allows users to access services without having to download and install multiple different apps or update apps in a cumbersome manner, thereby improving the convenience of use.
[0005] Therefore, the service access mode provision method of the present invention is implemented by a service system connected to a service requester via a communication network. The service system includes a service server and a service intermediary connected to the service server and used to provide multiple application interface services. The service access mode provision method includes the following steps:
[0006] (A) Through the service server, a service access specification is transmitted to the service requesting end via a large language model for input to the service requesting end, so that the large language model of the service requesting end generates a service request containing identification data indicating a target application interface service to be accessed and input data for accessing the target application interface service, based on a service request prompt indicating the service requirement, the service access specification, and an access prompt indicating access to the service specification, and transmits it to the service intermediary. The service access specification includes functional information indicating the functions provided by the application interface services and access information indicating the access method of the application interface services. The target application interface service is one of the application interface services.
[0007] (B) After receiving the service request, the service intermediary retrieves the target application interface service based on the identification information and inputs the input information into the target application interface service to provide the service.
[0008] Another objective of the present invention is to provide a service access method that improves ease of use by allowing users to access services without having to download and install multiple different apps or update apps in a cumbersome manner.
[0009] Therefore, the service access method of the present invention is implemented by a storage server connected to a service requesting client via a communication network. The storage server includes a storage space for storing multiple pieces of service data to be paired. Each piece of service data to be paired includes location information indicating the location of the service being provided, authentication specification information, and service content information indicating the service being provided. The service access method includes the following steps:
[0010] (A) After the storage server receives a service query request, it obtains at least one candidate service data from the waiting-to-match service data according to the service query request. The service query request includes at least one of a requester location data indicating the location of a target service requester and a service request content indicating the service that the target service requester wishes to obtain.
[0011] (B) The storage server obtains a service list based on the location information and service content information of the at least one candidate service data and transmits it to the service requesting end, so that the service requesting end obtains a download request for downloading target authentication specification data corresponding to a target service content information based on the service list and transmits it to the storage server, wherein the target service content information is one of the service content information of the at least one candidate service data; and
[0012] (C) After the storage server receives the download request, it transmits the target authentication specification data, which is used to input to a large language model running on the service request end, to the service request end, so that the large language model of the service request end generates authentication data according to the target authentication specification data.
[0013] The advantage of this invention is that the large language model running on the service requesting end automatically parses the target application interface service to be accessed based on the service access specification data, and generates the input data required to access the target application interface service. In this way, as long as the service access specification data is provided to the service requesting end, the service request can be generated through the large language model of the service requesting end to access the service, without having to download and install an APP or update the APP in a cumbersome way.
Implementation Method
[0014] Referring to FIG1, an embodiment of the service access method of the present invention is implemented by a service platform. The service platform includes a storage server 1, a plurality of service systems 2 connected to the storage server 1 via a communication network 100, and a plurality of service request terminals 3 connected to one of the service systems 2 via the communication network 100 and the storage server 1.
[0015] The storage server 1 includes a storage space for storing multiple pairs of service data corresponding to services provided by multiple different service providers. The storage server 1 may be implemented as a network storage server 1 or a cloud server.
[0016] Each service provider establishes a corresponding service system 2. Since the components and functions of each service system 2 are similar, only a single service system 2 will be described here. The service system 2 includes a service server 21, a service intermediary 22 connected to the service server 21 and used to provide multiple application interface services, and multiple controlled devices 23 connected to the service intermediary 22. The service system 2 provides service data for the services provided, which includes location information indicating the location of the service intermediary 22, authentication specification data, and service content information indicating the services provided by the multiple application programming interface (API) services. The service server 21 stores multiple pieces of identification information corresponding to multiple different service requesters, and multiple pieces of operation permission information corresponding to such identification information. The service intermediary 22 is used to provide these application interface services. The service server 21 may be implemented as a server or a cloud server, and the service intermediary 22 may be implemented as an IoT gateway, which may be implemented by a Raspberry Pi single-board computer, an ESP32 chip microcontroller, a network-enabled industrial computer or an NVIDIA Jetson Orin Nano computer.
[0017] The service request terminal 3 runs a large language model, which can be regarded as an artificial intelligence assistant. In this embodiment, the service request terminals 3 are held by multiple service requesters. Since the components and functions of each service request terminal 3 are similar, only a single service request terminal 3 will be described here. Any service requester can send a service query request through its service request terminal 3 to match the desired service. The implementation of the service request terminal 3 can be an AI device such as an AI PIN or Rabbit R1, a smart glasses, or an AI smartphone.
[0018] The following will describe the operational details of the service platform through an embodiment of the service access method of the present invention. This embodiment sequentially includes a service pairing procedure, an authentication specification data acquisition procedure, a service access specification data acquisition procedure, and a service acquisition procedure.
[0019] Referring to Figures 1 and 2, the service matching procedure illustrates how to obtain a list of services and includes the following steps.
[0020] In step 501, the service server 21 transmits the service data to the storage server 1. The service data includes the location information, the authentication specification information, and the service content information. The authentication specification information includes authentication method information indicating an authentication method and a retrieval prompt indicating how to retrieve the service specification information. The authentication method is, for example, authentication via an Open Authorization authentication process on an authentication website hosted on the service server 21.
[0021] For example, if the service provider is a bed and breakfast operator, and the services provided by the bed and breakfast operator are related to accommodation, then the service intermediary 22 is a hotel equipment central control terminal implemented by a Raspberry Pi. The application interface services provided may include, for example, an application interface service related to the room door lock control of a bed and breakfast, an application interface service related to the lighting control of a bed and breakfast, and an application interface service related to the air conditioning control of a bed and breakfast. However, this is not a limitation. If the service provider is a vending machine operator, and the services provided by the vending machine operator are related to vending machines, then the service intermediary 22 is a vending machine dispensing and display panel controller implemented by a microcontroller. The application interface services provided may include, for example, an application interface service related to the beverage control of a vending machine and an application interface service related to the ingredient control of a vending machine. If the service provider is a supplier whose services are related to the supplied products, then the service intermediary 22 is a production line controller implemented by an industrial computer, and the application interface services provided may include, for example, an application interface service related to the production process control of a production line. If the service provider is a drone / robot provider whose services are related to drones / robots, then the service intermediary 22 is a flight / behavior automatic navigation system implemented by an industrial computer, and the application interface services provided may include, for example, an application interface service related to the control of a drone / robot.
[0022] In step 502, after the storage server 1 receives the service data from the service server 21, the service server 21 stores the service data as a new service data to be paired in the storage space.
[0023] In step 503, after the storage server 1 receives a service query request from the service requesting terminal 3, the storage server 1 obtains at least one candidate service data from the waiting-to-pair service data according to the service query request. The service query request includes requester location data indicating the location of a target service requester corresponding to the service requesting terminal 3, and service request content indicating the service that the target service requester wishes to obtain. Each candidate service data satisfies that the distance between the location of the provided service and the location of the target service requester is less than a preset distance, and that the provided service matches the service that the target service requester wishes to obtain. It is worth mentioning that, in other embodiments, the service query request may also only contain the requester location data, or only contain the service request content. In this case, at least one candidate service data is obtained based on the content contained in the service query request, satisfying that the distance between the location of the provided service and the location of the target service requester is less than a preset distance, or that the provided service matches the service that the target service requester wishes to obtain.
[0024] In step 504, the storage server 1 obtains the service list based on the location information and service content information of the at least one candidate service data and sends it to the service request terminal 3.
[0025] Referring to Figures 1 and 3, the procedure for obtaining certification specification information describes how to obtain the certification specification information and includes the following steps.
[0026] In step 601, the service request terminal 3 transmits a download request to the storage server 1 for downloading target authentication specification information corresponding to a target service content information according to the service list. The target service content information is one of the service content information of the at least one candidate service information.
[0027] In step 602, after the storage server 1 receives the download request, the storage server 1 transmits the target authentication specification data for input to one of the large language models running on the service request terminal 3 to the service request terminal 3.
[0028] It is worth mentioning that in this embodiment, the target authentication specification data is obtained from the storage server 1. However, in other embodiments, it can also be obtained from the service server 21 that provides the service corresponding to the target service content information. In this case, the service requesting terminal 3 sends a discovery signal to the service server 21 via regional radio broadcast, so that the service server 21 responds to the discovery signal by transmitting the target authentication specification data to the service requesting terminal 3.
[0029] Referring to Figures 1 and 4, the procedure for obtaining the service access specification information describes how to obtain the service access specification information and includes the following steps.
[0030] In step 701, the large language model of the service request terminal 3 generates a data to be authenticated based on the target authentication specification data and transmits it to the service server 21, wherein the data to be authenticated is related to a target identity identification information of the target service requester corresponding to the service request terminal 3.
[0031] In step 702, after the service server 21 receives the data to be authenticated, the service server 21 verifies the data to be authenticated. When the service server 21 successfully verifies the data to be authenticated, the process proceeds to step 703; when the service server 21 fails to successfully verify the data to be authenticated, the process ends.
[0032] In step 703, the service server 21 also obtains target operation permission information corresponding to the target identity information based on the target identity information related to the data to be authenticated, and obtains access permission information indicating the access permission of the target service requester to the application interface services based on the target operation permission information, and generates an authentication token and sends it to the service intermediary 22.
[0033] It is worth mentioning that, taking the aforementioned accommodation service as an example, the target service requester can book a room in advance through a booking website or other means, so that the service server 21 can pre-store the target service requester's identification information and its corresponding operation permission information, such as control permissions over the door lock, lights, and air conditioning of the booked room, thereby enabling the service server 21 to obtain the access permission information based on the target operation permission information. Table 1 illustrates the access permission information for the application interface service used to control the lights. As can be seen from Table 1, the access permission information indicates that the lights that the target service requester can control only include the lights in the booked room Room 001. <environment-variable-table> { "Vars": { { "VarsName ": "light1", "VarsComment ": "balcony lights of Room001" }, { "VarsName ": "light2", "VarsComment ": "master bedroom light of Room001" }, { "VarsName ": "light3", "VarsComment ": "restroom light of Room001" }, { "VarsName ": "light4", "VarsComment ": "kitchen light of Room001" }, { "VarsName ": "light5", "VarsComment ": "living room light of Room001" }, } } < / environment-variable-table> Table 1
[0034] In step 704, the service server 21 generates the service access specification data based on the access permission information, the authentication token, function information indicating the functions provided by the application interface services, and access information indicating the access method of the application interface services, and transmits the service access specification data to the service requesting terminal 3. The function information and the access information are information predefined according to the functions provided by the application interface services.
[0035] Taking the aforementioned application interface service for controlling lighting fixtures as an example, Table 2 shows the function information and access information of the functions provided by the application interface service for controlling lighting fixtures. As can be seen from Table 2, the API comment describes the function of the application interface service change_lightstate for controlling lighting fixtures, and indicates that the access method of change_lightstate must provide API_argument1 and API_argument2. The argument1_comment and argument2_comment respectively describe how to obtain the parameter values of API_argument1 and API_argument2. <API-usage-specification> ``` { "api_version" : "1-2-23", "api_method" : "POST", "api_destination_url" : "https: / / localhost / api?version=1-2-23" "api_list_for_user": { "api_service_comment":"the client can call exactly one function for each api call." { "api_function": "change_lightstate", "api comment": "This function can turn on or off the specified light. The name of the light and the status of the light need to be used as function parameters.", "api_argument1": "string lightname", "argument1_comment": "The name (VarsName) of the light you want to control. Related information is in the environment variable table.", "api_argument2": "bool tryChangeLightStatus", "argument2_comment": "False: turn-off the light, True: turn-on the light.", }, { "api_function": "get_vars", "api_argument1": "AuthToken user_auth_token", "argument1_comment": "Your auth token. This authentication token is provided by the system APP when you log in.", "return_value": "List<string VarsName, string VarsComment> vars", "return_value_comment": "Get the environment variable table, which lists the light numbers you have control over and their uses." } } } ``` < / API-usage-specification> Table 2
[0036] Referring to Figures 1 and 5, the service acquisition procedure illustrates how to obtain the services of the service provider and includes the following steps.
[0037] In step 801, after the service requesting end 3 receives the service access specification data, the large language model of the service requesting end 3 generates a service request based on a service request prompt indicating the service requirement, the service access specification data, and the access prompt. This service request includes identification data indicating a target application interface service to be accessed and input data for accessing the target application interface service. The service request and an authentication token are then transmitted to the service intermediary end 22. The service request prompt is generated by the input operation of the target service requester. The authentication prompt might read, for example, "You are an API assistant. Please follow these steps: 1. You need to review the API usage guidelines; 2. You need to obtain the user's intent to determine which APIs should be used; 3. Based on the user's intent, you need to compare the comments to determine the JSON format of the API parameters to be called; 4. You need to submit the API parameter fields in JSON format in text form, without adding any other text descriptions or responses; 5. Referring to the example below, when the service request prompt is, for example, 'Could you please turn on the living room light?', the JSON format "api_function":"change_lightstate","api_argument1":"light5","api_argument2":"True" is generated; 6. When you cannot confirm the user's needs, or cannot find the corresponding API in the usage guidelines, you should reply 'No matching API found'." This authentication token is obtained from the authentication token in the service's access guidelines.
[0038] For example, if the service request prompts to turn on the living room light, then the large language model of the service request terminal 3 will generate a service request in JSON format: "api_function":"change_lightstate","api_argument1":"light5","api_argument2":"True". Here, change_lightstate indicates the target application interface service to be used, and light5 and True are the input data when using the target application interface service (i.e., change_lightstate).
[0039] It is worth mentioning that when the service requesting end 3 supports Action Model technology, the service request is directly transmitted from the service requesting end 3 to the service intermediary end 22. Table 3 shows the service requests directly transmitted to the service intermediary end 22. However, when the service requesting end 3 does not support Action Model technology, the service requesting end 3 will add the URL of the service intermediary end 22 to the service request, package it into JSON format, and forward it to the first-generation cloud server (not shown in the figure). The first-generation cloud server then sends the request to the service intermediary end 22. Table 4 shows the service request sent by the service requesting end 3 to the first-generation cloud server. POST https: / / 192.168.37.5 / api?version=1-2-23 { "api_function": "change_lightstate", "api_argument1": "light5", "api_argument2": "TRUE", } Table 3 POST https: / / APIrelay.intelliexchange.com / serviceId=6A37 { "http-request-url" : "https: / / 192.168.37.5 / api?version=1-2-23", "http-request-data": { "api_function": "change_lightstate", "api_argument1": "5", "api_argument2": "TRUE", } } Table 4
[0040] In step 802, after the service intermediary 22 receives the service request and the token to be authenticated, the service intermediary 22 verifies the token to be authenticated. When the service intermediary 22 successfully verifies the token to be authenticated, the process proceeds to step 803; when the service intermediary 22 fails to successfully verify the token to be authenticated, the process ends.
[0041] In step 803, the service intermediary 22 retrieves the target application interface service based on the identification data and inputs the input data into the target application interface service to control the controlled device 23 to provide services. It is worth noting that the service intermediary 22 transmits a control command to a corresponding device among the controlled devices 23 by calling the target application interface service. Continuing the above example, the service intermediary 22 transmits the control command to the living room light (i.e., the controlled device 23) by calling the target application interface service to turn on the living room light.
[0042] In summary, the service access method of the present invention transmits service data to the storage server 1 via the service server 21. This publicly discloses the service provider's service information on the network service, facilitating retrieval. Furthermore, the large language model running on the service request terminal 3 automatically parses the desired target application interface service based on the service access specification data and generates the input data required to access the target application interface service. Thus, by simply providing the service access specification data to the service request terminal 3, the service can be accessed through the large language model generated by the service request terminal 3, without needing to download and install an app or perform cumbersome app updates. Moreover, authentication via the target authentication specification data improves the security of service usage. Furthermore, by obtaining the access permission information indicating the target service requester's access permissions to such application interface services through the target operation permission information, the service content that the target service requester cannot use can be hidden, thereby controlling the target service requester's usage permissions. Therefore, the purpose of this invention can indeed be achieved.
[0043] However, the above description is only an embodiment of the present invention and should not be construed as limiting the scope of the present invention. Any simple equivalent changes and modifications made in accordance with the scope of the patent application and the contents of the patent specification of the present invention shall still fall within the scope of the patent of the present invention. [Simplified Explanation of the Diagram]
[0044] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, wherein: FIG1 is a block diagram illustrating a service platform implementing an embodiment of the service access mode provisioning method of the present invention; FIG2 is a flowchart illustrating a service pairing procedure of an embodiment of the service access mode provisioning method of the present invention; FIG3 is a flowchart illustrating an authentication specification data acquisition procedure of an embodiment of the service access mode provisioning method of the present invention; FIG4 is a flowchart illustrating a service access specification data acquisition procedure of an embodiment of the service access mode provisioning method of the present invention; and FIG5 is a flowchart illustrating a service acquisition procedure of an embodiment of the service access mode provisioning method of the present invention.
Claims
1. A method for providing service access methods, implemented by a service system connected to a service requester via a communication network, the service system comprising a service server and a service intermediary connected to the service server and used to provide multiple application interface services, the method comprising the following steps: (A) transmitting authentication specification data for input to a large language model running on the service requester to the service requester via the service server, so that the large language model of the service requester generates authentication data according to the authentication specification data and transmits it to the service server, the authentication specification data including authentication method information indicating an authentication method; (B) after receiving the authentication data, the service server verifies the authentication data. (C) When the service server successfully verifies the authentication data, it transmits service access specification data, which is input to the large language model running on the service requesting end, to the service requesting end. This allows the large language model on the service requesting end to generate, based on a service request prompt indicating the service requirement, the service access specification data, and an access prompt indicating the access to the service specification data, an identification data indicating a target application interface service to be accessed, and an input for accessing the target application interface service. The service request for data is transmitted to the service intermediary. The service access specification data includes functional information indicating the functions provided by the application interface services and access information indicating the access method of the application interface services. The target application interface service is one of the application interface services. (D) After receiving the service request, the service intermediary accesses the target application interface service based on the identification data and inputs the input data into the target application interface service to provide the service.
2. The service access method provided as described in request item 1, wherein, In step (A), the access prompt is included in the authentication specification.
3. The service access method provided as described in claim 1, wherein the service server further stores multiple pieces of identity identification information corresponding to multiple different service requesters, and multiple pieces of operation permission information corresponding to such identity identification information, wherein: In step (A), the data to be authenticated is associated with a target identity information of a target service requester corresponding to the service requester; in step (C), when the service server successfully verifies the data to be authenticated, the service server also obtains a target operation permission information corresponding to the target identity information based on the target identity information associated with the data to be authenticated, and obtains access permission information indicating the target service requester's access permission to such application interface services based on the target operation permission information; and in step (C), the service access specification data also includes the access permission information indicating the access permission to such application interface services.
4. The service access method provided as described in request item 1, wherein: In step (C), when the service server successfully verifies the data to be authenticated, the service server also generates an authentication token and sends it to the service intermediary; and in step (C), the service access specification data also includes the authentication token, and the service request also includes the authentication token.
5. The service access method provided as described in request item 4, wherein, Step (D) includes the following sub-steps: (D-1) After receiving the service request and the token to be authenticated by the service intermediary, the token to be authenticated is verified by the service intermediary. (D-2) When the service intermediary successfully verifies the token to be authenticated, the service intermediary retrieves the target application interface service based on the identification information and inputs the input information into the target application interface service to provide the service.
6. A method for providing service access mode, implemented by a service system connected to a service requester via a communication network, the service system including a service server and a service intermediary connected to the service server for providing multiple application interface services, the service system also being connected to a storage server, the storage server including a storage space for storing multiple pairs of service data, the method for providing service access mode comprising the following steps: (A) transmitting service data to the storage server via the service server, the service data including location information indicating the location of the service intermediary, authentication specification data and service content information indicating the services provided by the application interface services, so that the storage server stores the service data as a new pair of service data in the storage space, and in response to a download request from the service requester, transmitting the authentication specification data for input to a large language model running on the service requester to the service requester; (B) Through the service server, a service access specification is transmitted to the service requesting end via the large language model for input to the service requesting end, so that the large language model of the service requesting end generates a service request containing identification information indicating a target application interface service to be accessed and input information for accessing the target application interface service based on a service request prompt indicating the service requirement, the service access specification, and an access prompt indicating access to the service specification, and transmits it to the service intermediary. The service access specification includes functional information indicating the functions provided by the application interface services and access information indicating the access method of the application interface services, wherein the target application interface service is one of the application interface services; and (C) After receiving the service request, the service intermediary accesses the target application interface service based on the identification information and inputs the input information into the target application interface service to provide the service.
7. The service access method provided as described in Request 1, wherein the service system also signals to a first-generation to cloud server, wherein, In step (C), the service requesting end first sends the service request to the proxy cloud server, which then sends the service request to the service intermediary end.
8. A method for providing service access mode, implemented by a storage server connected to a service requester via a communication network, the storage server including a storage space for storing multiple pairs of service data to be matched, each pair of service data to be matched including location information indicating the location of the service to be provided, authentication specification information and service content information indicating the service to be provided, the method for providing service access mode includes the following steps: (A) after the storage server receives a service query request, the storage server obtains at least one candidate service data from the pairing service data according to the service query request, the service query request including at least one of a requester location information indicating the location of a target service requester and a service request content indicating the service that the target service requester wishes to obtain; (B) The storage server obtains a service list based on the location information and service content information of the at least one candidate service data and sends it to the service requesting end, so that the service requesting end obtains a download request for downloading target authentication specification data corresponding to a target service content information based on the service list and sends it to the storage server, wherein the target service content information is one of the service content information of the at least one candidate service data; and (C) After the storage server receives the download request, the storage server sends the target authentication specification data for input to a large language model running on the service requesting end to the service requesting end, so that the large language model of the service requesting end generates authentication data based on the target authentication specification data.
9. The service access method provided as described in claim 8, wherein the storage server is further connected to a service server via a communication network, and before step (A), the method further includes the following steps: (D) After the storage server receives service data from the service server, the service server stores the service data as a new service data to be paired in the storage space, wherein the service data includes location information indicating the location of the service provided by the service server, authentication specification information corresponding to the service server, and service content information indicating the service provided by the service server.
10. The service access method provided as described in request item 8, wherein, In step (A), each candidate service data satisfies that the distance between the location of the provided service and the location of the target service requester is less than a preset distance, and that the provided service matches one of the services that the target service requester wants to obtain.