WO2017148337A1 - 终端服务的提供、获取方法、装置及终端 - Google Patents

终端服务的提供、获取方法、装置及终端 Download PDF

Info

Publication number
WO2017148337A1
WO2017148337A1 PCT/CN2017/074838 CN2017074838W WO2017148337A1 WO 2017148337 A1 WO2017148337 A1 WO 2017148337A1 CN 2017074838 W CN2017074838 W CN 2017074838W WO 2017148337 A1 WO2017148337 A1 WO 2017148337A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
terminal
service provider
operation command
authorization code
Prior art date
Application number
PCT/CN2017/074838
Other languages
English (en)
French (fr)
Inventor
张文涯
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017148337A1 publication Critical patent/WO2017148337A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Definitions

  • the present disclosure relates to the technical field of communication applications, for example, to a method, a device, and a terminal for providing and acquiring a terminal service.
  • Smartphones are developing rapidly and updating fast. It is quite common for people to have several smartphones in their lives. If the user replaces the mobile phone, the mobile phone may be faulty, but more users choose to purchase a better configured mobile phone in order to obtain a better user experience. As the mobile phone configuration continues to improve, the difference in the effect of the application running on the mobile phone is also increasing. The smaller. These idle mobile phones cause waste of resources, and in the process of using the mobile phone, the security problems of software applications related to the user's personal information such as telephone numbers, short messages, and payment software stored on the mobile phone are becoming more and more prominent. On the one hand, people need to get better services, on the other hand, they need to reduce the security risks of using smartphones.
  • the idle mobile phone can not make calls and access the Internet through the 4th generation mobile communication 4G network. It also has the wireless Fidelity (WIFI) network function, and does not need to store any Private information, such as phone numbers and text messages, can be used as a smart terminal.
  • WIFI wireless Fidelity
  • the related mobile phone rights management is only for the client software installed on the mobile phone. The user manually performs the permission setting management, but does not have the rights management for the service provider. Therefore, the service provider cannot automatically provide the service to the idle mobile phone, resulting in idleness. Waste of mobile phone resources.
  • the present disclosure provides a method, a device, and a terminal for providing and acquiring a terminal service, so that the service provider can automatically provide services for idle mobile phones, thereby avoiding waste of idle mobile phone resources.
  • An embodiment of the present disclosure provides a method for acquiring a terminal service, which is applied to a terminal, where the obtaining method includes:
  • the authorization request information includes: a service identifier ID generated by the service provider according to the service request, used to identify the terminal, and
  • the generating the service provider authorization code according to the authorization request information includes:
  • the receiving, by the service providing end, the service specified by the operation command according to the operation command provided by the service provider authorization code including:
  • the service authorization verification is performed, and when the service authorization verification is successful, running the service specified by the operation command includes:
  • the service provider authorization code verification is successful, determining whether the operation command has an operation authority on the terminal according to the terminal operable authority information, and determining, according to the operable hardware and software resource information of the terminal, the operation command Whether the object belongs to the terminal operable hardware and software resource, wherein the terminal operable hardware and software resource information and the terminal operable permission information are respectively generated by the terminal according to the service ID;
  • the operation command has an operation authority on the terminal, and the object operated by the operation command belongs to a terminal operable hardware and software resource, the service specified by the operation command is executed.
  • the operation command includes: downloading, installing, updating, or running one or more client service software, or calling terminal hardware and software resources.
  • An embodiment of the present disclosure further provides a device for acquiring a terminal service, which is disposed in a terminal, where the acquiring device includes:
  • a sending module configured to send a service request to the service provider to automatically provide a predetermined service
  • a first obtaining module configured to obtain authorization request information returned by the service providing end according to the service request
  • a first generating module configured to generate a service provider authorization code according to the authorization request information, and send the service provider authorization code to the service provider;
  • a running module configured to receive an operation command provided by the service provider according to the service provider authorization code, and run the service specified by the operation command.
  • the authorization request information includes: a service identifier ID generated by the service provider according to the service request, used to identify the terminal, and
  • the first generation module includes:
  • the first generation submodule is configured to generate a service provider authorization code corresponding to the service ID, and save the service ID and the service provider authorization code according to the correspondence.
  • the running module includes:
  • a receiving submodule configured to receive an operation command that is sent by the service provider and carries an authorization code of the service provider
  • a verification submodule configured to perform verification processing on the service provider authorization code according to a correspondence between a pre-saved service ID and a service provider authorization code
  • the running submodule is configured to perform service authorization verification if the service provider authorization code verification is successful, and run the service specified by the operation command when the service authorization verification is successful.
  • the running submodule includes:
  • a determining unit configured to determine, according to the terminal operable authority information, whether the operation command has an operation authority on the terminal according to the terminal operable authority information, and determining, according to the terminal operable hardware and software resource information, that the Whether the object operated by the operation command belongs to the terminal operable hardware and software resource, wherein the terminal operable hardware and software resource information and the terminal operable authority information are respectively generated by the terminal according to the service ID;
  • a running unit configured to run the service specified by the operation command if the operation command has an operation authority on the terminal, and the object operated by the operation command belongs to a terminal operable hardware and software resource.
  • Embodiments of the present disclosure also provide a terminal including the acquisition device of the terminal service as described above.
  • the embodiment of the present disclosure further provides a method for providing a terminal service, which is applied to a service provider, and includes:
  • generating authorization request information according to the service request including:
  • a service identification ID generated according to the service request for identifying the terminal is generated according to the service request for identifying the terminal.
  • the generating, by the service provider authorization code, an operation command for providing the service to the terminal, and sending the terminal to the terminal, and causing the terminal to run the service specified by the operation command including:
  • An embodiment of the present disclosure further provides a terminal service providing apparatus, including:
  • a second obtaining module configured to obtain a service request for automatically providing a predetermined service by the request sent by the terminal
  • a second generating module configured to generate authorization request information according to the service request
  • a third obtaining module configured to acquire a service provider authorization code generated by the terminal according to the authorization request information
  • the third generation module is configured to generate an operation command for providing the service to the terminal according to the service provider authorization code, and send the operation command to the terminal, so that the terminal runs the service specified by the operation command.
  • the second generating module includes:
  • a second generation submodule configured to identify a service identifier ID that is generated according to the service request and used to identify the terminal.
  • the third generating module is configured to generate and carry according to the service provider authorization code.
  • An operation command of the service provider authorization code is sent to the terminal, so that the terminal grants an authorization code to the service provider according to the pre-stored correspondence between the service ID and the service provider authorization code.
  • the terminal runs the service specified by the operation command.
  • the present disclosure also provides a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • the present disclosure also provides a terminal, the terminal comprising:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the above-described acquisition method of terminal services applied to the terminal.
  • the present disclosure also provides an electronic device, the electronic device comprising:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method of providing a terminal service applied to a service provider as described above.
  • the method for obtaining the terminal service of the embodiment of the present disclosure sends a service request for automatically providing a predetermined service to the service provider; acquiring authorization request information returned by the service provider according to the service request; generating a service provider authorization code according to the authorization request information, and Sending the service provider authorization code to the service provider; and receiving the operation command provided by the service provider according to the service provider authorization code, running the service specified by the operation command, so that the service provider automatically provides the service for the terminal, thereby avoiding idle mobile phone resources. waste.
  • FIG. 1 is a first flowchart of a method for acquiring a terminal service according to an embodiment of the present disclosure
  • FIG. 2 is a second flowchart of a method for acquiring a terminal service according to an embodiment of the present disclosure
  • FIG. 3 is a structural block diagram of an apparatus for acquiring a terminal service according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of a method for providing a terminal service according to an embodiment of the present disclosure
  • FIG. 5 is a flowchart of interaction between a terminal and a service provider in an embodiment of the present disclosure
  • FIG. 6 is a structural block diagram of a terminal service providing apparatus according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of hardware of a terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present disclosure.
  • the embodiments of the present disclosure provide a method, a device, and a terminal for providing and acquiring a terminal service, so that the related service provider can automatically provide services for the idle mobile phone, thereby avoiding waste of idle mobile phone resources.
  • the method for acquiring the terminal service in the embodiment of the present disclosure is applied to a terminal, and the terminal may be an idle mobile phone without a Subscriber Identification Module (SIM) card, and supports wireless fidelity (Wireless Fidelity, WIFI users idle their mobile phones or other smart terminals with network functions.
  • SIM Subscriber Identification Module
  • step 110 a service request to automatically provide a predetermined service is sent to the service provider.
  • the user may select an idle mobile phone according to the service requirement of the user, and initiate a service request to the service provider to notify the service provider that the service needs to be obtained, and the service provider may refer to the service provider.
  • the terminal can establish a communication connection with the service provider through WIFI networking or networking through WIFI hotspots opened by other mobile phones.
  • step 120 the authorization request information returned by the service provider according to the service request is obtained.
  • the authorization request information may include: a service identifier (Identification, ID) generated by the service provider according to the service request, and a terminal operation authority and software and hardware resource information that the service provider needs to obtain.
  • a service identifier Identity, ID
  • Terminal operation authority software and hardware resource information that the service provider needs to obtain.
  • step 130 the service provider authorization code is generated according to the authorization request information, and the service provider authorization code is sent to the service provider.
  • the terminal obtains the service ID and the terminal operation authority and soft and hard to be obtained.
  • the user decides the authority and software and hardware resources granted to the service provider according to the needs of the user, and generates a corresponding service provider authorization code according to the service ID, and sends the service provider authorization code to the service provider, and the terminal provides the authorization code.
  • the terminal provides operable terminal hardware and software resource information and terminal operable authority information for the service provider.
  • the operating hardware and software resource information of the terminal may include: a local service module run by the service provider on the mobile phone, and a storage space and a memory resource occupied by the automatic installation update service function module.
  • the terminal operable authority information may include whether the WIFI network, the Global Positioning System (GPS) positioning, the camera and the recorder, the third party software, and the management screen display can be turned on.
  • GPS Global Positioning System
  • the service provider authorization code when the service provider authorization code is updated, the service provider authorization code may be resent to the service provider.
  • the service provider authorization code may be input by the user or may be generated by a software algorithm.
  • step 140 the receiving service provider runs the service specified by the operation command according to the operation command provided by the service provider authorization code.
  • the service provider after receiving the authorization code of the service provider, the service provider sends an operation command to the terminal, and provides a corresponding service function according to the service ID and the service provider authorization code.
  • the service provider may also select Create a user account and manage user accounts for the terminal.
  • the operation commands may include: downloading, installing, updating, or running one or more client service software, or calling terminal hardware and software resources.
  • the method for obtaining the terminal service of the embodiment of the present disclosure sends a service request for automatically providing a predetermined service to the service provider; acquiring authorization request information returned by the service provider according to the service request; generating a service provider authorization code according to the authorization request information, and Sending the service provider authorization code to the service provider; and receiving the operation command provided by the service provider according to the service provider authorization code, running the service specified by the operation command, so that the service provider automatically provides the service for the terminal, thereby avoiding idle mobile phone resources. waste.
  • the authorization request information in the first embodiment may include: a service ID generated by the service providing end according to the service request for identifying the terminal.
  • the method for obtaining the terminal service includes the following steps.
  • step 210 a service request requesting automatic provision of a predetermined service is sent to the service provider.
  • the terminal can be connected through WIFI networking or through WIFI hotspots opened by other mobile phones. Establish a communication connection with the service provider.
  • step 220 the authorization request information returned by the service provider according to the service request is obtained.
  • step 230 a service provider authorization code corresponding to the service ID is generated, and the service ID and the service provider authorization code are saved according to the correspondence, and the service provider authorization code is sent to the service provider.
  • the terminal may further generate terminal operable hardware and software resource information and terminal operable authority information corresponding to the service ID according to the service ID.
  • step 240 an operation command that is sent by the service provider and carries the service provider authorization code is received.
  • step 250 the service provider authorization code is verified according to the correspondence between the pre-stored service ID and the service provider authorization code.
  • the method further includes: verifying whether the server authorization code provided by the service provider is an authorization code corresponding to the service ID.
  • step 260 if the service provider authorization code verification is successful, the service authorization verification is performed, and when the service authorization verification is successful, the service specified by the operation command is executed.
  • the service authorization verification is performed according to the terminal software and hardware resource request information and the terminal permission request information, and when the service authorization verification is successful, the operation is performed.
  • the service specified by the operation command is an authorization code corresponding to the service ID.
  • the service authorization verification is performed, and when the service authorization verification is successful, running the service specified by the operation command includes:
  • the service provider authorization code verification is successful, determining whether the operation command has an operation authority on the terminal according to the terminal operable authority information, and determining, according to the operable hardware and software resource information of the terminal, the operation command Whether the object belongs to the terminal operable hardware and software resource, wherein the terminal operable hardware and software resource information and the terminal operable permission information are respectively generated by the terminal according to the service ID; and if the operation command is in the The terminal has operational authority, and the object operated by the operation command belongs to the terminal operable hardware and software resource, and then the service specified by the operation command is run.
  • the service ID and the service provider authorization code can be provided. After the terminal confirms the corresponding authority, the corresponding operation can be performed.
  • the service provider may display the information of the unauthorized content to the user, report to the user, and perform the operation that failed to be performed. Recorded in the monitoring information.
  • the terminal creates and maintains service information with corresponding information of all service modules running on the terminal by the service provider, and the terminal can monitor and manage one or more service providers authorized on the local machine to run.
  • the service function module, the authorization operation, and the occupied hardware and software resources for example, the storage space size and memory resources that can be occupied by the local service module running on the terminal at the service provider end, whether the service function module can be automatically installed or updated, Whether you can open WIFI network, GPS positioning, camera and recorder, you can call third-party software and manage all the operational resources of mobile phones such as screen display.
  • the above authorization information corresponds to the service ID and the service authorization code. Use the idle mobile phone to obtain the service from the service provider, and all the available functions and hardware and software resources of the mobile phone can be authorized to the service provider according to the requirements of the service provider.
  • the terminal authorizes the service provider required by the user, that is, the user grants the service provider the usage rights and available resources for using the idle mobile phone, and the service provider is actively authorized to the user within the authorized range.
  • the service provider is actively authorized to the user within the authorized range.
  • the terminal can dynamically modify the authorized content and available software and hardware resources of each service provider at any time according to user requirements.
  • the service module can be started and shut down by establishing a startup and shutdown operation relationship with the service module on the terminal.
  • the timing of automatically starting and stopping the service may be set by using the GPS location information, the WIFI hotspot, and the time period on the terminal, or the user may manually start and close the service module running on the terminal.
  • the service provider is a supermarket server, which can be set to automatically start the service module when entering the supermarket and accessing the WIFI hotspot of the supermarket, or when the current geographic location is within the WIFI coverage of the supermarket, providing active services to the user.
  • the timing of automatically starting and shutting down the service is set by the GPS location information, WIFI hotspot and time period on the mobile phone, and all service function modules can be cleared when the service is not needed.
  • the method for obtaining the terminal service in the embodiment of the present disclosure can fully utilize the idle mobile phone resources of the people, and authorize the resources of the idle mobile phone to the service providing end, and provide a service client platform for the service providing end. Because the idle mobile phone is used, it will not affect the user's call demand, reduce the risk of personal information leakage, and facilitate the end-to-end service between the user and the service provider.
  • an embodiment of the present disclosure further provides a device for acquiring a terminal service, which is applied to a terminal, and the obtaining device includes: a sending module 31, a first acquiring module 32, a first generating module 33, and an operating module. 34.
  • the transmitting module 31 is arranged to send a service request to the service provider to automatically provide a predetermined service.
  • the first obtaining module 32 is configured to acquire authorization request information returned by the service providing end according to the service request.
  • the first generation module 33 is configured to generate a service provider authorization code according to the authorization request information, and send the service provider authorization code to the service provider.
  • the running module 34 is configured to receive an operation command provided by the service providing end according to the service provider authorization code, and run the service specified by the operation command.
  • the authorization request information may include: a service identifier ID that is generated by the service provider according to the service request and used to identify the terminal.
  • the first generation module 33 includes: a first generation submodule 331.
  • the first generation submodule 331 is configured to generate a service provider authorization code corresponding to the service ID, and save the service ID and the service provider authorization code according to the correspondence.
  • the running module 34 includes: a receiving submodule 341, a verifying submodule 342, and a running submodule 343.
  • the receiving submodule 341 is configured to receive an operation command sent by the service provider that carries the service provider authorization code.
  • the verification sub-module 342 is configured to perform verification processing on the service provider authorization code according to the correspondence between the pre-saved service ID and the service provider authorization code.
  • the running submodule 343 is configured to perform service authorization verification if the service provider authorization code verification is successful, and run the service specified by the operation command when the service authorization verification is successful.
  • the running submodule 343 may include: a determining unit 3431 and an operating unit 3432.
  • the determining unit 3431 is configured to determine, according to the terminal operable authority information, whether the operation command has an operation authority on the terminal according to the terminal operable authority information, and determine, according to the terminal operable hardware and software resource information, that the verification is performed. Whether the object operated by the operation command belongs to the terminal operable hardware and software resource, wherein the terminal operable hardware and software resource information and the terminal operable permission information are respectively generated by the terminal according to the service ID.
  • the running unit 3432 is configured to run the service specified by the operation command if the operation command has an operation authority on the terminal, and the object operated by the operation command belongs to the terminal operable hardware and software resource.
  • Embodiments of the present disclosure also provide a terminal including the acquisition device of the terminal service as described above.
  • the acquiring device and the terminal of the terminal service in the embodiments of the present disclosure can fully utilize the idle mobile phone resources of the people, and authorize the resources of the idle mobile phone to the service providing end, and provide a service client platform for the service providing end. Because the idle mobile phone is used, it will not affect the user's call demand, reduce the risk of personal information leakage, and facilitate the end-to-end service between the user and the service provider.
  • the device and the terminal are devices and terminals corresponding to the foregoing method embodiments, and all implementations in the foregoing method embodiments are applicable to the embodiments of the device and the terminal.
  • an embodiment of the present disclosure further provides a method for providing a terminal service, which is applied to a service provider.
  • step 410 a request for a service sent by the terminal to automatically provide a predetermined service is obtained.
  • the terminal can establish a communication connection with the service provider through WIFI networking or networking through WIFI hotspots opened by other mobile phones.
  • step 420 authorization request information is generated according to the service request.
  • the authorization request information may include: a service ID generated by the service provider according to the service request for identifying the terminal, and terminal operation authority and software and hardware resource information that the service provider needs to obtain.
  • step 430 the service provider authorization code generated by the terminal according to the authorization request information is obtained.
  • step 440 an operation command for providing a service to the terminal is generated according to the service provider authorization code, and is sent to the terminal, so that the terminal runs the service specified by the operation command.
  • the service provider that provides the service to the user deploys the service function module on the terminal.
  • the service function module may include one or more application modules, third-party software, and various data resources (such as text, pictures, audio and video files, etc.) installed and installed on the mobile phone when the service provider provides the service to the user.
  • generating authorization request information according to the service request including:
  • a service ID generated according to the service request for identifying the terminal is generated.
  • the generating, according to the service provider authorization code, an operation command for providing the service to the terminal, and sending the terminal to the terminal, and causing the terminal to run the service specified by the operation command including:
  • the method for providing the terminal service of the embodiment of the present disclosure can fully utilize the idle mobile phone resources of the people, and authorize the resources of the idle mobile phone to the service provider, and provide a client platform for the service provider to actively serve the user. Because the idle mobile phone is used, it will not affect the user's call demand, reduce the risk of personal information leakage, and facilitate the end-to-end service between the user and the service provider.
  • this embodiment describes an interaction process between a terminal and a service provider in the embodiment of the present disclosure.
  • step 510 the terminal sends a service request to the service provider to automatically provide the predetermined service.
  • step 520 the service provider generates a service ID according to the service request, and the service provider needs to obtain the authorized terminal hardware and software resources and operation rights, and sends the information to the terminal.
  • the service provider generates a unique service ID to distinguish it from other terminals that need service.
  • the terminal acquires the service ID and the terminal hardware and software resources and operation rights that need to be authorized, and the user decides the rights and software and hardware resources granted to the service provider according to the needs of the user, and generates corresponding service provision for the sent service ID.
  • the end authorization code sends the service provider authorization code to the service provider, and establishes authorization information for the service provider on the local machine.
  • step 540 after receiving the service provider authorization code from the terminal, the service provider sends an operation command to the terminal, and deploys and provides a corresponding service function by using the service ID and the authorization code.
  • the service provider may also choose to create a user account and perform user account management on the terminal.
  • Send service operations to the terminal such as downloading, installing, updating, or running one or more client service software, operating the network, recording, camera, or calling third party software, etc., authorized resources available on the phone according to the needs of the service function.
  • the service ID and the service provider authorization code can be provided before downloading, installing, updating, or running the client software, according to the needs of the service function, before operating the network, recording, camera, or calling third party software and other authorized resources available on the mobile phone. After the authorized service phone confirms the corresponding permission, the corresponding operation can be performed.
  • the terminal monitors service function modules, authorized operations, and occupied hardware and software resources operated by one or more service providers authorized on the local machine.
  • the service function module needs to provide a service ID and an authorization code when performing the authorization content, perform corresponding operations according to the authorization information obtained by the service ID, and when the operation is not authorized, the service provider may attempt to access the information of the unauthorized content. Displayed to the user, reminded the user, and the operation failure record is recorded in the monitoring record.
  • the terminal can dynamically modify the authorized content and available software and hardware resources of each service provider at any time according to user requirements. When the user no longer needs the service, turn off all permissions for the service and uninstall the local service module associated with the service.
  • the method for providing the terminal service of the embodiment of the present disclosure can fully utilize the idle mobile phone resources of the people, and authorize the resources of the idle mobile phone to the service provider, and provide a client platform for the service provider to actively serve the user. Because the idle mobile phone is used, it will not affect the user's call demand, reduce the risk of personal information leakage, and facilitate the end-to-end service between the user and the service provider.
  • the embodiment of the present disclosure further provides a terminal service providing apparatus, including: a second obtaining module 61, a second generating module 62, a third obtaining module 63, and a third generating module 64.
  • the second obtaining module 61 is configured to acquire a service request that the terminal sends a request to automatically provide a predetermined service.
  • the second generation module 62 is configured to generate authorization request information according to the service request.
  • the third obtaining module 63 is configured to obtain a service provider authorization code generated by the terminal according to the authorization request information.
  • the third generation module 64 is configured to generate an operation command for providing the service to the terminal according to the service provider authorization code, and send the operation command to the terminal, so that the terminal runs the service specified by the operation command.
  • the device for providing terminal services of the embodiment of the present disclosure may include: a second generation submodule 621.
  • the second generation sub-module 621 is configured to generate a service ID for identifying the terminal according to the service request.
  • the third generating module 64 may be configured to generate an operation command carrying the service provider authorization code according to the service provider authorization code, and send the operation command to the terminal. After the terminal successfully authenticates the authorization code of the service provider according to the pre-stored correspondence between the service ID and the service provider authorization code, and the terminal successfully runs the operation command, the terminal runs the operation command. The specified service.
  • the device and the terminal are devices and terminals corresponding to the foregoing method embodiments, and all implementations in the foregoing method embodiments are applicable to the embodiments of the device and the terminal.
  • the present disclosure also provides a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the present disclosure also provides a schematic diagram of a hardware structure of a terminal.
  • the terminal includes:
  • At least one processor 70 which is exemplified by a processor 70 in FIG. 7; and a memory 71, may further include a communication interface 72 and a bus 73.
  • the processor 70, the communication interface 72, and the memory 71 can complete communication with each other through the bus 73.
  • Communication interface 72 can be configured for information transfer.
  • the processor 70 can call the logic instructions in the memory 71 to perform the above-described acquisition method of the terminal service applied to the terminal.
  • logic instructions in the memory 71 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 71 is a computer readable storage medium, and may be configured to store a software program, a computer executable program, such as a program instruction or a module corresponding to an acquisition method of a terminal service applied to the terminal in the embodiment of the present disclosure.
  • the processor 70 executes the function application and the data processing by executing a software program, an instruction or a module stored in the memory 71, that is, implementing the terminal applied to the terminal in the above embodiment. How to get the service.
  • the memory 71 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal, and the like. Further, the memory 71 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the present disclosure also provides a hardware structure diagram of an electronic device.
  • the electronic device includes:
  • At least one processor 80 which is exemplified by a processor 80 in FIG. 8; and a memory 81, may further include a communication interface 82 and a bus 83.
  • the processor 80, the communication interface 82, and the memory 81 can complete communication with each other through the bus 83.
  • Communication interface 82 can be configured for information transfer.
  • the processor 80 can call the logic instructions in the memory 81 to perform the above-described acquisition method of the terminal service applied to the service provider.
  • logic instructions in the memory 81 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 81 is a computer readable storage medium, and may be configured to store a software program, a computer executable program, such as a program instruction or a module corresponding to an acquisition method of a terminal service applied to a service provider in the embodiment of the present disclosure.
  • the processor 80 executes the function application and the data processing by executing a software program, an instruction or a module stored in the memory 81, that is, the acquisition method applied to the service provider in the above embodiment.
  • the memory 81 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the electronic device, and the like. Further, the memory 81 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) Performing all or part of the steps of the method of the embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the method for providing, obtaining, and the terminal service provided by the embodiment of the present disclosure enables the service provider to automatically provide services for the idle mobile phone, thereby avoiding waste of idle mobile phone resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开提供了一种终端服务的提供、获取方法、装置及终端,其中,终端服务的获取方法包括:向服务提供端发送请求自动提供预定服务的服务请求;获取所述服务提供端根据所述服务请求返回的授权请求信息;根据所述授权请求信息生成服务提供端授权码,并向所述服务提供端发送所述服务提供端授权码;以及接收所述服务提供端根据所述服务提供端授权码提供的操作命令,运行所述操作命令所指定的服务。

