WO2015010483A1 - 请求处理方法、终端、服务器、授权服务器及系统 - Google Patents

请求处理方法、终端、服务器、授权服务器及系统 Download PDF

Info

Publication number
WO2015010483A1
WO2015010483A1 PCT/CN2014/076391 CN2014076391W WO2015010483A1 WO 2015010483 A1 WO2015010483 A1 WO 2015010483A1 CN 2014076391 W CN2014076391 W CN 2014076391W WO 2015010483 A1 WO2015010483 A1 WO 2015010483A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
terminal
account
request
target item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2014/076391
Other languages
English (en)
French (fr)
Inventor
钱澄
李创奇
王法
王振
宋玉洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Publication of WO2015010483A1 publication Critical patent/WO2015010483A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/306Payment architectures, schemes or protocols characterised by the use of specific devices or networks using TV related infrastructures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • 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
    • H04L63/104Grouping of entities

Definitions

  • the present disclosure relates to the field of network technologies, and in particular, to a request processing method, a terminal, a server, an authorization server, and a system. Background technique
  • the user usually sets up a redemption machine and a smart TV in the home, and binds the exchange machine to his own point account.
  • the redemption opportunity sends the bundled point account and the points required to obtain the resources to the redemption system, and the redemption system deducts the points required for obtaining the resources from the point account. , thus completing the redemption process.
  • a redemption machine can only bind one user's credit account, that is, only this user can obtain the above resources on the smart TV. For other family members in the family, the above redemption process cannot be completed. Summary of the invention
  • the embodiments of the present disclosure provide a request processing method, a terminal, a server, an authorization server, and a system.
  • the technical solution is as follows:
  • a request processing method for a terminal that is bound to a home account, the home account includes at least one private account, and the method includes:
  • the server Sending the information of the target item and the ID of the terminal to the server, so that the server queries the ID of the home account bound to the terminal according to the ID of the terminal, and according to the information of the target item
  • the ID of the home account generates a transfer request, and the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item;
  • the method further includes:
  • the ID of the home account and the ID of the terminal are sent to the server such that the server binds the home account to the terminal.
  • the method further includes:
  • the step of transmitting the transfer request to the authorization server is performed.
  • the method further includes:
  • the authorization server receives an increase request sent by the private account for increasing the second value, and increases the second value according to the increase request, after the increase Sending, by the terminal, a message indicating that the second value is changed, where the adding request is used to perform a second value included in the home account carried in the transfer request carried in the two-dimensional code
  • the private account is an account that is logged in according to the account login interface in the two-dimensional code.
  • the method further includes:
  • the authorization server receives an increase request sent by the private account for increasing the second value, and increases the second value according to the increase request, after the increase Sending, by the terminal, a message indicating that the second value is changed, where the adding request is used to perform a second value included in the home account carried in the transfer request carried in the two-dimensional code
  • the private account is an account that is logged in according to the account login interface in the two-dimensional code.
  • the method further includes:
  • the step of detecting whether the second value is not less than the first value wherein the predetermined time is a time when a time after displaying the two-dimensional code reaches a predetermined time length, or And the predetermined time is a time when the message indicating that the second value is changed is received.
  • the method further includes:
  • the unbinding relationship request cancels the binding relationship between the home account and the terminal.
  • a request processing method comprising: receiving information of a target item sent by a terminal and an ID of the terminal, the terminal being bound with a home account, the family
  • the account includes at least one private account, and the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item;
  • the authorization server reduces the number from the second value included in the home account a first value, and adding the first value to a third value included in an account corresponding to the target item.
  • the method further includes:
  • Binding the home account to the terminal Binding the home account to the terminal.
  • the method further includes:
  • a request processing method for use in an authorization server, the method comprising:
  • the terminal is bound with a home account, and the home account includes at least one private account; the transfer request is performed by the terminal after receiving the selection signal of the target item, and the information of the target item is The ID of the terminal is sent to the server; the server queries the ID of the home account bound to the terminal according to the ID of the terminal, and then generates the identifier according to the information of the target item and the ID of the home account. Transferring the request, and sending the transfer request to the terminal; after receiving the transfer request, the terminal forwards the request to the authorization server.
  • the method further includes:
  • the method further includes:
  • the detection result is that the second value is smaller than the first value
  • a two-dimensional code is generated according to the transfer request and the account login interface, and the two-dimensional code is displayed.
  • the method further includes:
  • a message indicating that the second value has changed is sent to the terminal after the addition.
  • a terminal is provided, the terminal is bound to a home account, the home account includes at least one private account, and the terminal includes:
  • Selecting a receiving module configured to receive a selection signal for the target item
  • a first sending module configured to send the information of the target item corresponding to the selection signal received by the selection receiving module and the ID of the terminal to the server, so that the server queries the terminal according to the ID of the terminal An ID of the bound home account, and generating a transfer request according to the information of the target item and the ID of the home account, where the information of the target item includes a first value corresponding to the target item and the target item Account ID;
  • a transfer receiving module configured to receive a transfer request sent by the server
  • a transfer sending module configured to send, to the authorization server, a transfer request received by the transfer receiving module, so that the authorization server reduces the number from the second value included in the home account after receiving the transfer request a value, and adding the first value to a third value included in the account corresponding to the target item.
  • the terminal further includes:
  • a second sending module configured to send the ID of the home account and the ID of the terminal to the server, so that the server binds the home account and the terminal.
  • the terminal further includes:
  • the query sending module is configured to send a query request to the authorization server, where the query request is used to query the second value included in the home account;
  • the value receiving module is configured to receive the second value sent by the authorization server
  • the detecting module is configured to detect whether the second value received by the value receiving module is not less than the first value
  • the transfer sending module is configured to perform the step of sending the transfer request to an authorization server when the detection result of the detection module is that the second value is not less than the first value.
  • the terminal further includes:
  • a two-dimensional code generating module configured to generate a two-dimensional code according to the transfer request and the account login interface when the detection result of the detecting module is that the second value is less than the first value
  • a two-dimensional code display module configured to display the two-dimensional code, so that the authorization server receives an increase request sent by a private account for adding the second value, and performs the second value according to the increase request.
  • the authorization server receives an increase request sent by a private account for adding the second value, and performs the second value according to the increase request.
  • the second value included in the home account is increased, and the private account is an account that is logged in according to the account login interface in the two-dimensional code.
  • the terminal further includes:
  • a prompt receiving module configured to receive prompt information sent by the authorization server, where the prompt information is used to indicate that the second value is smaller than the first value;
  • a two-dimensional code generating module configured to generate a two-dimensional code according to the transfer request and the account login interface when the prompt receiving module receives the prompt information
  • a two-dimensional code display module configured to display the two-dimensional code, so that the authorization server receives an increase request sent by a private account for adding the second value, and performs the second value according to the increase request.
  • the authorization server receives an increase request sent by a private account for adding the second value, and performs the second value according to the increase request.
  • the second value included in the home account is increased, and the private account is an account that is logged in according to the account login interface in the two-dimensional code.
  • the terminal further includes:
  • Re-detecting module configured to re-execute the step of detecting whether the second value is not less than the first value at a predetermined time
  • the predetermined time is a time when a time after displaying the two-dimensional code reaches a predetermined time length, or the predetermined time is when the message indicating that the second value is changed is received. time.
  • the terminal further includes:
  • a sending module configured to send an unbinding relationship request to the server, where the unbinding relationship request includes an ID of the home account and an ID of the terminal, so that the server receives the The binding relationship request is released, and the binding relationship between the home account and the terminal is released according to the unbinding relationship request.
  • a server includes:
  • a first receiving module configured to receive information about a target item sent by the terminal, and an ID of the terminal, where the terminal is bound with a home account, the home account includes at least one private account, and the information of the target item includes the a first value corresponding to the target item and an account ID corresponding to the target item;
  • a querying module configured to query, according to the ID of the terminal received by the first receiving module, an ID of the home account bound to the terminal;
  • a transfer generation module configured to generate a transfer request according to the information of the target item received by the first receiving module and the ID of the home account queried by the query module;
  • a transfer sending module configured to send, to the terminal, a transfer request generated by the transfer generation module, so that the terminal sends the transfer request to an authorization server; after receiving the transfer request, the authorization server is configured to The second value included in the home account is decreased by the first value, and the first value is added to a third value included in the account corresponding to the target item.
  • the server further includes:
  • the server further includes:
  • the de-receiving module is configured to receive an unbinding relationship request sent by the terminal or another terminal, where the de-binding relationship request includes an ID of the home account and an ID of the terminal;
  • a releasing module configured to cancel the binding relationship between the home account and the terminal according to the unbinding relationship request received by the de-receiving module.
  • an authorization server includes: a transfer receiving module, configured to receive a transfer request sent by a terminal, where the transfer request includes information of a target item and an ID of a home account The information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item;
  • a transfer module configured to reduce the first value from a second value included in the home account according to a transfer request received by the transfer receiving module, and add the first value to an account corresponding to the target item Including the third value;
  • the terminal is bound with a home account, and the home account includes at least one private account; the transfer request is performed by the terminal after receiving the selection signal of the target item, and the information of the target item is The ID of the terminal is sent to the server; the server queries the ID of the home account bound to the terminal according to the ID of the terminal, and then generates the identifier according to the information of the target item and the ID of the home account. Transferring the request, and sending the transfer request to the terminal; after receiving the transfer request, the terminal forwards the request to the authorization server.
  • the authorization server further includes:
  • a query receiving module configured to receive a query request sent by the terminal, where the query request is used to query the second value included in the home account;
  • a first query module configured to query the second value included in the home account according to the query request received by the query receiving module
  • a value sending module configured to send the second value that is queried by the first query module to the terminal, so that the terminal detects whether the second value is not less than the first value, if the detecting As a result, if the second value is smaller than the first value, a two-dimensional code is generated according to the transfer request and the account login interface, and the two-dimensional code is displayed.
  • the authorization server further includes:
  • a second query module configured to query a second value included in the home account according to the transfer request
  • a detecting module configured to detect whether the second value queried by the second query module is smaller than the second
  • a prompt sending module configured to send prompt information to the terminal when the detection result of the detecting module is that the second value is smaller than the first value, where the prompt information is used to indicate that the second value is smaller than The first value is described, so that after receiving the prompt information, the terminal generates a two-dimensional code according to the transfer request and the account login interface, and displays the two-dimensional code.
  • the authorization server further includes:
  • a receiving module configured to receive an increase request sent by the private account for adding the second value, where the increase request is used to increase a second value included in the home account, where the private account is according to the An account registered in the account login interface in the two-dimensional code;
  • an adding module configured to increase the second value according to the increase request received by the increase request receiving module
  • a change sending module configured to send, to the terminal, a message indicating that the second value is changed after the adding module adds the second value.
  • a request processing system comprising the terminal according to the fourth aspect, the server according to the fifth aspect, and the authorization server according to the sixth mode;
  • the terminal and the server are connected by a wired or wireless network, and the terminal and the authorization server are connected by a wired or wireless network.
  • the server Sending the information of the target item and the ID of the terminal to the server through the terminal bound with the home account, the server queries the ID of the home account bound to the terminal according to the ID of the terminal, and then according to the ID of the home account and the target item.
  • the information generation transfer request wherein the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item.
  • the server sends the generated transfer request to the terminal, so that the terminal sends the transfer request to the authorization server; after receiving the transfer request, the authorization server reduces the first value from the second value included in the home account according to the transfer request, and Adding the first value to the third value included in the account corresponding to the target item; since the terminal is bound with the home account, each family member using the terminal can use the second value in the home account to perform the target item Redemption, which solves the problem that other family members cannot complete the redemption process, and achieves the effect that all members of the family can complete the redemption process without switching to their own private account.
  • FIG. 1 is a flowchart of a method for request processing according to an exemplary embodiment
  • FIG. 2 is a flowchart of a method for request processing according to an exemplary embodiment
  • FIG. 3 is a block diagram showing a request processing system according to an exemplary embodiment
  • FIG. 4 is a block diagram showing a request processing system according to an exemplary embodiment
  • FIG. 5 is a block diagram showing the structure of an electronic device according to an exemplary embodiment
  • FIG. 6 is a structural block diagram of a server or an authorization server according to an exemplary embodiment. detailed description
  • terminals can be: smart TVs, smartphones, tablets, e-book readers,
  • MP3 player (Moving Picture Experts Group Audio Layer III, Motion Picture Experts Compress Standard Audio Level 3), MP4 (Moving Picture Experts Group Audio Layer IV), player, laptop portable computer and Desktop computers and more.
  • FIG. 1 illustrates a method flowchart of a request processing method provided by an embodiment of the present disclosure.
  • the request processing method includes:
  • Step 101 The terminal receives a selection signal of the target item.
  • the terminal receives a selection signal of the target item; the terminal is bound to a home account, and the home account includes at least one private account.
  • Step 102 The terminal sends the information of the target item and the ID of the terminal to the server.
  • the terminal sends the information of the target item and the ID of the terminal to the server, where the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item;
  • the server receives the information of the target item sent by the terminal and the ID of the terminal.
  • Step 103 The server queries an ID of the home account bound to the terminal according to the ID of the terminal.
  • the server After receiving the ID of the terminal sent by the terminal, the server queries the ID of the home account bound to the terminal according to the ID of the terminal.
  • Step 104 The server generates a transfer request according to the information of the target item and the ID of the home account. After querying the ID of the home account bound to the terminal, the server generates a transfer request according to the information of the target item and the ID of the home account.
  • Step 105 The server sends a transfer request to the terminal.
  • the server transmits to the terminal a transfer request generated based on the information of the target item and the ID of the home account; correspondingly, the terminal receives the transfer request.
  • Step 106 The terminal sends a transfer request to the authorization server.
  • the terminal After receiving the transfer request, the terminal sends the transfer request to the authorization server; correspondingly, the authorization server receives the transfer request.
  • Step 107 The authorization server decreases the first value from the second value included in the family account according to the transfer request, and adds the first value to the third value included in the account corresponding to the target item;
  • the authorization server After receiving the transfer request, the authorization server reduces the first value from the second value included in the home account according to the transfer request, and increases the first value to the third value included in the account corresponding to the target item.
  • the request processing method sends the information of the target item and the ID of the terminal to the server through the terminal bound to the home account, and the server queries the terminal to be bound according to the ID of the terminal.
  • the ID of the home account is further generated according to the ID of the home account and the information of the target item, wherein the information of the target item includes the first value corresponding to the target item and the account ID corresponding to the target item.
  • the server sends the generated transfer request to the terminal, so that the terminal sends the transfer request to the authorization server; after receiving the transfer request, the authorization server reduces the first value from the second value included in the home account according to the transfer request, and Adding the first value to the third value included in the account corresponding to the target item; since the terminal is bound with the home account, each family member using the terminal can use the first value in the home account to perform the target item Redemption, which solves the problem that other family members cannot complete the redemption process, and achieves the effect that all members of the family can complete the redemption process without switching to their own private account.
  • each of the above numerical values is an example, and the television is used as a home device and can be used by a family member. Then, when family members use TV to watch programs that need to be redeemed for a certain amount of points, they involve points and accounts, which is often cumbersome to deal with.
  • Embodiments of the present disclosure establish a home account including at least one private account, and bind the home account and the television in advance, so that any member of the family can watch some programs that need to be redeemed for a certain amount of money to play. You can use your home account to complete the redemption process.
  • FIG. 2 shows a flowchart of a method for request processing according to another embodiment of the present disclosure.
  • the request processing method includes:
  • Step 201 The terminal sends the ID of the home account and the ID of the terminal to the server.
  • the terminal transmits the ID of the home account and the ID of the terminal to the server, the home account including at least one private account.
  • a family account is an account that is used publicly by the family, and a private account is a personal account of a family member.
  • the home account information may include an ID, an account name, a second value, and personal account information of at least one family member; the personal account information of the family member may include an ID, an account name, and a corresponding fourth value.
  • the second value in the household account and the corresponding fourth value in the personal account are the integral values.
  • the ID number of the terminal is used to uniquely identify the terminal.
  • the ID of the home account and the ID of the terminal itself need to be sent to the server, so that the server binds the home account and the terminal.
  • a family of Li surnames has a total of three family members, namely Li Dad, Li Ma and Li Li, and Li Dad, Li Ma and Li Li have their own personal accounts, and Li Dad’s personal account is used as a family account.
  • the family account includes personal accounts of Li Mama and Li Son.
  • the server receives the ID of the home account sent by the terminal and the ID of the terminal.
  • Step 202 The server binds the home account and the terminal.
  • the server After receiving the ID of the home account and the ID of the terminal sent by the terminal, the server binds the home account and the terminal, that is, establishes a correspondence between the home account and the terminal. For example, the server associates the family account of the above-mentioned family of Li with its television.
  • Step 203 The terminal receives a selection signal for the target item.
  • the terminal receives a selection signal of the user for the target item. For example, if the son of Li in the family of Li wants to watch a TV program, he can select the TV program on the TV screen, and the TV receives the selection signal.
  • Step 204 The terminal sends the information of the target item and the ID of the terminal to the server.
  • the terminal After receiving the selection signal of the target item, the terminal acquires the information of the target item, and sends the information of the target item and the ID of the terminal to the server, where the information of the target item includes the first value corresponding to the target item and the target item.
  • the corresponding account ID After receiving the selection signal of the target item, the terminal acquires the information of the target item, and sends the information of the target item and the ID of the terminal to the server, where the information of the target item includes the first value corresponding to the target item and the target item. The corresponding account ID.
  • the TV program that Li’s son wants to watch is provided by X Cool, and needs to be deducted 50 points to watch. That is, the first value corresponding to the television program is 50, and the account ID corresponding to the television program is the account ID of X Cool.
  • the server receives the information of the target item sent by the terminal and the ID of the terminal.
  • Step 205 The server queries, according to the ID of the terminal, an ID of the home account bound to the terminal.
  • the server may query the ID of the home account bound to the terminal from the pre-stored correspondence according to the ID of the terminal.
  • the pre-stored correspondence is a binding relationship between the terminal established by the server and the home account.
  • the ID of the home account that the server queries to bind to the TV is the ID of the family account of the family of Li.
  • Step 206 The server generates a transfer request according to the information of the target item and the ID of the home account. After querying the ID of the home account bound to the terminal, the server checks the information of the target item and according to the received target item. The information and the ID of the queried home account generate a transfer request.
  • the transfer request includes the first value, the ID of the account corresponding to the target item, and the ID of the queried home account bound to the terminal.
  • the server After querying the ID of the family account of the family of Li who is bound to the TV, the server checks the information of the television program and generates a transfer according to the information of the received television program and the ID of the family account of the family of Li. request.
  • Step 207 The server sends a transfer request to the terminal.
  • the server sends the transfer request to the terminal after generating the transfer request, so that the terminal sends the transfer request to the authorization server.
  • the server sends the transfer request to the television.
  • the terminal receives the transfer request sent by the server.
  • Step 208 The terminal sends a query request to the authorization server.
  • the terminal After receiving the transfer request sent by the server, the terminal first detects whether the second value included in the home account is not less than the first value, and then performs subsequent steps according to the detection result. To detect whether the second value included in the home account is not less than the first value, firstly, the size of the second value is obtained, so the terminal sends a query request to the authorization server, and the query request is used to query the second account included in the home account. Value.
  • the television after receiving the transfer request sent by the server, the television sends a request to the authorization server to query the second value in the home account bound to the television. That is, the size of the second value in the family account of the family of Li is queried.
  • the authorization server receives the query request sent by the terminal.
  • Step 209 The authorization server queries the second value included in the home account according to the query request.
  • the authorization server pre-stores the information of the second value of the home account, and queries the second value after receiving the query request sent by the terminal.
  • the authorization server After receiving the request for querying the second value in the family account of the family of Li, the authorization server queries the size of the second value, assuming that the size of the second value is 70.
  • Step 210 The authorization server sends the queried second value to the terminal.
  • the authorization server sends the queried second value to the terminal, so that the terminal detects whether the second value is not less than the first value.
  • the authorization server sends the size 70 of the second value in the queried home account to the television.
  • the terminal receives the second value sent by the authorization server.
  • Step 21 The terminal detects whether the second value is not less than the first value
  • the terminal After receiving the second value sent by the authorization server, the terminal detects whether the second value is not less than the first value.
  • the second value 70 in the home account queried by the television test is not less than the value 50 corresponding to the television program that the son of Li wants to watch.
  • step 212 If the detection result is that the second value is not less than the first value, proceed to step 212;
  • step 214 If the detection result is that the second value is less than the first value, proceed to step 214;
  • the terminal may also directly send the transfer request to the authorization server after receiving the transfer request sent by the server, and the authorization server queries the second account included in the home account according to the transfer request. And determining whether the second value is smaller than the first value. If the detection result of the authorization server is that the second value is smaller than the first value, the authorization server sends the prompt information to the terminal, where the prompt information is used to indicate that the second value is smaller than the first value. Correspondingly, the terminal receives the prompt information sent by the authorization server, and proceeds to the step. 214. If the detection result of the authorization server is that the second value is not less than the first value, proceed to step 213.
  • Step 212 The terminal sends a transfer request to the authorization server.
  • the terminal sends a transfer request to the authorization server, so that the authorization server reduces the first value from the second value included in the home account after receiving the transfer request, and The first value is added to the third value included in the account corresponding to the target item.
  • the television sends a transfer request to the authorization server, so that the authorization server reduces the Li from the second value 70 included in the family account of the Li family.
  • the value of the TV program to be watched by the son corresponds to 50, and the value 50 corresponding to the television program is added to the third value included in the X-cool account corresponding to the television program.
  • the authorization server receives the transfer request sent by the terminal.
  • Step 213 The authorization server decreases the first value from the second value included in the family account according to the transfer request, and adds the first value to the third value included in the account corresponding to the target item;
  • the authorization server after receiving the transfer request sent by the television, the authorization server reduces the first value 50 corresponding to the television program to be watched by the son of Li from the second value 70 included in the family account of the family name of Li, and sets the first value 50. Added to the third value included in the X Cool account corresponding to the TV show.
  • Step 214 The terminal generates a two-dimensional code according to the transfer request and the account login interface.
  • the terminal If the detection result of the terminal is that the second value is smaller than the first value, the terminal generates a two-dimensional code according to the transfer request and the account login interface.
  • the detection result of the terminal in step 21 1 is that the second value 30 is less than the first value 50
  • the television logs in according to the transfer request and the account.
  • the interface generates a two-dimensional code, so that the user scans the two-dimensional code by using the television or other terminal device, and logs in the personal account on the account login interface to complete the subsequent transfer operation of the transfer request.
  • the terminal does not go through steps 208 to 21 1, that is, after receiving the transfer request sent by the server, the transfer request is directly sent to the authorization server, and the authorization server queries the second value included in the home account according to the transfer request and It is detected whether the second value is smaller than the first value.
  • the authorization server sends a prompt message to the terminal when detecting that the second value is less than the first value; after receiving the prompt information, the terminal generates a two-dimensional code according to the transfer request and the account login interface.
  • Step 215 The terminal displays a two-dimensional code.
  • the terminal displays the two-dimensional code, so that the user scans the two-dimensional code by using the terminal or other terminal, logs in the user's private account through the account login interface in the two-dimensional code, and interacts with the user account through the private account and the authorization server.
  • the second value is incremented.
  • the TV displays the QR code so that Li son scans the QR code using a mobile phone or other terminal device, logs in to Li’s private account in the account login interface included in the QR code, and passes his own private account and authorization server. The interaction increases the second value in the household account.
  • Step 216 The terminal logs in to the private account according to the two-dimensional code, and sends the private account to the authorization server for sending Add a second value increase request;
  • the terminal scans the two-dimensional code, logs in the private account on the account login interface in the two-dimensional code, and sends an increase request to the authorization server through the private account.
  • the increase request is used to increase a second value included in the home account carried in the transfer request carried in the two-dimensional code
  • the private account is an account that is logged in according to the account login interface in the two-dimensional code, and the private account may be
  • the private account in the home account may also be another account; after receiving the increase request sent by the private account, the authorization server increases the second value according to the increase request, and sends the second value after the increase to the terminal.
  • the message of the change is used to increase a second value included in the home account carried in the transfer request carried in the two-dimensional code, and the private account is an account that is logged in according to the account login interface in the two-dimensional code, and the private account may be
  • the authorization server increases the second value according to the increase request, and sends the second value after the increase to the terminal.
  • Li’s son scans the two-dimensional code through the external scanning device of the television. After receiving the scanned two-dimensional code, the television displays the account registration included in the two-dimensional code on the screen. Interface, Li son logs in his private account on the account login interface, and sends an increase request for adding a second value to the authorization server via the television according to the transfer request included in the QR code, the increase request will be the personal of the son of Li The corresponding fourth value in the account is added to the second value of the home account.
  • the authorization server After receiving the increase request sent by Li's private account, the authorization server increases the second value according to the increase request, and after the increase, sends a message to the terminal indicating that the second value has changed.
  • the message indicating that the second value changes carries the size information of the second value.
  • the user can also scan the two-dimensional code using a terminal device other than the terminal, such as a smartphone or a tablet. After scanning the two-dimensional code, the user logs in the user's own private account on the account login interface in the two-dimensional code, and sends an increase request for increasing the second value to the authorization server according to the transfer request included in the two-dimensional code. The increase request adds a corresponding fourth value in the user's private account to the second value of the home account.
  • the authorization server After receiving the increase request sent by the user's private account, the authorization server increases the second value according to the increase request, and after the increase, sends a message to the terminal indicating that the second value has changed.
  • the message indicating that the second value changes carries the size information of the second value.
  • the authorization server receives an increase request sent by the private account for increasing the second value.
  • Step 217 the authorization server increases the second value according to the increase request
  • the authorization server increments the second value after receiving the increase request sent by the private account for increasing the second value.
  • the authorization server transfers the corresponding fourth value in the private account of the son to the second value of the family account according to the increase request. in.
  • Step 218 After the second value is increased, the authorization server sends a message to the terminal to indicate that the second value changes.
  • the message indicating that the second value is changed carries the size information of the second value, and after receiving the message indicating that the second value is changed, the terminal detects whether the second value is not less than the first value.
  • the authorization server sends a message to the television indicating that the second value has changed, and the second value is changed.
  • the changed message includes the magnitude of the value after the second value is changed, and in general, the second value after the change is usually not less than the first value.
  • Step 219 The terminal re-detects whether the second value is not less than the first value at a predetermined time
  • the predetermined time is a time when the time after the two-dimensional code is displayed reaches a predetermined time length, or the predetermined time is a time when the message indicating that the second value is changed is received.
  • the television re-detects whether the second value is not less than the first value.
  • step 212 If the detection result is that the second value is not less than the first value, proceed to step 212;
  • step 214 If the detection result is that the second value is less than the first value, proceed to step 214;
  • Step 220 The terminal sends an unbinding relationship request to the server.
  • the terminal sends an unbinding relationship request to the server, and the unbinding relationship request includes the ID of the home account and the ID of the terminal, so that the server receives the unbinding sent by the terminal.
  • the relationship request cancels the binding relationship between the home account and the terminal according to the unbinding relationship request.
  • the binding relationship between the TV and the family account needs to be cancelled, and the family of the surname Li can send a request for unbinding the relationship to the server through the television, and the request for releasing the binding relationship includes the Li.
  • the ID of the family account of the family name and the ID of the TV so that the server releases the binding relationship between the two according to the ID of the home account and the ID of the television.
  • the family of Li surnames can also send a request to release the binding relationship to the server through the other terminal, and the server receives the request.
  • the binding relationship between the two can be released, so that in the event that the terminal used by the user is lost, The user can also easily complete the process of releasing the binding relationship between the two, and ensure the security of the user's home account.
  • the server receives the unbinding relationship request sent by the terminal.
  • Step 221 The server cancels the binding relationship between the home account and the terminal according to the unbinding relationship request. For example, after receiving the unbinding relationship request sent by the television, the server cancels the relationship between the TV and the family account of the family named Li. Binding relationship.
  • the request processing method sends the information of the target item and the ID of the terminal to the server through the terminal bound to the home account, and the server queries the terminal to be bound according to the ID of the terminal.
  • the ID of the home account is further generated according to the ID of the home account and the information of the target item, wherein the information of the target item includes the first value corresponding to the target item and the account ID corresponding to the target item.
  • the server sends the generated transfer request to the terminal, so that the terminal sends the transfer request to the authorization server; after receiving the transfer request, the authorization server reduces the first value from the second value included in the home account according to the transfer request, and Adding the first value to the third value included in the account corresponding to the target item; and reducing the first value in the second value included in the home account from the authorization server, and adding the first value to the target item Before the step of the third value included in the account, the terminal and the authorization server interact to complete the size comparison process between the first value and the second value. If the second value is not less than the first value, the execution is sent to the authorization server.
  • the embodiment of the present disclosure also sends an unbinding relationship request for releasing the binding relationship between the terminal and the home account to the server through the other terminal when the terminal is lost. It solves the problem that if the terminal sends the loss, it may bring losses to the user; it achieves the effect of ensuring the security of the home account as much as possible.
  • FIG. 3 shows a block diagram of a request processing system provided by an embodiment of the present disclosure.
  • the request processing system includes a terminal 310, a server 320, and an authorization server 330.
  • the terminal 310 includes a requesting device, and the requesting device includes:
  • the receiving module 311 is configured to receive a selection signal for the target item.
  • the first sending module 312 is configured to send information about the target item corresponding to the selection signal received by the selection receiving module 31 1 and an ID of the terminal to the server, so that the server queries and searches according to the ID of the terminal.
  • the transfer receiving module 313 is configured to receive a transfer request sent by the server.
  • a transfer sending module 314, configured to send, to the authorization server, a transfer request received by the transfer receiving module, so that the authorization server reduces the second value included in the home account after receiving the transfer request
  • the first value is added to the third value included in the account corresponding to the target item.
  • the server 320 includes a service device, and the service device includes:
  • the first receiving module 321 is configured to receive information about a target item sent by the terminal and an ID of the terminal, where the terminal is bound with a home account, the home account includes at least one private account, and the information of the target item includes The first value corresponding to the target item and the account ID corresponding to the target item.
  • the querying module 322 is configured to query an ID of the home account bound to the terminal according to the ID of the terminal received by the first receiving module 321 .
  • the transfer generation module 323 is configured to generate a transfer request according to the information of the target item received by the first receiving module 321 and the ID of the home account queried by the query module 322.
  • a transfer sending module 324 configured to send, to the terminal, a transfer request generated by the transfer generation module, to And the terminal sends the transfer request to the authorization server; after receiving the transfer request, the authorization server reduces the first value from the second value included in the home account, and the first The value is added to the third value included in the account corresponding to the target item.
  • the authorization server 330 includes an authorization device, and the authorization device includes:
  • the transfer receiving module 331 is configured to receive a transfer request sent by the terminal, where the transfer request includes information of the target item and an ID of the home account, where the information of the target item includes the first value corresponding to the target item and the target item The corresponding account ID.
  • the transfer module 332 is configured to reduce the first value from the second value included in the home account according to the transfer request received by the transfer request receiving module 331, and add the first value to the target item
  • the corresponding account includes the third value.
  • the terminal is bound with a home account, and the home account includes at least one private account; the transfer request is performed by the terminal after receiving the selection signal of the target item, and the information of the target item is The ID of the terminal is sent to the server; the server queries the ID of the home account bound to the terminal according to the ID of the terminal, and then generates the information according to the information of the target item and the ID of the home account. Transferring the request, and sending the transfer request to the terminal; after receiving the transfer request, the terminal forwards the request to the authorization server.
  • the request processing system sends the information of the target item and the ID of the terminal to the server through the terminal bound with the home account, and the server queries the terminal to be bound according to the ID of the terminal.
  • the ID of the home account is further generated according to the ID of the home account and the information of the target item, wherein the information of the target item includes the first value corresponding to the target item and the account ID corresponding to the target item.
  • the server sends the generated transfer request to the terminal, so that the terminal sends the transfer request to the authorization server; after receiving the transfer request, the authorization server reduces the first value from the second value included in the home account according to the transfer request, and Adding the first value to the third value included in the account corresponding to the target item; since the terminal is bound with the home account, each family member using the terminal can use the first value in the home account to perform the target item Redemption, which solves the problem that other family members cannot complete the redemption process, and achieves the effect that all members of the family can complete the redemption process without switching to their own private account.
  • FIG. 4 shows a block diagram of a request processing system provided by another embodiment of the present disclosure.
  • the request processing system includes a terminal 410, a server 430, and an authorization server 450.
  • the terminal 410 includes a requesting device, and the requesting device includes:
  • the second sending module 411 is configured to send the ID of the home account and the ID of the terminal to the server, so that the server binds the home account and the terminal.
  • the receiving module 412 is configured to receive a selection signal for the target item.
  • the first sending module 413 is configured to send the information of the target item corresponding to the selection signal received by the selection receiving module 412 and the ID of the terminal to the server, so that the server queries and locates according to the ID of the terminal. Describe the ID of the home account bound by the terminal, and according to the information of the target item and the ID of the home account A transfer request is generated, and the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item.
  • the transfer receiving module 414 is configured to receive a transfer request sent by the server.
  • the query sending module 415 is configured to send a query request to the authorization server, where the query request is used to query the second value included in the home account;
  • a value receiving module 416 configured to receive the second value sent by the authorization server
  • the detecting module 417 is configured to detect whether the second value received by the value receiving module 416 is not less than the first value
  • the transfer sending module 418 is configured to: when the detection result of the detecting module 416 is that the second value is not less than the first value, send the transfer request received by the transfer request receiving module 414 to the authorization server, so as to After receiving the transfer request, the authorization server reduces the first value from a second value included in the home account, and adds the first value to a third number included in an account corresponding to the target item. In the value.
  • the two-dimensional code generating module 419 is configured to: when the detection result of the detecting module 417 is that the second value is smaller than the first value, generate a two-dimensional code according to the transfer request and the account login interface;
  • the two-dimensional code display module 420 is configured to display the two-dimensional code generated by the two-dimensional code generating module 419, so that the authorization server receives an increase request sent by the private account for increasing the second value, and according to the Adding a request to increase the second value, and transmitting, after the adding, a message indicating that the second value is changed to the terminal; wherein the adding request is used to carry the information carried in the two-dimensional code
  • the second value included in the home account carried in the transfer request is increased, and the private account is an account that is logged in according to the account login interface in the two-dimensional code.
  • the prompt receiving module 421 is configured to receive prompt information sent by the authorization server, where the prompt information is used to indicate that the second value is smaller than the first value.
  • the two-dimensional code generating module 419 is configured to generate a two-dimensional code according to the transfer request and the account login interface when the prompt receiving module receives the prompt information;
  • the sending module 422 is configured to send an increase request to the authorization server according to the two-dimensional code displayed by the two-dimensional code display module 421, where the increase request is used in the transfer request carried in the two-dimensional code.
  • the second value included in the household account carried is increased.
  • the change receiving module 423 is configured to receive a message sent by the authorization server to indicate that the second value is changed.
  • a re-detection module 424 configured to re-execute the step of detecting whether the second value is not less than the first value at a predetermined time; wherein the predetermined time is a time after the display of the two-dimensional code reaches a predetermined time The time when the time length is, or the predetermined time is the time when the message indicating the change of the second value is received.
  • the undelete module 425 is configured to send an unbinding relationship request to the server, where the unbinding relationship is closed.
  • the request includes the ID of the home account and the ID of the terminal, so that the server receives the unbinding relationship request sent by the terminal, and requests to release the home account and the Binding relationship of the terminal.
  • the server 430 includes a service device, and the service device includes:
  • a second receiving module 431, configured to receive an ID of the home account sent by the terminal, and the terminal
  • the binding module 432 is configured to bind the home account received by the second receiving module 431 to the terminal.
  • the first receiving module 433 is configured to receive information about a target item sent by the terminal and an ID of the terminal, where the terminal is bound with a home account, the home account includes at least one private account, and the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item;
  • the querying module 434 is configured to query, according to the ID of the terminal received by the first receiving module 433, the ID of the home account bound to the terminal in a relationship bound by the binding module 432. ;
  • a transfer generation module 435 configured to generate a transfer request according to the information of the target item received by the first receiving module 433 and the ID of the home account queried by the query module 434;
  • a transfer sending module 436 configured to send, to the terminal, a transfer request generated by the transfer generation module 435, so that the terminal sends the transfer request to an authorization server; after receiving the transfer request, the authorization server And decreasing, by the second value included in the household account, the first value, and adding the first value to a third value included in an account corresponding to the target item.
  • the un-receiving module 437 is configured to receive an unbinding relationship request sent by the terminal or another terminal, where the unbinding relationship request includes an ID of the home account and an ID of the terminal;
  • the releasing module 438 is configured to cancel the binding relationship between the home account and the terminal according to the unbinding relationship request received by the de-receiving module 437.
  • the authorization server 450 includes an authorization device, and the authorization device includes:
  • the query receiving module 451 is configured to receive a query request sent by the terminal, where the query request is used to query the second value included in the home account;
  • the first query module 452 is configured to query, according to the query request received by the query request receiving module 451, the second value included in the home account;
  • the value sending module 453 is configured to send the second value that is queried by the first query module 452 to the terminal, so that the terminal detects whether the second value is not less than the first value. If the detection result is that the second value is smaller than the first value, a two-dimensional code is generated according to the transfer request and the account login interface, and the two-dimensional code is displayed.
  • the transfer receiving module 454 is configured to receive a transfer request sent by the terminal, where the transfer request includes information of the target item and an ID of the home account, where the information of the target item includes the first value corresponding to the target item and the target item Corresponding account ID;
  • the transfer module 455 is configured to reduce the first value from the second value included in the home account according to the transfer request received by the transfer request receiving module 454, and add the first value to the target item The third value included in the corresponding account;
  • the terminal is bound with a home account, and the home account includes at least one private account; the transfer request is performed by the terminal after receiving the selection signal of the target item, and the information of the target item is The ID of the terminal is sent to the server; the server queries the ID of the home account bound to the terminal according to the ID of the terminal, and then generates the information according to the information of the target item and the ID of the home account. Transferring the request, and sending the transfer request to the terminal; after receiving the transfer request, the terminal forwards the request to the authorization server.
  • a second query module 456, configured to query, according to the transfer request received by the transfer receiving module 454, a second value included in the home account;
  • the detecting module 457 is configured to detect whether the second value queried by the second query module 456 is smaller than the first value
  • the prompt sending module 458 is configured to send prompt information to the terminal when the detection result of the detecting module 457 is that the second value is smaller than the first value, where the prompt information is used to indicate the second value The second value is smaller than the first value, so that the terminal generates a two-dimensional code according to the transfer request and the account login interface after receiving the prompt information, and displays the two-dimensional code.
  • the receiving module 459 is configured to receive an increase request sent by the private account for adding the second value, where the increase request is used to increase a second value included in the home account, where the private account is based on An account registered in the account login interface in the two-dimensional code;
  • the adding module 460 is configured to increase the second value according to the increase request received by the increase receiving module 459;
  • the change sending module 461 is configured to send, after the adding module 460 adds the second value, a message indicating that the second value is changed to the terminal.
  • the request processing system sends the information of the target item and the ID of the terminal to the server through the terminal bound with the home account, and the server queries the terminal to be bound according to the ID of the terminal.
  • the ID of the home account is further generated according to the ID of the home account and the information of the target item, wherein the information of the target item includes the first value corresponding to the target item and the account ID corresponding to the target item.
  • the server sends the generated transfer request to the terminal, so that the terminal sends the transfer request to the authorization server; after receiving the transfer request, the authorization server reduces the first value from the second value included in the home account according to the transfer request, and Adding the first value to the third value included in the account corresponding to the target item; and decreasing the first value in the second value included in the home account from the authorization server, and adding the first value to the account corresponding to the target item.
  • the terminal and the authorization server interact to complete the size comparison process between the first value and the second value, and if the second value is not less than the first value, perform a transfer request to the authorization server.
  • the two-dimensional code is such that the user uses the terminal or other terminal to perform an interaction with the authorization server to complete the increase of the second value according to the two-dimensional code, and then performs a step of detecting again whether the second value is not less than the first value. Since the terminal is bound with a home account, each family member who uses the terminal can use the first value in the home account to redeem the target item, thereby solving the problem that other family members cannot complete the redemption process. All members of the family can complete the redemption process without switching to their own private account.
  • the embodiment of the present disclosure also sends an unbinding relationship request for releasing the binding relationship between the terminal and the home account to the server through the other terminal when the terminal is lost. It solves the problem that if the terminal sends the loss, it may bring losses to the user; it achieves the effect of ensuring the security of the home account as much as possible.
  • the request processing system provided in the above embodiment is only illustrated by the division of the foregoing functional modules when processing the request. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the system is divided into different functional modules to perform all or part of the functions described above.
  • the request processing system and the request processing method embodiment are provided in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • FIG. 5 is a structural block diagram of an electronic device according to an embodiment of the present disclosure.
  • An electronic device is used to implement the request processing method provided in the above embodiments.
  • An electronic device in an embodiment of the present disclosure may include one or more of the following components: a processor for executing computer program instructions to perform various processes and methods, for information and storage program instructions, random access memory (RAM), and Read-only memory (ROM), a memory for storing data and information, a database for storing tables, directories or other data structures, I/O devices, interfaces, antennas, etc.
  • RAM random access memory
  • ROM Read-only memory
  • a memory for storing data and information
  • a database for storing tables, directories or other data structures
  • I/O devices interfaces, antennas, etc.
  • the electronic device 500 may include an RF (Radio Frequency) circuit 510, a memory 520 including one or more computer readable storage media, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, and a short-range wireless transmission module. 570.
  • a processor 580 having one or more processing cores, and a power source 590 and the like. It will be understood by those skilled in the art that the structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device, and may include more or less components than those illustrated, or combine some components, or different component arrangements. .
  • the electronic device when it is a television, it may include only an RF (Radio Frequency) circuit 510, a memory 520 including one or more computer-readable storage media, a display unit 540, an audio circuit 560, and a short-range wireless transmission module. 570.
  • a processor 580 having one or more processing cores, a power supply 590, and the like. among them:
  • the RF circuit 510 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, receiving downlink information of the base station, and then processing it by one or more processors 580; in addition, transmitting uplink data to the base station .
  • the RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • SIM Subscriber Identity Module
  • RF circuitry 510 can also communicate with the network and other devices via wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service, CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail , SMS (Short Messaging Service, short message service) and so on.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service, short message service
  • Memory 520 can be used to store software programs as well as modules.
  • the processor 580 is stored in the memory by running
  • the memory 520 may mainly 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 (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the electronic device 500 (such as audio data, phone book, etc.) and the like.
  • memory 520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 520 may also include a memory controller to provide access to memory 520 by processor 580 and input unit 530.
  • Input unit 530 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 530 can include touch-sensitive surface 531 and other input devices 532.
  • a touch-sensitive surface 531 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any suitable object or accessory on the touch-sensitive surface 531 or The operation near the touch-sensitive surface 531) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 531 can include both a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 580 is provided and can receive commands from the processor 580 and execute them.
  • the touch sensitive surface 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 530 can also include other input devices 532.
  • other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 540 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of electronic device 500, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 540 may include a display panel 541.
  • the display panel 541 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 531 can be overlaid on the display panel 541, and when the touch-sensitive surface 531 detects a touch operation thereon or nearby, it is transmitted to the processor 580 to determine the type of touch event, which is then processed.
  • the 580 provides a corresponding visual output on the display panel 541 depending on the type of touch event.
  • touch-sensitive surface 531 and display panel 541 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 531 can be integrated with display panel 541 for input. And output function.
  • Electronic device 500 may also include at least one type of sensor 550, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor may close the display panel 541 when the electronic device 500 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the acceleration of each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the electronic device 500 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • An audio circuit 560, a speaker 561, and a microphone 562 provide an audio interface between the user and the electronic device 500.
  • the audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561, and convert it into a sound signal output by the speaker 561.
  • the microphone 562 converts the collected sound signal into an electrical signal, and the audio circuit 560 is used by the audio circuit 560. After receiving, it is converted into audio data, and then processed by the audio data output processor 580, transmitted to another electronic device via the RF circuit 510, or outputted to the memory 520 for further processing.
  • the audio circuit 560 may also include an earbud jack to provide communication of the peripheral earphones with the electronic device 500.
  • the short-range wireless transmission module 570 can be a WIFI (wireless fidelity) module or a Bluetooth module.
  • the electronic device 500 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the short-range wireless transmission module 570, which provides users with wireless broadband Internet access.
  • FIG. 5 shows the short-range wireless transmission module 570, it can be understood that it does not belong to the essential configuration of the electronic device 500, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 580 is a control center of the electronic device 500 that connects various portions of the entire electronic device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 520, and recalling stored in the memory 520.
  • the processor 580 may include one or more processing cores.
  • the processor 580 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may also not be integrated into the processor 580.
  • the electronic device 500 further includes a power source 590 (such as a battery) for supplying power to the various components.
  • a power source 590 (such as a battery) for supplying power to the various components.
  • the power source can be logically connected to the processor 580 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 590 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the electronic device 500 is a touch screen display.
  • the electronic device 500 includes, in addition to the one or more processors 580, a memory, and one or more modules, one or more of which are stored in the memory and configured to be executed by one or more processors.
  • One or more of the above modules have the following functions - Receiving a selection signal for the target item;
  • the server Sending the information of the target item and the ID of the terminal to the server, so that the server queries the ID of the home account bound to the terminal according to the ID of the terminal, and according to the information of the target item
  • the ID of the home account generates a transfer request, and the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item;
  • Transmitting the transfer request to an authorization server so that the authorization server reduces the first value from a second value included in the home account after receiving the transfer request, and increases the first value to The account corresponding to the target item includes a third value.
  • the method further includes:
  • the ID of the home account and the ID of the terminal are sent to the server, so that the server binds the home account and the terminal.
  • the method further includes:
  • the step of transmitting the transfer request to the authorization server is performed.
  • the method further includes:
  • the detection result is that the second value is smaller than the first value or the prompt information sent by the authorization server is received, generating a two-dimensional code according to the transfer request and the account login interface;
  • the authorization server receives an increase request sent by the private account for increasing the second value, and increases the second value according to the increase request, after the increase Sending, by the terminal, a message indicating that the second value is changed, where the adding request is used to perform a second value included in the home account carried in the transfer request carried in the two-dimensional code
  • the private account is an account that is logged in according to the account login interface in the two-dimensional code.
  • the method further includes:
  • the authorization server receives an increase request sent by the private account for increasing the second value, and increases the second value according to the increase request, after the increase Sending, by the terminal, a message indicating that the second value is changed, where the adding request is used to perform a second value included in the home account carried in the transfer request carried in the two-dimensional code Increase, the private
  • the account is an account that is logged in according to the account login interface in the two-dimensional code.
  • the method further includes:
  • the step of detecting whether the second value is not less than the first value wherein the predetermined time is when the time after displaying the two-dimensional code reaches a predetermined time length Or, the predetermined time is a time when the message indicating that the second value is changed is received.
  • the method further includes:
  • the electronic device provided by the embodiment of the present disclosure sends the information of the target item and the ID of the terminal to the server through the terminal bound with the home account, and the server queries the family bound to the terminal according to the ID of the terminal.
  • the ID of the account is further generated according to the ID of the home account and the information of the target item, wherein the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item.
  • the server sends the generated transfer request to the terminal, so that the terminal sends the transfer request to the authorization server; after receiving the transfer request, the authorization server reduces the first value from the second value included in the home account according to the transfer request, and Adding the first value to the third value included in the account corresponding to the target item; since the terminal is bound with the home account, each family member using the terminal can use the first value in the home account to perform the target item Redemption, which solves the problem that other family members cannot complete the redemption process, and achieves the effect that all members of the family can complete the redemption process without switching to their own private account.
  • the "electronic devices" described in this article can be: TV, smartphone, tablet, e-book reader, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer III) Picture Experts Group Audio Layer IV, Motion Picture Expert compresses standard audio layers 3) Players, laptops and desktop computers, etc.
  • FIG. 6 is a structural block diagram of a server according to another embodiment of the present disclosure.
  • a server in an embodiment of the present disclosure may include one or more of the following components: a central processing unit (CPU) 601, a random access memory (RAM) 602, and a system memory 604 of a read only memory (ROM) 603, and a connection system memory. 604 and system bus 605 of central processing unit 601.
  • the server 600 also includes a basic input/output system (I/O system) 606 that facilitates transfer of information between various devices within the computer, and mass storage for storing the operating system 613, applications 614, and other program modules 615.
  • I/O system basic input/output system
  • Device 607 It will be understood by those skilled in the art that the structure of the server shown in Fig. 6 does not constitute a limitation to the server, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
  • the basic input/output system 606 includes a display 608 for displaying information and an input device 609 such as a mouse, keyboard for inputting information by the user. Wherein the display 608 and the input device 609 are both
  • the input/output controller 610 connected to the system bus 605 is connected to the central processing unit 601.
  • the basic input/output system 606 can also include an input and output controller 610 for receiving and processing input from a plurality of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input output controller 610 also provides output to a display screen, printer, or other type of output device.
  • the mass storage device 607 is connected to the central processing unit 601 by a mass storage controller (not shown) connected to the system bus 605.
  • the mass storage device 607 and its associated computer readable medium provide non-volatile storage for the server 600. That is, the mass storage device 607 can include a computer readable medium (not shown) such as a hard disk or a CD-ROM drive.
  • Computer readable medium can include computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technologies, CD-ROM,
  • the system memory 604 and mass storage device 607 described above may be collectively referred to as a memory.
  • the server 600 may also be operated by a remote computer connected to the network through a network such as the Internet. That is, the server 600 can be connected to the network 612 through the network interface unit 61 1 connected to the system bus 605, or the network interface unit 11 1 can be used to connect to other types of networks or remote computer systems (not shown). Out).
  • a network such as the Internet. That is, the server 600 can be connected to the network 612 through the network interface unit 61 1 connected to the system bus 605, or the network interface unit 11 1 can be used to connect to other types of networks or remote computer systems (not shown). Out).
  • Server 600 includes, in addition to a memory, one or more modules, one or more of which are stored in a memory and configured to be executed by one or more processors.
  • modules one or more of which are stored in a memory and configured to be executed by one or more processors.
  • One or more of the above modules have the following functions:
  • the terminal is bound with a home account, the home account includes at least one private account, and the information of the target item includes a first value corresponding to the target item An account ID corresponding to the target item;
  • the authorization server reduces the number from the second value included in the home account a first value, and adding the first value to a third value included in an account corresponding to the target item.
  • the method further includes:
  • Binding the home account to the terminal Binding the home account to the terminal.
  • the method further includes:
  • the unbinding relationship request packet The ID of the home account and the ID of the terminal;
  • the server provided by the embodiment of the present disclosure receives the information of the target item and the ID of the terminal sent by the terminal bound to the home account, and queries the ID of the home account bound to the terminal according to the ID of the terminal. And generating a transfer request according to the ID of the home account and the information of the target item, wherein the information of the target item includes a first value corresponding to the target item and an account ID corresponding to the target item.
  • FIG. 6 is a structural block diagram of an authorization server according to another embodiment of the present disclosure.
  • the authorization server is used to implement the request processing method provided in the above embodiment.
  • the authorization server in the embodiment of the present disclosure may include one or more of the following components: a central processing unit (CPU) 601, a random access memory (RAM) 602, and a system memory 604 of a read only memory (ROM) 603, and a connection system.
  • the authorization server 600 also includes a basic input/output system (I/O system) 606 that facilitates the transfer of information between various devices within the computer, and a large capacity for storing the operating system 613, applications 614, and other program modules 615.
  • the basic input/output system 606 includes a display 608 for displaying information and an input device 609 such as a mouse, keyboard for inputting information by the user.
  • the display 608 and input device 609 are both connected to the central processing unit 601 via an input and output controller 610 that is coupled to the system bus 605.
  • the basic input/output system 606 can also include an input and output controller 610 for receiving and processing input from a plurality of other devices, such as a keyboard, mouse, or electronic stylus.
  • the input and output controller 610 also provides an output to a display screen, printer, or other type of output device.
  • the mass storage device 607 is connected to the central processing unit 601 by a mass storage controller (not shown) connected to the system bus 605.
  • the mass storage device 607 and its associated computer readable medium provide non-volatile storage for the authorization server 600. That is, the mass storage device 607 can include a computer readable medium (not shown) such as a hard disk or a CD-ROM drive.
  • the computer readable medium can include computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technologies, CD-ROM, DVD or other optical storage, magnetic tape cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices.
  • RAM random access memory
  • ROM read only memory
  • EPROM Erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • the authorization server 600 may also be connected to a remote computer connected to the network through a network such as the Internet. That is, the authorization server 600 can be connected to the network 612 through the network interface unit 61 1 connected to the system bus 605, or the network interface unit 11 can be used to connect to other types of networks or remote computer systems (not show) .
  • the authorization server 600 in addition to the memory, also includes one or more modules, one or more of which are stored in the memory and configured to be executed by one or more processors.
  • One or more of the above modules have the following functions:
  • the terminal is bound with a home account, and the home account includes at least one private account; the transfer request is performed by the terminal after receiving the selection signal of the target item, and the information of the target item is The ID of the terminal is sent to the server; the server queries the ID of the home account bound to the terminal according to the ID of the terminal, and then generates the information according to the information of the target item and the ID of the home account. Transferring the request, and sending the transfer request to the terminal; after receiving the transfer request, the terminal forwards the request to the authorization server.
  • the method further includes:
  • the method further includes:
  • the detection result is that the second value is smaller than the first value
  • a two-dimensional code is generated according to the transfer request and the account login interface, and the two-dimensional code is displayed.
  • the method further includes:
  • a message indicating that the second value has changed is sent to the terminal after the addition.
  • the server receives the transfer request sent by the terminal bound with the home account, where the transfer request includes the information of the target item and the ID of the home account, and the information of the target item includes the target item.
  • the first value and the account ID corresponding to the target item and decreasing the first value from the second value included in the family account according to the transfer request, and adding the first value to the third value included in the account corresponding to the target item;
  • the terminal is bound with a family account, so that each family member who uses the terminal can use the first value in the family account to redeem the target item, thereby solving the problem that other family members cannot complete the redemption process and reach the family. All members can complete the redemption process without switching to their own private account.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本公开公开了一种请求处理方法、终端、服务器、授权服务器及系统,属于网络技术领域。所述方法包括:接收对目标物品的选择信号;将目标物品的信息和终端的ID发送给服务器,以便服务器查询与终端绑定的家庭账户的ID,并根据目标物品的信息和家庭账户的ID生成转移请求;接收服务器发送的转移请求并发送给授权服务器,以便授权服务器从家庭账户包括的第二数值中减少目标物品对应的第一数值,并将第一数值增加到目标物品对应的账户包括的第三数值中。由于该终端绑定有家庭账户,使得每个使用该终端的家庭成员都可以使用家庭账户中的第二数值对目标物品进行兑换,达到了家庭中所有成员都可以不切换至自己的私人账户就可以进行兑换的效果。

