WO2017008732A1 - 可支配对象处理方法及装置 - Google Patents

可支配对象处理方法及装置 Download PDF

Info

Publication number
WO2017008732A1
WO2017008732A1 PCT/CN2016/089787 CN2016089787W WO2017008732A1 WO 2017008732 A1 WO2017008732 A1 WO 2017008732A1 CN 2016089787 W CN2016089787 W CN 2016089787W WO 2017008732 A1 WO2017008732 A1 WO 2017008732A1
Authority
WO
WIPO (PCT)
Prior art keywords
pseudo
distributable
terminal
disposable
state information
Prior art date
Application number
PCT/CN2016/089787
Other languages
English (en)
French (fr)
Inventor
任杰
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to MYPI2017703054A priority Critical patent/MY194203A/en
Publication of WO2017008732A1 publication Critical patent/WO2017008732A1/zh
Priority to US15/857,150 priority patent/US10542112B2/en

Links

Images

Classifications

    • 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/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/173Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
    • G06F15/17306Intercommunication techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1865Transactional file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Definitions

  • the present application relates to the field of data processing technologies, and in particular, to a method and device for processing a disposable object.
  • a disposable object can be understood as a type of target object that can be artificially dominated. Different users can achieve certain goals by interacting and controlling the target object.
  • the treatment of existing common disposable objects is generally based on third-party institutions that are recognized by the public.
  • the general process is as follows: A user sends an object control request to an online server provided by a third-party organization, and requests a certain amount of objects to be transferred to the B user; the online server accepts the request after receiving the request, and takes out a certain amount from the A user account. The amount of objects is transferred to the B user's account.
  • the A user sends a call duration control request to the online server provided by the communication company, requesting to transfer the 100-minute call duration to the B user; after receiving the request, the online server receives the request from the A user.
  • the duration of the call is reduced by 100 minutes, and the duration of the call is increased by 100 minutes in the account of the B user.
  • the present application provides a method and apparatus for processing a disposable object, and the specific scheme is as follows. .
  • An embodiment of the present invention provides a method for processing a disposable object, which is applied to a terminal, and the method includes:
  • the pseudo-distributable object of the terminal login account Change status information Using the pseudo-distributable object change information, the pseudo-distributable object of the terminal login account Change status information;
  • the disposable object update request When detecting that the terminal is connected to the online server, sending a disposable object update request to the online server, the disposable object update request carries the terminal login account, and the pseudo-distributable of the login account State information of the object, the available object update request is used by the online server to perform the correspondence between the preset pseudo-distributable object state information and the available object state information according to the online server The status information of the disposable object of the terminal login account is updated.
  • An embodiment of the present invention provides another method for processing a disposable object, which is applied to an online server, and the method includes:
  • Target can control object state information
  • Embodiments of the present invention provide a disposable object processing apparatus, which is applied to a terminal, the apparatus comprising: a processor and a storage medium storing computer executable instructions, when the processor runs the computer executable instructions, The processor performs the following steps:
  • pseudo-distributable object change information changing state information of the pseudo-distributable object of the terminal login account
  • the disposable object update request When detecting that the terminal is connected to the online server, sending a disposable object update request to the online server, the disposable object update request carries the terminal login account, and the pseudo-distributable of the login account State information of the object, the available object update request is used for the online server to correspond to the preset pseudo-distributable object state information and the disposable object state information And updating status information of the disposable object of the terminal login account in the online server.
  • An embodiment of the present invention provides another disposable object processing apparatus, which is applied to an online server, the apparatus comprising: a processor and a storage medium storing computer executable instructions, when the processor runs the computer executable instruction
  • the processor performs the following steps:
  • Target can control object state information
  • the method for processing the disposable object stores the state information of the disposable object of the account, such as the remaining amount of the call duration of the account, and the like.
  • each account is also assigned a pseudo-distributable object.
  • the pseudo-distributable object can be regarded as a substitute for the disposable object under the control of the online object.
  • the correspondence between the pseudo-distributable object and the disposable object is pre-set, for example, a unit of pseudo-object A disposable object is equivalent to two units of disposable objects.
  • the pseudo-distributable object change information is generated, and the near-field communication function can be used between different terminals to transmit and receive the pseudo-distributable object change information, and then the information is changed to the terminal according to the pseudo-distributable object.
  • the status information of the pseudo-distributable object of the current login account is changed.
  • the online server When detecting that the terminal accesses the network, sending an account-available object update request to the online server, the online server refers to the state information of the pseudo-distributable object of the terminal login account, and the preset pseudo-distributable object state information and the disposable The correspondence between the object state information updates the state information of the disposable object of the terminal login account in the online server, thereby realizing the object control processing in the state where the terminal is disconnected from the network, which facilitates the normal use of the user. .
  • FIG. 1 is a flowchart of a method for processing a disposable object according to an embodiment of the present application
  • FIG. 2 is a flowchart of another method for processing a disposable object according to an embodiment of the present application
  • FIG. 3 is a flowchart of still another method for processing a disposable object according to an embodiment of the present application
  • FIG. 4 is a flowchart of still another method for processing a disposable object according to an embodiment of the present application.
  • FIG. 5 is a flowchart of still another method for processing a disposable object according to an embodiment of the present application.
  • FIG. 6 is a flowchart of still another method for processing a disposable object according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a disposable object processing apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a disposable object processing apparatus introduced from the perspective of an online server according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an online server hardware according to an embodiment of the present application.
  • FIG. 1 is a flowchart of a method for processing a disposable object according to an embodiment of the present application.
  • the method can be applied to a terminal such as a mobile phone or a tablet computer.
  • the method includes steps S100 to S130.
  • step S100 pseudo-distributable object change information is generated in response to a pseudo-object dominance request initiated by the user.
  • the status information of the disposable object is stored in the server on an account.
  • the disposable object can be the duration of the call, the amount of the deposit, etc.
  • the status information of the disposable object is the remaining time of the call duration.
  • the so-called pseudo-distributable objects can be regarded as substitutes for the disposable objects under the control of the online.
  • the disposable object and the pseudo-distributable object.
  • a unit of pseudo-distributable object can be equivalent to two units of disposable objects.
  • the "electronic meal ticket” can be considered as a fake The object can be dominated, while the "small” and “vegetable” represent the disposable objects.
  • the pseudo-distributable object is, of course, a term that is defined for convenience of description, and should not be construed as limiting the scope of the present application.
  • the generated pseudo-distributable object change information which indicates the pseudo-distributable object of how many values are transferred from the current account
  • it can also be understood as a pseudo-distributable object of how many values are transferred to another account.
  • the concept of the numerical value here depends on the unit type of the pseudo-distributable object. For example, when the pseudo-distributable object is an electronic meal ticket, the unit is "Zhang".
  • step S110 the pseudo-distributable object change information is sent to the target terminal that has established a communication connection with the terminal.
  • the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the target terminal login account.
  • the two terminals that perform the processing of the disposable object are not limited to the network to be connected, and the two terminals only need to ensure that the communication connection is established. Common such as Bluetooth communication, NFC communication, infrared communication or in the same LAN.
  • the target terminal is also the terminal to which the user wants to transfer the account of the pseudo-distributable object.
  • the A account is logged in on the terminal 1
  • the B account is logged in on the terminal 2.
  • the user uses the A account to spend a certain amount of disposable objects and transfers it to the B account.
  • the terminal 2 is Target terminal.
  • step S120 the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the terminal registration account.
  • the value of the pseudo-distributable object of the login account is reduced by changing the state information of the pseudo-distributable object.
  • the value of the pseudo-distributable object of the account is increased.
  • the status information is used to indicate the value of the pseudo-distributable object of the account, wherein the status information may be represented by multiple types, for example, different serial codes represent pseudo-distributable objects of different values, or different numbers of identifiers. (for example, "round board” icon) pseudo-distributable objects representing different values, and the like.
  • step S130 When it is detected in step S130 that the terminal is connected to the online server, the server is sent to the online server. With an object update request.
  • the disposable object update request carries the current login account of the terminal, and the status information of the pseudo-distributable object of the login account.
  • the disposable object update request is used for the online server to refer to the preset correspondence between the pseudo-distributable object state information and the available object state information, and update the state information of the disposable object of the current login account of the terminal in the online server. .
  • Different accounts can change the state of the pseudo-distributable object of the account by trading pseudo-distributable objects, and can also be understood as the change of the value of the pseudo-distributable object of the account.
  • the terminal connects to the online server
  • the terminal login account and the status information of the pseudo-distributable object of the account are uploaded to the online server, and the online server determines the corresponding disposable object according to the state information of the pseudo-distributable object of the account.
  • the status information is then updated to the status information of the disposable object of the account in the online server to the status information of the determined disposable object.
  • the terminal When the terminal is connected to the online server, the terminal may actively send the available object update request, or the online server may first send the update request to the terminal, and then the terminal uploads the disposable object update request, which is not limited in this application.
  • the online server stores the state information of the disposable object of the account, and each account is also assigned a pseudo-distributable object, and the pseudo-distributable object can be regarded as a disposable object online.
  • An alternative to the next control. We pre-set the correspondence between pseudo-distributable objects and disposable objects. For example, a unit of pseudo-distributable objects can be equivalent to two units of disposable objects.
  • the pseudo-distributable object change information is generated, and the inter-terminal communication connection, such as near field communication, Bluetooth communication, etc., can be used between different terminals to send and receive pseudo-distributable object change information, and then The state information of the pseudo-distributable object of the terminal login account is changed based on the pseudo-distributable object change information.
  • the inter-terminal communication connection such as near field communication, Bluetooth communication, etc.
  • the online server When detecting that the terminal is connected to the online server, sending an account-available object update request to the online server, the online server refers to the status information of the pseudo-distributable object of the terminal login account, and the preset pseudo-distributable object status information and The correspondence between the state information of the object can be controlled, and the state information of the disposable object of the terminal login account in the online server is updated, so that the object can be controlled while the terminal is disconnected, which is convenient for the user. Normal use.
  • this embodiment introduces the solution of the present application through a specific application scenario.
  • User A goes to the remote mountainous area. In the local market, he wants to buy a product with a price of 100 yuan for the merchant B. The user A does not bring cash, and there is no network signal in the local area. User A cannot use the mobile phone to connect to the network.
  • the user A obtains the desired item by paying 10 tokens to the merchant, and the merchant B also obtains 10 tokens by selling the item.
  • the mobile phones of user A and user B can be connected to the Internet, and the number of virtual coins in the account can be uploaded to the online banking server, and the banking server according to the virtual currency in the account Quantity, update the amount in the corresponding account.
  • the bank server deducts 100 rounds from the user A account, leaving 900 dollars remaining.
  • the step S120 may be performed after receiving the information that the pseudo-distributable object state information returned by the target terminal is successfully changed. Through this setting, the user's interests are protected from damage.
  • step S110 and step S120 are not limited to the order of the first embodiment, and it may be reversed or performed in parallel.
  • another method of processing a disposable object is disclosed, which can be applied to a terminal such as a mobile phone or a tablet telegram. As shown in FIG. 2, the method includes steps S200 to S240.
  • a user-initiated pseudo-object domination request is received in step S200, the request carrying a dominant pseudo-distributable object value.
  • step S210 the md5 value is obtained for the pseudo-distributable object value, and the result is used as pseudo-distributable object change information.
  • the md5 value is obtained for the pseudo-distributable object value according to the predetermined md5 algorithm, and the result is used as the pseudo-distributable object change information.
  • the security of the data is ensured, and the fake pseudo-distributable object change information is avoided.
  • step S220 the pseudo-distributable object change information is sent to the target terminal that has established a communication connection with the terminal.
  • the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the current login account of the target terminal.
  • the target terminal decrypts using the preset decryption algorithm corresponding to the encryption algorithm, and then changes the pseudo-distribution of the current login account of the target terminal. Status information of the object.
  • step S230 the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the terminal registration account.
  • step S240 When it is detected in step S240 that the terminal is connected to the online server, the disposable object update request is transmitted to the online server.
  • the disposable object update request may carry the terminal login account and status information of the pseudo-distributable object of the login account.
  • the process of encrypting the value of the pseudo-distributable object to obtain the md5 value is added in the embodiment, which ensures the security of the data and avoids the forgery of pseudo-distributable object change information.
  • another method for processing a disposable object is further disclosed, and the method can be applied to a terminal such as a mobile phone or a tablet computer.
  • the method includes steps S300 to S340.
  • step S300 pseudo-distributable object change information is generated in response to a pseudo-object dominance request initiated by the user.
  • the status information of the disposable object is stored in the server on an account.
  • the disposable object can be the duration of the call, the amount of the deposit, etc.
  • the status information of the disposable object is the remaining time of the call duration.
  • step S310 the pseudo-distributable object change information is sent to the target terminal that has established a communication connection with the terminal.
  • the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the current login account of the target terminal.
  • the two terminals that perform the processing of the disposable object are not limited to the network to be connected, and the two terminals only need to ensure that the communication connection is established. Common such as Bluetooth communication, NFC communication, infrared communication or in the same LAN.
  • step S320 the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the terminal login account.
  • step S330 the state information change and the change time of the pseudo-distributable object are stored as one change record in the terminal login account.
  • each change in status information generated is saved as a change record for subsequent verification.
  • step S340 upon detecting that the terminal is connected to the online server, the disposable object update request is sent to the online server.
  • the disposable object update request carries the login account of the terminal and the status information of the pseudo-distributable object of the login account.
  • the step of recording the change of the status information of the terminal login account is further added, and by changing the status information of the account, the data base can be provided for the subsequent server checklist.
  • the embodiment of the present application provides another method for processing a disposable object, which can be applied to a terminal such as a mobile phone or a tablet computer.
  • the method includes steps S400 to S450.
  • step S400 pseudo-distributable object change information is generated in response to a pseudo-object dominance request initiated by the user.
  • the status information of the disposable object is stored in the server on an account.
  • the disposable object can be the duration of the call, the amount of the deposit, etc.
  • the status information of the disposable object is the remaining time of the call duration.
  • step S410 the pseudo-distributable object change information is sent to the target terminal that has established a communication connection with the terminal.
  • pseudo-distributable object change information is used to change the pseudo-distribution of the target terminal login account Status information of the object.
  • the two terminals that perform the processing of the disposable object are not limited to the network to be connected, and the two terminals only need to ensure that the communication connection is established. Common such as Bluetooth communication, NFC communication, infrared communication or in the same LAN.
  • step S420 the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the terminal registration account.
  • step S430 the state information change and the change time of the pseudo-distributable object are stored as a change record in the terminal login account.
  • each change in status information generated is saved as a change record for subsequent verification.
  • step S440 upon detecting that the terminal is connected to the online server, the disposable object update request is sent to the online server.
  • the disposable object update request carries the current login account of the terminal, and the status information of the pseudo-distributable object of the login account.
  • step S450 a plurality of change records stored in the terminal login account are uploaded to the online server.
  • the online server checks the pseudo-distributable object status information of the current login account of the terminal.
  • the change record it can be uploaded to the online server together with the disposable object update request in step S440.
  • the online server may be based on the original disposable object status information of the account, the pseudo-distributable object status information of the currently uploaded account, and the change record of the account.
  • Check the pseudo-distributable object status information of the account. For example, an online server records 100 dollars in account A. After a period of time, the user traded 5 virtual gold coins online (assuming 1 virtual gold coin 10 rounds), and the remaining virtual gold coins were 5, corresponding to the change record recorded in account A. After the network is connected, the remaining virtual gold coins of the account A and the change record "transfer 5 virtual gold coins" are uploaded to the online server. The online server was checked and found that account A had 10 virtual gold coins, and the remaining 5 virtual gold coins, and the change record was “transfer 5 virtual gold coins”. The virtual gold coins were checked correctly, and account A did not forge virtual gold coins.
  • the foregoing embodiment introduces the solution of the present application from the perspective of the terminal, and then further introduces the solution of the present application from the perspective of an online server.
  • FIG. 5 is a flowchart of a method for processing a disposable object according to an embodiment of the present application.
  • the method includes steps S500 to S520.
  • step S500 the available object update request sent by the terminal is received.
  • the online server can establish a connection with the terminal through the Internet or the like, and the disposable object update request carries the current login account of the terminal and the status information of the pseudo-distributable object of the login account.
  • step S510 the target disposable object state information is determined.
  • the available object state information corresponding to the state information of the pseudo-distributable object carried by the disposable object update request is determined as the target. Available object status information.
  • step S520 the status information of the disposable object of the terminal login account is updated to the target disposable object status information.
  • the terminal uploads the disposable object update request after connecting to the online server, and the online server updates the disposable object state information of the login account to ensure the normal state of the account's disposable object.
  • the online server After the terminal is connected to the network, upload the current login account A and the corresponding remaining amount of the virtual gold coin 10 .
  • FIG. 1 In another embodiment of the present application, another method of processing disposable objects is disclosed from the perspective of an online server, see FIG.
  • the available object update request uploaded by the terminal further includes a plurality of change records saved in the terminal login account. Then, as shown in FIG. 6, the method includes steps S600 to S650.
  • step S600 the disposable object update request sent by the terminal is received.
  • the online server and the terminal may establish a connection through the Internet or the like, and the disposable object update request carries the current login account of the terminal and the status information of the pseudo-distributable object of the login account.
  • step S610 the target disposable object state information is determined.
  • the available object state information corresponding to the state information of the pseudo-distributable object carried by the disposable object update request is determined as the target. Available object status information.
  • step S620 it is determined that the time when the terminal login account history last uploaded the disposable object update request is determined as the target time.
  • step S630 the target change record is selected from the plurality of change records, and the change time of the target change record is after the target time.
  • step S640 it is determined whether the difference between the state information of the disposable object of the terminal login account and the target available object state information coincides with the target change record.
  • the sum value of the target change record is calculated when the judgment is made. Further, since the change record of the terminal record is the state information of the pseudo-distributable object to be recorded, the sum value of the target change record is also converted into the state information of the disposable object, and the determination process is executed.
  • the status information of the disposable object of the current login account of the terminal is 100 RMB
  • the target disposable object status information is 50 RMB
  • one virtual gold coin 10 yuan
  • 50-100 -50 round RMB
  • the difference between the state information of the disposable object representing the current login account of the terminal and the target disposable object state information is consistent with the target change record.
  • step S650 If yes, go to step S650, if no, ignore the piece of disposable object update request and exit.
  • step S650 the status information of the disposable object of the terminal login account is updated to the target disposable object status information.
  • Step S650 is performed only when the above judgment result is YES. Otherwise, the login account is considered to have an illegal behavior, the request is ignored, or an alarm may be issued.
  • the online server adds a check process to the accountable object state information, thereby ensuring the legality of the data.
  • the disposable object processing apparatus provided by the embodiment of the present application is described below, and the disposable object processing apparatus described below and the disposable object processing method described above can be referred to each other.
  • FIG. 7 is a schematic structural diagram of a disposable object processing apparatus introduced from a terminal perspective.
  • the device includes:
  • the change information generating unit 71 is configured to generate pseudo-distributable object change information in response to the pseudo-object dominating request initiated by the user;
  • the change information transmitting unit 72 is configured to send the pseudo-distributable object change information to the target terminal that has established a communication connection with the terminal, and the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the target terminal login account. ;
  • the account status information changing unit 73 is configured to change the status information of the pseudo-distributable object of the terminal login account by using the pseudo-distributable object change information;
  • An update request sending unit 74 configured to, when detecting that the terminal is connected to the online server, send a disposable object update request to the online server, the disposable object update request carries the login account of the terminal, and the login account State information of the pseudo-distributable object, the disposable object update request is used for the online server to refer to the preset correspondence between the pseudo-distributable object state information and the available object state information, and the current terminal in the online server The status information of the available objects of the login account is updated.
  • the user-initiated pseudo-object-donating request may carry the value of the pseudo-distributable object that is in charge
  • the change information generating unit may include:
  • the first change information generating subunit is configured to obtain an md5 value from the pseudo-distributable object value, and use the result as pseudo-distributable object change information.
  • the foregoing disposable object processing apparatus may further include:
  • the change recording unit is configured to change the state information of the pseudo-distributable object of the terminal registration account by using the pseudo-distributable object change information, and then save the state information change and change time of the pseudo-distributable object as a change record.
  • the terminal is currently logged in to the account.
  • the update request sending unit may be further configured to upload, to the online server, the plurality of change records saved in the terminal login account, for the pseudo-distributable object of the online server to the terminal login account. Status information is checked.
  • the pseudo-distributable object change information when the user initiates the pseudo object domination request, the pseudo-distributable object change information is generated, and different terminals can use the inter-terminal communication connection, such as near field communication, Bluetooth communication, etc.
  • the pseudo-distributable object change information is further changed based on the pseudo-distributable object change information on the state information of the pseudo-distributable object of the terminal login account.
  • the online server When detecting that the terminal is connected to the online server, sending an account-available object update request to the online server, the online server refers to the status information of the pseudo-distributable object of the terminal login account, and the preset pseudo-distributable object status information and The correspondence between the state information of the object can be controlled, and the state information of the disposable object of the terminal login account in the online server is updated, so that the object can be controlled while the terminal is disconnected, which is convenient for the user. Normal use.
  • FIG. 8 is a schematic structural diagram of a disposable object processing apparatus introduced from the perspective of an online server.
  • the device includes:
  • the update request receiving unit 81 is configured to receive a disposable object update request sent by the terminal, where the available object update request carries the terminal login account and status information of the pseudo-distributable object of the login account;
  • the query unit 82 is configured to query a correspondence between the preset pseudo-distributable object state information and the disposable object state information, and the disposable object corresponding to the state information of the pseudo-distributable object carried by the available object update request
  • the status information is determined as the target disposable object status information
  • the online account status information changing unit 83 is configured to update the status information of the disposable object of the terminal login account to the target disposable object status information.
  • the available object update request may further include a plurality of change records saved in the terminal login account, and the device may further include:
  • a target time determining unit configured to determine, before the terminal login account history last time uploading the disposable object update request, as the target time, before updating the state information of the disposable object of the terminal login account to the target disposable object state information
  • the target change record screening unit is configured to filter the target change record from the plurality of change records, and the change time of the target change record is after the target time;
  • a judging unit configured to determine status information of the disposable object of the terminal login account and the target at a discretion Whether the difference between the object state information matches the target change record, and if so, the online account state information changing unit is executed, and if not, the online account state information changing unit is discarded.
  • the terminal uploads the disposable object update request after the network is connected, and the online server updates the available object state information of the login account to ensure the normal state of the account's disposable object.
  • the online server also adds a verification process for the status information of the account's disposable objects, which ensures the legality of the data.
  • the embodiment of the present application further provides a disposable object processing system, including the foregoing terminal and an online server.
  • a disposable object processing system including the foregoing terminal and an online server.
  • the terminal and the online server refer to the description of the corresponding part above, and details are not described herein again.
  • FIG. 9 is a schematic diagram of a hardware structure of an online server according to an embodiment of the present application.
  • the online server may include:
  • Processor 1 communication interface 2, memory 3, communication bus 4, and display screen 5;
  • the processor 1, the communication interface 2, the memory 3, and the display screen 5 complete communication with each other through the communication bus 4;
  • the communication interface 2 can be an interface of the communication module, such as an interface of the GSM module, an interface of the GPRS module, an interface of the LTE module, or the like;
  • a processor 1 for executing a program
  • a memory 3 for storing a program
  • the program can include program code, the program code including operational instructions of the processor.
  • the processor 1 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • the memory 3 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the program can be specifically used to:
  • the status information of the disposable object of the terminal login account is updated to the target disposable object status information.
  • the pseudo-distributable object change information is used to change the state information of the pseudo-distributable object of the terminal login account;
  • the disposable object update request When detecting that the terminal is connected to the online server, sending a disposable object update request to the online server, the disposable object update request carries the terminal login account, and the status information of the pseudo-distributable object of the login account, the disposable object update The request is used for the correspondence between the pseudo-distributable object state information of the online server reference preset and the available object state information, and the state information of the disposable object of the current login account of the terminal in the online server is updated.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Mathematical Physics (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

本申请公开了一种可支配对象处理方法及装置,其中,线上服务器存储了账户可支配对象的状态信息,各个账户还分配有伪可支配对象,伪可支配对象可以看作可支配对象在线下支配时的替代品。用户发起伪对象支配请求时,终端生成伪可支配对象变更信息,终端间可以利用通信连接,收发伪可支配对象变更信息,根据伪可支配对象变更信息对终端登录账户的伪可支配对象的状态信息进行变更。在检测到终端连接至线上服务器时,向线上服务器发送账户可支配对象更新请求,线上服务器根据终端登录账户的伪可支配对象的状态信息,以及预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对线上服务器中终端登录账户的可支配对象的状态信息进行更新。

Description

可支配对象处理方法及装置
本申请要求于2015年7月13日提交中国专利局、申请号为201510410168.4、发明名称为“一种可支配对象处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数据处理技术领域,更具体地说,涉及一种可支配对象处理方法及装置。
背景技术
可支配对象可以理解为可以被人为支配的一类目标对象。不同用户间通过交互、支配目标对象,可以实现一定的目的。
现有常见的可支配对象的处理方式一般基于公众均认可的第三方机构。大致过程为:A用户向第三方机构提供的线上服务器发送对象支配请求,请求将一定量的对象转移给B用户;线上服务器接收到请求后受理该请求,从A用户账户中拿出一定量的对象,并转移到B用户的账户中。以可支配对象为通话时长为例,A用户向通信公司提供的线上服务器发送通话时长支配请求,请求将100分钟的通话时长转移给B用户;线上服务器收到该请求后,从A用户的账户中减掉100分钟通话时长,并在B用户的账户中增加100分钟通话时长。
发明内容
本申请提供了一种可支配对象处理方法及装置,具体方案如下。。
本发明实施例提供了一种可支配对象处理方法,应用于终端,该方法包括:
响应用户发起的伪对象支配请求,生成伪可支配对象变更信息;
将所述伪可支配对象变更信息发往与所述终端建立有通信连接的目标终端,所述伪可支配对象变更信息用于变更所述目标终端登录账户的伪可支配对象的状态信息;
利用所述伪可支配对象变更信息,对所述终端登录账户的伪可支配对象的 状态信息进行变更;
在检测到所述终端连接至线上服务器时,向所述线上服务器发送可支配对象更新请求,所述可支配对象更新请求携带有所述终端登录账户,以及所述登录账户的伪可支配对象的状态信息,所述可支配对象更新请求用于供所述线上服务器根据预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对所述线上服务器中所述终端登录账户的可支配对象的状态信息进行更新。
本发明实施例提供了另一种可支配对象处理方法,应用于线上服务器,该方法包括:
接收终端发送的可支配对象更新请求,所述可支配对象更新请求携带有所述终端登录账户以及所述登录账户的伪可支配对象的状态信息;
查询预置的所述伪可支配对象状态信息与可支配对象状态信息间的对应关系,将与所述可支配对象更新请求携带的伪可支配对象的状态信息对应的可支配对象状态信息确定为目标可支配对象状态信息;
将所述终端登录账户的可支配对象的状态信息更新为所述目标可支配对象状态信息。
本发明实施例提供了一种可支配对象处理装置,应用于终端,该装置包括:处理器和存储有计算机可执行指令的存储介质,当所述处理器运行所述计算机可执行指令时,所述处理器执行如下步骤:
响应用户发起的伪对象支配请求,生成伪可支配对象变更信息;
将所述伪可支配对象变更信息发往与所述终端建立有通信连接的目标终端,所述伪可支配对象变更信息用于变更所述目标终端登录账户的伪可支配对象的状态信息;
利用所述伪可支配对象变更信息,对所述终端登录账户的伪可支配对象的状态信息进行变更;
在检测到所述终端连接至线上服务器时,向所述线上服务器发送可支配对象更新请求,所述可支配对象更新请求携带有所述终端登录账户,以及所述登录账户的伪可支配对象的状态信息,所述可支配对象更新请求用于供所述线上服务器根据预置的伪可支配对象状态信息与可支配对象状态信息间的对应关 系,对所述线上服务器中所述终端登录账户的可支配对象的状态信息进行更新。
本发明实施例提供了另一种可支配对象处理装置,应用于线上服务器,该装置包括:处理器和存储有计算机可执行指令的存储介质,当所述处理器运行所述计算机可执行指令时,所述处理器执行如下步骤:
接收终端发送的可支配对象更新请求,所述可支配对象更新请求携带有所述终端登录账户以及所述登录账户的伪可支配对象的状态信息;
查询预置的所述伪可支配对象状态信息与可支配对象状态信息间的对应关系,将与所述可支配对象更新请求携带的伪可支配对象的状态信息对应的可支配对象状态信息确定为目标可支配对象状态信息;
将所述终端登录账户的可支配对象的状态信息更新为所述目标可支配对象状态信息。
从上述的技术方案可以看出,本申请实施例提供的可支配对象处理方法,线上服务器中存储了账户的可支配对象的状态信息,例如账户的通话时长剩余量等。同时各个账户还分配有伪可支配对象,伪可支配对象可以看作可支配对象在线下支配时的替代品,预先设置了伪可支配对象与可支配对象间的对应关系,例如一个单位的伪可支配对象相当于两个单位的可支配对象。在线下环境中,用户发起伪对象支配请求时,会生成伪可支配对象变更信息,不同终端间可以利用近场通信功能,收发伪可支配对象变更信息,进而根据伪可支配对象变更信息对终端当前登录账户的伪可支配对象的状态信息进行变更。在检测到终端接入网络时,向线上服务器发送账户可支配对象更新请求,线上服务器参考终端登录账户的伪可支配对象的状态信息,以及预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对线上服务器中终端登录账户的可支配对象的状态信息进行更新,从而实现了在终端断网的状态下,仍能够进行对象支配处理,方便了用户的正常使用。
附图说明
图1为本申请实施例公开的一种可支配对象处理方法流程图;
图2为本申请实施例公开的另一种可支配对象处理方法流程图;
图3为本申请实施例公开的又一种可支配对象处理方法流程图;
图4为本申请实施例公开的又一种可支配对象处理方法流程图;
图5为本申请实施例公开的又一种可支配对象处理方法流程图;
图6为本申请实施例公开的又一种可支配对象处理方法流程图;
图7为本申请实施例从终端角度介绍的一种可支配对象处理装置的结构示意图;
图8为本申请实施例从线上服务器角度介绍的一种可支配对象处理装置的结构示意图;以及
图9为本申请实施例公开的一种线上服务器硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供的可支配对象处理方法,应用于终端和终端间的对象处理以及终端和线上服务器间的对象处理。本实施例首先以发起对象支配请求一侧的终端的角度对方案进行介绍。参见图1,图1为本申请实施例公开的一种可支配对象处理方法流程图,该方法可以应用于手机、平板电脑等终端。
如图1所示,该方法包括步骤S100至步骤S130。
在步骤S100中,响应用户发起的伪对象支配请求,生成伪可支配对象变更信息。
一个账户在线上服务器中存储有可支配对象的状态信息,可支配对象可以是通话时长,储蓄金额等,当可支配对象为通话时长时,可支配对象的状态信息即为通话时长剩余时间。
而所谓的伪可支配对象,其可以看作可支配对象在线下支配时的替代品。可支配对象与伪可支配对象间具备对应关系,例如一个单位的伪可支配对象可以相当于两个单位的可支配对象。例如,在某些公司食堂内,约定好的“一张电子饭票”=“三个馒头”=“一份素菜”。这里,“电子饭票”即可认为是伪 可支配对象,而“馒头”和“素菜”则代表着可支配对象。
当然,伪可支配对象仅仅是为了表述方便而定义的一个名词,其不应该理解为对本申请方案的限定。
进一步,对于生成的伪可支配对象变更信息,其表明了从当前账户转出多少数值的伪可支配对象,也可以理解为向另一个账户转入多少数值的伪可支配对象。这里数值的概念需要根据伪可支配对象的单位类型而定,例如伪可支配对象为电子饭票时,其单位即为“张”。
在步骤S110中,将伪可支配对象变更信息发往与终端建立有通信连接的目标终端。
例如,伪可支配对象变更信息用于变更目标终端登录账户的伪可支配对象的状态信息。
本实施例中,进行可支配对象处理的两个终端并非限定要连接网络,两个终端只要保证建立了通信连接即可。常见的如蓝牙通信、NFC通信、红外通信或者处于同一个局域网中等。
这里,目标终端也即用户所要转移伪可支配对象的账户所登录的终端。举例如,A账户在终端1上登录,B账户在终端2上登录,现在用户使用A账户支出一定量的可支配对象,并转存入B账户,则对于终端1而言,终端2即为目标终端。
在步骤S120中,利用伪可支配对象变更信息,对终端登录账户的伪可支配对象的状态信息进行变更。
例如,对于终端登录账户而言,由于其是伪可支配对象支出的一方,因此通过变更伪可支配对象的状态信息,使得该登录账户的伪可支配对象的数值变少。相反,对于接收所述伪可支配对象变更信息的账户而言,其通过变更伪可支配对象的状态信息,使得账户的伪可支配对象的数值变多。
本实施例中以状态信息来表示账户的伪可支配对象的数值多少,其中状态信息的表示方式可以有多种,例如不同的序列码代表不同数值的伪可支配对象,或者是不同数量的标识(例如“圆板”图标)代表不同数值的伪可支配对象等。
在步骤S130中在检测到终端连接线上服务器时,向线上服务器发送可支 配对象更新请求。
例如,可支配对象更新请求携带有终端当前的登录账户,以及该登录账户的伪可支配对象的状态信息。可支配对象更新请求用于供线上服务器参考预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对线上服务器中终端当前登录账户的可支配对象的状态信息进行更新。
不同的账户通过交易伪可支配对象,使得账户的伪可支配对象的状态产生变化,也可以理解为账户的伪可支配对象的数值产生变化。在终端连接线上服务器时,将终端登录账户及该账户的伪可支配对象的状态信息上传给线上服务器,线上服务器根据账户的伪可支配对象的状态信息,确定对应的可支配对象的状态信息,然后将线上服务器中账户的可支配对象的状态信息更新为该确定的可支配对象的状态信息。
在终端连接线上服务器时,终端可以主动发送可支配对象更新请求,也可以是线上服务器先向终端发送更新请求,然后由终端上传可支配对象更新请求,对此本申请不进行限定。
根据本申请实施例提供的可支配对象处理方法,线上服务器中存储了账户的可支配对象的状态信息,同时各个账户还分配有伪可支配对象,伪可支配对象可以看作可支配对象在线下支配时的替代品。我们预先设置了伪可支配对象与可支配对象间的对应关系,例如一个单位的伪可支配对象可以相当于两个单位的可支配对象。在线下环境中,用户发起伪对象支配请求时,会生成伪可支配对象变更信息,不同终端间可以利用终端间通信连接,如近场通信、蓝牙通信等,收发伪可支配对象变更信息,进而根据伪可支配对象变更信息对终端登录账户的伪可支配对象的状态信息进行变更。在检测到终端连接至线上服务器时,向线上服务器发送账户可支配对象更新请求,线上服务器参考终端登录账户的伪可支配对象的状态信息,以及预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对线上服务器中终端登录账户的可支配对象的状态信息进行更新,从而实现了在终端断网的状态下,仍能够进行对象支配处理,方便了用户的正常使用。
接下来,为了便于理解,本实施例通过一个具体应用场景对本申请方案进行介绍。
用户A去偏远山区出行,在当地市场上想购买商家B的一件售价100圆的商品,而用户A并未带现金,且当地并没有网络信号,用户A无法使用手机进行连网。
按照本申请方案,用户A和用户B的银行账户均已经开通虚拟币支付功能。假设用户A的银行账户内有1000圆人民币,则用户A的银行账户内初始情况下存在100个虚拟币(这里,假设1个虚拟币=10圆人民币)。用户A使用手机与商家用户B的手机建立蓝牙通信,用户A输入转账请求,请求转移10个虚拟币,则会对应生成虚拟币变更信息,并将虚拟币变更信息发往用户B的手机,进而该虚拟币变更信息控制从用户A银行账户内减掉10个虚拟币,并控制从用户B银行账户内增加10个虚拟币。
至此,用户A通过向商家支付10个虚拟币,得到了想要的商品,而商家B也通过出售商品,获得了10个虚拟币。
用户A或者用户B的手机在连接至服务器时,例如用户A和用户B的手机均可连接至互联网,可以将账户内的虚拟币数量上传给线上银行服务器,银行服务器根据账户内虚拟币的数量,更新对应账户内的金额。以用户A为例,由于其账户内剩余90个虚拟币,则银行服务器从用户A账户内扣除100圆钱,剩余900圆钱。
可选的,在上述步骤S110之后,可以设定在接收到目标终端反馈的伪可支配对象状态信息变更成功的信息之后,才执行步骤S120。通过这种设定,保证了用户利益不受损害。
当然,如果不考虑这一点,则步骤S110和步骤S120的执行顺序并非限定为实施例一的顺序,其还可以颠倒过来,或者并列执行。
在本申请的另一个实施例中,公开了另一种可支配对象处理方法,该方法可以应用于手机、平板电报等终端。如图2所示,该方法包括步骤S200至步骤S240。
在步骤S200中接收用户发起的伪对象支配请求,该请求携带有所支配的伪可支配对象数值。
在步骤S210中,对伪可支配对象数值求取md5值,并将结果作为伪可支配对象变更信息。
例如,本步骤中按照预先规定的md5算法,对伪可支配对象数值求取md5值,并将结果作为伪可支配对象变更信息。通过求取md5值,保证了数据的安全,避免了伪造伪可支配对象变更信息。
在步骤S220中,将伪可支配对象变更信息发往与该终端建立有通信连接的目标终端。
例如,伪可支配对象变更信息用于变更所述目标终端当前登录账户的伪可支配对象的状态信息。
由于本实施例中的伪可支配对象变更信息是加密后的信息,因此在目标终端会利用预置的与加密算法对应的解密算法进行解密,然后变更所述目标终端当前登录账户的伪可支配对象的状态信息。
在步骤S230中,利用伪可支配对象变更信息,对终端登录账户的伪可支配对象的状态信息进行变更。
在步骤S240中在检测到终端连接至线上服务器时,向线上服务器发送可支配对象更新请求。
例如,可支配对象更新请求可以携带有所述终端登录账户,以及该登录账户的伪可支配对象的状态信息。
相比于上一实施例,本实施例中增加了对伪可支配对象数值进行加密求取md5值的过程,保证了数据的安全,避免了伪造伪可支配对象变更信息。
在本申请的又一个实施例中,进一步公开了又一种可支配对象处理方法,该方法可以应用于手机、平板电脑等终端。
如图3所示,该方法包括步骤S300至步骤S340。
在步骤S300中,响应用户发起的伪对象支配请求,生成伪可支配对象变更信息。
一个账户在线上服务器中存储有可支配对象的状态信息,可支配对象可以是通话时长,储蓄金额等,当可支配对象为通话时长时,可支配对象的状态信息即为通话时长剩余时间。
在步骤S310中,将伪可支配对象变更信息发往与所述终端建立有通信连接的目标终端。
例如,伪可支配对象变更信息用于变更所述目标终端当前登录账户的伪可支配对象的状态信息。
本实施例中,进行可支配对象处理的两个终端并非限定要连接网络,两个终端只要保证建立了通信连接即可。常见的如蓝牙通信、NFC通信、红外通信或处于同一个局域网中等。
在步骤S320中,利用伪可支配对象变更信息,对所述终端登录账户的伪可支配对象的状态信息进行变更。
在步骤S330中,将伪可支配对象的状态信息变更及变更时间作为一条变更记录保存在所述终端登录账户内。
例如,对于终端登录账户来说,所产生的每一次状态信息的变更均会作为一条变更记录进行保存,以供后续核对。
在步骤S340中,在检测到所述终端连接至线上服务器时,向线上服务器发送可支配对象更新请求。
例如,可支配对象更新请求携带有终端的登录账户,以及该登录账户的伪可支配对象的状态信息。
在本实施例中,进一步增加了对终端登录账户的状态信息变更进行记录的步骤,通过记录账户的状态信息变更,可以为后续服务器核对账单提供数据基础。
基于上述实施例,本申请实施例提供了又一种可支配对象处理方法,该方法可以应用于手机、平板电脑等终端。
如图4所示,该方法包括步骤S400至步骤S450。
在步骤S400中,响应用户发起的伪对象支配请求,生成伪可支配对象变更信息。
一个账户在线上服务器中存储有可支配对象的状态信息,可支配对象可以是通话时长,储蓄金额等,当可支配对象为通话时长时,可支配对象的状态信息即为通话时长剩余时间。
在步骤S410中,将伪可支配对象变更信息发往与所述终端建立有通信连接的目标终端。
例如,伪可支配对象变更信息用于变更所述目标终端登录账户的伪可支配 对象的状态信息。
本实施例中,进行可支配对象处理的两个终端并非限定要连接网络,两个终端只要保证建立了通信连接即可。常见的如蓝牙通信、NFC通信、红外通信或者处于同一个局域网中等。
在步骤S420中,利用伪可支配对象变更信息,对终端登录账户的伪可支配对象的状态信息进行变更。
在步骤S430中,将伪可支配对象的状态信息变更及变更时间作为一条变更记录保存在终端登录账户内。
例如,对于终端登录账户来说,所产生的每一次状态信息的变更均会作为一条变更记录进行保存,以供后续核对。
在步骤S440中,在检测到终端连接至线上服务器时,向线上服务器发送可支配对象更新请求。
例如,可支配对象更新请求携带有终端当前的登录账户,以及该登录账户的伪可支配对象的状态信息。
在步骤S450中,将终端登录账户中保存的若干条变更记录上传至线上服务器。
通过上传变更记录,以供线上服务器对所述终端当前登录账户的伪可支配对象状态信息进行核对。
当然,对于变更记录,其可以同步骤S440中的可支配对象更新请求一同上传给线上服务器。
本实施例中,通过将登录账户的变更记录上传给线上服务器,使得线上服务器可以根据账户的原有可支配对象状态信息、当前上传的账户的伪可支配对象状态信息以及账户的变更记录,核对账户的伪可支配对象状态信息。举例如,线上服务器中记录了账户A内有100圆钱。经过一段时间后,用户在线下交易了5个虚拟金币(假设1个虚拟金币=10圆钱),剩余虚拟金币为5个,对应在账户A中记录了该变更记录。则在联网后,将账户A剩余虚拟金币5个以及变更记录“转出5个虚拟金币”上传给线上服务器。线上服务器经核对发现,账户A原有10个虚拟金币,现剩余5个虚拟金币,且变更记录为“转出5个虚拟金币”,虚拟金币核对正确,代表账户A并未伪造虚拟金币。
上述实施例从终端的角度对本申请方案进行了介绍,接下来从线上服务器的角度对本申请方案做进一步介绍。
参见图5,图5为本申请实施例公开的一种可支配对象处理方法流程图。
如图5所示,该方法包括步骤S500至步骤S520。
在步骤S500中,接收终端发送的可支配对象更新请求。
线上服务器可以和终端通过互联网等建立连接,可支配对象更新请求携带有终端当前的登录账户以及该登录账户的伪可支配对象的状态信息。
在步骤S510中,确定目标可支配对象状态信息。
例如,通过查询预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,将与可支配对象更新请求携带的伪可支配对象的状态信息对应的可支配对象状态信息确定为目标可支配对象状态信息。
在步骤S520中,将终端登录账户的可支配对象的状态信息更新为所述目标可支配对象状态信息。
本实施例中,终端在连接至线上服务器后上传可支配对象更新请求,由线上服务器对登录账户的可支配对象状态信息进行更新,保证了账户的可支配对象的正常状态。
举例来说明上述线上服务器的处理过程:
终端在联网后,上传当前登录账户A及对应的虚拟金币剩余量10个。线上服务器查询虚拟金币和人民币间换算关系(假定1个虚拟金币=10圆人民币),确定目标金额为10*10=100圆人民币。进而,将线上服务器中账户A的金额更新为100圆人民币。
在本申请的另一个实施例中,从线上服务器角度公开了另一种可支配对象处理方法,参见图6。
在本实施例中,假设终端上传的可支配对象更新请求中还包括终端登录账户中保存的若干条变更记录。则如图6所示,该方法包括步骤S600至步骤S650。
在步骤S600中,接收终端发送的可支配对象更新请求。
其中,线上服务器和终端可通过互联网等建立连接,可支配对象更新请求携带有终端当前的登录账户以及该登录账户的伪可支配对象的状态信息。
在步骤S610中,确定目标可支配对象状态信息。
例如,通过查询预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,将与可支配对象更新请求携带的伪可支配对象的状态信息对应的可支配对象状态信息确定为目标可支配对象状态信息。
在步骤S620中,确定终端登录账户历史最近一次上传可支配对象更新请求的时间,作为目标时间。
在步骤S630中,从若干条变更记录中筛选出目标变更记录,目标变更记录的变更时间处于目标时间之后。
例如,终端上传的若干条变更记录的变更时间可以有多个,本步骤中仅将目标时间之后变更的变更记录筛选出来。举例如,当前时间为2015.7.6,目标时间,2015.6.6,则本步骤中仅将变更时间处于2015.6.6-2015.7.6内的变更记录筛选出来。
在步骤S640中,判断终端登录账户的可支配对象的状态信息与目标可支配对象状态信息之间的差值是否与目标变更记录吻合。
在进行判断时计算目标变更记录的和值。并且由于终端记录的变更记录是记录的伪可支配对象的状态信息,因此还将目标变更记录的和值换算为可支配对象的状态信息,进而执行判断过程。
举例如,终端当前登录账户的可支配对象的状态信息为100圆人民币,目标可支配对象状态信息为50圆人民币,目标变更记录包括:“转出3个虚拟金币”、“转出7个虚拟金币”、“转入5个虚拟金币”,则目标变更记录的和值为-3-7+5=-5个虚拟金币。假定1个虚拟金币=10圆人民币,将-5个虚拟金币转换为人民币为-50圆人民币。则显然,50-100=-50圆人民币,代表终端当前登录账户的可支配对象的状态信息与所述目标可支配对象状态信息之间的差值与所述目标变更记录吻合。
若是,则执行步骤S650,若否,则忽略该条可支配对象更新请求,退出。
在步骤S650中,将终端登录账户的可支配对象的状态信息更新为目标可支配对象状态信息。
只有在上述判断结果为是时,才执行步骤S650,否则认为登录账户存在非法行为,忽略该条请求,或者可以告警。
本实施例中,线上服务器增加了对账户可支配对象状态信息的核对过程,保证了数据的合法性。
下面对本申请实施例提供的可支配对象处理装置进行描述,下文描述的可支配对象处理装置与上文描述的可支配对象处理方法可相互对应参照。
参见图7,图7为从终端角度介绍的可支配对象处理装置的结构示意图。
如图7所示,该装置包括:
变更信息生成单元71,用于响应用户发起的伪对象支配请求,生成伪可支配对象变更信息;
变更信息发送单元72,用于将伪可支配对象变更信息发往与所述终端建立有通信连接的目标终端,伪可支配对象变更信息用于变更目标终端登录账户的伪可支配对象的状态信息;
账户状态信息变更单元73,用于利用伪可支配对象变更信息,对终端登录账户的伪可支配对象的状态信息进行变更;
更新请求发送单元74,用于在检测到所述终端连接至线上服务器时,向线上服务器发送可支配对象更新请求,可支配对象更新请求携带有所述终端的登录账户,以及该登录账户的伪可支配对象的状态信息,可支配对象更新请求用于供线上服务器参考预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对线上服务器中所述终端当前登录账户的可支配对象的状态信息进行更新。
可选的,用户发起的伪对象支配请求可以携带有所支配的伪可支配对象数值,则变更信息生成单元可以包括:
第一变更信息生成子单元,用于对伪可支配对象数值求取md5值,并将结果作为伪可支配对象变更信息。
可选的,上述可支配对象处理装置还可以包括:
变更记录单元,用于在利用伪可支配对象变更信息,对终端登录账户的伪可支配对象的状态信息进行变更之后,将伪可支配对象的状态信息变更及变更时间作为一条变更记录保存在所述终端当前登录账户内。
基于此,更新请求发送单元还可以用于,将终端登录账户中保存的若干条变更记录上传至线上服务器,以供线上服务器对终端登录账户的伪可支配对象 状态信息进行核对。
根据本申请实施例提供的可支配对象处理装置,用户发起伪对象支配请求时,会生成伪可支配对象变更信息,不同终端间可以利用终端间通信连接,如近场通信、蓝牙通信等,收发伪可支配对象变更信息,进而根据伪可支配对象变更信息对终端登录账户的伪可支配对象的状态信息进行变更。在检测到终端连接至线上服务器时,向线上服务器发送账户可支配对象更新请求,线上服务器参考终端登录账户的伪可支配对象的状态信息,以及预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对线上服务器中终端登录账户的可支配对象的状态信息进行更新,从而实现了在终端断网的状态下,仍能够进行对象支配处理,方便了用户的正常使用。
参见图8,图8为从线上服务器角度介绍的可支配对象处理装置的结构示意图。
如图8所示,该装置包括:
更新请求接收单元81,用于接收终端发送的可支配对象更新请求,所述可支配对象更新请求携带有终端登录账户以及该登录账户的伪可支配对象的状态信息;
查询单元82,用于查询预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,将与所述可支配对象更新请求携带的伪可支配对象的状态信息对应的可支配对象状态信息确定为目标可支配对象状态信息;
线上账户状态信息变更单元83,用于将终端登录账户的可支配对象的状态信息更新为目标可支配对象状态信息。
可选的,可支配对象更新请求还可以包括终端登录账户中保存的若干条变更记录,则该装置还可以包括:
目标时间确定单元,用于在将终端登录账户的可支配对象的状态信息更新为目标可支配对象状态信息之前,确定终端登录账户历史最近一次上传可支配对象更新请求的时间,作为目标时间;
目标变更记录筛选单元,用于从若干条变更记录中筛选出目标变更记录,目标变更记录的变更时间处于目标时间之后;
判断单元,用于判断终端登录账户的可支配对象的状态信息与目标可支配 对象状态信息之间的差值是否与所述目标变更记录吻合,若是,则执行线上账户状态信息变更单元,若否,则放弃执行线上账户状态信息变更单元。
本实施例中,终端在联网后上传可支配对象更新请求,由线上服务器对登录账户的可支配对象状态信息进行更新,保证了账户的可支配对象的正常状态。
进一步,线上服务器还增加了对账户可支配对象状态信息的核对过程,保证了数据的合法性。
本申请实施例还提供一种可支配对象处理系统,包括上述的终端及线上服务器。对于终端及线上服务器的描述可参照上文对应部分描述,此处不再赘述。
对于终端及线上服务器的硬件结构基本类似,本实施例中以线上服务器为例进行介绍,参见图9,图9为本申请实施例提供的线上服务器的硬件结构示意图。如图9所示,该线上服务器可以包括:
处理器1,通信接口2,存储器3,通信总线4,和显示屏5;
其中处理器1、通信接口2、存储器3和显示屏5通过通信总线4完成相互间的通信;
可选的,通信接口2可以为通信模块的接口,如GSM模块的接口、GPRS模块的接口、LTE模块的接口等;
处理器1,用于执行程序;
存储器3,用于存放程序;
程序可以包括程序代码,所述程序代码包括处理器的操作指令。
处理器1可能是一个中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。
存储器3可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
其中,程序可具体用于:
接收终端发送的可支配对象更新请求,可支配对象更新请求携带有终端登录账户以及该登录账户的伪可支配对象的状态信息;
查询预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系, 将与可支配对象更新请求携带的伪可支配对象的状态信息对应的可支配对象状态信息确定为目标可支配对象状态信息;
将终端登录账户的可支配对象的状态信息更新为所述目标可支配对象状态信息。
当然,如果是针对上述终端而言,其硬件结构与线上服务器类似,只不过存储器中存储的程序会产生变化,其中,程序可具体用于:
响应用户发起的伪对象支配请求,生成伪可支配对象变更信息;
将伪可支配对象变更信息发往与该终端建立有通信连接的目标终端,伪可支配对象变更信息用于变更所述目标终端登录账户的伪可支配对象的状态信息;
利用伪可支配对象变更信息,对终端登录账户的伪可支配对象的状态信息进行变更;
在检测到终端连接至线上服务器时,向线上服务器发送可支配对象更新请求,可支配对象更新请求携带有终端登录账户,以及该登录账户的伪可支配对象的状态信息,可支配对象更新请求用于供线上服务器参考预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对线上服务器中该终端当前登录账户的可支配对象的状态信息进行更新。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本 申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (12)

  1. 一种可支配对象处理方法,应用于终端,包括:
    响应用户发起的伪对象支配请求,生成伪可支配对象变更信息;
    将所述伪可支配对象变更信息发往与所述终端建立有通信连接的目标终端,所述伪可支配对象变更信息用于变更所述目标终端登录账户的伪可支配对象的状态信息;
    利用所述伪可支配对象变更信息,对所述终端登录账户的伪可支配对象的状态信息进行变更;
    在检测到所述终端连接至线上服务器时,向所述线上服务器发送可支配对象更新请求,所述可支配对象更新请求携带有所述终端登录账户,以及所述登录账户的伪可支配对象的状态信息,所述可支配对象更新请求用于供所述线上服务器根据预置的伪可支配对象状态信息与可支配对象状态信息间的对应关系,对所述线上服务器中所述终端登录账户的可支配对象的状态信息进行更新。
  2. 根据权利要求1所述的方法,所述用户发起的伪对象支配请求携带有所支配的伪可支配对象数值,则所述生成伪可支配对象变更信息,包括:
    对所述伪可支配对象数值求取md5值,并将结果作为伪可支配对象变更信息。
  3. 根据权利要求1所述的方法,在所述利用所述伪可支配对象变更信息,对所述终端登录账户的伪可支配对象的状态信息进行变更之后,还包括:
    将所述伪可支配对象的状态信息变更及变更时间作为变更记录保存在所述终端当前登录账户内。
  4. 根据权利要求3所述的方法,还包括:
    将所述终端登录账户中保存的变更记录上传至所述线上服务器,以供所述线上服务器对所述终端登录账户的伪可支配对象状态信息进行核对。
  5. 一种可支配对象处理方法,应用于线上服务器,包括:
    接收终端发送的可支配对象更新请求,所述可支配对象更新请求携带有所述终端登录账户以及所述登录账户的伪可支配对象的状态信息;
    查询预置的所述伪可支配对象状态信息与可支配对象状态信息间的对应 关系,将与所述可支配对象更新请求携带的伪可支配对象的状态信息对应的可支配对象状态信息确定为目标可支配对象状态信息;
    将所述终端登录账户的可支配对象的状态信息更新为所述目标可支配对象状态信息。
  6. 根据权利要求5所述的方法,所述可支配对象更新请求还包括终端登录账户中保存的变更记录,则在将所述终端登录账户的可支配对象的状态信息更新为所述目标可支配对象状态信息之前,还包括:
    确定所述终端登录账户历史最近一次上传可支配对象更新请求的时间,作为目标时间;
    从所述变更记录中筛选出目标变更记录,所述目标变更记录的变更时间处于所述目标时间之后;
    判断所述终端登录账户的可支配对象的状态信息与所述目标可支配对象状态信息之间的差值是否与所述目标变更记录吻合;
    若是,则将所述终端登录账户的可支配对象的状态信息更新为所述目标可支配对象状态信息的步骤;
    若否,则忽略所述可支配对象更新请求。
  7. 一种可支配对象处理装置,应用于终端,包括:处理器和存储有计算机可执行指令的存储介质,当所述处理器运行所述计算机可执行指令时,所述处理器执行如下步骤:
    响应用户发起的伪对象支配请求,生成伪可支配对象变更信息;
    将所述伪可支配对象变更信息发往与所述终端建立有通信连接的目标终端,所述伪可支配对象变更信息用于变更所述目标终端登录账户的伪可支配对象的状态信息;
    利用所述伪可支配对象变更信息,对所述终端登录账户的伪可支配对象的状态信息进行变更;
    在检测到所述终端连接至线上服务器时,向所述线上服务器发送可支配对象更新请求,所述可支配对象更新请求携带有所述终端登录账户,以及所述登录账户的伪可支配对象的状态信息,所述可支配对象更新请求用于供所述线上服务器根据预置的伪可支配对象状态信息与可支配对象状态信息间的对应关 系,对所述线上服务器中所述终端登录账户的可支配对象的状态信息进行更新。
  8. 根据权利要求7所述的装置,所述用户发起的伪对象支配请求携带有所支配的伪可支配对象数值,则所述处理器执行生成伪可支配对象变更信息时,执行:
    对所述伪可支配对象数值求取md5值,并将结果作为伪可支配对象变更信息。
  9. 根据权利要求7所述的装置,所处处理器还执行:
    将所述伪可支配对象的状态信息变更及变更时间作为变更记录保存在所述终端当前登录账户内。
  10. 根据权利要求9所述的装置,所述处理器还执行:将所述终端登录账户中保存的变更记录上传至所述线上服务器,以供所述线上服务器对所述终端当前登录账户的伪可支配对象状态信息进行核对。
  11. 一种可支配对象处理装置,应用于线上服务器,包括:处理器和存储有计算机可执行指令的存储介质,当所述处理器运行所述计算机可执行指令时,所述处理器执行如下步骤:
    接收终端发送的可支配对象更新请求,所述可支配对象更新请求携带有所述终端登录账户以及所述登录账户的伪可支配对象的状态信息;
    查询预置的所述伪可支配对象状态信息与可支配对象状态信息间的对应关系,将与所述可支配对象更新请求携带的伪可支配对象的状态信息对应的可支配对象状态信息确定为目标可支配对象状态信息;
    将所述终端登录账户的可支配对象的状态信息更新为所述目标可支配对象状态信息。
  12. 根据权利要求11所述的装置,所述可支配对象更新请求还包括终端当前登录账户中保存的若干条变更记录,所述处理器还执行:
    确定所述终端登录账户历史最近一次上传可支配对象更新请求的时间,作为目标时间;
    所述变更记录中筛选出目标变更记录,所述目标变更记录的变更时间处于所述目标时间之后;
    判断所述终端登录账户的可支配对象的状态信息与所述目标可支配对象状态信息之间的差值是否与所述目标变更记录吻合,若是,则执行所述线上账户状态信息变更,若否,则放弃执行所述线上账户状态信息变更。
PCT/CN2016/089787 2015-07-13 2016-07-12 可支配对象处理方法及装置 WO2017008732A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
MYPI2017703054A MY194203A (en) 2015-07-13 2016-07-12 Manageable object processing method and device
US15/857,150 US10542112B2 (en) 2015-07-13 2017-12-28 Manageable object processing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510410168.4 2015-07-13
CN201510410168.4A CN106357589B (zh) 2015-07-13 2015-07-13 一种可支配对象处理方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/857,150 Continuation US10542112B2 (en) 2015-07-13 2017-12-28 Manageable object processing method and device

Publications (1)

Publication Number Publication Date
WO2017008732A1 true WO2017008732A1 (zh) 2017-01-19

Family

ID=57756699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089787 WO2017008732A1 (zh) 2015-07-13 2016-07-12 可支配对象处理方法及装置

Country Status (4)

Country Link
US (1) US10542112B2 (zh)
CN (1) CN106357589B (zh)
MY (1) MY194203A (zh)
WO (1) WO2017008732A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136170A (zh) * 2011-01-05 2011-07-27 深圳市文鼎创数据科技有限公司 移动支付装置
CN102419846A (zh) * 2011-12-30 2012-04-18 快钱支付清算信息有限公司 一种基于pos机网络的非接近场支付系统和方法
US20120166337A1 (en) * 2010-12-23 2012-06-28 Kt Corporation Near field communication terminal for performing secure payment and secure payment method using the same
CN103489098A (zh) * 2013-09-23 2014-01-01 裘百灵 一种支持离线收付的移动支付方法及系统及程序

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7729986B1 (en) * 1999-07-30 2010-06-01 Visa International Service Association Smart card transactions using wireless telecommunications network
US6987844B2 (en) * 2001-08-30 2006-01-17 International Business Machines Corporation Caller-initiated transfer of services between telephones
US20060287004A1 (en) * 2005-06-17 2006-12-21 Fuqua Walter B SIM card cash transactions
US8275312B2 (en) * 2005-12-31 2012-09-25 Blaze Mobile, Inc. Induction triggered transactions using an external NFC device
EP2008237A4 (en) * 2006-03-30 2009-03-18 Obopay Inc MOBILE PERSON-TO-PERSON PAYMENT SYSTEM
US8255297B2 (en) * 2010-07-20 2012-08-28 Facebook, Inc. Creation, redemption, and accounting in a virtual currency system
SK500342010A3 (sk) * 2010-07-30 2012-03-02 Logomotion, S. R. O. System and method of cashless payment when purchasing through TV channel
US9020858B2 (en) * 2012-02-29 2015-04-28 Google Inc. Presence-of-card code for offline payment processing system
US20160180317A1 (en) * 2013-03-11 2016-06-23 Google Inc. Offline peer-to-peer transactions
CN103268550A (zh) * 2013-05-17 2013-08-28 苏州通付盾信息技术有限公司 基于移动终端的虚拟账号便利型应用系统及其实现方法
US20150046337A1 (en) * 2013-08-06 2015-02-12 Chin-hao Hu Offline virtual currency transaction
CN103617532A (zh) * 2013-12-16 2014-03-05 杭州信雅达科技有限公司 一种移动终端的离线付款、收款方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166337A1 (en) * 2010-12-23 2012-06-28 Kt Corporation Near field communication terminal for performing secure payment and secure payment method using the same
CN102136170A (zh) * 2011-01-05 2011-07-27 深圳市文鼎创数据科技有限公司 移动支付装置
CN102419846A (zh) * 2011-12-30 2012-04-18 快钱支付清算信息有限公司 一种基于pos机网络的非接近场支付系统和方法
CN103489098A (zh) * 2013-09-23 2014-01-01 裘百灵 一种支持离线收付的移动支付方法及系统及程序

Also Published As

Publication number Publication date
MY194203A (en) 2022-11-21
CN106357589A (zh) 2017-01-25
US20180124202A1 (en) 2018-05-03
CN106357589B (zh) 2019-12-27
US10542112B2 (en) 2020-01-21

Similar Documents

Publication Publication Date Title
US10360620B1 (en) Common purchasing user interface
RU2563163C2 (ru) Обработка аутентификации удаленной переменной
US10210501B2 (en) Electronic payments to non-internet connected devices systems and methods
CN111656380B (zh) 用于在进行电子钱包支付时支持具有增强的安全方法的自动Wi-Fi连接的电子装置和方法
US20130054417A1 (en) Methods and systems aggregating micropayments in a mobile device
US20080313087A1 (en) Automated teller machine having access point and method for providing financial service using the same
JP2015508541A (ja) ポータブルコンピューティングデバイスを使用して安全なオフライン支払いトランザクションを行うためのシステムおよび方法
KR20150102944A (ko) 자동 무선 소비자 체크인
CN112118227A (zh) 绑卡方法及终端
US11295291B2 (en) Low battery and digital wallet
WO2013165759A1 (en) Quick transaction completion using mobile device
KR20160003672A (ko) 모바일 디바이스 상에서의 즉시 결제를 구현하기 위한 시스템 및 방법
US10692075B2 (en) Portable terminal, control method, and non-transitory information recording medium
US9870560B2 (en) Online payment method and a network element, a system and a computer program product therefor
KR102174691B1 (ko) 가상화폐를 이용한 결제 시스템
CN107563876A (zh) 物品购买方法及装置、存储介质
CN107330695A (zh) 安全支付方法及系统
TW201939387A (zh) 支付方法、裝置及電子設備
AU2016403410A1 (en) Access credential management device
JP2020529090A (ja) 支払処理
US20200013056A1 (en) Authentication Terminal-Based Payment Method and Apparatus
JP2004038843A (ja) 自動販売機システム
WO2017008732A1 (zh) 可支配对象处理方法及装置
JP7221369B1 (ja) 管理サーバ、情報処理システム、管理方法、ならびに、プログラム
JP2024050049A (ja) 取引支援方法、取引支援装置、及び取引支援プログラム

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: 16823879

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1)EPC DATED 12.06.2018 (F1205A).

122 Ep: pct application non-entry in european phase

Ref document number: 16823879

Country of ref document: EP

Kind code of ref document: A1