Description

终端服务的提供、获取方法、装置及终端 技术领域
本公开涉及通信应用的技术领域,例如指一种终端服务的提供、获取方法、装置及终端。
背景技术
智能手机发展迅猛,更新速度快,生活中人们拥有几部智能手机已是比较常见的现象。用户更换手机可能是手机出了故障,但更多是用户为了获得更好的使用体验而选择购买配置更好的手机,随着手机配置的不断提高,应用在手机上运行的效果差异也越来越小。这些闲置手机造成了资源的浪费,而在手机使用过程中,手机上存放的电话号码、短信以及支付软件等与用户个人信息有关的软件应用的安全问题也越来越突出。一方面人们需要获得更好的服务,另一方面又需要减少使用智能手机的安全隐患。闲置手机除了没有客户识别模块(Subscriber Identification Module,SIM)卡不能打电话和通过***移动通信4G网络上网外,也都具有无线保真(Wireless Fidelity,WIFI)网络功能,并且不需要存放任何私人信息,如电话号码和短信等,可以将闲置手机当成一个智能终端使用。但相关的手机权限管理,只是针对手机上安装的客户端软件,由用户自行手动进行权限设置管理,而没有针对服务提供端的权限管理,因此不能通过服务提供端给闲置手机自动提供服务,造成闲置手机资源浪费。
发明内容
本公开提供一种终端服务的提供、获取方法、装置及终端,使得服务提供端能够为闲置手机自动提供服务,避免闲置手机资源浪费。
本公开的实施例提供了一种终端服务的获取方法,应用于终端,所述获取方法包括:
向服务提供端发送请求自动提供预定服务的服务请求;
获取所述服务提供端根据所述服务请求返回的授权请求信息;
根据所述授权请求信息生成服务提供端授权码,并向所述服务提供端发送 所述服务提供端授权码;以及
接收所述服务提供端根据所述服务提供端授权码提供的操作命令,运行所述操作命令所指定的服务。
可选的,所述授权请求信息包括:所述服务提供端根据所述服务请求生成的、用于标识所述终端的服务标识ID,及
所述根据所述授权请求信息生成服务提供端授权码,包括:
生成与所述服务ID对应的服务提供端授权码,并按照对应关系对所述服务ID和所述服务提供端授权码进行保存。
可选的,所述接收所述服务提供端根据所述服务提供端授权码提供的操作命令,运行所述操作命令所指定的服务,包括:
接收所述服务提供端发送的携带有所述服务提供端授权码的操作命令;
根据预先保存的服务ID与服务提供端授权码的对应关系,对所述服务提供端授权码进行验证处理;以及
若所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务。
可选的,所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务,包括:
若所述服务提供端授权码验证成功,则根据终端可操作权限信息判断所述操作命令在所述终端上是否具有操作权限,并根据终端可操作软硬件资源信息判断所述操作命令所操作的对象是否属于终端可操作软硬件资源,其中,所述终端可操作软硬件资源信息和终端可操作权限信息分别为所述终端根据所述服务ID对应生成的;以及
若所述操作命令在所述终端上具有操作权限,且所述操作命令所操作的对象属于终端可操作软硬件资源,则运行所述操作命令所指定的服务。
可选的,所述操作命令包括:下载、安装、更新或运行一个或多个客户端服务软件,或调用终端软硬件资源。
本公开的实施例还提供了一种终端服务的获取装置,设置于终端中,所述获取装置包括:
发送模块,设置为向服务提供端发送请求自动提供预定服务的服务请求;
第一获取模块,设置为获取所述服务提供端根据所述服务请求返回的授权请求信息;
第一生成模块,设置为根据所述授权请求信息生成服务提供端授权码,并向所述服务提供端发送所述服务提供端授权码;以及
运行模块,设置为接收所述服务提供端根据所述服务提供端授权码提供的操作命令,运行所述操作命令所指定的服务。
可选的,所述授权请求信息包括:所述服务提供端根据所述服务请求生成的、用于标识所述终端的服务标识ID,及
所述第一生成模块包括:
第一生成子模块,设置为生成与所述服务ID对应的服务提供端授权码,并按照对应关系对所述服务ID和所述服务提供端授权码进行保存。
可选的,所述运行模块包括:
接收子模块,设置为接收所述服务提供端发送的携带有所述服务提供端授权码的操作命令;
验证子模块,设置为根据预先保存的服务ID与服务提供端授权码的对应关系,对所述服务提供端授权码进行验证处理;以及
运行子模块,设置为若所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务。
可选的,所述运行子模块包括:
判断单元,设置为若所述服务提供端授权码验证成功,则根据终端可操作权限信息判断所述操作命令在所述终端上是否具有操作权限,并根据终端可操作软硬件资源信息判断所述操作命令所操作的对象是否属于终端可操作软硬件资源,其中,所述终端可操作软硬件资源信息和终端可操作权限信息分别为所述终端根据所述服务ID对应生成的;以及
运行单元,设置为若所述操作命令在所述终端上具有操作权限,且所述操作命令所操作的对象属于终端可操作软硬件资源,则运行所述操作命令所指定的服务。
本公开的实施例还提供了一种终端,包括如上所述的终端服务的获取装置。
本公开的实施例还提供了一种终端服务的提供方法,应用于服务提供端,包括:
获取终端发送的请求自动提供预定服务的服务请求;
根据所述服务请求,生成授权请求信息;
获取所述终端根据所述授权请求信息生成的服务提供端授权码;以及
根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务。
可选的,根据所述服务请求,生成授权请求信息,包括:
根据所述服务请求生成的用于标识所述终端的服务标识ID。
可选的,所述根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务,包括:
根据所述服务提供端授权码,生成携带有所述服务提供端授权码的操作命令,并发送给所述终端,使所述终端根据预先保存的所述服务ID与所述服务提供端授权码的对应关系对所述服务提供端授权码验证成功,且服务授权验证成功后,所述终端运行所述操作命令所指定的服务。
本公开的实施例还提供了一种终端服务的提供装置,包括:
第二获取模块,设置为获取终端发送的请求自动提供预定服务的服务请求;
第二生成模块,设置为根据所述服务请求,生成授权请求信息;
第三获取模块,设置为获取所述终端根据所述授权请求信息生成的服务提供端授权码;以及
第三生成模块,设置为根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务。
可选的,所述第二生成模块包括:
第二生成子模块,设置为根据所述服务请求生成的、用于标识所述终端的服务标识ID。
可选的,所述第三生成模块设置为根据所述服务提供端授权码,生成携带 有所述服务提供端授权码的操作命令,并发送给所述终端,使所述终端根据预先保存的所述服务ID与所述服务提供端授权码的对应关系对所述服务提供端授权码验证成功,且服务授权验证成功后,所述终端运行所述操作命令所指定的服务。
本公开还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。
本公开还提供了一种终端,该终端包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述应用于终端的终端服务的获取方法。
本公开还提供了一种电子设备,该电子设备包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述应用于服务提供端的终端服务的提供方法。
本公开实施例的终端服务的获取方法,向服务提供端发送请求自动提供预定服务的服务请求;获取服务提供端根据服务请求返回的授权请求信息;根据授权请求信息生成服务提供端授权码,并向服务提供端发送服务提供端授权码;以及接收服务提供端根据服务提供端授权码提供的操作命令,运行操作命令所指定的服务,使得服务提供端为终端自动提供服务,避免了闲置手机资源浪费。
附图说明
图1为本公开实施例的终端服务的获取方法的第一流程图;
图2为本公开实施例的终端服务的获取方法的第二流程图;
图3为本公开实施例的终端服务的获取装置的结构框图;
图4为本公开实施例的终端服务的提供方法的流程图;
图5为本公开实施例中终端和服务提供端的交互流程图;
图6为本公开实施例中终端服务的提供装置的结构框图;
图7是本公开实施例提供的终端的硬件结构示意图;以及
图8是本公开实施例提供的电子设备的硬件结构示意图。
具体实施方式
为使本公开要解决的技术方案更加清楚,下面将结合实施例及附图进行详细描述。在不冲突的情况下,以下实施例以及实施例中的技术特征可以相互任意组合。
本公开的实施例提供了一种终端服务的提供、获取方法、装置及终端,使得相关服务提供端能够为闲置手机自动提供服务,避免了闲置手机资源浪费。
第一实施例
如图1所示,本公开实施例的终端服务的获取方法,应用于终端,该终端可为未装客户识别模块(Subscriber Identification Module,SIM)卡的闲置手机,支持无线保真(Wireless Fidelity,WIFI)的用户闲置手机或者其他有网络功能的智能终端。
在步骤110中,向服务提供端发送请求自动提供预定服务的服务请求。
在本公开的实施例中,用户可以根据自己的服务需求,选择一个闲置手机,向服务提供端发起服务请求,告知服务提供端需要获取服务,该服务提供端可指服务提供商。终端可通过WIFI联网或通过其他手机开放的WIFI热点联网,建立与服务提供端的通信连接。
在步骤120中,获取服务提供端根据所述服务请求返回的授权请求信息。
授权请求信息可以包括:服务提供端根据服务请求生成的、用于标识所述终端的服务标识(Identification,ID)及服务提供端需要获得的终端操作权限和软硬件资源信息。
在步骤130中,根据授权请求信息生成服务提供端授权码,并向服务提供端发送所述服务提供端授权码。
在本公开的实施例中,终端获得服务ID及需要获得的终端操作权限和软硬 件资源信息后,由用户根据自身需要决定授予服务提供端的权限和软硬件资源,且根据服务ID生成对应的服务提供端授权码,向服务提供端发送服务提供端授权码,并在终端本机上为该服务提供端创建终端可操作软硬件资源信息和终端可操作权限信息。该终端可操作软硬件资源信息可包括:手机上该服务提供端所运行的本地服务模块及自动安装更新服务功能模块所占用的存储空间以及内存资源等。终端可操作权限信息可包括是否可以开启WIFI网络、全球定位***(Global Positioning System,GPS)定位、摄像头以及录音机,调用第三方软件以及管理屏幕显示等。
本公开实施例中,当更新服务提供端授权码时,可以重新发送服务提供端授权码给服务提供端,其中,服务提供端授权码可以由用户输入,也可通过软件算法生成。
在步骤140中,接收服务提供端根据所述服务提供端授权码提供的操作命令,运行操作命令所指定的服务。
可选的,服务提供端接收到服务提供端授权码后,向终端发送操作命令,并根据服务ID和服务提供端授权码,提供相应的服务功能,在此过程中,服务提供端也可以选择创建用户账号,对终端进行用户账户管理。
操作命令可包括:下载、安装、更新或运行一个或多个客户端服务软件,或调用终端软硬件资源。
本公开实施例的终端服务的获取方法,向服务提供端发送请求自动提供预定服务的服务请求;获取服务提供端根据服务请求返回的授权请求信息;根据授权请求信息生成服务提供端授权码,并向服务提供端发送服务提供端授权码;以及接收服务提供端根据服务提供端授权码提供的操作命令,运行操作命令所指定的服务,使得服务提供端为终端自动提供服务,避免了闲置手机资源浪费。
第二实施例
如图2所示,第一实施例中的授权请求信息可以包括:所述服务提供端根据所述服务请求生成的、用于标识所述终端的服务ID。
该终端服务的获取方法包括以下步骤。
在步骤210中,向服务提供端发送请求自动提供预定服务的服务请求。
可选的,终端可通过WIFI联网或通过其他手机开放的WIFI热点联网,建 立与服务提供端的通信连接。
在步骤220中,获取所述服务提供端根据所述服务请求返回的授权请求信息。
在步骤230中,生成与服务ID对应的服务提供端授权码,并按照对应关系对服务ID和服务提供端授权码进行保存,并向服务提供端发送服务提供端授权码。
此外,所述终端还可以根据所述服务ID生成与所述服务ID对应的终端可操作软硬件资源信息和终端可操作权限信息。
在步骤240中,接收所述服务提供端发送的携带有所述服务提供端授权码的操作命令。
在步骤250中,根据预先保存的服务ID与服务提供端授权码的对应关系,对所述服务提供端授权码进行验证处理。
可选的,所述方法还包括验证服务提供端提供的服务端授权码是否为与所述服务ID对应的授权码。
在步骤260中,若所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务。
在服务提供端提供的服务端授权码为与所述服务ID对应的授权码时,根据终端软硬件资源请求信息和终端权限请求信息进行服务授权验证,并当服务授权验证成功时,运行所述操作命令所指定的服务。
可选的,所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务,包括:
若所述服务提供端授权码验证成功,则根据终端可操作权限信息判断所述操作命令在所述终端上是否具有操作权限,并根据终端可操作软硬件资源信息判断所述操作命令所操作的对象是否属于终端可操作软硬件资源,其中,所述终端可操作软硬件资源信息和终端可操作权限信息分别为所述终端根据所述服务ID对应生成的;以及若所述操作命令在所述终端上具有操作权限,且所述操作命令所操作的对象属于终端可操作软硬件资源,则运行所述操作命令所指定的服务。
在本公开的实施例中,在执行下载、安装、更新、运行客户端软件,或根 据服务功能的需要操作手机上的网络、录音、摄像头、调用第三方软件等授权可用资源之前,可以提供服务ID和服务提供端授权码,终端确认对应权限后,可执行相应的操作。当服务提供端提供服务ID和服务提供端授权码,试图访问未授权内容时,可将服务提供端试图访问未授权内容的信息显示给用户,向用户报告,并将该次未能执行的操作记录到监控信息中。
在本公开的实施例中,终端创建和维护服务ID与服务提供端在终端上运行的所有服务模块的对应信息,且终端可监控管理本机上已授权的一个或多个服务提供端所运行的服务功能模块、授权操作以及所占用的软硬件资源,例如:在该服务提供端在终端上运行的本地服务模块可占用的存储空间大小和内存资源、是否可自动安装、更新服务功能模块、是否可以开启WIFI网络、GPS定位、摄像头以及录音机,可调用第三方软件以及管理屏幕显示等手机所有可操作资源信息。上述授权信息与服务ID和服务授权码对应。使用闲置手机从服务提供端获取服务,可根据服务提供端的要求,将手机所有可用功能和软硬件资源都授权给服务提供端。
在本公开的实施例中,终端向用户所需要的服务提供端授权,即用户向服务提供端授予使用该闲置手机的使用权限和可用资源,服务提供端在授权范围内,可主动的向用户提供更好的服务,用户无需关心相关服务模块在本地手机上的管理维护,充分发挥闲置手机的作用,使用户获得更好的服务体验,方便人们的生活。
终端可根据用户要求随时动态修改每个服务提供端的授权内容和可用的软硬件资源。当用户不再需要该服务后,可以关闭该服务所有权限,并卸载与该服务相关的本地服务模块。可选的,可通过服务ID与终端上的服务模块建立启动和关闭对应操作关系,来实现服务模块的启动和关闭。可选地,可通过终端上的GPS位置信息、WIFI热点以及时间段等来设置自动启动和关闭服务的时机,也可由用户通过手动方式启动和关闭终端上运行的服务模块。
例如,服务提供端是一个超市服务端,可以设置当进入该超市并接入该超市的WIFI热点,或者当前地理位置在超市的WIFI覆盖范围内时自动启动服务模块,向用户提供主动服务。通过手机上的GPS位置信息、WIFI热点以及时间段等来设置自动启动和关闭服务的时机,当不需要服务时可清除所有服务功能模块。
本公开实施例的终端服务的获取方法,可以充分利用人们的闲置手机资源,将闲置手机的资源授权给服务提供端,为服务提供端提供了一个为用户主动服务的客户端平台。因为使用的是闲置手机,不会影响到用户的通话需求,减少了个人信息泄露风险,便于让用户与服务提供端形成端到端的服务。
第三实施例
如图3所示,本公开的实施例还提供了一种终端服务的获取装置,应用于终端,所述获取装置包括:发送模块31、第一获取模块32、第一生成模块33和运行模块34。
发送模块31设置为向服务提供端发送请求自动提供预定服务的服务请求。
第一获取模块32设置为获取所述服务提供端根据所述服务请求返回的授权请求信息。
第一生成模块33设置为根据所述授权请求信息生成服务提供端授权码,并向所述服务提供端发送所述服务提供端授权码。
运行模块34设置为接收所述服务提供端根据所述服务提供端授权码提供的操作命令,运行所述操作命令所指定的服务。
本公开实施例的终端服务的获取装置,所述授权请求信息可以包括:所述服务提供端根据所述服务请求生成的、用于标识所述终端的服务标识ID。
所述第一生成模块33包括:第一生成子模块331。
第一生成子模块331设置为生成与所述服务ID对应的服务提供端授权码,并按照对应关系对所述服务ID和所述服务提供端授权码进行保存。
本公开实施例的终端服务的获取装置,所述运行模块34包括:接收子模块341、验证子模块342和运行子模块343。
接收子模块341设置为接收所述服务提供端发送的携带有所述服务提供端授权码的操作命令。
验证子模块342设置为根据预先保存的服务ID与服务提供端授权码的对应关系,对所述服务提供端授权码进行验证处理。
运行子模块343设置为若所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务。
本公开实施例的终端服务的获取装置,所述运行子模块343可以包括:判断单元3431和运行单元3432。
判断单元3431设置为若所述服务提供端授权码验证成功,则根据终端可操作权限信息判断所述操作命令在所述终端上是否具有操作权限,并根据终端可操作软硬件资源信息判断所述操作命令所操作的对象是否属于终端可操作软硬件资源,其中,所述终端可操作软硬件资源信息和终端可操作权限信息分别为所述终端根据所述服务ID对应生成的。
运行单元3432设置为若所述操作命令在所述终端上具有操作权限,且所述操作命令所操作的对象属于终端可操作软硬件资源,则运行所述操作命令所指定的服务。
本公开的实施例还提供了一种终端,包括如上所述的终端服务的获取装置。
本公开实施例的终端服务的获取装置和终端,可以充分利用人们的闲置手机资源,将闲置手机的资源授权给服务提供端,为服务提供端提供了一个为用户主动服务的客户端平台。因为使用的是闲置手机,不会影响到用户的通话需求,减少了个人信息泄露风险,便于让用户与服务提供端形成端到端的服务。
该装置及终端是与上述方法实施例对应的装置和终端,上述方法实施例中所有实现方式均适用于该装置和终端的实施例中。
第四实施例
如图4所示,本公开的实施例还提供了一种终端服务的提供方法,应用于服务提供端。
在步骤410中,获取终端发送的请求自动提供预定服务的服务请求。
终端可通过WIFI联网或通过其他手机开放的WIFI热点联网,建立与服务提供端的通信连接。
在步骤420中,根据所述服务请求,生成授权请求信息。
授权请求信息可以包括:服务提供端根据服务请求生成的用于标识所述终端的服务ID及服务提供端需要获得的终端操作权限和软硬件资源信息。
在步骤430中,获取所述终端根据所述授权请求信息生成的服务提供端授权码。
在步骤440中,根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务。
可选的,向用户提供服务的服务提供端在终端上部署服务功能模块。该服务功能模块可以包括服务提供端向用户提供服务时在手机上安装部署的一个或多个应用模块、第三方软件以及多种数据资源(如文字、图片以及音视频文件等)。
可选地,根据所述服务请求,生成授权请求信息,包括:
根据所述服务请求生成的用于标识所述终端的服务ID。
可选地,所述根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务,包括:
根据所述服务提供端授权码,生成携带有所述服务提供端授权码的操作命令,并发送给所述终端,使所述终端根据预先保存的所述服务ID与所述服务提供端授权码的对应关系对所述服务提供端授权码验证成功,且服务授权验证成功后,所述终端运行所述操作命令所指定的服务。
本公开实施例的终端服务的提供方法,可以充分利用人们的闲置手机资源,将闲置手机的资源授权给服务提供端,为服务提供端提供了一个为用户主动服务的客户端平台。因为使用的是闲置手机,不会影响到用户的通话需求,减少了个人信息泄露风险,便于让用户与服务提供端形成端到端的服务。
第五实施例
如图5所示,本实施例说明本公开实施例中终端与服务提供端的交互流程。
在步骤510中,终端向服务提供端发送请求自动提供预定服务的服务请求。
在步骤520中,服务提供端根据上述服务请求生成服务ID,以及服务提供端需要获得授权的终端软硬件资源和操作权限,并发送给终端。
服务提供端生成唯一的服务ID,以与其他需要服务的终端相区别。
在步骤530中,终端获取服务ID和需要获得授权的终端软硬件资源和操作权限,由用户根据自身需要决定授予服务提供端的权限和软硬件资源,针对发来的服务ID,生成对应的服务提供端授权码,向服务提供端发送服务提供端授权码,并在本机上为该服务提供端建立授权信息。
在步骤540中,服务提供端接收终端发来服务提供端授权码后,向终端发送操作命令,利用服务ID和授权码部署和提供相应的服务功能。
在此过程中,服务提供端也可以选择创建用户账号,对终端进行用户账户管理。
向终端发送服务操作,如下载、安装、更新或运行一个或多个客户端服务软件,根据服务功能的需要,操作手机上的网络、录音、摄像头或调用第三方软件等授权可用资源。
在执行下载、安装、更新或运行客户端软件,根据服务功能的需要,操作手机上的网络、录音、摄像头或调用第三方软件等授权可用资源之前,可以提供服务ID和服务提供端授权码,授权服务手机确认对应权限后,可执行相应的操作。
在步骤550中,终端监控本机上已授权的一个或多个服务提供端所运行的服务功能模块、授权操作以及所占用的软硬件资源。服务功能模块在执行授权内容时,需提供服务ID和授权码,根据该服务ID已获得的授权信息,执行相应的操作,当操作未授权时,可将服务提供端试图访问未授权内容的信息显示给用户,提醒用户,并将操作失败记录记入监控记录中。
终端可根据用户要求随时动态修改每个服务提供端的授权内容和可用的软硬件资源。当用户不再需要该服务后,关闭该服务所有权限,并卸载与该服务相关的本地服务模块。
本公开实施例的终端服务的提供方法,可以充分利用人们的闲置手机资源,将闲置手机的资源授权给服务提供端,为服务提供端提供了一个为用户主动服务的客户端平台。因为使用的是闲置手机,不会影响到用户的通话需求,减少了个人信息泄露风险,便于让用户与服务提供端形成端到端的服务。
第六实施例
如图6所示,本公开实施例还提供了一种终端服务的提供装置,包括:第二获取模块61、第二生成模块62、第三获取模块63和第三生成模块64。
第二获取模块61设置为获取终端发送的请求自动提供预定服务的服务请求。
第二生成模块62设置为根据所述服务请求,生成授权请求信息。
第三获取模块63设置为获取所述终端根据所述授权请求信息生成的服务提供端授权码。
第三生成模块64设置为根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务。
本公开实施例的终端服务的提供装置,所述第二生成模块62可以包括:第二生成子模块621。
第二生成子模块621设置为根据所述服务请求生成用于标识所述终端的服务ID。
本公开实施例的终端服务的提供装置,所述第三生成模块64可以设置为根据所述服务提供端授权码,生成携带有所述服务提供端授权码的操作命令,并发送给所述终端,使所述终端根据预先保存的所述服务ID与所述服务提供端授权码的对应关系对所述服务提供端授权码验证成功,且服务授权验证成功后,所述终端运行所述操作命令所指定的服务。
该装置及终端是与上述方法实施例对应的装置和终端,上述方法实施例中所有实现方式均适用于该装置和终端的实施例中。
本公开还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。
本公开还提供了一种终端的硬件结构示意图。参见图7,该终端包括:
至少一个处理器(processor)70,图7中以一个处理器70为例;以及存储器(memory)71,还可以包括通信接口(Communications Interface)72和总线73。其中,处理器70、通信接口72、存储器71可以通过总线73完成相互间的通信。通信接口72可以设置为信息传输。处理器70可以调用存储器71中的逻辑指令,以执行上述应用于终端的终端服务的获取方法。
此外,上述的存储器71中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器71作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的应用于终端的终端服务的获取方法对应的程序指令或模块。处理器70通过运行存储在存储器71中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的应用于终端的终 端服务的获取方法。
存储器71可包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器71可以包括高速随机存取存储器,还可以包括非易失性存储器。
本公开还提供了一种电子设备的硬件结构示意图。参见图8,该电子设备包括:
至少一个处理器(processor)80,图8中以一个处理器80为例;以及存储器(memory)81,还可以包括通信接口(Communications Interface)82和总线83。其中,处理器80、通信接口82、存储器81可以通过总线83完成相互间的通信。通信接口82可以设置为信息传输。处理器80可以调用存储器81中的逻辑指令,以执行上述应用于服务提供端的终端服务的获取方法。
此外,上述的存储器81中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器81作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的应用于服务提供端的终端服务的获取方法对应的程序指令或模块。处理器80通过运行存储在存储器81中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中应用于服务提供端的获取方法。
存储器81可包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器81可以包括高速随机存取存储器,还可以包括非易失性存储器。
本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
工业实用性
本公开实施例提供的终端服务的提供、获取方法、装置及终端,使得服务提供端能够为闲置手机自动提供服务,避免了闲置手机资源浪费。

