WO2017067218A1 - 多设备间会员权益同步的方法、设备、服务器及系统 - Google Patents
多设备间会员权益同步的方法、设备、服务器及系统 Download PDFInfo
- Publication number
- WO2017067218A1 WO2017067218A1 PCT/CN2016/088360 CN2016088360W WO2017067218A1 WO 2017067218 A1 WO2017067218 A1 WO 2017067218A1 CN 2016088360 W CN2016088360 W CN 2016088360W WO 2017067218 A1 WO2017067218 A1 WO 2017067218A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- device identifier
- current
- duration
- rights
- synchronized
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L13/00—Speech synthesis; Text to speech systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F16/275—Synchronous replication
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9536—Search customisation based on social or collaborative filtering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/50—Service provisioning or reconfiguring
Definitions
- the invention relates to the technical field of mobile phones, in particular to a method, a device, a server and a system for synchronizing membership rights among multiple devices.
- a smart phone refers to a stand-alone operating system and a separate operating space like a personal computer.
- the user can install programs such as software, games, navigation, and other third-party service providers, and can implement wireless networks through a mobile communication network.
- Smart TV is an intelligent multimedia terminal that conforms to the trend of “high definition”, “networking” and “intelligence” of TV sets. It has the content of obtaining programs from various channels such as the Internet, video equipment and computers.
- the integrated operator interface uses the features that consumers want most clearly on the big screen.
- the member account is used to identify the user.
- the user can obtain the member's interest on the member account through the smart phone or smart TV by using the member account.
- the member's interest will have a certain duration of use, that is, the member's duration.
- each member's rights are only associated with the device, that is, the member's rights cannot be shared among multiple devices.
- the embodiment of the invention provides a method for synchronizing membership rights among multiple devices, including:
- the synchronization result is a member right of the member account obtained by the server querying about the device identifier to be synchronized, a corresponding member duration, and a member right of the member account regarding the current device identifier and corresponding
- the identifier of the device to be synchronized is different from the current device identifier.
- the sending, to the server, a synchronization request for the current device identifier and the member account specifically includes:
- the member account that is obtained is related to the member right of the device identifier and the corresponding member duration, the collectable device identifier is different from the current device identifier, and each of the collection query results corresponds to a single receivable device identifier;
- Displaying the receiving query result in response to the selecting operation of the receiving query result, sending a synchronization request including the selected device identifier to the server, the selected device identifier being the receiving query selected by the selecting operation
- the server is configured to use the selected device identifier included in the received synchronization request as the to-be-synchronized device identifier.
- Embodiments of the present invention provide a computer program comprising computer code adapted to perform all of the steps of the multi-device membership rights synchronization method as described above when run on a computer.
- the computer program is embodied on a computer readable medium.
- the embodiment of the invention provides a method for synchronizing membership rights among multiple devices, including:
- the current device identifier being an identifier of the current device, and the member account is logged in to the current device;
- the synchronization result is returned to the device.
- the receiving, by the current device, a synchronization request for the current device identifier and the member account, where the current device identifier is the identifier of the current device, and the member account is logged in to the current device specifically:
- the query obtains at least one collection inquiry result, and each of the collection inquiry results is a member right of the member account regarding the collectable device identifier and a corresponding member duration, and the receivable device identifier is different from the current device identifier, and each The article receiving the inquiry result corresponds to a single collectable device identifier;
- a synchronization request including a selected device identifier sent by the selecting operation of the receiving query result
- the selected device identifier is a location corresponding to the receiving query result selected by the selecting operation
- the device identifier is obtained, and the selected device identifier included in the received synchronization request is used as the device identifier to be synchronized.
- the query obtains the member rights of the member account regarding the device identifier to be synchronized and the corresponding member duration, and synchronizes with the member account regarding the member rights of the current device identifier and the corresponding member duration, specifically including:
- the member account is related to the current device identification member rights and corresponding Member duration as current member benefits and corresponding current member duration;
- the duration of the member to be synchronized corresponding to the member rights to be synchronized which is the same as the current member rights, is added to the corresponding member duration, and the current member duration is updated to the duration of the synchronized member.
- Embodiments of the present invention provide a computer program comprising computer code adapted to perform all of the steps of the multi-device membership rights synchronization method as described above when run on a computer.
- the computer program is embodied on a computer readable medium.
- An embodiment of the present invention provides a device for synchronizing membership rights among multiple devices, including:
- the current device obtaining module is configured to: obtain the identifier of the device as the current device identifier, and obtain a member account that is logged in to the device;
- a synchronization request sending module configured to: send a synchronization request about the current device identifier and the member account to the server;
- a synchronization result receiving module configured to: receive a synchronization result returned by the server, where the synchronization result is that the member account obtained by the server queries the member rights of the device identifier to be synchronized and the corresponding member duration and the member account regarding the current As a result of the synchronization of the member rights of the device identifier and the corresponding member duration, the device identifier to be synchronized is different from the current device identifier.
- the synchronization request sending module specifically includes:
- Receiving a query request sending submodule configured to: send a receiving query request including the current device identifier and the member account to the server;
- Receiving a query result receiving submodule configured to: obtain at least one receiving query result returned by the server, where the receiving query result is the member account obtained by the server querying about the member right of the device identifier and the corresponding member The length of the retrievable device identifier is different from the current device identifier, and each of the collection query results corresponds to a single retrievable device identifier;
- a display submodule configured to: display the receiving query result, and in response to the selecting operation of the receiving query result, send a synchronization request including the selected device identifier to the server, where the selected device identifier is the selection
- the selected device identifier corresponding to the received query result is used by the server, and the server is configured to use the selected device identifier included in the received synchronization request as the to-be-synchronized device identifier.
- An embodiment of the present invention provides a device for synchronizing membership rights among multiple devices, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and Configuring to be executed by the one or more processors, the one or more programs comprising instructions for:
- a synchronization request sending module configured to: send a synchronization request about the current device identifier and the member account to the server;
- a synchronization result receiving module configured to: receive a synchronization result returned by the server, where the synchronization result is that the member account obtained by the server queries the member rights of the device to be synchronized and the corresponding member duration and the The member account is synchronized with the current member identifier and the corresponding member duration, and the to-be-synchronized device identifier is different from the current device identifier.
- the sending, to the server, a synchronization request for the current device identifier and the member account specifically includes:
- the receiving query result is the member account obtained by the server querying about the member right of the device identifier and the corresponding member duration, and the collectable device identifier is different from The current device identifier, and each of the collection query results corresponds to a single receivable device identifier;
- Displaying the receiving query result in response to the selecting operation of the receiving query result, sending a synchronization request including the selected device identifier to the server, the selected device identifier being the receiving query selected by the selecting operation
- the server is configured to use the selected device identifier included in the received synchronization request as the to-be-synchronized device identifier.
- the embodiment of the invention provides a server for synchronizing membership rights among multiple devices, including:
- a synchronization request receiving module configured to: receive a synchronization request from a device about a current device identifier and a member account, where the current device identifier is an identifier of the current device, and the member account is logged in to the current device;
- a synchronization result obtaining module configured to: obtain a membership interest of the member account regarding the device identifier to be synchronized and a corresponding member duration, and synchronize the member rights of the member account with the current device identifier and the corresponding member duration As a result of the synchronization, the device identifier to be synchronized is different from the current device identifier;
- a synchronization result sending module configured to: return the synchronization result to the device.
- the synchronization request receiving module specifically includes:
- Receiving a query request receiving sub-module configured to: receive a receiving query request including the current device identifier and the member account, the current device identifier is an identifier of the current device, and the member account is in the current device Landing
- Receiving a query result sub-module configured to: obtain at least one receiving query result, and each of the receiving query results is a member right of the member account regarding the device identifier that can be collected and a corresponding member duration, and the difference between the receivable device identifiers And the current device identifier, and each of the collection query results corresponds to a single receivable device identifier;
- Receiving a query result sending submodule configured to: return at least one receiving query result to the device, where the receiving query result is used to be displayed on the device;
- a selected result receiving submodule configured to: receive a synchronization request including a selected device identifier sent by the device in response to the selecting operation of the receiving query result, where the selected device identifier is the selected operation And the selected device identifier included in the received synchronization request is used as the to-be-synchronized device identifier.
- the query obtains the member rights of the member account regarding the device identifier to be synchronized and the corresponding member duration, and synchronizes with the member account regarding the member rights of the current device identifier and the corresponding member duration, specifically including:
- the member account regarding the member rights to be synchronized and the corresponding member duration are regarded as the member rights to be synchronized and the corresponding member duration to be synchronized, and the member account regarding the current device identification member rights and the corresponding member duration is taken as the current Member benefits and corresponding current member duration;
- the duration of the member to be synchronized corresponding to the member rights to be synchronized which is the same as the current member rights, is added to the corresponding member duration, and the current member duration is updated to the duration of the synchronized member.
- An embodiment of the present invention provides a server for synchronizing membership rights among multiple devices, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and Configuring to be executed by the one or more processors, the one or more programs comprising instructions for:
- the current device identifier being an identifier of the current device, and the member account is logged in to the current device;
- the synchronization result is returned to the device.
- the receiving, by the current device, a synchronization request for the current device identifier and the member account, where the current device identifier is the identifier of the current device, and the member account is logged in to the current device specifically:
- the query obtains at least one collection inquiry result, and each of the collection inquiry results is a member right of the member account regarding the collectable device identifier and a corresponding member duration, and the receivable device identifier is different from the current device identifier, and each The article receiving the inquiry result corresponds to a single collectable device identifier;
- a synchronization request including a selected device identifier sent by the selecting operation of the receiving query result
- the selected device identifier is a location corresponding to the receiving query result selected by the selecting operation
- the device identifier is obtained, and the selected device identifier included in the received synchronization request is used as the device identifier to be synchronized.
- the query is to obtain the membership rights of the member account regarding the device identification to be synchronized and the corresponding member duration, and synchronize with the member account regarding the member rights of the current device identifier and the corresponding member duration, which specifically includes:
- the membership account regarding the identity of the device to be synchronized and the corresponding member duration are to be synchronized.
- the duration of the member to be synchronized corresponding to the member rights to be synchronized which is the same as the current member rights, is added to the corresponding member duration, and the current member duration is updated to the duration of the synchronized member.
- Embodiments of the present invention provide a system for synchronizing membership rights among multiple devices, including: the foregoing device and the server as described above.
- the server searches for the member rights and corresponding durations of different devices on the same account, and synchronizes them, thereby implementing the member rights sharing function of the same account among multiple devices.
- FIG. 1 is a flowchart of a method for synchronizing a multi-device member equity application applied to a device according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of an effect of displaying multiple collection query results on a device according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method for synchronizing membership rights among multiple devices applied to a server according to an embodiment of the present invention
- FIG. 4 is a structural block diagram of a device for synchronizing membership rights among multiple devices according to an embodiment of the present invention
- FIG. 5 is a structural block diagram of a device according to an embodiment of the present invention.
- FIG. 6 is a structural block diagram of a server for synchronizing membership rights among multiple devices according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram of a server according to an embodiment of the present invention.
- FIG. 8 is a structural block diagram of a system for synchronizing membership rights among multiple devices according to an embodiment of the present invention.
- FIG. 9 is a flowchart of a method for synchronizing membership rights among multiple devices according to another embodiment of the present invention.
- FIG. 1 is a flowchart of a method for synchronizing membership rights among multiple devices according to an embodiment of the present invention, including:
- Step S101 Obtain an identifier of the device as a current device identifier, and obtain a member account that is logged in to the device;
- Step S102 sending a synchronization request about the current device identifier and the member account to the server;
- Step S103 Receive a synchronization result returned by the server, and the synchronization result is that the member account obtained by the server queries the member rights of the device identifier to be synchronized and the corresponding member duration is synchronized with the member account regarding the current device identifier and the corresponding member duration. As a result, the device identifier to be synchronized is different from the current device identifier.
- the identifier of the device obtained in step S101 may be a media access control (MAC) address of the device, or a physical address, or a device name, an IP address, or the like.
- the device is represented by the current device identification.
- Sending a synchronization request in step S102, and obtaining a synchronization result in step S103, the synchronization result is the member rights of the same member account found by the server regarding other devices, and the corresponding member duration and current setting.
- the backup identifies the member's rights and interests of the device and the corresponding member's duration.
- the current device identifier represents a smart phone
- the device identifier to be synchronized represents a smart TV.
- the scenario in this embodiment is:
- the user first purchases the smart TV, and activates the login smart TV by using the member account, thereby obtaining the membership rights of the member account about the smart TV and the corresponding member duration.
- the member account is related to the membership rights of the smart TV and the corresponding members.
- the duration is defined as HD member benefits and HD member duration.
- the user purchases the smart phone and activates the login smart phone with the same member account, thereby obtaining the membership rights of the member account regarding the smart phone and the corresponding member duration.
- the member account is related to the membership of the smart phone and corresponding
- the member duration is defined as the mobile phone membership rights and the mobile member duration.
- the server searches for the member rights and corresponding durations of different devices on the same account, and synchronizes them, thereby implementing the member rights sharing function of the same account among multiple devices.
- the device identifier to be synchronized on the server may select any one of the device identifiers.
- the synchronization request for the current device identifier and the member account is sent to the server, and specifically includes:
- Obtaining at least one receiving query result returned by the server, and receiving the query result is a member account obtained by the server querying about the member rights of the device identifier and the corresponding member duration, and the device identifier is different from the current device identifier, and each query result is obtained.
- the server Displaying the result of the receiving query, in response to the selecting operation of receiving the query result, sending a synchronization request including the selected device identifier to the server, and selecting the device identifier as the receivable device identifier corresponding to the receiving query result selected by the selecting operation, the server
- the identifier of the selected device included in the received synchronization request is used as the device identifier to be synchronized.
- the embodiment After obtaining the plurality of receiving query results, the embodiment displays the receiving query result 21 on the device, and the display effect is as shown in FIG. 2, and the user clicks one of the devices 20 to receive the query result 21, thereby selecting to receive the receiving result.
- the result of the query is synchronized with the membership rights of the current device identifier and the member duration by sending a synchronization request to the server.
- the user selects the device to be synchronized, which is more flexible and meets the needs of the user.
- FIG. 3 is a flowchart of a method for synchronizing member rights among multiple devices according to an embodiment of the present invention
- Step S301 receiving a synchronization request from the device about the current device identifier and the member account, the current device identifier is the identifier of the current device, and the member account is logged in at the current device;
- Step S302 the query obtains the member account regarding the member rights of the device to be synchronized and the corresponding member duration, and synchronizes the member account with the member rights of the current device identifier and the corresponding member duration as a synchronization result, and the device identifier to be synchronized Different from the current device identifier;
- Step S303 returning a synchronization result to the device.
- This embodiment is a workflow of the server, and performs synchronous processing on the received synchronization request.
- the synchronization request for the current device identifier and the member account is received from the current device, and the current device identifier is the identifier of the current device, and the member account is logged in to the current device, and specifically includes:
- the current device identifier is the identifier of the current device, and the member account is logged in at the current device;
- the inquiry obtains at least one collection result, and each collection result is a member account regarding the member rights of the device identifier and the corresponding member duration, and the device identification is different from the current device identification, and each collection result corresponds to a separate one.
- the selected device identifier is a receivable device identifier corresponding to the receiving query result selected by the selecting operation, and the received device identifier is received.
- the selected device identifier included in the synchronization request is used as the device identifier to be synchronized.
- the query obtains the member account regarding the member identity of the device to be synchronized and the corresponding member duration, and synchronizes with the member account regarding the member rights of the current device identifier and the corresponding member duration, including:
- the member account regarding the member rights to be synchronized and the corresponding member duration are regarded as the member interest to be synchronized and the corresponding member duration to be synchronized, and the member account regarding the current device identification member interest and the corresponding member duration are regarded as the current member rights and corresponding Current member duration;
- the duration of the member to be synchronized corresponding to the member rights to be synchronized which is the same as the current member rights, is added to the corresponding member duration, and the current member duration is updated to the member duration after synchronization.
- the member's account member's member's interest and the corresponding member's duration will be queried, and the member's account member's member's rights and the corresponding member's time will be synchronized with the member's account, which may be a member with a longer member duration. duration.
- the member's account which may be a member with a longer member duration. duration.
- the user experience of this method is poor.
- the synchronization operation is specifically clarified, and the member durations corresponding to the same member rights are superimposed.
- the current device identifier indicates a smart phone
- the device identifier to be synchronized indicates a smart TV.
- the scenario in this embodiment is:
- the user first purchases the smart TV, and activates the login smart TV by using the member account, thereby obtaining the video member rights of the member account and the corresponding member duration of the member account, and the member account is intelligent for the convenience of description.
- TV's video membership benefits and corresponding member durations are defined as HD video membership benefits and HD video membership duration, and its HD video membership duration is 500 hours.
- the user purchases the smart phone and activates the login smart phone with the same member account, thereby obtaining the video member membership rights of the member account and the corresponding member duration, and for the convenience of the description, the member account is related to the video member rights of the smart phone and
- the corresponding member duration is defined as the mobile video member membership and mobile video member duration, and the mobile video member duration is 500 hours.
- the smart phone When using the smart phone for synchronization, you can get the HD video member rights and HD video member duration through the server query. Since the HD video member rights are consistent with the mobile video member rights, you can superimpose the HD video conference duration. The length of time to mobile video members has increased the length of mobile video members from 500 hours to 1000 hours.
- the HD video member duration of the smart TV can also be increased to 1000 hours.
- FIG. 9 is a flowchart of a method for synchronizing membership rights among multiple devices according to another embodiment of the present invention, including:
- Step S901 the receiving activity of the mobile phone displays the receiving interface.
- the preset code key written in the mobile phone is obtained through the AIDL call provided by the different hardware manufacturer, and the IMEI number of the mobile phone is obtained through the getDeviceId() method of the TelephoneManager.
- the user token is obtained through the peekAuthToken method of AccountManager.
- the user token contains all the information of the user, including the member account.
- Step S902 combining the obtained information with the appid provided by the cloud platform, and plat, splicing into corresponding fields, and then performing MD5 encryption.
- Step S903 sending a query request to the cloud platform through the GET of the HttpClient, and then using the RequestCallback interface to call back the shared member duration information acquired from the cloud platform, and the returned Json field is parsed by the JSONObject.
- the length of the obtained information array is 1, It means that there is only one gifted member duration, parsing the mac, title, from, id fields of this data, displaying the parsed data, and then the user can click the collect button to receive the individual member's gift duration, if the obtained information array There are multiple, then use JSONArray to save each piece of data, use ListView to display all the items of the data, in each ListView Item will have mac, title, from, id field, pass the data to GetFullScreenVipProtocalActivity, in the Activity The corresponding information will be displayed. You can then click the Pick button to get the length of each member's gift.
- Step S904 the user clicks the collection button, and sends a synchronization request to the cloud platform through the POST of the HttpClient, and then uses the interface of the RequestCallback to call back the shared member duration information acquired from the cloud platform, and the returned Json field is parsed by the JSONObject, and the done field is parsed if If it is 1, it means that the collection is successful. If it is 0, it means that the collection failed. Then, the returned title and info fields are parsed, and the result of the collection is displayed.
- Step S905 after the completion of the collection, clicking the completion button will return the result to the previous page by setResult, and then call the activity's finish() method to directly end the page, and the current call page passes.
- the onActivityResult receives the returned result, if it is successful, it directly returns the account information page, refreshes the information display and the member duration, and if it fails, stays on the current page.
- the other app can also pass the required member account and the app name to the aforementioned receiving activity through the Intent, and the Activity will judge according to different from parameters (ie, the app name), display different interfaces, and after receiving the success. prompt.
- Its calling method is:
- FIG. 4 is a structural block diagram of a device for synchronizing membership rights among multiple devices according to an embodiment of the present invention, including:
- the current device obtaining module 410 is configured to: obtain an identifier of the device as a current device identifier, and obtain a member account that is logged in to the device;
- the synchronization request sending module 420 is configured to: send a synchronization request about the current device identifier and the member account to the server;
- the synchronization result receiving module 430 is configured to: receive a synchronization result returned by the server, and the synchronization result is a member account obtained by the server for the member identity of the device to be synchronized and the corresponding member duration and the member account regarding the current device identifier and corresponding rights As a result of the synchronization of the member duration, the identity of the device to be synchronized is different from the current device identifier.
- FIG. 5 is a structural block diagram of a device according to an embodiment of the present invention.
- the device is preferably a mobile phone, a smart phone or the like, and mainly includes a processor 51, a memory 52, a communication component 53, a display screen 54, and the like.
- the specific code in which the foregoing method is stored in the memory 52 is specifically executed by the processor 51, and the synchronization request is transmitted to the server via the communication component 53, the synchronization result is received, and the synchronization result is displayed on the display screen 54.
- the logic instructions in the memory 52 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a mobile terminal (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the embodiments of the present invention. Those of ordinary skill in the art can understand and implement without deliberate labor.
- the synchronization request sending module 420 specifically includes:
- the receiving query request sending submodule 421 is configured to: send a receiving query request including a current device identifier and a member account to the server;
- the receiving query receiving sub-module 422 is configured to: obtain at least one receiving query result returned by the server, and obtain the query result obtained by the server for the member account obtained by the server regarding the member right of the device identifier and the corresponding member duration, and the device identification difference can be obtained.
- the current device identification, and each collection query result corresponds to a separate receivable device identifier;
- the display sub-module 423 is configured to: display the receiving query result, and send a synchronization request including the selected device identifier to the server in response to the selecting operation of the receiving the query result, and the selected device identifier is the receiving query result selected by the selecting operation.
- the corresponding device identifier is collected, and the server is configured to use the selected device identifier included in the received synchronization request as the device identifier to be synchronized.
- An embodiment of the present invention provides a device for synchronizing membership rights among multiple devices, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and Configuring to be executed by the one or more processors, the one or more programs comprising instructions for:
- a synchronization request sending module configured to: send a synchronization request about the current device identifier and the member account to the server;
- a synchronization result receiving module configured to: receive a synchronization result returned by the server, where the synchronization result is that the member account obtained by the server queries the member rights of the device identifier to be synchronized and the corresponding member duration and the member account regarding the current As a result of the synchronization of the member rights of the device identifier and the corresponding member duration, the device identifier to be synchronized is different from the current device identifier.
- the sending, to the server, a synchronization request for the current device identifier and the member account specifically includes:
- the receiving query result is the member account obtained by the server querying about the member right of the device identifier and the corresponding member duration, and the collectable device identifier is different from The current device identifier, and each of the collection query results corresponds to a single receivable device identifier;
- Displaying the receiving query result in response to the selecting operation of the receiving query result, sending a synchronization request including the selected device identifier to the server, the selected device identifier being the receiving query selected by the selecting operation
- the server is configured to use the selected device identifier included in the received synchronization request as the to-be-synchronized device identifier.
- FIG. 6 is a structural block diagram of a server for synchronizing member rights among multiple devices according to an embodiment of the present invention, including:
- the synchronization request receiving module 610 is configured to: receive a synchronization request from the device about the current device identifier and the member account, the current device identifier is an identifier of the current device, and the member account is logged in at the current device;
- the synchronization result obtaining module 620 is configured to: obtain the result of synchronizing the membership rights of the member account regarding the device identifier to be synchronized and the corresponding member duration, and the member account regarding the member rights of the current device identifier and the corresponding member duration. As a result, the device identifier to be synchronized is different from the current device identifier;
- the synchronization result sending module 630 is configured to: return a synchronization result to the device.
- FIG. 7 is a structural block diagram of a server according to an embodiment of the present invention.
- the server may be a computer or a cluster of multiple computers, and mainly includes a processor 71, a memory 72, and a communication component 73.
- the specific code of the foregoing method is stored in the memory 72, and is specifically executed by the processor 71.
- the synchronization request sent by the device is received by the communication component 73, and the processor 71 queries and synchronizes the specific synchronization result from the memory 72 and then communicates.
- Component 73 sends the synchronization result to the device.
- the logic instructions in the memory 72 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a mobile terminal (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the embodiments of the present invention. Those of ordinary skill in the art can understand and implement without deliberate labor.
- the synchronization request receiving module 610 specifically includes:
- the receiving query request receiving sub-module 611 is configured to: receive a receiving query request including a current device identifier and a member account, the current device identifier is an identifier of the current device, and the member account is logged in at the current device;
- the query result sub-module 612 is configured to: obtain at least one receiving query result by querying, and each receiving the query result is a member account regarding the member rights of the device identifier and the corresponding member duration, and the device identifier can be different from the current device identifier. And each receiving inquiry result corresponds to a separate receivable device identifier;
- the query result sending sub-module 613 is configured to: return at least one receiving query result to the device, and receive the query result for display on the device;
- the selected result receiving sub-module 614 is configured to: receive a synchronization request including the selected device identifier sent by the device in response to the selecting operation of the receiving the query result, and select the device identifier as the receiving query result selected by the selecting operation Corresponding device identifier is used, and the selected device identifier included in the received synchronization request is used as the device identifier to be synchronized.
- the query obtains the member account regarding the member identity of the device to be synchronized and the corresponding member duration, and synchronizes with the member account regarding the member rights of the current device identifier and the corresponding member duration, including:
- the member account regarding the member rights to be synchronized and the corresponding member duration are regarded as the member interest to be synchronized and the corresponding member duration to be synchronized, and the member account regarding the current device identification member interest and the corresponding member duration are regarded as the current member rights and corresponding Current member duration;
- the duration of the member to be synchronized corresponding to the member rights to be synchronized which is the same as the current member rights, is added to the corresponding member duration, and the current member duration is updated to the member duration after synchronization.
- An embodiment of the present invention provides a server for synchronizing membership rights among multiple devices, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and Configuring to be executed by the one or more processors, the one or more programs comprising instructions for:
- the current device identifier being an identifier of the current device, and the member account is logged in to the current device;
- the synchronization result is returned to the device.
- the current device identifier being an identifier of the current device
- the member account being logged in at the current device.
- the query obtains at least one collection inquiry result, and each of the collection inquiry results is a member right of the member account regarding the collectable device identifier and a corresponding member duration, and the receivable device identifier is different from the current device identifier, and each The article receiving the inquiry result corresponds to a single collectable device identifier;
- a synchronization request including a selected device identifier sent by the selecting operation of the receiving query result
- the selected device identifier is a location corresponding to the receiving query result selected by the selecting operation
- the device identifier is obtained, and the selected device identifier included in the received synchronization request is used as the device identifier to be synchronized.
- the query obtains the membership rights of the member account regarding the device identifier to be synchronized and the corresponding member duration, and synchronizes with the member account regarding the current device identifier and the corresponding member duration. Specifically include:
- the member account regarding the member rights to be synchronized and the corresponding member duration are regarded as the member rights to be synchronized and the corresponding member duration to be synchronized, and the member account regarding the current device identification member rights and the corresponding member duration is taken as the current Member benefits and corresponding current member duration;
- the duration of the member to be synchronized corresponding to the member rights to be synchronized which is the same as the current member rights, is added to the corresponding member duration, and the current member duration is updated to the duration of the synchronized member.
- FIG. 8 is a structural block diagram of a system for synchronizing membership rights among multiple devices according to an embodiment of the present invention, including: the device 81 as described above and the server 82 as described above;
- Apparatus 81 comprising:
- the device current device obtaining module 811 is configured to: obtain the identifier of the device as the current device identifier, and obtain a member account that is logged in to the device;
- the device synchronization request sending module 812 is configured to: send a synchronization request about the current device identifier and the member account to the server;
- the device synchronization result receiving module 813 is configured to: receive a synchronization result returned by the server, and the synchronization result is a member right of the member account obtained by the server regarding the identity of the device to be synchronized, and a corresponding member duration and a member account regarding the current device identifier and The result of the synchronization of the corresponding member duration, the identifier of the device to be synchronized is different from the current device identifier;
- the server 82 includes:
- the server synchronization request receiving module 821 is configured to: receive a synchronization request from the device about the current device identifier and the member account, the current device identifier is an identifier of the current device, and the member account is logged in at the current device;
- the server synchronization result obtaining module 822 is configured to: obtain a result of synchronizing the membership rights of the member account regarding the device identification to be synchronized and the corresponding member duration, and the member account regarding the member rights of the current device identifier and the corresponding member duration.
- the synchronization result is that the device ID to be synchronized is different from the current device identifier.
- the server synchronization result sending module 823 is configured to: return a synchronization result to the device.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Computing Systems (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开一种多设备间会员权益同步方法、设备、服务器及系统,方法包括:获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求;接收服务器返回的同步结果,所述同步结果为所述服务器查询得到的所述会员账号关于待同步设备标识的会员权益和相应的会员时长与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,所述待同步设备标识区别于所述当前设备标识。本发明通过服务器查找同一账号关于不同设备的会员权益及相应时长,并将其进行同步,从而实现同一账号在多设备间的会员权益共享功能。
Description
本发明涉及手机相关技术领域,特别是一种多设备间会员权益同步的方法、设备、服务器及系统。
智能手机,是指像个人电脑一样,具有独立的操作系统,独立的运行空间,可以由用户自行安装软件、游戏、导航等第三方服务商提供的程序,并可以通过移动通讯网络来实现无线网络接入的手机类型。
智能电视是顺应电视机“高清化”、“网络化”、“智能化”的趋势而出现的一种智能多媒体终端,具备从因特网、视频设备、计算机等多种渠道获得节目内容,通过简单易用的整合式操作界面将消费者最需要的内容在大屏幕上清晰地展现的功能。
智能电视的出现让大屏观看体验大幅提升,是家庭的娱乐中心。在大屏观看的同时,越来越多的用户选择同时使用手机与平板等“第二块屏幕”,搜寻节目相关信息,参与节目互动。
会员账号用于标识用户,使用者采用会员账号通过智能手机或者智能电视则能获取关于该会员账号的会员权益,通常会员权益会有一定的使用时长,即会员时长。
然而发明人在实现发明的过程中发现,现有技术中,每个会员权益仅与设备关联,即该会员权益在多设备之间不能共享。
发明内容
基于此,有必要针对现有技术无法实现同一会员账号的会员权益无法在多设备之间共享的技术问题,提供一种多设备间会员权益同步的方法、设备、服务器及系统。
本发明实施例提供一种多设备间会员权益同步方法,包括:
获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;
向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求;
接收服务器返回的同步结果,所述同步结果为所述服务器查询得到的所述会员账号关于待同步设备标识的会员权益和相应的会员时长与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,所述待同步设备标识区别于所述当前设备标识。
进一步的,所述向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求,具体包括:
向所述服务器发送包括所述当前设备标识和所述会员账号的领取查询请求;
获取所述服务器返回的至少一条领取查询结果,所述领取查询结果为所述服务器查
询得到的所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
显示所述领取查询结果,响应于对所述领取查询结果的选择操作,向所述服务器发送包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,所述服务器用于将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
本发明实施例提供一种计算机程序,包括在计算机上运行时,适合执行如前所述的多设备间会员权益同步方法的所有步骤的计算机代码。
进一步的,所述计算机程序收录在计算机可读媒介上。
本发明实施例提供一种多设备间会员权益同步方法,包括:
接收到来自设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;
将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为所述同步结果,所述待同步设备标识区别于所述当前设备标识;
向所述设备返回所述同步结果。
进一步的,所述接收到来自当前设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆,具体包括:
接收到包括所述当前设备标识和所述会员账号的领取查询请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;
查询得到至少一条领取查询结果,每条所述领取查询结果为所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
向所述设备返回至少一条领取查询结果,所述领取查询结果用于在所述设备显示;
接收到所述设备响应于对所述领取查询结果的选择操作所发送的包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
进一步的,所述将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:
将所述会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会员权益和相应的待同步会员时长,将所述会员账号关于当前设备标识的会员权益和相应
的会员时长作为当前会员权益和相应的当前会员时长;
将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为所述同步后会员时长。
本发明实施例提供一种计算机程序,包括在计算机上运行时,适合执行如前所述的多设备间会员权益同步方法的所有步骤的计算机代码。
进一步的,所述计算机程序收录在计算机可读媒介上。
本发明实施例提供一种多设备间会员权益同步的设备,包括:
当前设备获取模块,用于:获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;
同步请求发送模块,用于:向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求;
同步结果接收模块,用于:接收服务器返回的同步结果,所述同步结果为所述服务器查询得到的所述会员账号关于待同步设备标识的会员权益和相应的会员时长与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,所述待同步设备标识区别于所述当前设备标识。
进一步的,所述同步请求发送模块,具体包括:
领取查询请求发送子模块,用于:向所述服务器发送包括所述当前设备标识和所述会员账号的领取查询请求;
领取查询结果接收子模块,用于:获取所述服务器返回的至少一条领取查询结果,所述领取查询结果为所述服务器查询得到的所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
显示子模块,用于:显示所述领取查询结果,响应于对所述领取查询结果的选择操作,向所述服务器发送包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,所述服务器用于将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
本发明实施例提供一种多设备间会员权益同步的设备,包括:一个或多个处理器、存储器、以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并且被配置成被所述一个或多个处理器执行,所述一个或多个程序包括指令,所述指令用于:
获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;
同步请求发送模块,用于:向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求;
同步结果接收模块,用于:接收服务器返回的同步结果,所述同步结果为所述服务器查询得到的所述会员账号关于待同步设备标识的会员权益和相应的会员时长与所述
会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,所述待同步设备标识区别于所述当前设备标识。
进一步的,所述向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求,具体包括:
向所述服务器发送包括所述当前设备标识和所述会员账号的领取查询请求;
获取所述服务器返回的至少一条领取查询结果,所述领取查询结果为所述服务器查询得到的所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
显示所述领取查询结果,响应于对所述领取查询结果的选择操作,向所述服务器发送包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,所述服务器用于将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
本发明实施例提供一种多设备间会员权益同步的服务器,包括:
同步请求接收模块,用于:接收到来自设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;
同步结果获取模块,用于:将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为所述同步结果,所述待同步设备标识区别于所述当前设备标识;
同步结果发送模块,用于:向所述设备返回所述同步结果。
进一步的,所述同步请求接收模块,具体包括:
领取查询请求接收子模块,用于:接收到包括所述当前设备标识和所述会员账号的领取查询请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;
领取查询结果子模块,用于:查询得到至少一条领取查询结果,每条所述领取查询结果为所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
领取查询结果发送子模块,用于:向所述设备返回至少一条领取查询结果,所述领取查询结果用于在所述设备显示;
选定结果接收子模块,用于:接收到所述设备响应于对所述领取查询结果的选择操作所发送的包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
进一步的,所述将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:
将所述会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会员权益和相应的待同步会员时长,将所述会员账号关于当前设备标识的会员权益和相应的会员时长作为当前会员权益和相应的当前会员时长;
将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为所述同步后会员时长。
本发明实施例提供一种多设备间会员权益同步的服务器,包括:一个或多个处理器、存储器、以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并且被配置成被所述一个或多个处理器执行,所述一个或多个程序包括指令,所述指令用于:
接收到来自设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;
将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为所述同步结果,所述待同步设备标识区别于所述当前设备标识;
向所述设备返回所述同步结果。
进一步的,所述接收到来自当前设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆,具体包括:
接收到包括所述当前设备标识和所述会员账号的领取查询请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;
查询得到至少一条领取查询结果,每条所述领取查询结果为所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
向所述设备返回至少一条领取查询结果,所述领取查询结果用于在所述设备显示;
接收到所述设备响应于对所述领取查询结果的选择操作所发送的包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
更进一步的,所述将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:
将所述会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会
员权益和相应的待同步会员时长,将所述会员账号关于当前设备标识的会员权益和相应的会员时长作为当前会员权益和相应的当前会员时长;
将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为所述同步后会员时长。
本发明实施例提供一种多设备间会员权益同步的系统,包括:如前所述的设备和如前所述的服务器。
本发明实施例通过服务器查找同一账号关于不同设备的会员权益及相应时长,并将其进行同步,从而实现同一账号在多设备间的会员权益共享功能。
图1为本发明一实施例提供的应用在设备上的一种多设备间会员权益同步方法的工作流程图;
图2为本发明一实施例提供的在设备上显示多个领取查询结果的效果示意图;
图3为本发明一实施例提供的应用在服务器上的一种多设备间会员权益同步方法的工作流程图;
图4为本发明一实施例提供的一种多设备间会员权益同步的设备的结构模块图;
图5为本发明一实施例提供的设备的结构框图;
图6为本发明一实施例提供的一种多设备间会员权益同步的服务器的结构模块图;
图7为本发明一实施例提供的服务器的结构框图;
图8为本发明一实施例提供的一种多设备间会员权益同步的系统的结构模块图;
图9为本发明另一实施例提供的一种多设备间会员权益同步方法的工作流程图。
下面结合附图和具体实施例对本发明做进一步详细的说明。
如图1所示为本发明实施例一种多设备间会员权益同步方法的工作流程图,包括:
步骤S101,获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;
步骤S102,向服务器发送关于当前设备标识和会员账号的同步请求;
步骤S103,接收服务器返回的同步结果,同步结果为服务器查询得到的会员账号关于待同步设备标识的会员权益和相应的会员时长与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,待同步设备标识区别于当前设备标识。
步骤S101所获取的设备的标识,可以为设备的媒体访问控制(Media Access Control,MAC)地址,或称为物理地址,也可以是设备的名称、IP地址等。通过当前设备标识表示设备。在步骤S102中发送同步请求,并在步骤S103中获取同步结果,该同步结果为服务器所查找到的同一会员账号关于其他设备的会员权益和相应的会员时长与当前设
备标识所表示设备的会员权益和相应的会员时长的同步结果。
作为其中一个实施例,当前设备标识表示的是智能手机,待同步设备标识表示的是智能电视,该实施例的场景为:
用户先购买了智能电视,并采用会员账号激活登陆智能电视,从而获得该会员账号关于智能电视的会员权益及相应的会员时长,为了叙述方便将该会员账号关于智能电视的会员权益及相应的会员时长定义为高清会员权益和高清会员时长。
用户再购买了智能手机,并采用同一会员账号激活登陆智能手机,从而获得该会员账号关于智能手机的会员权益及相应的会员时长,为了叙述方便将该会员账号关于智能手机的会员权益及相应的会员时长定义为手机会员权益和手机会员时长。
当采用智能手机进行同步时,可以通过服务器查询得到关于该会员账号还有高清会员权益和高清会员时长,从而使得智能手机的手机会员权益和手机会员时长与高清会员权益和高清会员时长进行同步。
同样地,当采用智能手机进行同步时,也可以使得智能电视的高清会员权益和高清会员时长与手机会员权益和手机会员时长进行同步。
本发明实施例通过服务器查找同一账号关于不同设备的会员权益及相应时长,并将其进行同步,从而实现同一账号在多设备间的会员权益共享功能。
如果同一会员账号具有关于多个设备标识的会员权益和相应的会员时长,服务器上的待同步设备标识可以选择任意一个设备标识。
在其中一个实施例中,向服务器发送关于当前设备标识和会员账号的同步请求,具体包括:
向服务器发送包括当前设备标识和会员账号的领取查询请求;
获取服务器返回的至少一条领取查询结果,领取查询结果为服务器查询得到的会员账号关于可领取设备标识的会员权益和相应的会员时长,可领取设备标识区别于当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
显示领取查询结果,响应于对领取查询结果的选择操作,向服务器发送包括选定设备标识的同步请求,选定设备标识为选择操作所选定的领取查询结果所对应的可领取设备标识,服务器用于将所接收到的同步请求所包括的选定设备标识作为待同步设备标识。
本实施例在获取到多个领取查询结果后,在设备上显示领取查询结果21,显示效果如图2所示,用户点击设备20中的其中一个领取查询结果21,从而选定对领取该领取查询结果,通过向服务器发送同步请求,将其与当前设备标识的会员权益和会员时长进行同步。
本实施例由用户自行选择所要同步的设备,从而更为灵活,满足用户自行选择的需求。
如图3所示为本发明一实施例提供的一种多设备间会员权益同步方法的工作流程
图,包括:
步骤S301,接收到来自设备的关于当前设备标识和会员账号的同步请求,当前设备标识为当前设备的标识,会员账号在当前设备登陆;
步骤S302,将查询得到会员账号关于待同步设备标识的会员权益和相应的会员时长,与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为同步结果,待同步设备标识区别于当前设备标识;
步骤S303,向设备返回同步结果。
本实施例为服务器的工作流程,对所接收到的同步请求进行同步处理。
在其中一个实施例中,接收到来自当前设备的关于当前设备标识和会员账号的同步请求,当前设备标识为当前设备的标识,会员账号在当前设备登陆,具体包括:
接收到包括当前设备标识和会员账号的领取查询请求,当前设备标识为当前设备的标识,会员账号在当前设备登陆;
查询得到至少一条领取查询结果,每条领取查询结果为会员账号关于可领取设备标识的会员权益和相应的会员时长,可领取设备标识区别于当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
向设备返回至少一条领取查询结果,领取查询结果用于在设备显示;
接收到设备响应于对领取查询结果的选择操作所发送的包括选定设备标识的同步请求,选定设备标识为选择操作所选定的领取查询结果所对应的可领取设备标识,将所接收到的同步请求所包括的选定设备标识作为待同步设备标识。
在其中一个实施例中,将查询得到会员账号关于待同步设备标识的会员权益和相应的会员时长,与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:
将会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会员权益和相应的待同步会员时长,将会员账号关于当前设备标识的会员权益和相应的会员时长作为当前会员权益和相应的当前会员时长;
将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为同步后会员时长。
将查询得到会员账号关于待同步设备标识的会员权益和相应的会员时长,与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,可以是将较长的会员时长覆盖较短的会员时长。但该方法的用户体验较差。本实施例具体明确同步操作,是将相同的会员权益相应的会员时长进行叠加。
作为一个实施例,当前设备标识表示的是智能手机,待同步设备标识表示的是智能电视,该实施例的场景为:
用户先购买了智能电视,并采用会员账号激活登陆智能电视,从而获得该会员账号关于智能电视的视频会员权益及相应的会员时长,为了叙述方便将该会员账号关于智能
电视的视频会员权益及相应的会员时长定义为高清视频会员权益和高清视频会员时长,其高清视频会员时长为500小时。
用户再购买了智能手机,并采用同一会员账号激活登陆智能手机,从而获得该会员账号关于智能手机的视频会员权益及相应的会员时长,为了叙述方便将该会员账号关于智能手机的视频会员权益及相应的会员时长定义为手机视频会员权益和手机视频会员时长,其手机视频会员时长为500小时。
当采用智能手机进行同步时,可以通过服务器查询得到关于该会员账号还有高清视频会员权益和高清视频会员时长,由于高清视频会员权益与手机视频会员权益一致,因此,可以将高清视频会议时长叠加到手机视频会员时长,使得手机视频会员时长从500小时增加至1000小时。
同样地,当采用智能手机进行同步时,也可以使得智能电视的高清视频会员时长增加至1000小时。
如图9所示为本发明另一实施例提供的一种多设备间会员权益同步方法的工作流程图,包括:
步骤S901,手机的领取Activity显示领取界面,在用户选择领取之后通过不同硬件厂商提供的AIDL调用取到写在手机中的预设码key,通过TelephoneManager的getDeviceId()方法取到手机的IMEI号。通过AccountManager的peekAuthToken方法取到用户token。用户token中包含用户所有的信息,具体包括会员账号。
步骤S902,将得到的信息跟云平台提供的appid,以及plat组合,拼接成相应的字段,然后进行MD5加密。加密方式:sign=md5("appid="+"值"+"&devid="+"值"+"&key="+"值"+"&plat="+"值"+"&"+签名key)。
步骤S903,通过HttpClient的GET发送领取查询请求到云平台,然后用RequestCallback的接口回调从云平台取到的共享会员时长信息,返回的Json字段用JSONObject解析,如果取到的信息数组长度为1,则表示只有一条赠送的会员时长,解析这条数据的mac、title、from、id字段,显示这些解析的数据,然后用户可以点击领取按钮领取单个每条的会员赠送时长,如果取到的信息数组有多个,则用JSONArray保存每条数据,采用ListView来显示这些数据的所有项,在每条ListView的Item中会有mac、title、from、id字段,将这些数据传给GetFullScreenVipProtocalActivity,在该Activity中则会显示相应的信息。然后可以点击领取按钮领取单个每条的会员赠送时长。
步骤S904,用户点击领取按钮,会通过HttpClient的POST发送同步请求到云平台,然后用RequestCallback的接口回调从云平台取到的共享会员时长信息,返回的Json字段用JSONObject解析,解析done字段,如果为1则表示领取成功,如果为0则表示领取失败,然后将返回的title,info字段解析,显示领取结果。
步骤S905,领取完成后,点击完成按钮会通过setResult将结果回传到前一个调起页面,然后调用Activity的finish()方法直接结束该页面,当前一调用页面通过
onActivityResult接到返回的结果后,如果是成功,则直接finish返回账号信息页面,刷新信息显示以及会员时长,如果是失败留在当前页面。
二、对其他app提供领取接口策略
优选地,其他app还可以通过Intent将所需要的会员账号以及app名称传给前述的领取Activity,该Activity会根据不同的from参数(即app名称)来判断,显示不同的界面以及领取成功后的提示。其调用方式为:
intent.putExtra("report_id",””);
intent.putExtra("from",/*app名称*/);
intent.setClass(this,GetFullScreenVipViaTVActivity.class);
startActivityForResult(intent);
领取结果会通过两种不同的方式提供:
1、直接通过setResult将结果返回给调用方;
2、发送result广播,当调用方接到广播之后则可根据广播返回的字段来判断。
如图4所示为本发明一实施例提供的一种多设备间会员权益同步的设备的结构模块图,包括:
当前设备获取模块410,用于:获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;
同步请求发送模块420,用于:向服务器发送关于当前设备标识和会员账号的同步请求;
同步结果接收模块430,用于:接收服务器返回的同步结果,同步结果为服务器查询得到的会员账号关于待同步设备标识的会员权益和相应的会员时长与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,待同步设备标识区别于当前设备标识。
如图5所示为本发明一实施例提供的设备的结构框图。设备优选为移动电话,智能手机等,其主要包括:处理器51、存储器52、通信组件53及显示屏54等。
其中存储器52中存储前述方法的具体代码,由处理器51具体执行,通过通信组件53向服务器发送同步请求、接收同步结果并在显示屏54上显示同步结果。
此外,上述的存储器52中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台移动终端(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本发明实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
在其中一个实施例中,同步请求发送模块420,具体包括:
领取查询请求发送子模块421,用于:向服务器发送包括当前设备标识和会员账号的领取查询请求;
领取查询结果接收子模块422,用于:获取服务器返回的至少一条领取查询结果,领取查询结果为服务器查询得到的会员账号关于可领取设备标识的会员权益和相应的会员时长,可领取设备标识区别于当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
显示子模块423,用于:显示领取查询结果,响应于对领取查询结果的选择操作,向服务器发送包括选定设备标识的同步请求,选定设备标识为选择操作所选定的领取查询结果所对应的可领取设备标识,服务器用于将所接收到的同步请求所包括的选定设备标识作为待同步设备标识。
本发明实施例提供一种多设备间会员权益同步的设备,包括:一个或多个处理器、存储器、以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并且被配置成被所述一个或多个处理器执行,所述一个或多个程序包括指令,所述指令用于:
获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;
同步请求发送模块,用于:向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求;
同步结果接收模块,用于:接收服务器返回的同步结果,所述同步结果为所述服务器查询得到的所述会员账号关于待同步设备标识的会员权益和相应的会员时长与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,所述待同步设备标识区别于所述当前设备标识。
在其中一个实施例中,所述向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求,具体包括:
向所述服务器发送包括所述当前设备标识和所述会员账号的领取查询请求;
获取所述服务器返回的至少一条领取查询结果,所述领取查询结果为所述服务器查询得到的所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
显示所述领取查询结果,响应于对所述领取查询结果的选择操作,向所述服务器发送包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,所述服务器用于将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
如图6所示为本发明一实施例提供的一种多设备间会员权益同步的服务器的结构模块图,包括:
同步请求接收模块610,用于:接收到来自设备的关于当前设备标识和会员账号的同步请求,当前设备标识为当前设备的标识,会员账号在当前设备登陆;
同步结果获取模块620,用于:将查询得到会员账号关于待同步设备标识的会员权益和相应的会员时长,与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为同步结果,待同步设备标识区别于当前设备标识;
同步结果发送模块630,用于:向设备返回同步结果。
如图7所示为本发明一实施例提供的服务器的结构框图。服务器可以为一台电脑,也可以是多台电脑所组成的集群,其主要包括:处理器71、存储器72以及通信组件73等。
其中存储器72中存储前述方法的具体代码,由处理器71具体执行,通过通信组件73接收设备发送的同步请求,并由处理器71从存储器72中查询并同步得到具体的同步结果并再通过通信组件73向设备发送同步结果。
此外,上述的存储器72中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台移动终端(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本发明实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
在其中一个实施例中,同步请求接收模块610,具体包括:
领取查询请求接收子模块611,用于:接收到包括当前设备标识和会员账号的领取查询请求,当前设备标识为当前设备的标识,会员账号在当前设备登陆;
领取查询结果子模块612,用于:查询得到至少一条领取查询结果,每条领取查询结果为会员账号关于可领取设备标识的会员权益和相应的会员时长,可领取设备标识区别于当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
领取查询结果发送子模块613,用于:向设备返回至少一条领取查询结果,领取查询结果用于在设备显示;
选定结果接收子模块614,用于:接收到设备响应于对领取查询结果的选择操作所发送的包括选定设备标识的同步请求,选定设备标识为选择操作所选定的领取查询结果所对应的可领取设备标识,将所接收到的同步请求所包括的选定设备标识作为待同步设备标识。
在其中一个实施例中,将查询得到会员账号关于待同步设备标识的会员权益和相应的会员时长,与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:
将会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会员权益和相应的待同步会员时长,将会员账号关于当前设备标识的会员权益和相应的会员时长作为当前会员权益和相应的当前会员时长;
将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为同步后会员时长。
本发明实施例提供一种多设备间会员权益同步的服务器,包括:一个或多个处理器、存储器、以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并且被配置成被所述一个或多个处理器执行,所述一个或多个程序包括指令,所述指令用于:
接收到来自设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;
将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为所述同步结果,所述待同步设备标识区别于所述当前设备标识;
向所述设备返回所述同步结果。
在其中一个实施例中,所述接收到来自当前设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆,具体包括:
接收到包括所述当前设备标识和所述会员账号的领取查询请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;
查询得到至少一条领取查询结果,每条所述领取查询结果为所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;
向所述设备返回至少一条领取查询结果,所述领取查询结果用于在所述设备显示;
接收到所述设备响应于对所述领取查询结果的选择操作所发送的包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
在其中一个实施例中,所述将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:
将所述会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会员权益和相应的待同步会员时长,将所述会员账号关于当前设备标识的会员权益和相应的会员时长作为当前会员权益和相应的当前会员时长;
将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为所述同步后会员时长。
如图8所示为本发明一实施例提供的一种多设备间会员权益同步的系统的结构模块图,包括:如前所述的设备81和如前所述的服务器82;
具体的:
设备81,包括:
设备当前设备获取模块811,用于:获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;
设备同步请求发送模块812,用于:向服务器发送关于当前设备标识和会员账号的同步请求;
设备同步结果接收模块813,用于:接收服务器返回的同步结果,同步结果为服务器查询得到的会员账号关于待同步设备标识的会员权益和相应的会员时长与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,待同步设备标识区别于当前设备标识;
服务器82,包括:
服务器同步请求接收模块821,用于:接收到来自设备的关于当前设备标识和会员账号的同步请求,当前设备标识为当前设备的标识,会员账号在当前设备登陆;
服务器同步结果获取模块822,用于:将查询得到会员账号关于待同步设备标识的会员权益和相应的会员时长,与会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为同步结果,待同步设备标识区别于当前设备标识;
服务器同步结果发送模块823,用于:向设备返回同步结果。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。
Claims (20)
- 一种多设备间会员权益同步方法,其特征在于,包括:获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;向服务器发送关于所述当前设备标识和所述会员账号的同步请求;接收服务器返回的同步结果,所述同步结果为所述服务器查询得到的所述会员账号关于待同步设备标识的会员权益和相应的会员时长与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,所述待同步设备标识区别于所述当前设备标识。
- 根据权利要求1所述的多设备间会员权益同步方法,其特征在于,所述向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求,具体包括:向所述服务器发送包括所述当前设备标识和所述会员账号的领取查询请求;获取所述服务器返回的至少一条领取查询结果,所述领取查询结果为所述服务器查询得到的所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;显示所述领取查询结果,响应于对所述领取查询结果的选择操作,向所述服务器发送包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,所述服务器用于将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
- 一种计算机程序,其特征在于,包括在计算机上运行时,适合执行如权利要求1或2所述的多设备间会员权益同步方法的所有步骤的计算机代码。
- 根据权利要求3所述的计算机程序,其特征在于,所述计算机程序收录在计算机可读媒介上。
- 一种多设备间会员权益同步方法,其特征在于,包括:接收到来自设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为所述同步结果,所述待同步设备标识区别于所述当前设备标识;向所述设备返回所述同步结果。
- 根据权利要求5所述的多设备间会员权益同步方法,其特征在于,所述接收到来自当前设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆,具体包括:接收到包括所述当前设备标识和所述会员账号的领取查询请求,所述当前设备标识 为所述当前设备的标识,所述会员账号在所述当前设备登陆;查询得到至少一条领取查询结果,每条所述领取查询结果为所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;向所述设备返回至少一条领取查询结果,所述领取查询结果用于在所述设备显示;接收到所述设备响应于对所述领取查询结果的选择操作所发送的包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
- 根据权利要求5或6所述的多设备间会员权益同步方法,其特征在于,所述将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:将所述会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会员权益和相应的待同步会员时长,将所述会员账号关于当前设备标识的会员权益和相应的会员时长作为当前会员权益和相应的当前会员时长;将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为所述同步后会员时长。
- 一种计算机程序,其特征在于,包括在计算机上运行时,适合执行如权利要求5~7任一项所述的多设备间会员权益同步方法的所有步骤的计算机代码。
- 根据权利要求8所述的计算机程序,其特征在于,所述计算机程序收录在计算机可读媒介上。
- 一种多设备间会员权益同步的设备,其特征在于,包括:当前设备获取模块,用于:获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;同步请求发送模块,用于:向服务器发送关于所述当前设备标识和所述会员账号的同步请求;同步结果接收模块,用于:接收服务器返回的同步结果,所述同步结果为所述服务器查询得到的所述会员账号关于待同步设备标识的会员权益和相应的会员时长与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,所述待同步设备标识区别于所述当前设备标识。
- 根据权利要求10所述的多设备间会员权益同步的设备,其特征在于,所述同步请求发送模块,具体包括:领取查询请求发送子模块,用于:向所述服务器发送包括所述当前设备标识和所述会员账号的领取查询请求;领取查询结果接收子模块,用于:获取所述服务器返回的至少一条领取查询结果,所述领取查询结果为所述服务器查询得到的所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;显示子模块,用于:显示所述领取查询结果,响应于对所述领取查询结果的选择操作,向所述服务器发送包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,所述服务器用于将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
- 一种多设备间会员权益同步的设备,其特征在于,包括:一个或多个处理器、存储器、以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并且被配置成被所述一个或多个处理器执行,所述一个或多个程序包括指令,所述指令用于:获取设备的标识作为当前设备标识,获取在设备登陆的会员账号;同步请求发送模块,用于:向服务器发送关于所述当前设备标识和所述会员账号的同步请求;同步结果接收模块,用于:接收服务器返回的同步结果,所述同步结果为所述服务器查询得到的所述会员账号关于待同步设备标识的会员权益和相应的会员时长与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步的结果,所述待同步设备标识区别于所述当前设备标识。
- 根据权利要求12所述的多设备间会员权益同步的设备,其特征在于,所述向所述服务器发送关于所述当前设备标识和所述会员账号的同步请求,具体包括:向所述服务器发送包括所述当前设备标识和所述会员账号的领取查询请求;获取所述服务器返回的至少一条领取查询结果,所述领取查询结果为所述服务器查询得到的所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;显示所述领取查询结果,响应于对所述领取查询结果的选择操作,向所述服务器发送包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,所述服务器用于将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
- 一种多设备间会员权益同步的服务器,其特征在于,包括:同步请求接收模块,用于:接收到来自设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;同步结果获取模块,用于:将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为所述同步结果,所述待同步设备标识区别于所述当前设备标 识;同步结果发送模块,用于:向所述设备返回所述同步结果。
- 根据权利要求14所述的多设备间会员权益同步的服务器,其特征在于,所述同步请求接收模块,具体包括:领取查询请求接收子模块,用于:接收到包括所述当前设备标识和所述会员账号的领取查询请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;领取查询结果子模块,用于:查询得到至少一条领取查询结果,每条所述领取查询结果为所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;领取查询结果发送子模块,用于:向所述设备返回至少一条领取查询结果,所述领取查询结果用于在所述设备显示;选定结果接收子模块,用于:接收到所述设备响应于对所述领取查询结果的选择操作所发送的包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
- 根据权利要求14或15所述的多设备间会员权益同步的服务器,其特征在于,所述将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:将所述会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会员权益和相应的待同步会员时长,将所述会员账号关于当前设备标识的会员权益和相应的会员时长作为当前会员权益和相应的当前会员时长;将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为所述同步后会员时长。
- 一种多设备间会员权益同步的服务器,其特征在于,包括:一个或多个处理器、存储器、以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并且被配置成被所述一个或多个处理器执行,所述一个或多个程序包括指令,所述指令用于:接收到来自设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步得到的结果作为所述同步结果,所述待同步设备标识区别于所述当前设备标识;向所述设备返回所述同步结果。
- 根据权利要求17所述的多设备间会员权益同步的服务器,其特征在于,所述接收到来自当前设备的关于当前设备标识和会员账号的同步请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆,具体包括:接收到包括所述当前设备标识和所述会员账号的领取查询请求,所述当前设备标识为所述当前设备的标识,所述会员账号在所述当前设备登陆;查询得到至少一条领取查询结果,每条所述领取查询结果为所述会员账号关于可领取设备标识的会员权益和相应的会员时长,所述可领取设备标识区别于所述当前设备标识,且每条领取查询结果对应一个单独的可领取设备标识;向所述设备返回至少一条领取查询结果,所述领取查询结果用于在所述设备显示;接收到所述设备响应于对所述领取查询结果的选择操作所发送的包括选定设备标识的同步请求,所述选定设备标识为所述选择操作所选定的领取查询结果所对应的所述可领取设备标识,将所接收到的同步请求所包括的所述选定设备标识作为所述待同步设备标识。
- 根据权利要求17或18所述的多设备间会员权益同步的服务器,其特征在于,所述将查询得到所述会员账号关于待同步设备标识的会员权益和相应的会员时长,与所述会员账号关于当前设备标识的会员权益和相应的会员时长进行同步,具体包括:将所述会员账号关于待同步设备标识的会员权益和相应的会员时长作为待同步会员权益和相应的待同步会员时长,将所述会员账号关于当前设备标识的会员权益和相应的会员时长作为当前会员权益和相应的当前会员时长;将与当前会员权益相同的待同步会员权益相应的待同步会员时长与相应的当前会员时长相加后作为同步后会员时长,将相应的当前会员时长更新为所述同步后会员时长。
- 一种多设备间会员权益同步的系统,其特征在于,包括:如权利要求10或11所述的设备和如权利要求14~16任一项所述的服务器。
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP16754158.0A EP3176995A1 (en) | 2015-10-22 | 2016-07-04 | Method, device, server, and system for synchronizing member benefits among multiple devices |
| RU2016138187A RU2016138187A (ru) | 2015-10-22 | 2016-07-04 | Способ, устройство, сервер и система для синхронизации прав пользователя на множестве устройств |
| JP2016559397A JP2017539103A (ja) | 2015-10-22 | 2016-07-04 | 複数の装置間においてメンバー利得を同期させるための方法、装置、サーバおよびシステム |
| KR1020167026755A KR20170074824A (ko) | 2015-10-22 | 2016-07-04 | 다수의 장치들 간에 회원 혜택을 동기화하는 방법, 장치, 서버 및 시스템 |
| US15/241,764 US20170116299A1 (en) | 2015-10-22 | 2016-08-19 | Method and electronic device for synchronizing member benefits among multiple devices |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510694506.1A CN105656984A (zh) | 2015-10-22 | 2015-10-22 | 多设备间会员权益同步的方法、设备、服务器及系统 |
| CN201510694506.1 | 2015-10-22 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/241,764 Continuation US20170116299A1 (en) | 2015-10-22 | 2016-08-19 | Method and electronic device for synchronizing member benefits among multiple devices |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017067218A1 true WO2017067218A1 (zh) | 2017-04-27 |
Family
ID=56481794
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/088360 Ceased WO2017067218A1 (zh) | 2015-10-22 | 2016-07-04 | 多设备间会员权益同步的方法、设备、服务器及系统 |
Country Status (8)
| Country | Link |
|---|---|
| US (1) | US20170116299A1 (zh) |
| EP (1) | EP3176995A1 (zh) |
| JP (1) | JP2017539103A (zh) |
| KR (1) | KR20170074824A (zh) |
| CN (1) | CN105656984A (zh) |
| HK (1) | HK1220296A1 (zh) |
| RU (1) | RU2016138187A (zh) |
| WO (1) | WO2017067218A1 (zh) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105656984A (zh) * | 2015-10-22 | 2016-06-08 | 乐视致新电子科技(天津)有限公司 | 多设备间会员权益同步的方法、设备、服务器及系统 |
| CN105959406A (zh) * | 2016-06-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 用户权利拆分方法及系统 |
| CN106204160A (zh) * | 2016-07-25 | 2016-12-07 | 中国银联股份有限公司 | 管理及使用安全性信息载体的关联权益的方法 |
| CN106453502A (zh) * | 2016-09-09 | 2017-02-22 | 合智能科技(深圳)有限公司 | 会员信息管理方法和服务器 |
| CN106534066A (zh) * | 2016-09-29 | 2017-03-22 | 乐视控股(北京)有限公司 | 一种对内容访问时长进行管理的方法及其装置 |
| CN106534096A (zh) * | 2016-10-27 | 2017-03-22 | 乐视控股(北京)有限公司 | 主设备向从设备分享用户身份的方法、主设备和从设备 |
| CN107124426B (zh) * | 2017-05-26 | 2020-04-03 | 北京微影时代科技有限公司 | 一种用户权益的鉴权方法及装置 |
| CN108491513A (zh) * | 2018-03-26 | 2018-09-04 | 武汉南博网络科技有限公司 | 一种平台操作信息转接的方法和装置 |
| CN113132304B (zh) * | 2019-12-30 | 2023-03-24 | 百度在线网络技术(北京)有限公司 | 一种权益服务处理方法、装置、电子设备和存储介质 |
| CN114581105B (zh) * | 2022-03-04 | 2024-10-29 | 聚好看科技股份有限公司 | 一种多账号体系周期扣费开通权益的方法及服务器 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102546779A (zh) * | 2011-12-27 | 2012-07-04 | Tcl集团股份有限公司 | 一种跨设备间应用数据的同步方法及装置 |
| CN103067257A (zh) * | 2012-12-14 | 2013-04-24 | 腾讯科技(深圳)有限公司 | 在社会性网络服务中实现数据互通的方法、服务器及系统 |
| CN103327037A (zh) * | 2012-03-20 | 2013-09-25 | 中兴通讯股份有限公司 | 数据同步方法及装置 |
| CN103546435A (zh) * | 2012-07-13 | 2014-01-29 | 中兴通讯股份有限公司 | 数据的同步方法及服务器 |
| CN104822090A (zh) * | 2014-04-25 | 2015-08-05 | 腾讯科技(北京)有限公司 | 视频播放的方法、装置和系统 |
| CN105656984A (zh) * | 2015-10-22 | 2016-06-08 | 乐视致新电子科技(天津)有限公司 | 多设备间会员权益同步的方法、设备、服务器及系统 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005338979A (ja) * | 2004-05-25 | 2005-12-08 | Nippon Telegr & Teleph Corp <Ntt> | ライセンス発行管理方法、装置、プログラムおよび同プログラムを記録した記録媒体 |
| JP4764943B2 (ja) * | 2009-12-29 | 2011-09-07 | シャープ株式会社 | 動作制御装置、動作制御方法、ライセンス提供システム、動作制御プログラム、および記録媒体 |
| CN102281568B (zh) * | 2010-06-13 | 2016-01-20 | 中兴通讯股份有限公司 | 路测测量记录控制方法、路测系统及路测终端 |
| US20130104238A1 (en) * | 2011-10-24 | 2013-04-25 | Nokia Corporation | Method and apparatus for verifying proof of presence |
| US8689310B2 (en) * | 2011-12-29 | 2014-04-01 | Ebay Inc. | Applications login using a mechanism relating sub-tokens to the quality of a master token |
| US20140047073A1 (en) * | 2012-08-10 | 2014-02-13 | Marcin Beme | Platform Independent Multimedia Playback Apparatuses, Methods, and Systems |
| CN104580291A (zh) * | 2013-10-17 | 2015-04-29 | 陈冰 | 平台数据共享系统 |
| CN104301428B (zh) * | 2014-10-29 | 2017-09-12 | 广州视源电子科技股份有限公司 | 一种数据同步方法及服务器 |
-
2015
- 2015-10-22 CN CN201510694506.1A patent/CN105656984A/zh active Pending
-
2016
- 2016-07-04 RU RU2016138187A patent/RU2016138187A/ru unknown
- 2016-07-04 WO PCT/CN2016/088360 patent/WO2017067218A1/zh not_active Ceased
- 2016-07-04 JP JP2016559397A patent/JP2017539103A/ja active Pending
- 2016-07-04 KR KR1020167026755A patent/KR20170074824A/ko not_active Ceased
- 2016-07-04 EP EP16754158.0A patent/EP3176995A1/en not_active Withdrawn
- 2016-07-13 HK HK16108208.3A patent/HK1220296A1/zh unknown
- 2016-08-19 US US15/241,764 patent/US20170116299A1/en not_active Abandoned
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102546779A (zh) * | 2011-12-27 | 2012-07-04 | Tcl集团股份有限公司 | 一种跨设备间应用数据的同步方法及装置 |
| CN103327037A (zh) * | 2012-03-20 | 2013-09-25 | 中兴通讯股份有限公司 | 数据同步方法及装置 |
| CN103546435A (zh) * | 2012-07-13 | 2014-01-29 | 中兴通讯股份有限公司 | 数据的同步方法及服务器 |
| CN103067257A (zh) * | 2012-12-14 | 2013-04-24 | 腾讯科技(深圳)有限公司 | 在社会性网络服务中实现数据互通的方法、服务器及系统 |
| CN104822090A (zh) * | 2014-04-25 | 2015-08-05 | 腾讯科技(北京)有限公司 | 视频播放的方法、装置和系统 |
| CN105656984A (zh) * | 2015-10-22 | 2016-06-08 | 乐视致新电子科技(天津)有限公司 | 多设备间会员权益同步的方法、设备、服务器及系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3176995A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3176995A4 (en) | 2017-06-07 |
| JP2017539103A (ja) | 2017-12-28 |
| RU2016138187A (ru) | 2019-11-22 |
| KR20170074824A (ko) | 2017-06-30 |
| HK1220296A1 (zh) | 2017-04-28 |
| US20170116299A1 (en) | 2017-04-27 |
| EP3176995A1 (en) | 2017-06-07 |
| CN105656984A (zh) | 2016-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11540023B2 (en) | Presenting bullet screen information based on friendship chain data | |
| CN102523492B (zh) | 一种互动评论系统的评论方法、电视机及移动终端 | |
| CN105656984A (zh) | 多设备间会员权益同步的方法、设备、服务器及系统 | |
| US9686329B2 (en) | Method and apparatus for displaying webcast rooms | |
| US20130124672A1 (en) | System and Method for Delivering Media Assets in a Cloud Environment | |
| US11109093B2 (en) | Method and apparatus for providing information associated with media content | |
| JP2022553881A (ja) | チェックインおよび同期プロセスを有する同意管理システム | |
| WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
| US20140310741A1 (en) | System for sharing data via cloud server and method thereof | |
| US10165392B2 (en) | Access of virtual resources based on a contextual frame of reference | |
| US20120266091A1 (en) | Method and apparatus for representing user device and service as social objects | |
| US10535078B2 (en) | Method for optimizing dynamic billboard advertising using time weighted location data | |
| US20160164970A1 (en) | Application Synchronization Method, Application Server and Terminal | |
| US10469573B2 (en) | Method, apparatus, and system for managing invitations for multi-device participation in an application program | |
| CN102457579A (zh) | 一种在云终端上实现业务处理的方法和系统 | |
| US10278067B2 (en) | Methods and systems for associating social media to wireless identifiers | |
| WO2017092323A1 (zh) | 一种主控设备、播放设备,及其数据传输方法 | |
| US20190171884A1 (en) | Addressable image object | |
| EP3117625B1 (en) | Content matching system for a networked media player | |
| US20170171265A1 (en) | Method and electronic device based on android platform for multimedia play | |
| HK1233101A (zh) | 一种信息推送方法和装置 | |
| HK1233101A1 (zh) | 一種信息推送方法和裝置 | |
| HK1222278B (zh) | 提供媒体关联信息的方法及装置 | |
| CA2852747A1 (en) | Methods and systems relating to local broadcasting |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| REEP | Request for entry into the european phase |
Ref document number: 2016754158 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2016754158 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2016559397 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2016138187 Country of ref document: RU |