Description

请求处理方法、 终端、 服务器、 授权服务器及系统 本申请基于申请号为 201310314342.6、申请日为 2013/7/24的中国专利申请提出, 并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参 考。 技术领域
本公开涉及网络技术领域, 特别涉及一种请求处理方法、 终端、 服务器、 授权服 务器及系统。 背景技术
随着智能电视的发展, 各种可下载的音视频节目和应用程序等资源不断涌现。 用 户在获取这些资源时, 通常需要使用虚拟货币进行购买或者使用积分进行兌换。
以用户使用积分进行兌换为例, 由于电视不具有兌换功能, 所以用户通常在家庭 中设置一台兌换机和智能电视相连, 并且将兌换机和自己的积分账户进行绑定。用户 在使用智能电视获取上述资源时,兌换机会将所绑定的积分账户和获取资源所需要的 积分发送至兌换系统中, 由兌换系统将获取资源所需要的积分从积分账户中扣除, 从 而完成兌换过程。
在实现本公开的过程中, 发明人发现现有技术至少存在以下缺点: 一台兌换机只 能够绑定一个用户的积分账户, 也即只有这个用户才可以在智能电视上获取上述资 源, 而对于家庭中的其他家庭成员来说, 却无法完成上述兌换过程。 发明内容
为了解决其他家庭成员无法完成兌换过程的问题,本公开实施例提供了一种请求处理 方法、 终端、 服务器、 授权服务器及系统。 所述技术方案如下:
根据本公开实施例的第一方面, 提供了一种请求处理方法, 用于绑定有家庭账户的终 端中, 所述家庭账户包括至少一个私人账户, 所述方法包括:
接收对目标物品的选择信号;
将所述目标物品的信息和所述终端的 ID发送给服务器, 以便所述服务器根据所述终 端的 ID査询与所述终端绑定的家庭账户的 ID, 并根据所述目标物品的信息和所述家庭账 户的 ID生成转移请求, 所述目标物品的信息包括所述目标物品对应的第一数值和所述目 标物品对应的账户 ID;
接收所述服务器发送的转移请求;
向授权服务器发送所述转移请求, 以便所述授权服务器在接收到所述转移请求后, 从 所述家庭账户包括的第二数值中减少所述第一数值,并将所述第一数值增加到所述目标物 品对应的账户包括的第三数值中。
在一个实施例中, 所述方法还包括:
将所述家庭账户的 ID和所述终端的 ID发送给所述服务器,以便所述服务器将所述家 庭账户和所述终端进行绑定。
在一个实施例中, 所述方法还包括:
向所述授权服务器发送査询请求,所述査询请求用于査询所述家庭账户包括的所述第 二数值;
接收所述授权服务器发送的所述第二数值;
检测所述第二数值是否不小于所述第一数值;
若检测结果为所述第二数值不小于所述第一数值,则执行所述向授权服务器发送所述 转移请求的步骤。
在一个实施例中, 所述方法还包括:
若检测结果为所述第二数值小于所述第一数值,则根据所述转移请求和账户登录界面 生成二维码;
显示所述二维码, 以便所述授权服务器接收私人账户发送的用于增加所述第二数值的 增加请求, 并根据所述增加请求对所述第二数值进行增加, 在增加后向所述终端发送用于 表示所述第二数值发生改变的消息; 其中, 所述增加请求用于对所述二维码中承载的所述 转移请求中所携带的所述家庭账户包括的第二数值进行增加,所述私人账户是根据所述二 维码中的所述账户登录界面登录的账户。
在一个实施例中, 所述方法还包括:
接收所述授权服务器发送的提示信息,所述提示信息用于表示所述第二数值小于所述 第一数值;
根据所述转移请求和账户登录界面生成二维码;
显示所述二维码, 以便所述授权服务器接收私人账户发送的用于增加所述第二数值的 增加请求, 并根据所述增加请求对所述第二数值进行增加, 在增加后向所述终端发送用于 表示所述第二数值发生改变的消息; 其中, 所述增加请求用于对所述二维码中承载的所述 转移请求中所携带的所述家庭账户包括的第二数值进行增加,所述私人账户是根据所述二 维码中的所述账户登录界面登录的账户。
在一个实施例中, 所述方法还包括:
在预定时刻重新执行所述检测所述第二数值是否不小于所述第一数值的步骤; 其中, 所述预定时刻是在显示所述二维码之后的时间达到预定时间长度时的时刻, 或 者, 所述预定时刻是接收到所述用于表示所述第二数值发生改变的消息时的时刻。
在一个实施例中, 所述方法还包括:
向所述服务器发送解除绑定关系请求,所述解除绑定关系请求包括所述家庭账户的 ID 和所述终端的 ID, 以便所述服务器接收所述终端发送的所述解除绑定关系请求, 根据所 述解除绑定关系请求解除所述家庭账户和所述终端的绑定关系。
根据本公开实施例的第二方面, 提供了一种请求处理方法, 所述方法包括: 接收终端发送的目标物品的信息和所述终端的 ID, 所述终端绑定有家庭账户, 所述 家庭账户包括至少一个私人账户,所述目标物品的信息包括所述目标物品对应的第一数值 和所述目标物品对应的账户 ID;
根据所述终端的 ID査询与所述终端绑定的所述家庭账户的 ID;
根据所述目标物品的信息和所述家庭账户的 ID生成转移请求;
向所述终端发送所述转移请求, 以便所述终端向授权服务器发送所述转移请求; 所述 授权服务器在接收到所述转移请求后,从所述家庭账户包括的第二数值中减少所述第一数 值, 并将所述第一数值增加到所述目标物品对应的账户包括的第三数值中。
在一个实施例中, 所述方法还包括:
接收所述终端发送的所述家庭账户的 ID和所述终端的 ID;
将所述家庭账户和所述终端进行绑定。
在一个实施例中, 所述方法还包括:
接收所述终端或者其它终端发送的解除绑定关系请求,所述解除绑定关系请求包括所 述家庭账户的 ID和所述终端的 ID;
根据所述解除绑定关系请求解除所述家庭账户和所述终端的绑定关系。
根据本公开实施例的第三方面, 提供了一种请求处理方法, 用于授权服务器中, 所述 方法包括:
接收终端发送的转移请求, 所述转移请求包括目标物品的信息和家庭账户的 ID, 所 述目标物品的信息包括所述目标物品对应的第一数值和所述目标物品对应的账户 ID;
根据所述转移请求从所述家庭账户包括的第二数值中减少所述第一数值,并将所述第 一数值增加到所述目标物品对应的账户包括的第三数值中;
其中, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户; 所述转移请 求是由所述终端在接收到所述目标物品的选择信号之后,将所述目标物品的信息和所述终 端的 ID发送给服务器;所述服务器根据所述终端的 ID査询与所述终端绑定的家庭账户的 ID, 然后根据所述目标物品的信息和所述家庭账户的 ID生成所述转移请求, 并将所述转 移请求发送给所述终端; 所述终端收到所述转移请求之后, 转发给所述授权服务器的。
在一个实施例中, 所述方法还包括:
接收所述终端发送的査询请求,所述査询请求用于査询所述家庭账户包括的所述第二 数值;
根据所述査询请求査询所述家庭账户包括的所述第二数值;
将査询到的所述第二数值发送给所述终端, 以便所述终端检测所述第二数值是否不小 于所述第一数值, 若检测结果为所述第二数值小于所述第一数值, 则根据所述转移请求和 账户登录界面生成二维码, 并显示所述二维码。 在一个实施例中, 所述方法还包括:
根据所述转移请求査询所述家庭账户包括的第二数值;
检测所述第二数值是否小于所述第一数值;
若检测结果为所述第二数值小于所述第一数值, 则向所述终端发送提示信息, 所述提 示信息用于表示所述第二数值小于所述第一数值, 以便所述终端在收到提示信息之后, 根 据所述转移请求和账户登录界面生成二维码, 并显示所述二维码。
在一个实施例中, 所述方法还包括:
接收私人账户发送的用于增加所述第二数值的增加请求,所述增加请求用于对所述家 庭账户包括的第二数值进行增加,所述私人账户是根据所述二维码中的所述账户登录界面 登录的账户;
根据所述增加请求对所述第二数值进行增加;
在增加后向所述终端发送用于表示所述第二数值发生改变的消息。
根据本公开实施例的第四方面, 提供了一种终端, 所述终端绑定有家庭账户, 所述家 庭账户包括至少一个私人账户, 所述终端包括:
选择接收模块, 用于接收对目标物品的选择信号;
第一发送模块,用于将所述选择接收模块接收到的选择信号对应的目标物品的信息和 所述终端的 ID发送给服务器, 以便所述服务器根据所述终端的 ID査询与所述终端绑定的 家庭账户的 ID, 并根据所述目标物品的信息和所述家庭账户的 ID生成转移请求, 所述目 标物品的信息包括所述目标物品对应的第一数值和所述目标物品对应的账户 ID;
转移接收模块, 用于接收所述服务器发送的转移请求;
转移发送模块, 用于向授权服务器发送所述转移接收模块接收到的转移请求, 以便所 述授权服务器在接收到所述转移请求后,从所述家庭账户包括的第二数值中减少所述第一 数值, 并将所述第一数值增加到所述目标物品对应的账户包括的第三数值中。
在一个实施例中, 所述终端还包括:
第二发送模块, 用于将所述家庭账户的 ID和所述终端的 ID发送给所述服务器, 以便 所述服务器将所述家庭账户和所述终端进行绑定。
在一个实施例中, 所述终端还包括:
査询发送模块、 数值接收模块和检测模块;
所述査询发送模块, 用于向所述授权服务器发送査询请求, 所述査询请求用于査询所 述家庭账户包括的所述第二数值;
所述数值接收模块, 用于接收所述授权服务器发送的所述第二数值;
所述检测模块,用于检测所述数值接收模块接收到的第二数值是否不小于所述第一数 值;
所述转移发送模块,用于当所述检测模块的检测结果为所述第二数值不小于所述第一 数值时, 执行所述向授权服务器发送所述转移请求的步骤。 在一个实施例中, 所述终端还包括:
二维码生成模块,用于当所述检测模块的检测结果为所述第二数值小于所述第一数值 时, 根据所述转移请求和账户登录界面生成二维码;
二维码显示模块, 用于显示所述二维码, 以便所述授权服务器接收私人账户发送的用 于增加所述第二数值的增加请求, 并根据所述增加请求对所述第二数值进行增加, 在增加 后向所述终端发送用于表示所述第二数值发生改变的消息; 其中, 所述增加请求用于对所 述二维码中承载的所述转移请求中所携带的所述家庭账户包括的第二数值进行增加,所述 私人账户是根据所述二维码中的所述账户登录界面登录的账户。
在一个实施例中, 所述终端还包括:
提示接收模块, 用于接收所述授权服务器发送的提示信息, 所述提示信息用于表示所 述第二数值小于所述第一数值;
二维码生成模块, 用于当所述提示接收模块接收到所述提示信息时, 根据所述转移请 求和账户登录界面生成二维码;
二维码显示模块, 用于显示所述二维码, 以便所述授权服务器接收私人账户发送的用 于增加所述第二数值的增加请求, 并根据所述增加请求对所述第二数值进行增加, 在增加 后向所述终端发送用于表示所述第二数值发生改变的消息; 其中, 所述增加请求用于对所 述二维码中承载的所述转移请求中所携带的所述家庭账户包括的第二数值进行增加,所述 私人账户是根据所述二维码中的所述账户登录界面登录的账户。
在一个实施例中, 所述终端还包括:
再次检测模块,用于在预定时刻重新执行所述检测所述第二数值是否不小于所述第一 数值的步骤;
其中, 所述预定时刻是在显示所述二维码之后的时间达到预定时间长度时的时刻, 或 者, 所述预定时刻是接收到所述用于表示所述第二数值发生改变的消息时的时刻。
在一个实施例中, 所述终端还包括:
解除发送模块, 用于向所述服务器发送解除绑定关系请求, 所述解除绑定关系请求包 括所述家庭账户的 ID和所述终端的 ID, 以便所述服务器接收所述终端发送的所述解除绑 定关系请求, 根据所述解除绑定关系请求解除所述家庭账户和所述终端的绑定关系。
根据本公开实施例的第五方面, 提供了一种服务器, 所述服务器包括:
第一接收模块, 用于接收终端发送的目标物品的信息和所述终端的 ID, 所述终端绑 定有家庭账户, 所述家庭账户包括至少一个私人账户, 所述目标物品的信息包括所述目标 物品对应的第一数值和所述目标物品对应的账户 ID;
査询模块, 用于根据所述第一接收模块接收到的所述终端的 ID査询与所述终端绑定 的所述家庭账户的 ID;
转移生成模块,用于根据所述第一接收模块接收到的所述目标物品的信息和所述査询 模块査询到的所述家庭账户的 ID生成转移请求; 转移发送模块, 用于向所述终端发送所述转移生成模块生成的转移请求, 以便所述终 端向授权服务器发送所述转移请求; 所述授权服务器在接收到所述转移请求后, 从所述家 庭账户包括的第二数值中减少所述第一数值,并将所述第一数值增加到所述目标物品对应 的账户包括的第三数值中。
在一个实施例中, 所述服务器还包括:
第二接收模块, 用于接收所述终端发送的所述家庭账户的 ID和所述终端的 ID; 绑定模块, 用于将所述第二接收模块接收到的所述家庭账户和所述终端进行绑定。 在一个实施例中, 所述服务器还包括:
解除接收模块, 用于接收所述终端或者其它终端发送的解除绑定关系请求, 所述解除 绑定关系请求包括所述家庭账户的 ID和所述终端的 ID;
解除模块,用于根据所述解除接收模块接收到的解除绑定关系请求解除所述家庭账户 和所述终端的绑定关系。
根据本公开实施例的第六方面, 提供了一种授权服务器, 所述授权服务器包括: 转移接收模块, 用于接收终端发送的转移请求, 所述转移请求包括目标物品的信息和 家庭账户的 ID, 所述目标物品的信息包括所述目标物品对应的第一数值和所述目标物品 对应的账户 ID;
转移模块,用于根据所述转移接收模块接收到的转移请求从所述家庭账户包括的第二 数值中减少所述第一数值,并将所述第一数值增加到所述目标物品对应的账户包括的第三 数值中;
其中, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户; 所述转移请 求是由所述终端在接收到所述目标物品的选择信号之后,将所述目标物品的信息和所述终 端的 ID发送给服务器;所述服务器根据所述终端的 ID査询与所述终端绑定的家庭账户的 ID, 然后根据所述目标物品的信息和所述家庭账户的 ID生成所述转移请求, 并将所述转 移请求发送给所述终端; 所述终端收到所述转移请求之后, 转发给所述授权服务器的。
在一个实施例中, 所述授权服务器还包括:
査询接收模块, 用于接收所述终端发送的査询请求, 所述査询请求用于査询所述家庭 账户包括的所述第二数值;
第一査询模块,用于根据所述査询接收模块接收到的査询请求査询所述家庭账户包括 的所述第二数值;
数值发送模块, 用于将所述第一査询模块査询到的所述第二数值发送给所述终端, 以 便所述终端检测所述第二数值是否不小于所述第一数值,若检测结果为所述第二数值小于 所述第一数值, 则根据所述转移请求和账户登录界面生成二维码, 并显示所述二维码。
在一个实施例中, 所述授权服务器还包括:
第二査询模块, 用于根据所述转移请求査询所述家庭账户包括的第二数值; 检测模块, 用于检测所述第二査询模块査询到的第二数值是否小于所述第一数值; 提示发送模块, 用于当所述检测模块的检测结果为所述第二数值小于所述第一数值 时, 向所述终端发送提示信息, 所述提示信息用于表示所述第二数值小于所述第一数值, 以便所述终端在收到提示信息之后, 根据所述转移请求和账户登录界面生成二维码, 并显 示所述二维码。
在一个实施例中, 所述授权服务器还包括:
增加接收模块, 用于接收私人账户发送的用于增加所述第二数值的增加请求, 所述增 加请求用于对所述家庭账户包括的第二数值进行增加,所述私人账户是根据所述二维码中 的所述账户登录界面登录的账户;
增加模块,用于根据所述增加请求接收模块接收到的增加请求对所述第二数值进行增 加;
变化发送模块,用于在所述增加模块对所述第二数值进行增加后向所述终端发送用于 表示所述第二数值发生改变的消息。
根据本公开实施例的第七方面,提供了一种请求处理系统,包括第四方面所述的终端、 第五方面所述的服务器和第六方式所述的授权服务器;
其中, 所述终端和所述服务器通过有线或者无线网络连接, 所述终端和所述授权服务 器通过有线或者无线网络连接。
本公开实施例提供的技术方案带来的有益效果可以包括:
通过绑定有家庭账户的终端将目标物品的信息和终端的 ID发送给服务器, 服务器根 据终端的 ID査询到与该终端绑定的家庭账户的 ID, 再根据家庭账户的 ID和目标物品的 信息生成转移请求,其中目标物品的信息包括目标物品对应的第一数值和目标物品对应的 账户 ID。 服务器将生成的转移请求发送给终端, 以便终端将该转移请求发送给授权服务 器; 授权服务器在接收到该转移请求之后, 根据该转移请求从家庭账户包括的第二数值中 减少第一数值, 并将第一数值增加到目标物品对应的账户包括的第三数值中; 由于该终端 绑定有家庭账户,使得每个使用该终端的家庭成员都可以使用家庭账户中的第二数值对目 标物品进行兌换, 从而解决了其他家庭成员无法完成兌换过程的问题, 达到了家庭中所有 成员都可以在不切换至自己的私人账户就可以完成兌换过程的效果。
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并不能限 制本发明。 附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使 用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图 获得其它的附图。 此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施 例, 并与说明书一起用于解释本发明的原理。
图 1是根据一示例性实施例示出的一种请求处理方法的方法流程图;
图 2是根据一示例性实施例示出的一种请求处理方法的方法流程图;
图 3是根据一示例性实施例示出的一种请求处理系统的方框示意图;
图 4是根据一示例性实施例示出的一种请求处理系统的方框示意图;
图 5是根据一示例性实施例示出的一种电子设备的结构方框图;
图 6是根据一示例性实施例示出的一种服务器或者授权服务器的结构方框图。 具体实施方式
为使本公开的目的、 技术方案和优点更加清楚, 下面将结合附图对本公开实施方 式作在一个实施例中详细描述。
本文中所述的 "终端 "可以是: 智能电视、 智能手机、 平板电脑、 电子书阅读器、
MP3播放器 (Moving Picture Experts Group Audio Layer III, 动态影像专家压缩标准 音频层面 3 ) 、 MP4 ( Moving Picture Experts Group Audio Layer IV, 动态影像专家压 缩标准音频层面 3 ) 播放器、 膝上型便携计算机和台式计算机等等。
请参考图 1, 其示出了本公开一个实施例提供的请求处理方法的方法流程图。 该 请求处理方法, 包括:
步骤 101, 终端接收目标物品的选择信号;
终端接收目标物品的选择信号; 该终端绑定有家庭账户, 家庭账户包括至少一个 私人账户。
步骤 102, 终端将目标物品的信息和终端的 ID发送给服务器;
终端将目标物品的信息和该终端的 ID发送给服务器, 目标物品的信息包括目标 物品对应的第一数值和目标物品对应的账户 ID;
相应的, 服务器接收终端发送的目标物品的信息和终端的 ID。
步骤 103, 服务器根据终端的 ID査询与终端绑定的家庭账户的 ID;
服务器在接收到终端发送的终端的 ID之后,根据该终端的 ID査询与该终端绑定 的家庭账户的 ID。
步骤 104, 服务器根据目标物品的信息和家庭账户的 ID生成转移请求; 服务器在査询到与终端绑定的家庭账户的 ID之后, 根据目标物品的信息和家庭 账户的 ID生成转移请求。
步骤 105, 服务器向终端发送转移请求;
服务器向终端发送根据目标物品的信息和家庭账户的 ID生成的转移请求; 相应 的, 终端接收该转移请求。 步骤 106, 终端向授权服务器发送转移请求;
终端在接收到该转移请求之后, 向授权服务器发送该转移请求; 相应的, 授权服 务器接收该转移请求。
步骤 107,授权服务器根据转移请求从家庭账户包括的第二数值中减少第一数值, 并将第一数值增加到目标物品对应的账户包括的第三数值中;
授权服务器在接收到该转移请求之后,根据该转移请求从家庭账户包括的第二数 值中减少第一数值, 并将第一数值增加到目标物品对应的账户包括的第三数值中。
综上所述, 本公开实施例提供的请求处理方法, 通过绑定有家庭账户的终端将目 标物品的信息和终端的 ID发送给服务器,服务器根据终端的 ID査询到与该终端绑定 的家庭账户的 ID, 再根据家庭账户的 ID和目标物品的信息生成转移请求, 其中目标 物品的信息包括目标物品对应的第一数值和目标物品对应的账户 ID。 服务器将生成 的转移请求发送给终端, 以便终端将该转移请求发送给授权服务器; 授权服务器在接 收到该转移请求之后, 根据该转移请求从家庭账户包括的第二数值中减少第一数值, 并将第一数值增加到目标物品对应的账户包括的第三数值中;由于该终端绑定有家庭 账户,使得每个使用该终端的家庭成员都可以使用家庭账户中的第一数值对目标物品 进行兌换, 从而解决了其他家庭成员无法完成兌换过程的问题, 达到了家庭中所有成 员都可以在不切换至自己的私人账户就可以完成兌换过程的效果。
以上述终端为电视, 上述各个数值为积分为例, 电视作为一种家庭设备, 家庭成 员都可以使用。那么家庭成员在使用电视观看一些需要使用一定积分进行兌换才可播 放的节目时, 就涉及到积分和账户的问题, 处理起来往往比较麻烦。 本公开实施例通 过建立一个包括至少一个私人账户的家庭账户,并且预先将该家庭账户和电视进行绑 定,从而在家庭中任一成员观看一些需要使用一定积分进行兌换才可播放的节目时都 可以使用家庭账户来完成兌换过程。
请参考图 2, 其示出了本公开另一实施例提供的请求处理方法的方法流程图。 该 请求处理方法, 包括:
步骤 201, 终端将家庭账户的 ID和终端的 ID发送给服务器;
终端将家庭账户的 ID和终端的 ID发送给服务器,该家庭账户包括至少一个私人 账户。
家庭账户即为家庭公共使用的账户, 私人账户即为家庭成员的个人账户。家庭账 户的信息可以包括 ID、 账户名、 第二数值和至少一个家庭成员的个人账户信息; 家 庭成员的个人账户的信息可以包括 ID、 账户名和相应的第四数值。 其中, 家庭账户 中的第二数值和个人账户中相应的第四数值即为积分数值。
终端的 ID号用于唯一标识该终端。
通常, 在终端第一次启动时, 需要将家庭账户的 ID和终端本身的 ID发送至服务 器, 以便服务器将该家庭账户和终端进行绑定。 比如, 某李姓家庭, 共计有三名家庭成员, 分别为李爸爸、 李妈妈和李儿子, 并 且李爸爸、李妈妈和李儿子都有各自的个人账户, 且将李爸爸的个人账户作为家庭账 户, 该家庭账户包括李妈妈和李儿子的个人账户。 该李姓家庭在第一次使用电视时, 需要输入家庭账户的 ID, 并通过电视将家庭账户的 ID和该电视的 ID发送至服务器, 以便服务器将该家庭账户和电视进行绑定。
相应的, 服务器接收终端发送的家庭账户的 ID和终端的 ID。
步骤 202, 服务器将家庭账户和终端进行绑定;
服务器在接收到终端发送的家庭账户的 ID和终端的 ID之后,将家庭账户和终端 进行绑定, 即建立该家庭账户和该终端的对应关系。 比如, 服务器将上述李姓家庭的 家庭账户和其电视建立对应关系。
步骤 203, 终端接收对目标物品的选择信号;
终端接收用户对目标物品的选择信号。 比如, 该李姓家庭中的李儿子想要观看某 电视节目, 即可在电视屏幕上选择该电视节目, 而电视接收该选择信号。
步骤 204, 终端将目标物品的信息和终端的 ID发送给服务器;
终端在接收到对目标物品的选择信号之后, 获取该目标物品的信息, 并将目标物 品的信息和终端的 ID发送给服务器, 其中, 目标物品的信息包括目标物品对应的第 一数值和目标物品对应的账户 ID。
比如,李儿子想要观看的电视节目为 X酷提供的,且需要扣除 50积分才可观看。 即该电视节目对应的第一数值为 50, 该电视节目对应的账户 ID即为 X酷的账户 ID。
相应的, 服务器接收终端发送的目标物品的信息和终端的 ID。
步骤 205, 服务器根据终端的 ID査询与终端绑定的家庭账户的 ID;
服务器在接收到该终端发送的目标物品的信息和终端的 ID之后, 根据该终端的 ID即可从预先存储的对应关系中査询到与该终端绑定的家庭账户的 ID。 该预先存储 的对应关系为服务器建立的终端和家庭账户的绑定关系。
比如, 服务器査询到与该电视进行绑定的家庭账户的 ID即为李姓家庭的家庭账 户的 ID。
步骤 206, 服务器根据目标物品的信息和家庭账户的 ID生成转移请求; 服务器在査询到与该终端绑定的家庭账户的 ID之后, 对目标物品的信息进行核 对并根据接收到的目标物品的信息和査询到的家庭账户的 ID生成转移请求。 该转移 请求包括第一数值、 目标物品对应的账户的 ID和査询到的与该终端绑定的家庭账户 的 ID。
比如, 服务器在査询到与该电视绑定的李姓家庭的家庭账户的 ID之后, 对电视 节目的信息进行核对并根据接收到的电视节目的信息和李姓家庭的家庭账户的 ID生 成转移请求。
步骤 207, 服务器向终端发送转移请求; 服务器在生成转移请求之后向终端发送该转移请求, 以便终端向授权服务器发送 该转移请求。
比如, 服务器在生成上述转移请求后, 将该转移请求发送给该电视。
相应的, 终端接收服务器发送的转移请求。
步骤 208, 终端向授权服务器发送査询请求;
终端在接收到服务器发送的转移请求之后,首先要检测家庭账户包括的第二数值 是否不小于第一数值, 再根据检测结果执行后续步骤。若要检测家庭账户包括的第二 数值是否不小于第一数值, 首先要获取第二数值的大小, 所以终端向授权服务器发送 査询请求, 该査询请求用于査询家庭账户包括的第二数值。
比如, 电视接收到服务器发送的转移请求之后, 向授权服务器发送査询与该电视 绑定的家庭账户中第二数值的请求。 即査询李姓家庭的家庭账户中的第二数值的大 小。
相应的, 授权服务器接收终端发送的査询请求。
步骤 209, 授权服务器根据査询请求査询家庭账户包括的第二数值;
授权服务器预先保存有家庭账户的第二数值的信息,在接收到终端发送的査询请 求之后査询第二数值。
比如, 授权服务器在接收到査询李姓家庭的家庭账户中的第二数值的请求之后, 査询第二数值的大小, 假设第二数值的大小为 70。
步骤 210, 授权服务器将査询到的第二数值发送给终端;
授权服务器将査询到的第二数值发送给终端, 以便终端检测第二数值是否不小于 第一数值。
比如, 授权服务器将査询到的家庭账户中的第二数值的大小 70发送给电视。 相应的, 终端接收授权服务器发送的第二数值。
步骤 21 1, 终端检测第二数值是否不小于第一数值;
终端在接收授权服务器发送的第二数值之后, 检测第二数值是否不小于第一数 值。
比如, 电视检测査询到的家庭账户中的第二数值 70是否不小于李儿子所要观看 的电视节目对应的数值 50。
若检测结果为第二数值不小于第一数值, 则进入步骤 212;
若检测结果为第二数值小于第一数值, 则进入步骤 214;
需要说明的是, 终端也可以不经过步骤 208至 21 1, 即在收到服务器发送的转移 请求之后, 直接将转移请求发送给授权服务器, 授权服务器根据该转移请求査询家庭 账户包括的第二数值并检测第二数值是否小于第一数值,若授权服务器的检测结果为 第二数值小于第一数值, 则授权服务器向终端发送提示信息, 该提示信息就用于表示 第二数值小于第一数值, 相应的, 终端接收授权服务器发送的提示信息, 进入步骤 214 ; 若授权服务器的检测结果为第二数值不小于第一数值, 则进入步骤 213。
步骤 212, 终端向授权服务器发送转移请求;
若终端的检测结果为第二数值不小于第一数值,则终端向授权服务器发送转移请 求, 以便授权服务器在接收到转移请求后, 从家庭账户包括的第二数值中减少第一数 值, 并将第一数值增加到目标物品对应的账户包括的第三数值中。
比如, 上述步骤 21 1的检测结果为第二数值 70不小于第一数值 50, 则电视将转 移请求发送至授权服务器, 以便授权服务器从李姓家庭的家庭账户包括的第二数值 70中减少李儿子所要观看的电视节目对应的数值 50, 并将该电视节目对应的数值 50 增加到该电视节目对应的 X酷的账户包括的第三数值中。
相应的, 授权服务器接收终端发送的转移请求。
步骤 213,授权服务器根据转移请求从家庭账户包括的第二数值中减少第一数值, 并将第一数值增加到目标物品对应的账户包括的第三数值中;
比如, 授权服务器在接收到电视发送的转移请求之后, 从李姓家庭的家庭账户包 括的第二数值 70中减少李儿子所要观看的电视节目对应的第一数值 50, 并将该第一 数值 50增加到该电视节目对应的 X酷的账户包括的第三数值中。
步骤 214, 终端根据转移请求和账户登录界面生成二维码;
若终端的检测结果为第二数值小于第一数值,则终端根据转移请求和账户登录界 面生成二维码。
比如, 若步骤 209 中授权服务器査询到的家庭账户包括的第二数值为 30, 则步 骤 21 1中终端的检测结果为第二数值 30小于第一数值 50, 那么电视根据转移请求和 账户登录界面生成二维码, 以便用户使用该电视或者其它终端设备扫描该二维码, 在 账户登录界面登录个人账户, 完成该转移请求的后续转移操作。
需要说明的是, 若终端没有经过步骤 208至 21 1, 即在收到服务器发送的转移请 求之后, 直接将转移请求发送给授权服务器, 授权服务器根据转移请求査询家庭账户 包括的第二数值并检测第二数值是否小于第一数值。授权服务器在检测到第二数值小 于第一数值时, 向终端发送提示信息; 终端在收到该提示信息后, 根据转移请求和账 户登录界面生成二维码。
步骤 215, 终端显示二维码;
终端显示二维码, 以便用户使用该终端或者其他终端扫描该二维码, 通过在该二 维码中的账户登录界面登录用户的私人账户,并通过私人账户和授权服务器进行交互 对家庭账户中的第二数值进行增加。
比如,电视显示该二维码,以便李儿子使用手机或者其它终端设备扫描该二维码, 在二维码中包括的账户登录界面登录李儿子的私人账户,并通过自己的私人账户和授 权服务器进行交互对家庭账户中的第二数值进行增加。
步骤 216, 终端根据二维码登陆私人账户, 通过私人账户向授权服务器发送用于 增加第二数值的增加请求;
终端扫描二维码, 在二维码中的账户登录界面登录私人账户, 通过私人账户向授 权服务器发送增加请求。该增加请求用于对二维码中承载的转移请求中所携带的家庭 账户包括的第二数值进行增加, 私人账户是根据二维码中的账户登录界面登录的账 户, 且该私人账户可以是该家庭账户中的私人账户, 也可以其它账户; 授权服务器在 收到私人账户发送的增加请求之后, 根据该增加请求对第二数值进行增加, 并且在增 加后向终端发送用于表示第二数值发生改变的消息。
比如, 李儿子在看到电视显示的二维码后, 通过该电视的外接扫描设备扫描该二 维码, 电视在接收到扫描的二维码后, 在屏幕显示二维码中包括的账户登录界面, 李 儿子在该账户登陆界面登陆自己的私人账户,并根据二维码中的包括的转移请求通过 电视向授权服务器发送用于增加第二数值的增加请求,该增加请求将李儿子的私人账 户中对应的第四数值增加到家庭账户的第二数值中。
授权服务器在收到李儿子的私人账户发送的增加请求之后,根据该增加请求对第 二数值进行增加,并且在增加后向终端发送用于表示第二数值发生改变的消息。通常, 该表示第二数值发生改变的消息中携带有第二数值的大小信息。
需要说明的是, 用户也可以使用除该终端之外的其它终端设备扫描该二维码, 比 如智能手机或者平板电脑等。在扫描该二维码后, 用户在二维码中的账户登录界面登 录用户自己的私人账户,并根据二维码中的包括的转移请求向授权服务器发送用于增 加第二数值的增加请求,该增加请求将用户的私人账户中对应的第四数值增加到家庭 账户的第二数值中。
授权服务器在收到用户的私人账户发送的增加请求之后,根据该增加请求对第二 数值进行增加, 并且在增加后向终端发送用于表示第二数值发生改变的消息。 通常, 该表示第二数值发生改变的消息中携带有第二数值的大小信息。
相应的, 授权服务器接收私人账户发送的用于增加第二数值的增加请求。
步骤 217, 授权服务器根据增加请求对第二数值进行增加;
授权服务器在接收到私人账户发送的用于增加第二数值的增加请求后,对第二数 值进行增加。
比如,李儿子通过自己的私人账户向授权服务器发送用于增加第二数值的增加请 求后,授权服务器根据该增加请求将李儿子的私人账户中对应的第四数值转移至家庭 账户的第二数值中。
步骤 218, 授权服务器在对第二数值进行增加后向终端发送用于表示第二数值发 生改变的消息;
通常, 该表示第二数值发生改变的消息中携带有第二数值的大小信息, 终端在收 到该用于表示第二数值发生改变的消息之后, 检测第二数值是否不小于第一数值。 比 如, 授权服务器向电视发送表示第二数值发生改变的消息, 且该表示第二数值发生改 变的消息包括第二数值发生改变后的数值大小, 且通常情况下, 该改变后的第二数值 通常不小于第一数值。
步骤 219, 终端在预定时刻重新检测第二数值是否不小于第一数值;
其中, 预定时刻是在显示二维码之后的时间达到预定时间长度时的时刻, 或者, 预定时刻是接收到用于表示第二数值发生改变的消息时的时刻。
比如, 电视在显示二维码之后的时间达到一定时间长度时或者在接收到授权服务 器发送的第二数值发生改变的消息时, 重新检测第二数值是否不小于第一数值。
若检测结果为第二数值不小于第一数值, 则进入步骤 212;
若检测结果为第二数值小于第一数值, 则进入步骤 214;
步骤 220, 终端向服务器发送解除绑定关系请求;
若用户需要解除该终端和家庭账户的绑定关系,则通过终端向服务器发送解除绑 定关系请求, 解除绑定关系请求包括家庭账户的 ID和终端的 ID, 以便服务器接收终 端发送的解除绑定关系请求, 根据解除绑定关系请求解除家庭账户和终端的绑定关 系。
比如, 若该李姓家庭要更换电视, 则需要解除该电视和家庭账户的绑定关系, 该 李姓家庭可以通过该电视向服务器发送解除绑定关系请求,解除绑定关系请求中包括 该李姓家庭的家庭账户的 ID和该电视的 ID, 以便服务器根据该家庭账户的 ID和电 视的 ID解除二者之间的绑定关系。
需要说明的是, 由于该终端和家庭账户的绑定关系是存储于服务器中的, 所以若 是该电视被盗, 该李姓家庭也可以通过其它终端向服务器发送解除绑定关系请求, 服 务器在收到包括有该李姓家庭的家庭账户的 ID和该电视的 ID 的解除绑定关系请求 后, 即可解除二者之间的绑定关系, 从而在用户所使用的终端发生丢失的情况下, 用 户也可轻松完成解除二者之间的绑定关系的过程, 保证用户的家庭账户的安全性。
相应的, 服务器接收终端发送的解除绑定关系请求。
步骤 221, 服务器根据解除绑定关系请求解除家庭账户和终端的绑定关系; 比如, 服务器在接收到该电视发送的解除绑定关系请求之后, 解除该电视和李姓 家庭的家庭账户之间的绑定关系。
综上所述, 本公开实施例提供的请求处理方法, 通过绑定有家庭账户的终端将目 标物品的信息和终端的 ID发送给服务器,服务器根据终端的 ID査询到与该终端绑定 的家庭账户的 ID, 再根据家庭账户的 ID和目标物品的信息生成转移请求, 其中目标 物品的信息包括目标物品对应的第一数值和目标物品对应的账户 ID。 服务器将生成 的转移请求发送给终端, 以便终端将该转移请求发送给授权服务器; 授权服务器在接 收到该转移请求之后, 根据该转移请求从家庭账户包括的第二数值中减少第一数值, 并将第一数值增加到目标物品对应的账户包括的第三数值中;并且在授权服务器执行 上述从家庭账户包括的第二数值中减少第一数值,并将第一数值增加到目标物品对应 的账户包括的第三数值中的步骤之前,终端和授权服务器进行交互来完成第一数值和 第二数值之间的大小比较过程, 若第二数值不小于第一数值, 则执行向授权服务器发 送转移请求的步骤; 若第二数值小于第一数值, 则根据转移请求和账户登录界面生成 二维码,以便用户根据该二维码使用该终端或者其它终端和授权服务器进行交互完成 对第二数值的增加, 继而执行再次检测该第二数值是否不小于第一数值的步骤。 由于 该终端绑定有家庭账户,使得每个使用该终端的家庭成员都可以使用家庭账户中的第 二数值对目标物品进行兌换, 从而达到了家庭中所有成员都可以完成兌换过程的效 果。另外, 本公开实施例还在该终端遗失时通过其它终端向服务器发送用于解除该终 端和家庭账户之间的绑定关系的解除绑定关系请求。解决了若终端发送遗失可能给用 户带来损失的问题; 达到了尽量保证家庭账户安全的效果。
下述为本公开装置实施例, 其中未详尽描述的内容, 可以结合参考上述对应的方 法实施例。
请参考图 3, 其示出了本公开一个实施例提供的请求处理系统的方框示意图。 该 请求处理系统, 包括终端 310、 服务器 320和授权服务器 330。
所述终端 310包括请求装置, 所述请求装置包括:
选择接收模块 311, 用于接收对目标物品的选择信号。
第一发送模块 312, 用于将所述选择接收模块 31 1接收到的选择信号对应的目标 物品的信息和所述终端的 ID发送给服务器,以便所述服务器根据所述终端的 ID査询 与所述终端绑定的家庭账户的 ID, 并根据所述目标物品的信息和所述家庭账户的 ID 生成转移请求,所述目标物品的信息包括所述目标物品对应的第一数值和所述目标物 品对应的账户 ID。
转移接收模块 313, 用于接收所述服务器发送的转移请求。
转移发送模块 314,用于向授权服务器发送所述转移接收模块接收到的转移请求, 以便所述授权服务器在接收到所述转移请求后,从所述家庭账户包括的第二数值中减 少所述第一数值,并将所述第一数值增加到所述目标物品对应的账户包括的第三数值 中。
所述服务器 320包括服务装置, 所述服务装置包括:
第一接收模块 321, 用于接收终端发送的目标物品的信息和所述终端的 ID, 所述 终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户, 所述目标物品的信息包 括所述目标物品对应的第一数值和所述目标物品对应的账户 ID。
査询模块 322, 用于根据所述第一接收模块 321接收到的所述终端的 ID査询与 所述终端绑定的所述家庭账户的 ID。
转移生成模块 323, 用于根据所述第一接收模块 321接收到的所述目标物品的信 息和所述査询模块 322査询到的所述家庭账户的 ID生成转移请求。
转移发送模块 324, 用于向所述终端发送所述转移生成模块生成的转移请求, 以 便所述终端向授权服务器发送所述转移请求;所述授权服务器在接收到所述转移请求 后, 从所述家庭账户包括的第二数值中减少所述第一数值, 并将所述第一数值增加到 所述目标物品对应的账户包括的第三数值中。
所述授权服务器 330包括授权装置, 所述授权装置包括:
转移接收模块 331, 用于接收终端发送的转移请求, 所述转移请求包括目标物品 的信息和家庭账户的 ID, 所述目标物品的信息包括所述目标物品对应的第一数值和 所述目标物品对应的账户 ID。
转移模块 332, 用于根据所述转移请求接收模块 331接收到的转移请求从所述家 庭账户包括的第二数值中减少所述第一数值,并将所述第一数值增加到所述目标物品 对应的账户包括的第三数值中。
其中, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户; 所述转 移请求是由所述终端在接收到所述目标物品的选择信号之后,将所述目标物品的信息 和所述终端的 ID发送给服务器;所述服务器根据所述终端的 ID査询与所述终端绑定 的家庭账户的 ID,然后根据所述目标物品的信息和所述家庭账户的 ID生成所述转移 请求, 并将所述转移请求发送给所述终端; 所述终端收到所述转移请求之后, 转发给 所述授权服务器的。
综上所述, 本公开实施例提供的请求处理系统, 通过绑定有家庭账户的终端将目 标物品的信息和终端的 ID发送给服务器,服务器根据终端的 ID査询到与该终端绑定 的家庭账户的 ID, 再根据家庭账户的 ID和目标物品的信息生成转移请求, 其中目标 物品的信息包括目标物品对应的第一数值和目标物品对应的账户 ID。 服务器将生成 的转移请求发送给终端, 以便终端将该转移请求发送给授权服务器; 授权服务器在接 收到该转移请求之后, 根据该转移请求从家庭账户包括的第二数值中减少第一数值, 并将第一数值增加到目标物品对应的账户包括的第三数值中;由于该终端绑定有家庭 账户,使得每个使用该终端的家庭成员都可以使用家庭账户中的第一数值对目标物品 进行兌换, 从而解决了其他家庭成员无法完成兌换过程的问题, 达到了家庭中所有成 员都可以在不切换至自己的私人账户就可以完成兌换过程的效果。
请参考图 4, 其示出了本公开另一实施例提供的请求处理系统的方框示意图。 该 请求处理系统, 包括终端 410、 服务器 430和授权服务器 450。
所述终端 410包括请求装置, 所述请求装置包括:
第二发送模块 411, 用于将所述家庭账户的 ID和所述终端的 ID发送给所述服务 器, 以便所述服务器将所述家庭账户和所述终端进行绑定。
选择接收模块 412, 用于接收对目标物品的选择信号。
第一发送模块 413, 用于将所述选择接收模块 412接收到的选择信号对应的目标 物品的信息和所述终端的 ID发送给服务器,以便所述服务器根据所述终端的 ID査询 与所述终端绑定的家庭账户的 ID, 并根据所述目标物品的信息和所述家庭账户的 ID 生成转移请求,所述目标物品的信息包括所述目标物品对应的第一数值和所述目标物 品对应的账户 ID。
转移接收模块 414, 用于接收所述服务器发送的转移请求。
査询发送模块 415, 用于向所述授权服务器发送査询请求, 所述査询请求用于査 询所述家庭账户包括的所述第二数值;
数值接收模块 416, 用于接收所述授权服务器发送的所述第二数值;
检测模块 417, 用于检测所述数值接收模块 416接收到的第二数值是否不小于所 述第一数值;
转移发送模块 418, 用于当所述检测模块 416的检测结果为所述第二数值不小于 所述第一数值时, 向授权服务器发送所述转移请求接收模块 414接收到的转移请求, 以便所述授权服务器在接收到所述转移请求后,从所述家庭账户包括的第二数值中减 少所述第一数值,并将所述第一数值增加到所述目标物品对应的账户包括的第三数值 中。
二维码生成模块 419, 用于当所述检测模块 417的检测结果为所述第二数值小于 所述第一数值, 根据所述转移请求和账户登录界面生成二维码;
二维码显示模块 420, 用于显示所述二维码生成模块 419生成的二维码, 以便所 述授权服务器接收私人账户发送的用于增加所述第二数值的增加请求,并根据所述增 加请求对所述第二数值进行增加,在增加后向所述终端发送用于表示所述第二数值发 生改变的消息; 其中, 所述增加请求用于对所述二维码中承载的所述转移请求中所携 带的所述家庭账户包括的第二数值进行增加,所述私人账户是根据所述二维码中的所 述账户登录界面登录的账户。
提示接收模块 421, 用于接收所述授权服务器发送的提示信息, 所述提示信息用 于表示所述第二数值小于所述第一数值。
二维码生成模块 419, 用于当所述提示接收模块接收到所述提示信息时, 根据所 述转移请求和账户登录界面生成二维码;
增加发送模块 422, 用于根据所述二维码显示模块 421显示的二维码向所述授权 服务器发送增加请求,所述增加请求用于对所述二维码中承载的所述转移请求中所携 带的所述家庭账户包括的第二数值进行增加。
变化接收模块 423, 用于接收所述授权服务器发送的用于表示所述第二数值发生 改变的消息。
再次检测模块 424, 用于在预定时刻重新执行所述检测所述第二数值是否不小于 所述第一数值的步骤; 其中, 所述预定时刻是在显示所述二维码之后的时间达到预定 时间长度时的时刻, 或者, 所述预定时刻是接收到所述用于表示所述第二数值发生改 变的消息时的时刻。
解除发送模块 425, 用于向所述服务器发送解除绑定关系请求, 所述解除绑定关 系请求包括所述家庭账户的 ID和所述终端的 ID, 以便所述服务器接收所述终端发送 的所述解除绑定关系请求,根据所述解除绑定关系请求解除所述家庭账户和所述终端 的绑定关系。
所述服务器 430包括服务装置, 所述服务装置包括:
第二接收模块 431, 用于接收所述终端发送的所述家庭账户的 ID和所述终端的
ID;
绑定模块 432, 用于将所述第二接收模块 431接收到的所述家庭账户和所述终端 进行绑定。
第一接收模块 433, 用于接收终端发送的目标物品的信息和所述终端的 ID, 所述 终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户, 所述目标物品的信息包 括所述目标物品对应的第一数值和所述目标物品对应的账户 ID;
査询模块 434, 用于根据所述第一接收模块 433接收到的所述终端的 ID在所述 绑定模块 432绑定的关系中査询与所述终端绑定的所述家庭账户的 ID;
转移生成模块 435, 用于根据所述第一接收模块 433接收到的所述目标物品的信 息和所述査询模块 434査询到的所述家庭账户的 ID生成转移请求;
转移发送模块 436,用于向所述终端发送所述转移生成模块 435生成的转移请求, 以便所述终端向授权服务器发送所述转移请求;所述授权服务器在接收到所述转移请 求后, 从所述家庭账户包括的第二数值中减少所述第一数值, 并将所述第一数值增加 到所述目标物品对应的账户包括的第三数值中。
解除接收模块 437, 用于接收所述终端或者其它终端发送的解除绑定关系请求, 所述解除绑定关系请求包括所述家庭账户的 ID和所述终端的 ID;
解除模块 438, 用于根据所述解除接收模块 437接收到的解除绑定关系请求解除 所述家庭账户和所述终端的绑定关系。
所述授权服务器 450包括授权装置, 所述授权装置包括:
査询接收模块 451, 用于接收所述终端发送的査询请求, 所述査询请求用于査询 所述家庭账户包括的所述第二数值;
第一査询模块 452, 用于根据所述査询请求接收模块 451接收到的査询请求査询 所述家庭账户包括的所述第二数值;
数值发送模块 453, 用于将所述第一査询模块 452査询到的所述第二数值发送给 所述终端, 以便所述终端检测所述第二数值是否不小于所述第一数值, 若检测结果为 所述第二数值小于所述第一数值, 则根据所述转移请求和账户登录界面生成二维码, 并显示所述二维码。
转移接收模块 454, 用于接收终端发送的转移请求, 所述转移请求包括目标物品 的信息和家庭账户的 ID, 所述目标物品的信息包括所述目标物品对应的第一数值和 所述目标物品对应的账户 ID; 转移模块 455, 用于根据所述转移请求接收模块 454接收到的转移请求从所述家 庭账户包括的第二数值中减少所述第一数值,并将所述第一数值增加到所述目标物品 对应的账户包括的第三数值中;
其中, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户; 所述转 移请求是由所述终端在接收到所述目标物品的选择信号之后,将所述目标物品的信息 和所述终端的 ID发送给服务器;所述服务器根据所述终端的 ID査询与所述终端绑定 的家庭账户的 ID,然后根据所述目标物品的信息和所述家庭账户的 ID生成所述转移 请求, 并将所述转移请求发送给所述终端; 所述终端收到所述转移请求之后, 转发给 所述授权服务器的。
第二査询模块 456, 用于根据所述转移接收模块 454接收到的转移请求査询所述 家庭账户包括的第二数值;
检测模块 457, 用于检测所述第二査询模块 456査询到的第二数值是否小于所述 第一数值;
提示发送模块 458, 用于当所述检测模块 457的检测结果为所述第二数值小于所 述第一数值时, 向所述终端发送提示信息, 所述提示信息用于表示所述第二数值小于 所述第一数值, 以便所述终端在收到提示信息之后, 根据所述转移请求和账户登录界 面生成二维码, 并显示所述二维码。
增加接收模块 459,用于接收私人账户发送的用于增加所述第二数值的增加请求, 所述增加请求用于对所述家庭账户包括的第二数值进行增加,所述私人账户是根据所 述二维码中的所述账户登录界面登录的账户;
增加模块 460, 用于根据所述增加接收模块 459接收到的增加请求对所述第二数 值进行增加;
变化发送模块 461, 用于在所述增加模块 460对所述第二数值进行增加后向所述 终端发送用于表示所述第二数值发生改变的消息。
综上所述, 本公开实施例提供的请求处理系统, 通过绑定有家庭账户的终端将目 标物品的信息和终端的 ID发送给服务器,服务器根据终端的 ID査询到与该终端绑定 的家庭账户的 ID, 再根据家庭账户的 ID和目标物品的信息生成转移请求, 其中目标 物品的信息包括目标物品对应的第一数值和目标物品对应的账户 ID。 服务器将生成 的转移请求发送给终端, 以便终端将该转移请求发送给授权服务器; 授权服务器在接 收到该转移请求之后, 根据该转移请求从家庭账户包括的第二数值中减少第一数值, 并将第一数值增加到目标物品对应的账户包括的第三数值中;并且在授权服务器执行 上述从家庭账户包括的第二数值中减少第一数值,并将第一数值增加到目标物品对应 的账户包括的第三数值中的步骤之前,终端和授权服务器进行交互来完成第一数值和 第二数值之间的大小比较过程, 若第二数值不小于第一数值, 则执行向授权服务器发 送转移请求的步骤; 若第二数值小于第一数值, 则根据转移请求和账户登录界面生成 二维码,以便用户根据该二维码使用该终端或者其它终端和授权服务器进行交互完成 对第二数值的增加, 继而执行再次检测该第二数值是否不小于第一数值的步骤。 由于 该终端绑定有家庭账户,使得每个使用该终端的家庭成员都可以使用家庭账户中的第 一数值对目标物品进行兌换, 从而解决了其他家庭成员无法完成兌换过程的问题, 达 到了家庭中所有成员都可以在不切换至自己的私人账户就可以完成兌换过程的效果。 另外,本公开实施例还在该终端遗失时通过其它终端向服务器发送用于解除该终端和 家庭账户之间的绑定关系的解除绑定关系请求。解决了若终端发送遗失可能给用户带 来损失的问题; 达到了尽量保证家庭账户安全的效果。
需要说明的是: 上述实施例提供的请求处理系统在处理请求时, 仅以上述各功能 模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的功 能模块完成, 即将系统的内部结构划分成不同的功能模块, 以完成以上描述的全部或 者部分功能。另外, 上述实施例提供的请求处理系统与请求处理方法实施例属于同一 构思, 其具体实现过程详见方法实施例, 这里不再赘述。
请参考图 5, 其示出了本公开一个实施例提供的电子设备的结构方框图。
该电子设备用于实施上述实施例中提供的请求处理方法。本公开实施例中的电子 设备可以包括一个或多个如下组成部分:用于执行计算机程序指令以完成各种流程和 方法的处理器, 用于信息和存储程序指令随机接入存储器 (RAM ) 和只读存储器 ( ROM) , 用于存储数据和信息的存储器, 用于存储表格、 目录或其它数据结构的 数据库, I/O设备, 界面, 天线等。 具体来讲:
电子设备 500可以包括 RF ( Radio Frequency, 射频) 电路 510、 包括有一个或多 个计算机可读存储介质的存储器 520、 输入单元 530、 显示单元 540、 传感器 550、 音 频电路 560、 短距离无线传输模块 570、 包括有一个或者多个处理核心的处理器 580、 以及电源 590等部件。本领域技术人员可以理解, 图 5中示出的电子设备的结构并不 构成对电子设备的限定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或 者不同的部件布置。 比如, 该电子设备为电视时, 可以仅包括 RF ( Radio Frequency, 射频)电路 510、包括有一个或多个计算机可读存储介质的存储器 520、显示单元 540、 音频电路 560、短距离无线传输模块 570、包括有一个或者多个处理核心的处理器 580、 以及电源 590等。 其中:
RF电路 510可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基 站的下行信息接收后, 交由一个或者多个处理器 580处理; 另外, 将涉及上行的数据 发送给基站。 通常, RF电路 510包括但不限于天线、 至少一个放大器、 调谐器、 一 个或多个振荡器、 用户身份模块 (SIM) 卡、 收发信机、 耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器) 、 双工器等。 此外, RF电路 510还可以通过无线通信与 网络和其它设备通信。 所述无线通信可以使用任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication, 全球移动通讯系统)、 GPRS(General Packet Radio Service, 通用分组无线服务)、 CDMA(Code Division Multiple Access, 码 分多址)、 WCDMA(Wideband Code Division Multiple Access, 宽带码分多址)、 LTE(Long Term Evolution,长期演进)、 电子邮件、 SMS(Short Messaging Service, 短消 息服务)等。
存储器 520可用于存储软件程序以及模块。 处理器 580通过运行存储在存储器
520的软件程序以及模块, 从而执行各种功能应用以及数据处理。 存储器 520可主要 包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能所 需的应用程序 (比如声音播放功能、 图像播放功能等)等; 存储数据区可存储根据电 子设备 500的使用所创建的数据 (比如音频数据、 电话本等) 等。 此外, 存储器 520 可以包括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储 器件、 闪存器件、 或其它易失性固态存储器件。 相应地, 存储器 520还可以包括存储 器控制器, 以提供处理器 580和输入单元 530对存储器 520的访问。
输入单元 530可用于接收输入的数字或字符信息, 以及产生与用户设置以及功能 控制有关的键盘、 鼠标、 操作杆、 光学或者轨迹球信号输入。 具体地, 输入单元 530 可包括触敏表面 531 以及其它输入设备 532。 触敏表面 531, 也称为触摸显示屏或者 触控板, 可收集用户在其上或附近的触摸操作(比如用户使用手指、 触笔等任何适合 的物体或附件在触敏表面 531上或在触敏表面 531附近的操作), 并根据预先设定的 程式驱动相应的连接装置。可选的, 触敏表面 531可包括触摸检测装置和触摸控制器 两个部分。 其中, 触摸检测装置检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸检测装置上接收触摸信息, 并将它转换 成触点坐标, 再送给处理器 580, 并能接收处理器 580发来的命令并加以执行。此外, 可以采用电阻式、 电容式、 红外线以及表面声波等多种类型实现触敏表面 531。 除了 触敏表面 531, 输入单元 530还可以包括其它输入设备 532。 具体地, 其它输入设备 532可以包括但不限于物理键盘、 功能键 (比如音量控制按键、 开关按键等) 、 轨迹 球、 鼠标、 操作杆等中的一种或多种。
显示单元 540 可用于显示由用户输入的信息或提供给用户的信息以及电子设备 500的各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频和其任 意组合来构成。 显示单元 540可包括显示面板 541, 可选的, 可以采用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode,有机发光二极管) 等形式来配置显示面板 541。 在一个实施例中, 触敏表面 531可覆盖在显示面板 541 之上, 当触敏表面 531检测到在其上或附近的触摸操作后, 传送给处理器 580以确定 触摸事件的类型,随后处理器 580根据触摸事件的类型在显示面板 541上提供相应的 视觉输出。虽然在图 5中, 触敏表面 531与显示面板 541是作为两个独立的部件来实 现输入和输入功能, 但是在某些实施例中, 可以将触敏表面 531与显示面板 541集成 而实现输入和输出功能。 电子设备 500还可包括至少一种传感器 550, 比如光传感器、 运动传感器以及其 它传感器。 具体地, 光传感器可包括环境光传感器及接近传感器, 其中, 环境光传感 器可根据环境光线的明暗来调节显示面板 541的亮度, 接近传感器可在电子设备 500 移动到耳边时, 关闭显示面板 541 和 /或背光。 作为运动传感器的一种, 重力加速度 传感器可检测各个方向上(一般为三轴)加速度的大小, 静止时可检测出重力的大小 及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、 振动识别相关功能 (比如计步器、 敲击) 等; 至于电子设备 500还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红外线传感器等其它传感器, 在此不再赘述。
音频电路 560、 扬声器 561, 传声器 562可提供用户与电子设备 500之间的音频 接口。 音频电路 560可将接收到的音频数据转换后的电信号, 传输到扬声器 561, 由 扬声器 561转换为声音信号输出; 另一方面, 传声器 562将收集的声音信号转换为电 信号,由音频电路 560接收后转换为音频数据,再将音频数据输出处理器 580处理后, 经 RF电路 510以发送给另一电子设备, 或者将音频数据输出至存储器 520以便进一 步处理。音频电路 560还可能包括耳塞插孔,以提供外设耳机与电子设备 500的通信。
短距离无线传输模块 570可以是 WIFI ( wireless fidelity, 无线保真) 模块或者蓝 牙模块等。 电子设备 500通过短距离无线传输模块 570可以帮助用户收发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网访问。虽然图 5示出 了短距离无线传输模块 570, 但是可以理解的是, 其并不属于电子设备 500的必须构 成, 完全可以根据需要在不改变发明的本质的范围内而省略。
处理器 580是电子设备 500的控制中心,利用各种接口和线路连接整个电子设备 的各个部分, 通过运行或执行存储在存储器 520 内的软件程序和 /或模块, 以及调用 存储在存储器 520内的数据, 执行电子设备 500的各种功能和处理数据, 从而对电子 设备 500进行整体监控。 可选的, 处理器 580可包括一个或多个处理核心; 优选的, 处理器 580可集成应用处理器和调制解调处理器, 其中, 应用处理器主要处理操作系 统、 用户界面和应用程序等, 调制解调处理器主要处理无线通信。 可以理解的是, 上 述调制解调处理器也可以不集成到处理器 580中。
电子设备 500还包括给各个部件供电的电源 590 (比如电池) , 优选的, 电源可 以通过电源管理系统与处理器 580逻辑相连, 从而通过电源管理系统实现管理充电、 放电、 以及功耗管理等功能。 电源 590还可以包括一个或多个的直流或交流电源、 再 充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出, 电子设备 500还可以包括摄像头、 蓝牙模块等, 在此不再赘述。 具 体在本实施例中, 电子设备 500的显示单元是触摸屏显示器。
电子设备 500除了包括一个或者多个处理器 580, 还包括有存储器, 以及一个或 者多个模块, 其中一个或者多个模块存储于存储器中, 并被配置成由一个或者多个处 理器执行。 上述一个或者多个模块具有如下功能- 接收对目标物品的选择信号;
将所述目标物品的信息和所述终端的 ID发送给服务器, 以便所述服务器根据所 述终端的 ID査询与所述终端绑定的家庭账户的 ID, 并根据所述目标物品的信息和所 述家庭账户的 ID生成转移请求, 所述目标物品的信息包括所述目标物品对应的第一 数值和所述目标物品对应的账户 ID;
接收所述服务器发送的转移请求;
向授权服务器发送所述转移请求, 以便所述授权服务器在接收到所述转移请求 后, 从所述家庭账户包括的第二数值中减少所述第一数值, 并将所述第一数值增加到 所述目标物品对应的账户包括的第三数值中。
在一个实施例中, 所述方法还包括:
将所述家庭账户的 ID和所述终端的 ID发送给所述服务器,以便所述服务器将所 述家庭账户和所述终端进行绑定。
在一个实施例中, 所述方法还包括:
向所述授权服务器发送査询请求,所述査询请求用于査询所述家庭账户包括的所 述第二数值;
接收所述授权服务器发送的所述第二数值;
检测所述第二数值是否不小于所述第一数值;
若检测结果为所述第二数值不小于所述第一数值,则执行所述向授权服务器发送 所述转移请求的步骤。
在一个实施例中, 所述方法还包括:
若检测结果为所述第二数值小于所述第一数值或接收到所述授权服务器发送的 提示信息, 则根据所述转移请求和账户登录界面生成二维码;
显示所述二维码, 以便所述授权服务器接收私人账户发送的用于增加所述第二数 值的增加请求, 并根据所述增加请求对所述第二数值进行增加, 在增加后向所述终端 发送用于表示所述第二数值发生改变的消息; 其中, 所述增加请求用于对所述二维码 中承载的所述转移请求中所携带的所述家庭账户包括的第二数值进行增加,所述私人 账户是根据所述二维码中的所述账户登录界面登录的账户。
在一个实施例中, 所述方法还包括:
接收所述授权服务器发送的提示信息,所述提示信息用于表示所述第二数值小于 所述第一数值;
根据所述转移请求和账户登录界面生成二维码;
显示所述二维码, 以便所述授权服务器接收私人账户发送的用于增加所述第二数 值的增加请求, 并根据所述增加请求对所述第二数值进行增加, 在增加后向所述终端 发送用于表示所述第二数值发生改变的消息; 其中, 所述增加请求用于对所述二维码 中承载的所述转移请求中所携带的所述家庭账户包括的第二数值进行增加,所述私人 账户是根据所述二维码中的所述账户登录界面登录的账户。
在一个实施例中, 所述方法, 还包括:
在预定时刻重新执行所述检测所述第二数值是否不小于所述第一数值的步骤; 其中, 所述预定时刻是在显示所述二维码之后的时间达到预定时间长度时的时 亥 I」, 或者, 所述预定时刻是接收到所述用于表示所述第二数值发生改变的消息时的时 刻。
在一个实施例中, 所述方法, 还包括:
向所述服务器发送解除绑定关系请求,所述解除绑定关系请求包括所述家庭账户 的 ID和所述终端的 ID,以便所述服务器接收所述终端发送的所述解除绑定关系请求, 根据所述解除绑定关系请求解除所述家庭账户和所述终端的绑定关系。
综上所述, 本公开实施例提供的电子设备, 通过绑定有家庭账户的终端将目标物 品的信息和终端的 ID发送给服务器,服务器根据终端的 ID査询到与该终端绑定的家 庭账户的 ID, 再根据家庭账户的 ID和目标物品的信息生成转移请求, 其中目标物品 的信息包括目标物品对应的第一数值和目标物品对应的账户 ID。 服务器将生成的转 移请求发送给终端, 以便终端将该转移请求发送给授权服务器; 授权服务器在接收到 该转移请求之后, 根据该转移请求从家庭账户包括的第二数值中减少第一数值, 并将 第一数值增加到目标物品对应的账户包括的第三数值中; 由于该终端绑定有家庭账 户,使得每个使用该终端的家庭成员都可以使用家庭账户中的第一数值对目标物品进 行兌换, 从而解决了其他家庭成员无法完成兌换过程的问题, 达到了家庭中所有成员 都可以在不切换至自己的私人账户就可以完成兌换过程的效果。
本文中所述的 "电子设备"可以是: 电视、 智能手机、 平板电脑、 电子书阅读器、 MP3播放器 (Moving Picture Experts Group Audio Layer III, 动态影像专家压缩标准 音频层面 3 ) 、 MP4 ( Moving Picture Experts Group Audio Layer IV, 动态影像专家压 缩标准音频层面 3 ) 播放器、 膝上型便携计算机和台式计算机等等。
请参考图 6, 其示出了本公开另一实施例提供的服务器的结构方框图。
该服务器用于实施上述实施例中提供的请求处理方法。本公开实施例中的服务器 可以包括一个或多个如下组成部分: 中央处理单元 (CPU ) 601、 随机存取存储器 ( RAM) 602和只读存储器(ROM) 603的系统存储器 604, 以及连接系统存储器 604 和中央处理单元 601的系统总线 605。所述服务器 600还包括帮助计算机内的各个器 件之间传输信息的基本输入 /输出系统 (I/O 系统) 606, 和用于存储操作系统 613、 应用程序 614和其它程序模块 615的大容量存储设备 607。本领域技术人员可以理解, 图 6中示出的服务器的结构并不构成对服务器的限定,可以包括比图示更多或更少的 部件, 或者组合某些部件, 或者不同的部件布置。 其中:
所述基本输入 /输出系统 606包括有用于显示信息的显示器 608和用于用户输入 信息的诸如鼠标、 键盘之类的输入设备 609。 其中所述显示器 608和输入设备 609都 通过连接到系统总线 605的输入输出控制器 610连接到中央处理单元 601。所述基本 输入 /输出系统 606还可以包括输入输出控制器 610 以用于接收和处理来自键盘、 鼠 标、 或电子触控笔等多个其它设备的输入。 类似地, 输入输出控制器 610还提供输出 到显示屏、 打印机或其它类型的输出设备。
所述大容量存储设备 607通过连接到系统总线 605的大容量存储控制器(未示出) 连接到中央处理单元 601。所述大容量存储设备 607及其相关联的计算机可读介质为 服务器 600提供非易失性存储。也就是说, 所述大容量存储设备 607可以包括诸如硬 盘或者 CD-ROM驱动器之类的计算机可读介质 (未示出) 。
不失一般性, 所述计算机可读介质可以包括计算机存储介质和通信介质。计算机 存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其它数据等信 息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储 介质包括 RAM、 ROM、 EPROM、 EEPROM、 闪存或其它固态存储其技术, CD-ROM、
DVD 或其它光学存储、 磁带盒、 磁带、 磁盘存储或其它磁性存储设备。 当然, 本领 域技术人员可知所述计算机存储介质不局限于上述几种。上述的系统存储器 604和大 容量存储设备 607可以统称为存储器。
根据本公开的各种实施例,所述服务器 600还可以通过诸如因特网等网络连接到 网络上的远程计算机运行。也即服务器 600可以通过连接在所述系统总线 605上的网 络接口单元 61 1连接到网络 612, 或者说, 也可以使用网络接口单元 11 1来连接到其 它类型的网络或远程计算机系统 (未示出) 。
服务器 600除了包括存储器, 还包括一个或者多个模块, 其中一个或者多个模块 存储于存储器中, 并被配置成由一个或者多个处理器执行。上述一个或者多个模块具 有如下功能:
接收终端发送的目标物品的信息和所述终端的 ID, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户,所述目标物品的信息包括所述目标物品对应的 第一数值和所述目标物品对应的账户 ID;
根据所述终端的 ID査询与所述终端绑定的所述家庭账户的 ID;
根据所述目标物品的信息和所述家庭账户的 ID生成转移请求;
向所述终端发送所述转移请求, 以便所述终端向授权服务器发送所述转移请求; 所述授权服务器在接收到所述转移请求后,从所述家庭账户包括的第二数值中减少所 述第一数值, 并将所述第一数值增加到所述目标物品对应的账户包括的第三数值中。
在一个实施例中, 所述方法还包括:
接收所述终端发送的所述家庭账户的 ID和所述终端的 ID;
将所述家庭账户和所述终端进行绑定。
在一个实施例中, 所述方法还包括:
接收所述终端或者其它终端发送的解除绑定关系请求,所述解除绑定关系请求包 括所述家庭账户的 ID和所述终端的 ID;
根据所述解除绑定关系请求解除所述家庭账户和所述终端的绑定关系。
综上所述, 本公开实施例提供的服务器, 通过接收绑定有家庭账户的终端发送的 目标物品的信息和终端的 ID, 根据终端的 ID査询到与该终端绑定的家庭账户的 ID, 再根据家庭账户的 ID和目标物品的信息生成转移请求, 其中目标物品的信息包括目 标物品对应的第一数值和目标物品对应的账户 ID。 向绑定有家庭账户的终端发送转 移请求以便终端将该转移请求发送给授权服务器;授权服务器在接收到该转移请求之 后, 根据该转移请求从家庭账户包括的第二数值中减少第一数值, 并将第一数值增加 到目标物品对应的账户包括的第三数值中; 由于该终端绑定有家庭账户, 使得每个使 用该终端的家庭成员都可以使用家庭账户中的第一数值对目标物品进行兌换,从而达 到了家庭中所有成员都可以完成兌换过程的效果。
请参考图 6, 其示出了本公开另一实施例提供的授权服务器的结构方框图。
该授权服务器用于实施上述实施例中提供的请求处理方法。本公开实施例中的授 权服务器可以包括一个或多个如下组成部分: 中央处理单元 (CPU) 601、 随机存取 存储器 (RAM) 602和只读存储器 (ROM) 603的系统存储器 604, 以及连接系统存 储器 604和中央处理单元 601的系统总线 605。所述授权服务器 600还包括帮助计算 机内的各个器件之间传输信息的基本输入 /输出系统 (I/O 系统) 606, 和用于存储操 作系统 613、 应用程序 614和其它程序模块 615的大容量存储设备 607。 本领域技术 人员可以理解, 图 6中示出的授权服务器的结构并不构成对授权服务器的限定, 可以 包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件布置。 其中: 所述基本输入 /输出系统 606包括有用于显示信息的显示器 608和用于用户输入 信息的诸如鼠标、 键盘之类的输入设备 609。 其中所述显示器 608和输入设备 609都 通过连接到系统总线 605的输入输出控制器 610连接到中央处理单元 601。所述基本 输入 /输出系统 606还可以包括输入输出控制器 610 以用于接收和处理来自键盘、 鼠 标、 或电子触控笔等多个其它设备的输入。 类似地, 输入输出控制器 610还提供输出 到显示屏、 打印机或其它类型的输出设备。
所述大容量存储设备 607通过连接到系统总线 605的大容量存储控制器(未示出) 连接到中央处理单元 601。所述大容量存储设备 607及其相关联的计算机可读介质为 授权服务器 600提供非易失性存储。也就是说, 所述大容量存储设备 607可以包括诸 如硬盘或者 CD-ROM驱动器之类的计算机可读介质 (未示出) 。
不失一般性, 所述计算机可读介质可以包括计算机存储介质和通信介质。计算机 存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其它数据等信 息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储 介质包括 RAM、 ROM、 EPROM、 EEPROM、 闪存或其它固态存储其技术, CD-ROM、 DVD 或其它光学存储、 磁带盒、 磁带、 磁盘存储或其它磁性存储设备。 当然, 本领 域技术人员可知所述计算机存储介质不局限于上述几种。上述的系统存储器 604和大 容量存储设备 607可以统称为存储器。
根据本公开的各种实施例,所述授权服务器 600还可以通过诸如因特网等网络连 接到网络上的远程计算机运行。 也即授权服务器 600 可以通过连接在所述系统总线 605上的网络接口单元 61 1连接到网络 612, 或者说, 也可以使用网络接口单元 1 11 来连接到其它类型的网络或远程计算机系统 (未示出) 。
授权服务器 600除了包括存储器, 还包括一个或者多个模块, 其中一个或者多个 模块存储于存储器中, 并被配置成由一个或者多个处理器执行。上述一个或者多个模 块具有如下功能:
接收终端发送的转移请求, 所述转移请求包括目标物品的信息和家庭账户的 ID, 所述目标物品的信息包括所述目标物品对应的第一数值和所述目标物品对应的账户
ID;
根据所述转移请求从所述家庭账户包括的第二数值中减少所述第一数值,并将所 述第一数值增加到所述目标物品对应的账户包括的第三数值中;
其中, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户; 所述转 移请求是由所述终端在接收到所述目标物品的选择信号之后,将所述目标物品的信息 和所述终端的 ID发送给服务器;所述服务器根据所述终端的 ID査询与所述终端绑定 的家庭账户的 ID,然后根据所述目标物品的信息和所述家庭账户的 ID生成所述转移 请求, 并将所述转移请求发送给所述终端; 所述终端收到所述转移请求之后, 转发给 所述授权服务器的。
在一个实施例中, 所述方法还包括:
接收所述终端发送的査询请求,所述査询请求用于査询所述家庭账户包括的所述 第二数值;
根据所述査询请求査询所述家庭账户包括的所述第二数值;
将査询到的所述第二数值发送给所述终端, 以便所述终端检测所述第二数值是否 不小于所述第一数值, 若检测结果为所述第二数值小于所述第一数值, 则根据所述转 移请求和账户登录界面生成二维码, 并显示所述二维码。
在一个实施例中, 所述方法还包括:
根据所述转移请求査询所述家庭账户包括的第二数值;
检测所述第二数值是否小于所述第一数值;
若检测结果为所述第二数值小于所述第一数值, 则向所述终端发送提示信息, 所 述提示信息用于表示所述第二数值小于所述第一数值,以便所述终端在收到提示信息 之后, 根据所述转移请求和账户登录界面生成二维码, 并显示所述二维码。
在一个实施例中, 所述方法还包括:
接收私人账户发送的用于增加所述第二数值的增加请求,所述增加请求用于对所 述家庭账户包括的第二数值进行增加,所述私人账户是根据所述二维码中的所述账户 登录界面登录的账户;
根据所述增加请求对所述第二数值进行增加;
在增加后向所述终端发送用于表示所述第二数值发生改变的消息。
综上所述, 本公开实施例提供的服务器, 通过接收绑定有家庭账户的终端发送的 转移请求, 该转移请求包括目标物品的信息和家庭账户的 ID, 目标物品的信息包括 目标物品对应的第一数值和目标物品对应的账户 ID, 并根据转移请求从家庭账户包 括的第二数值中减少第一数值,并将第一数值增加到目标物品对应的账户包括的第三 数值中; 由于该终端绑定有家庭账户, 使得每个使用该终端的家庭成员都可以使用家 庭账户中的第一数值对目标物品进行兌换,从而解决了其他家庭成员无法完成兌换过 程的问题,达到了家庭中所有成员都可以在不切换至自己的私人账户就可以完成兌换 过程的效果。
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件 来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机 可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和 原则之内,所作的任何修改、等同替换、改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种请求处理方法, 其特征在于, 用于绑定有家庭账户的终端中, 所述家庭 账户包括至少一个私人账户, 所述方法包括:
接收对目标物品的选择信号;
将所述目标物品的信息和所述终端的 ID发送给服务器, 以便所述服务器根据所 述终端的 ID査询与所述终端绑定的家庭账户的 ID, 并根据所述目标物品的信息和所 述家庭账户的 ID生成转移请求, 所述目标物品的信息包括所述目标物品对应的第一 数值和所述目标物品对应的账户 ID;
接收所述服务器发送的转移请求;
向授权服务器发送所述转移请求, 以便所述授权服务器在接收到所述转移请求 后, 从所述家庭账户包括的第二数值中减少所述第一数值, 并将所述第一数值增加到 所述目标物品对应的账户包括的第三数值中。
2、 根据权利要求 1所述的请求处理方法, 其特征在于, 所述方法还包括: 将所述家庭账户的 ID和所述终端的 ID发送给所述服务器,以便所述服务器将所 述家庭账户和所述终端进行绑定。
3、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
向所述授权服务器发送査询请求,所述査询请求用于査询所述家庭账户包括的所 述第二数值;
接收所述授权服务器发送的所述第二数值;
检测所述第二数值是否不小于所述第一数值;
若检测结果为所述第二数值不小于所述第一数值,则执行所述向授权服务器发送 所述转移请求的步骤。
4、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括:
若检测结果为所述第二数值小于所述第一数值,则根据所述转移请求和账户登录 界面生成二维码;
显示所述二维码, 以便所述授权服务器接收私人账户发送的用于增加所述第二数 值的增加请求, 并根据所述增加请求对所述第二数值进行增加, 在增加后向所述终端 发送用于表示所述第二数值发生改变的消息; 其中, 所述增加请求用于对所述二维码 中承载的所述转移请求中所携带的所述家庭账户包括的第二数值进行增加,所述私人 账户是根据所述二维码中的所述账户登录界面登录的账户。
5、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
接收所述授权服务器发送的提示信息,所述提示信息用于表示所述第二数值小于 所述第一数值;
根据所述转移请求和账户登录界面生成二维码;
显示所述二维码, 以便所述授权服务器接收私人账户发送的用于增加所述第二数 值的增加请求, 并根据所述增加请求对所述第二数值进行增加, 在增加后向所述终端 发送用于表示所述第二数值发生改变的消息; 其中, 所述增加请求用于对所述二维码 中承载的所述转移请求中所携带的所述家庭账户包括的第二数值进行增加,所述私人 账户是根据所述二维码中的所述账户登录界面登录的账户。
6、 根据权利要求 4或 5所述的方法, 其特征在于, 所述方法还包括:
在预定时刻重新执行所述检测所述第二数值是否不小于所述第一数值的步骤; 其中, 所述预定时刻是在显示所述二维码之后的时间达到预定时间长度时的时 亥 I」, 或者, 所述预定时刻是接收到所述用于表示所述第二数值发生改变的消息时的时 刻。
7、 根据权利要求 1至 5任一所述的方法, 其特征在于, 所述方法还包括: 向所述服务器发送解除绑定关系请求,所述解除绑定关系请求包括所述家庭账户 的 ID和所述终端的 ID,以便所述服务器接收所述终端发送的所述解除绑定关系请求, 根据所述解除绑定关系请求解除所述家庭账户和所述终端的绑定关系。
8、 一种请求处理方法, 其特征在于, 所述方法包括:
接收终端发送的目标物品的信息和所述终端的 ID, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户,所述目标物品的信息包括所述目标物品对应的 第一数值和所述目标物品对应的账户 ID;
根据所述终端的 ID査询与所述终端绑定的所述家庭账户的 ID;
根据所述目标物品的信息和所述家庭账户的 ID生成转移请求;
向所述终端发送所述转移请求, 以便所述终端向授权服务器发送所述转移请求; 所述授权服务器在接收到所述转移请求后,从所述家庭账户包括的第二数值中减少所 述第一数值, 并将所述第一数值增加到所述目标物品对应的账户包括的第三数值中。
9、 根据权利要求 8所述的方法, 其特征在于, 所述方法还包括:
接收所述终端发送的所述家庭账户的 ID和所述终端的 ID;
将所述家庭账户和所述终端进行绑定。
10、 根据权利要求 8或 9所述的方法, 其特征在于, 所述方法还包括: 接收所述终端或者其它终端发送的解除绑定关系请求,所述解除绑定关系请求包 括所述家庭账户的 ID和所述终端的 ID;
根据所述解除绑定关系请求解除所述家庭账户和所述终端的绑定关系。
11、 一种请求处理方法, 其特征在于, 用于授权服务器中, 所述方法包括: 接收终端发送的转移请求, 所述转移请求包括目标物品的信息和家庭账户的 ID, 所述目标物品的信息包括所述目标物品对应的第一数值和所述目标物品对应的账户 ID;
根据所述转移请求从所述家庭账户包括的第二数值中减少所述第一数值,并将所 述第一数值增加到所述目标物品对应的账户包括的第三数值中; 其中, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户; 所述转 移请求是由所述终端在接收到所述目标物品的选择信号之后,将所述目标物品的信息 和所述终端的 ID发送给服务器;所述服务器根据所述终端的 ID査询与所述终端绑定 的家庭账户的 ID,然后根据所述目标物品的信息和所述家庭账户的 ID生成所述转移 请求, 并将所述转移请求发送给所述终端; 所述终端收到所述转移请求之后, 转发给 所述授权服务器的。
12、 根据权利要求 11所述的方法, 其特征在于, 所述方法还包括:
接收所述终端发送的査询请求,所述査询请求用于査询所述家庭账户包括的所述 第二数值;
根据所述査询请求査询所述家庭账户包括的所述第二数值;
将査询到的所述第二数值发送给所述终端, 以便所述终端检测所述第二数值是否 不小于所述第一数值, 若检测结果为所述第二数值小于所述第一数值, 则根据所述转 移请求和账户登录界面生成二维码, 并显示所述二维码。
13、 根据权利要求 11所述的方法, 其特征在于, 所述方法还包括:
根据所述转移请求査询所述家庭账户包括的第二数值;
检测所述第二数值是否小于所述第一数值;
若检测结果为所述第二数值小于所述第一数值, 则向所述终端发送提示信息, 所 述提示信息用于表示所述第二数值小于所述第一数值,以便所述终端在收到提示信息 之后, 根据所述转移请求和账户登录界面生成二维码, 并显示所述二维码。
14、 根据权利要求 12或 13所述的方法, 其特征在于, 所述方法接收私人账户发 送的用于增加所述第二数值的增加请求,所述增加请求用于对所述家庭账户包括的第 二数值进行增加, 所述私人账户是根据所述二维码中的所述账户登录界面登录的账 户;
根据所述增加请求对所述第二数值进行增加;
在增加后向所述终端发送用于表示所述第二数值发生改变的消息。
15、 一种终端, 其特征在于, 所述终端绑定有家庭账户, 所述家庭账户包括至少 一个私人账户, 所述终端包括:
选择接收模块, 用于接收对目标物品的选择信号;
第一发送模块,用于将所述选择接收模块接收到的选择信号对应的目标物品的信 息和所述终端的 ID发送给服务器,以便所述服务器根据所述终端的 ID査询与所述终 端绑定的家庭账户的 ID, 并根据所述目标物品的信息和所述家庭账户的 ID生成转移 请求,所述目标物品的信息包括所述目标物品对应的第一数值和所述目标物品对应的 账户 ID;
转移接收模块, 用于接收所述服务器发送的转移请求;
转移发送模块, 用于向授权服务器发送所述转移接收模块接收到的转移请求, 以 便所述授权服务器在接收到所述转移请求后,从所述家庭账户包括的第二数值中减少 所述第一数值, 并将所述第一数值增加到所述目标物品对应的账户包括的第三数值 中。
16、 根据权利要求 15所述的终端, 其特征在于, 所述终端还包括:
第二发送模块, 用于将所述家庭账户的 ID和所述终端的 ID发送给所述服务器, 以便所述服务器将所述家庭账户和所述终端进行绑定。
17、 根据权利要求 15所述的终端, 其特征在于, 所述终端还包括:
査询发送模块、 数值接收模块和检测模块;
所述査询发送模块, 用于向所述授权服务器发送査询请求, 所述査询请求用于査 询所述家庭账户包括的所述第二数值;
所述数值接收模块, 用于接收所述授权服务器发送的所述第二数值;
所述检测模块,用于检测所述数值接收模块接收到的第二数值是否不小于所述第 一数值;
所述转移发送模块,用于当所述检测模块的检测结果为所述第二数值不小于所述 第一数值时, 执行所述向授权服务器发送所述转移请求的步骤。
18、 根据权利要求 17所述的终端, 其特征在于, 所述终端还包括:
二维码生成模块,用于当所述检测模块的检测结果为所述第二数值小于所述第一 数值时, 根据所述转移请求和账户登录界面生成二维码;
二维码显示模块, 用于显示所述二维码, 以便所述授权服务器接收私人账户发送 的用于增加所述第二数值的增加请求, 并根据所述增加请求对所述第二数值进行增 力口, 在增加后向所述终端发送用于表示所述第二数值发生改变的消息; 其中, 所述增 加请求用于对所述二维码中承载的所述转移请求中所携带的所述家庭账户包括的第 二数值进行增加, 所述私人账户是根据所述二维码中的所述账户登录界面登录的账 户。
19、 根据权利要求 17所述的终端, 其特征在于, 所述终端还包括:
提示接收模块, 用于接收所述授权服务器发送的提示信息, 所述提示信息用于表 示所述第二数值小于所述第一数值;
二维码生成模块, 用于当所述提示接收模块接收到所述提示信息时, 根据所述转 移请求和账户登录界面生成二维码;
二维码显示模块, 用于显示所述二维码, 以便所述授权服务器接收私人账户发送 的用于增加所述第二数值的增加请求, 并根据所述增加请求对所述第二数值进行增 力口, 在增加后向所述终端发送用于表示所述第二数值发生改变的消息; 其中, 所述增 加请求用于对所述二维码中承载的所述转移请求中所携带的所述家庭账户包括的第 二数值进行增加, 所述私人账户是根据所述二维码中的所述账户登录界面登录的账 户。
20、 根据权利要求 18或 19所述的终端, 其特征在于, 所述终端还包括: 再次检测模块,用于在预定时刻重新执行所述检测所述第二数值是否不小于所述 第一数值的步骤;
其中, 所述预定时刻是在显示所述二维码之后的时间达到预定时间长度时的时 亥 I」, 或者, 所述预定时刻是接收到所述用于表示所述第二数值发生改变的消息时的时 刻。
21、 根据权利要求 15至 19任一所述的终端, 其特征在于, 所述终端还包括: 解除发送模块, 用于向所述服务器发送解除绑定关系请求, 所述解除绑定关系请 求包括所述家庭账户的 ID和所述终端的 ID, 以便所述服务器接收所述终端发送的所 述解除绑定关系请求,根据所述解除绑定关系请求解除所述家庭账户和所述终端的绑 定关系。
22、 一种服务器, 其特征在于, 所述服务器包括:
第一接收模块, 用于接收终端发送的目标物品的信息和所述终端的 ID, 所述终 端绑定有家庭账户, 所述家庭账户包括至少一个私人账户, 所述目标物品的信息包括 所述目标物品对应的第一数值和所述目标物品对应的账户 ID;
査询模块, 用于根据所述第一接收模块接收到的所述终端的 ID査询与所述终端 绑定的所述家庭账户的 ID;
转移生成模块,用于根据所述第一接收模块接收到的所述目标物品的信息和所述 査询模块査询到的所述家庭账户的 ID生成转移请求;
转移发送模块, 用于向所述终端发送所述转移生成模块生成的转移请求, 以便所 述终端向授权服务器发送所述转移请求; 所述授权服务器在接收到所述转移请求后, 从所述家庭账户包括的第二数值中减少所述第一数值,并将所述第一数值增加到所述 目标物品对应的账户包括的第三数值中。
23、 根据权利要求 22所述的服务器, 其特征在于, 所述服务器还包括: 第二接收模块, 用于接收所述终端发送的所述家庭账户的 ID和所述终端的 ID; 绑定模块, 用于将所述第二接收模块接收到的所述家庭账户和所述终端进行绑 定。
24、 根据权利要求 22或 23所述的服务器, 其特征在于, 所述服务器还包括: 解除接收模块, 用于接收所述终端或者其它终端发送的解除绑定关系请求, 所述 解除绑定关系请求包括所述家庭账户的 ID和所述终端的 ID;
解除模块,用于根据所述解除接收模块接收到的解除绑定关系请求解除所述家庭 账户和所述终端的绑定关系。
25、 一种授权服务器, 其特征在于, 所述授权服务器包括:
转移接收模块, 用于接收终端发送的转移请求, 所述转移请求包括目标物品的信 息和家庭账户的 ID, 所述目标物品的信息包括所述目标物品对应的第一数值和所述 目标物品对应的账户 ID;
转移模块,用于根据所述转移接收模块接收到的转移请求从所述家庭账户包括的 第二数值中减少所述第一数值,并将所述第一数值增加到所述目标物品对应的账户包 括的第三数值中;
其中, 所述终端绑定有家庭账户, 所述家庭账户包括至少一个私人账户; 所述转 移请求是由所述终端在接收到所述目标物品的选择信号之后,将所述目标物品的信息 和所述终端的 ID发送给服务器;所述服务器根据所述终端的 ID査询与所述终端绑定 的家庭账户的 ID,然后根据所述目标物品的信息和所述家庭账户的 ID生成所述转移 请求, 并将所述转移请求发送给所述终端; 所述终端收到所述转移请求之后, 转发给 所述授权服务器的。
26、 根据权利要求 25所述的授权服务器, 其特征在于, 所述授权服务器还包括: 査询接收模块, 用于接收所述终端发送的査询请求, 所述査询请求用于査询所述 家庭账户包括的所述第二数值;
第一査询模块,用于根据所述査询接收模块接收到的査询请求査询所述家庭账户 包括的所述第二数值;
数值发送模块, 用于将所述第一査询模块査询到的所述第二数值发送给所述终 端, 以便所述终端检测所述第二数值是否不小于所述第一数值, 若检测结果为所述第 二数值小于所述第一数值, 则根据所述转移请求和账户登录界面生成二维码, 并显示 所述二维码。
27、 根据权利要求 25所述的授权服务器, 其特征在于, 所述授权服务器还包括: 第二査询模块, 用于根据所述转移请求査询所述家庭账户包括的第二数值; 检测模块, 用于检测所述第二査询模块査询到的第二数值是否小于所述第一数 值;
提示发送模块,用于当所述检测模块的检测结果为所述第二数值小于所述第一数 值时, 向所述终端发送提示信息, 所述提示信息用于表示所述第二数值小于所述第一 数值, 以便所述终端在收到提示信息之后, 根据所述转移请求和账户登录界面生成二 维码, 并显示所述二维码。
28、 根据权利要求 26或 27所述的授权服务器, 其特征在于, 所述授权服务器还 包括:
增加接收模块, 用于接收私人账户发送的用于增加所述第二数值的增加请求, 所 述增加请求用于对所述家庭账户包括的第二数值进行增加,所述私人账户是根据所述 二维码中的所述账户登录界面登录的账户;
增加模块,用于根据所述增加请求接收模块接收到的增加请求对所述第二数值进 行增加;
变化发送模块,用于在所述增加模块对所述第二数值进行增加后向所述终端发送 用于表示所述第二数值发生改变的消息。
29、 一种请求处理系统, 其特征在于, 所述系统包括如权利要求 15至 21任一所 述的终端、如权利要求 22至 24任一所述的服务器和如权利要求 25至 28任一所述的 授权服务器;
其中, 所述终端和所述服务器通过有线或者无线网络连接, 所述终端和所述授权 服务器通过有线或者无线网络连接。
PCT/CN2014/076391 2013-07-24 2014-04-28 请求处理方法、终端、服务器、授权服务器及系统 Ceased WO2015010483A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310314342.6 2013-07-24
CN201310314342.6A CN103401911B (zh) 2013-07-24 2013-07-24 请求处理方法、终端、服务器、授权服务器及系统