Claims (17)

  1. 一种终端服务的获取方法,应用于终端,包括:
    向服务提供端发送请求自动提供预定服务的服务请求;
    获取所述服务提供端根据所述服务请求返回的授权请求信息;
    根据所述授权请求信息生成服务提供端授权码,并向所述服务提供端发送所述服务提供端授权码;以及
    接收所述服务提供端根据所述服务提供端授权码提供的操作命令,运行所述操作命令所指定的服务。
  2. 根据权利要求1所述的方法,其中,所述授权请求信息包括:所述服务提供端根据所述服务请求生成的、用于标识所述终端的服务标识ID,及
    所述根据所述授权请求信息生成服务提供端授权码,包括:
    生成与所述服务ID对应的服务提供端授权码,并按照对应关系对所述服务ID和所述服务提供端授权码进行保存。
  3. 根据权利要求2所述的方法,其中,所述接收所述服务提供端根据所述服务提供端授权码提供的操作命令,运行所述操作命令所指定的服务,包括:
    接收所述服务提供端发送的携带有所述服务提供端授权码的操作命令;
    根据预先保存的服务ID与服务提供端授权码的对应关系,对所述服务提供端授权码进行验证处理;以及
    若所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务。
  4. 根据权利要求3所述的方法,其中,所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务,包括:
    若所述服务提供端授权码验证成功,则根据终端可操作权限信息判断所述 操作命令在所述终端上是否具有操作权限,并根据终端可操作软硬件资源信息判断所述操作命令所操作的对象是否属于终端可操作软硬件资源,所述终端可操作软硬件资源信息和终端可操作权限信息分别为所述终端根据所述服务ID对应生成的;以及
    若所述操作命令在所述终端上具有操作权限,且所述操作命令所操作的对象属于终端可操作软硬件资源,则运行所述操作命令所指定的服务。
  5. 根据权利要求1所述的方法,其中,所述操作命令包括:下载、安装、更新或运行一个或多个客户端服务软件,或调用终端软硬件资源。
  6. 一种终端服务的获取装置,设置于终端中,包括:
    发送模块,设置为向服务提供端发送请求自动提供预定服务的服务请求;
    第一获取模块,设置为获取所述服务提供端根据所述服务请求返回的授权请求信息;
    第一生成模块,设置为根据所述授权请求信息生成服务提供端授权码,并向所述服务提供端发送所述服务提供端授权码;以及
    运行模块,设置为接收所述服务提供端根据所述服务提供端授权码提供的操作命令,运行所述操作命令所指定的服务。
  7. 根据权利要求6所述的装置,其中,所述授权请求信息包括:所述服务提供端根据所述服务请求生成的、用于标识所述终端的服务标识ID,及
    所述第一生成模块包括:
    第一生成子模块,设置为生成与所述服务ID对应的服务提供端授权码,并按照对应关系对所述服务ID和所述服务提供端授权码进行保存。
  8. 根据权利要求7所述的装置,其中,所述运行模块包括:
    接收子模块,设置为接收所述服务提供端发送的携带有所述服务提供端授 权码的操作命令;
    验证子模块,设置为根据预先保存的服务ID与服务提供端授权码的对应关系,对所述服务提供端授权码进行验证处理;以及
    运行子模块,设置为若所述服务提供端授权码验证成功,则进行服务授权验证,并当所述服务授权验证成功时,运行所述操作命令所指定的服务。
  9. 根据权利要求8所述装置,其中,所述运行子模块包括:
    判断单元,设置为若所述服务提供端授权码验证成功,则根据终端可操作权限信息判断所述操作命令在所述终端上是否具有操作权限,并根据终端可操作软硬件资源信息判断所述操作命令所操作的对象是否属于终端可操作软硬件资源,所述终端可操作软硬件资源信息和终端可操作权限信息分别为所述终端根据所述服务ID对应生成的;以及
    运行单元,设置为若所述操作命令在所述终端上具有操作权限,且所述操作命令所操作的对象属于终端可操作软硬件资源,则运行所述操作命令所指定的服务。
  10. 一种终端,包括如权利要求6-9任一项所述的终端服务的获取装置。
  11. 一种终端服务的提供方法,应用于服务提供端,包括:
    获取终端发送的请求自动提供预定服务的服务请求;
    根据所述服务请求,生成授权请求信息;
    获取所述终端根据所述授权请求信息生成的服务提供端授权码;以及
    根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务。
  12. 根据权利要求11所述的方法,其中,根据所述服务请求,生成授权请求信息,包括:
    根据所述服务请求生成用于标识所述终端的服务标识ID。
  13. 根据权利要求12所述的方法,其中,所述根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务,包括:
    根据所述服务提供端授权码,生成携带有所述服务提供端授权码的操作命令,并发送给所述终端,使所述终端根据预先保存的所述服务ID与所述服务提供端授权码的对应关系对所述服务提供端授权码验证成功,且服务授权验证成功后,所述终端运行所述操作命令所指定的服务。
  14. 一种终端服务的提供装置,包括:
    第二获取模块,设置为获取终端发送的请求自动提供预定服务的服务请求;
    第二生成模块,设置为根据所述服务请求,生成授权请求信息;
    第三获取模块,设置为获取所述终端根据所述授权请求信息生成的服务提供端授权码;以及
    第三生成模块,设置为根据所述服务提供端授权码生成为所述终端提供服务的操作命令,发送给所述终端,使所述终端运行所述操作命令所指定的服务。
  15. 根据权利要求14所述的装置,其中,所述第二生成模块包括:
    第二生成子模块,设置为根据所述服务请求生成用于标识所述终端的服务标识ID。
  16. 根据权利要求15所述的装置,其中,所述第三生成模块设置为根据所述服务提供端授权码,生成携带有所述服务提供端授权码的操作命令,并发送给所述终端,使所述终端根据预先保存的所述服务ID与所述服务提供端授权码的对应关系对所述服务提供端授权码验证成功,且服务授权验证成功后,所述终端运行所述操作命令所指定的服务。
  17. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5以及11-13中任一项的方法。
PCT/CN2017/074838 2016-03-02 2017-02-24 终端服务的提供、获取方法、装置及终端 WO2017148337A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610117689.5A CN107154912A (zh) 2016-03-02 2016-03-02 一种终端服务的提供、获取方法、装置及终端
CN201610117689.5 2016-03-02

Publications (1)

Publication Number Publication Date
WO2017148337A1 true WO2017148337A1 (zh) 2017-09-08

Family

ID=59743493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074838 WO2017148337A1 (zh) 2016-03-02 2017-02-24 终端服务的提供、获取方法、装置及终端

Country Status (2)

Country Link
CN (1) CN107154912A (zh)
WO (1) WO2017148337A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521338A (zh) * 2018-03-09 2018-09-11 厦门集微科技有限公司 一种服务平台的服务处理方法及服务平台
CN111832055A (zh) * 2020-07-22 2020-10-27 政采云有限公司 权限校验***及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664933A (zh) * 2012-04-06 2012-09-12 中国联合网络通信集团有限公司 用户授权方法、应用终端、开放平台和***
CN102710640A (zh) * 2012-05-31 2012-10-03 中国联合网络通信集团有限公司 请求授权的方法、装置和***
WO2013044107A2 (en) * 2011-09-23 2013-03-28 Research In Motion Limited Authentication procedures for managing mobile device applications
CN104144152A (zh) * 2013-05-10 2014-11-12 中国电信股份有限公司 针对第三方资源提供方的授权方法与***

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113533B (zh) * 2014-07-02 2017-10-27 百度在线网络技术(北京)有限公司 登录授权方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013044107A2 (en) * 2011-09-23 2013-03-28 Research In Motion Limited Authentication procedures for managing mobile device applications
CN102664933A (zh) * 2012-04-06 2012-09-12 中国联合网络通信集团有限公司 用户授权方法、应用终端、开放平台和***
CN102710640A (zh) * 2012-05-31 2012-10-03 中国联合网络通信集团有限公司 请求授权的方法、装置和***
CN104144152A (zh) * 2013-05-10 2014-11-12 中国电信股份有限公司 针对第三方资源提供方的授权方法与***

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521338A (zh) * 2018-03-09 2018-09-11 厦门集微科技有限公司 一种服务平台的服务处理方法及服务平台
CN108521338B (zh) * 2018-03-09 2021-04-13 厦门集微科技有限公司 一种服务平台的服务处理方法及服务平台
CN111832055A (zh) * 2020-07-22 2020-10-27 政采云有限公司 权限校验***及方法