Publications (1)

Publication Number Publication Date
WO2015010483A1 true WO2015010483A1 (zh) 2015-01-29

Family

ID=49565434

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076391 Ceased WO2015010483A1 (zh) 2013-07-24 2014-04-28 请求处理方法、终端、服务器、授权服务器及系统

Country Status (2)

Country Link
CN (1) CN103401911B (zh)
WO (1) WO2015010483A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401911B (zh) * 2013-07-24 2017-03-01 小米科技有限责任公司 请求处理方法、终端、服务器、授权服务器及系统
CN105162668B (zh) * 2015-09-17 2018-09-18 小米科技有限责任公司 连接解除方法及装置
CN108268500A (zh) * 2016-12-30 2018-07-10 阿里巴巴集团控股有限公司 传输信息和显示信息的方法、设备及系统
CN113159755A (zh) * 2021-03-04 2021-07-23 北京极智数仓科技有限公司 多主体账户关联的管理方法和服务平台
CN118674165A (zh) * 2024-06-25 2024-09-20 杭州裕隆通信有限公司 乡村积分管理方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562659A (zh) * 2009-05-22 2009-10-21 深圳市同洲电子股份有限公司 一种通过手机托收电视费用的方法和系统
CN101646150A (zh) * 2008-10-22 2010-02-10 中国科学院声学研究所 一种应用于业务运营支撑系统中的账务管理系统及方法
CN103401911A (zh) * 2013-07-24 2013-11-20 北京小米科技有限责任公司 请求处理方法、终端、服务器、授权服务器及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093567A (zh) * 2007-08-01 2007-12-26 中国工商银行股份有限公司 一种实现家庭账户的系统及方法
CN101489096B (zh) * 2009-02-05 2017-07-25 华为技术有限公司 电视节目点播付费方法、设备及系统
CN102346890A (zh) * 2010-07-30 2012-02-08 李嘉辉 网络支付方法及系统
CN102364518A (zh) * 2011-11-04 2012-02-29 康佳集团股份有限公司 一种用于智能电视在线商城的支付系统及其支付方法
CN102905169A (zh) * 2012-09-14 2013-01-30 四川长虹电器股份有限公司 电视支付的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101646150A (zh) * 2008-10-22 2010-02-10 中国科学院声学研究所 一种应用于业务运营支撑系统中的账务管理系统及方法
CN101562659A (zh) * 2009-05-22 2009-10-21 深圳市同洲电子股份有限公司 一种通过手机托收电视费用的方法和系统
CN103401911A (zh) * 2013-07-24 2013-11-20 北京小米科技有限责任公司 请求处理方法、终端、服务器、授权服务器及系统

Also Published As

Publication number Publication date
CN103401911B (zh) 2017-03-01
CN103401911A (zh) 2013-11-20

Similar Documents

Publication Publication Date Title
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
CN105024984B (zh) 权限设置方法、装置及系统
US11057376B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
CN104518875B (zh) 一种身份验证及账号获取的方法、移动终端
WO2015124033A1 (zh) 视频交互方法、终端、服务器及系统
US10084729B2 (en) Apparatuses and methods for web page sharing
WO2017133547A1 (zh) 信息处理方法及装置
CN106534072B (zh) 用户信息授权方法、装置、设备及系统
WO2015043213A1 (en) Method, system and terminal for deleting a sent message in instant message communication
WO2018019261A1 (zh) 资源转移方法及装置
US9680921B2 (en) Method, apparatus, and system for controlling voice data transmission
CN106778175A (zh) 一种界面锁定方法、装置和终端设备
CN106341809B (zh) 一种数据传输方法及设备
WO2018209555A1 (zh) 连接蓝牙设备的方法及终端设备
TW201504918A (zh) 消息查看方法、裝置和移動終端
WO2014206037A1 (en) Apparatuses and methods for web page sharing
CN106599641A (zh) 一种限制终端锁定的方法、装置和终端
CN106550361B (zh) 一种数据传输方法,设备及计算机可读存储介质
WO2015101302A1 (zh) 数据共享方法、系统、用户端及后台服务器
WO2016078504A1 (zh) 身份鉴权方法和装置
CN104852802B (zh) 身份验证方法、设备及系统
CN106534324A (zh) 一种数据共享方法及云服务器
WO2015010483A1 (zh) 请求处理方法、终端、服务器、授权服务器及系统
WO2017054585A1 (zh) 网络接入方法、装置及系统
CN111447208A (zh) 信息共享方法及电子设备

Legal Events

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

Ref document number: 14830179

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14830179

Country of ref document: EP

Kind code of ref document: A1