Also Published As

Publication number Publication date
CN107154912A (zh) 2017-09-12

Similar Documents

Publication Publication Date Title
US20200162466A1 (en) Certificate based profile confirmation
US10057251B2 (en) Provisioning account credentials via a trusted channel
US20210297410A1 (en) Mec platform deployment method and apparatus
CN105243318B (zh) 确定用户设备控制权限的方法、装置及终端设备
WO2018000834A1 (zh) 一种wifi热点信息修改方法及装置
US10595193B2 (en) Method of provisioning a subscriber profile for a secure module
TWI587674B (zh) 用以支援嵌入式通用積體電路卡上全球平台使用之方法與裝置
US10511601B2 (en) Security control method for social network user, social application device and terminal
US10165443B2 (en) Transmitting management commands to a client device
CN104168557A (zh) 操作***的升级方法和操作***的升级装置
US11601817B2 (en) Postponed eSIM delivery to secondary mobile wireless device for cellular wireless service subscription
CN111132305B (zh) 5g用户终端接入5g网络的方法、用户终端设备及介质
CN112214752A (zh) 应用权限的动态控制方法、装置和设备及存储介质
US11832348B2 (en) Data downloading method, data management method, and terminal
WO2017219587A1 (zh) 主从设备切换方法、从设备、管理服务器及存储介质
WO2017148337A1 (zh) 终端服务的提供、获取方法、装置及终端
EP3079329B1 (en) Terminal application registration method, device and system
CN111093196B (zh) 5g用户终端接入5g网络的方法、用户终端设备及介质
CN113407427A (zh) 校验信息处理方法及装置、终端设备及存储介质
CN109451497B (zh) 无线网络连接方法及装置、电子设备、存储介质
WO2016165674A1 (zh) 一种终端可信环境运行方法及装置
CN109933960B (zh) 服务调用控制方法、服务调用方法、装置及终端
US11218491B2 (en) Security de-escalation for data access
CN114095230A (zh) 一种数据处理方法、装置、计算机设备以及存储介质
CN115499821A (zh) 一种eSIM签约方法及装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17759188

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17759188

Country of ref document: EP

Kind code of ref document: A1