Disclosure of Invention
In view of this, the present disclosure provides a method and an apparatus for activating user rights.
According to an aspect of the present disclosure, there is provided a method of activating a user right, including:
receiving, by a first application, a request to activate a user interest of a second application;
determining a second account to be activated in the second application according to a first account logged in the first application;
activating the user interest for the second account if an instruction is received that determines to activate the user interest for the second account.
In one possible implementation manner, determining, according to a first account logged in the first application, a second account to be activated in the second application for the user interest includes:
acquiring user information corresponding to a first account logged in the first application;
searching a registered account corresponding to the user information in the second application;
and under the condition that the registered account is found, determining a second account to be activated for the user rights and interests in the second application according to the registered account.
In a possible implementation manner, in the case that multiple registered accounts are found, determining, according to the registered accounts, a second account to be activated for the user interest in the second application includes any one of:
determining a registered account of the plurality of registered accounts that already has the user interest as the second account;
determining a registered account with the highest login frequency in the plurality of registered accounts as the second account;
determining a registered account most recently logged in from among a plurality of registered accounts as the second account;
determining a registered account currently logged in by a first device as the second account, wherein the first device represents a device used by the first application logged in by the first account;
and determining the registered account logged in by the first device as the second account.
In one possible implementation, the method further includes:
if a request for modifying the second account is received, modifying the second account;
activating the user interest for the modified second account.
In one possible implementation, after activating the user interest for the second account, the method further comprises:
and sending first guiding information to a first device, wherein the first guiding information is used for guiding downloading of the second application or starting of the second application, and the first device represents a device used by the first account for logging in the first application.
In one possible implementation, after activating the user interest for the second account, the method further comprises:
when detecting that the second application is started on first equipment, sending second guiding information to the first equipment, wherein the second guiding information is used for guiding to log in the second account, and the first equipment represents equipment used by the first account for logging in the first application.
According to another aspect of the present disclosure, there is provided an activation device of a user interest, including:
a receiving module for receiving, by a first application, a request to activate a user right of a second application;
the determining module is used for determining a second account to be activated in the second application according to a first account logged in the first application;
an activation module to activate the user interest for the second account if an instruction is received to determine to activate the user interest for the second account.
In one possible implementation, the determining module includes:
the obtaining sub-module is used for obtaining user information corresponding to a first account logged in the first application;
the searching sub-module is used for searching a registered account corresponding to the user information in the second application;
and the determining submodule is used for determining a second account to be activated in the second application according to the registered account under the condition that the registered account is found.
In one possible implementation, the determining sub-module includes any one of:
the first determining unit is used for determining a registered account with user rights in the plurality of registered accounts as the second account under the condition that the plurality of registered accounts are found;
the second determining unit is used for determining the registered account with the highest login frequency in the plurality of registered accounts as the second account under the condition that the plurality of registered accounts are found;
a third determining unit, configured to determine, when the plurality of registered accounts are found, a registered account that has logged in most recently among the plurality of registered accounts as the second account;
a fourth determining unit, configured to determine, when multiple registered accounts are found, a registered account currently logged in by a first device as the second account, where the first device indicates a device used by the first application logged in by the first account;
a fifth determining unit, configured to determine, when multiple registered accounts are found, the registered account that the first device has logged in to be the second account.
In one possible implementation, the apparatus further includes:
and the modification module is used for modifying the second account if a request for modifying the second account is received.
In one possible implementation, the apparatus further includes:
the first sending module is configured to send first guidance information to a first device, where the first guidance information is used to guide downloading of the second application or starting of the second application, and the first device represents a device used by the first account to log in the first application.
In one possible implementation, the apparatus further includes:
and a second sending module, configured to send second guidance information to a first device when it is detected that the second application is started on the first device, where the second guidance information is used to guide login to the second account, and the first device indicates a device used by the first application for login to the first account.
According to another aspect of the present disclosure, there is provided an activation device of a user interest, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
According to the method and the device for activating the user interest, the first application receives a request for activating the user interest of the second application, the second account of the user interest to be activated in the second application is determined according to the first account logged in the first application, and if an instruction for determining that the user interest is activated for the second account is received, the user interest is activated for the second account, so that the activation process of the user interest can be simplified.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 illustrates a flowchart of a method of activating user interests according to an embodiment of the present disclosure. The method can be applied to a server. As shown in fig. 1, the method includes steps S11 through S13.
In step S11, a request is received by the first application to activate a user right for the second application.
In this embodiment, the user rights may be member rights, and the like, and are not limited herein.
Fig. 2 illustrates an exemplary view of receiving a request for activating a user right of a second application through a first application in a method of activating a user right according to an embodiment of the present disclosure. As shown in fig. 2, an "activate free immediately" button may be presented in the user interest activation interface of the first application. The first device, upon detecting that the "free to activate immediate" button is triggered, may send a request to activate the user interest of the second application to the server to cause the server to receive the request.
In step S12, a second account to which the user interest in the second application is to be activated is determined based on the first account logged in the first application.
In this embodiment, a first account logged in a first application in a first device may be determined upon receiving a request through the first application to activate a user interest of a second application. The first device represents a device used by a first application for logging in a first account, and the first account is an account of the first application.
And the second account is the account of the second application.
In step S13, if an instruction is received to determine that the user interest is activated for the second account, the user interest is activated for the second account.
In this embodiment, the second account may use the user interest after the user interest is activated for the second account.
Fig. 3 shows a schematic diagram of a second account to be activated for the user right in the method for activating the user right according to an embodiment of the disclosure. As shown in fig. 3, after determining a second account in the second application to activate the user interest, the second account may be exposed in the first application. In fig. 3, the first application is panning, the second application is you, the first account is a panning account, and the second account is a you potato account. In the case where the "login" button in fig. 3 is triggered, the second account may be logged in through the second application, and it may be determined that an instruction to bind the first account and the second account is received. The first device may send the instruction to bind the first account and the second account to the server, and the server may bind the first account and the second account according to the instruction to bind the first account and the second account. In the case where the "login using other means" button in fig. 3 is triggered, the second application may be logged in by other means.
Fig. 4 shows a schematic diagram illustrating an option of activating a user interest for a second account in a method of activating the user interest according to an embodiment of the present disclosure. As shown in fig. 4, after determining the second account in the second application for which the user right is to be activated, an "activate free immediately" button may be presented in the user right activation interface of the first application. The first device may send an instruction to activate the user interest for the second account to the server upon detecting that the "activate free immediately" button is triggered, and the server may activate the user interest for the second account upon receiving the instruction to determine to activate the user interest for the second account.
Fig. 5 is a schematic diagram illustrating success of activating a user right for a second account in the method for activating a user right according to an embodiment of the present disclosure.
In this embodiment, a request for activating a user right of a second application is received by a first application, a second account to be activated in the second application is determined according to a first account logged in the first application, and if an instruction for determining that the user right is activated for the second account is received, the user right is activated for the second account, so that an activation process of the user right can be simplified.
Fig. 6 shows an exemplary flowchart of the activation method step S13 of the user interest according to an embodiment of the present disclosure. As shown in fig. 6, step S12 may include steps S121 to S123.
In step S121, user information corresponding to the first account registered in the first application is acquired.
The user information may include one or more items of a mobile phone number, a mailbox, a device number, a social software account number, and the like.
In step S122, a registered account corresponding to the user information in the second application is searched.
For example, when the user information includes a mobile phone number, a registered account registered in the second application using the mobile phone number may be searched, and the registered account registered in the second application using the mobile phone number may be determined as the registered account corresponding to the user information in the second application.
In step S123, in the case that the registered account is found, a second account to be activated for the user interest in the second application is determined according to the registered account.
In one possible implementation, in the case that only one registered account is found, the unique registered account may be determined as the second account to be activated for the user interest in the second application.
In one possible implementation manner, in the case that multiple registered accounts are found, one registered account of the multiple registered accounts may be determined as a second account of the second application, where the user interest is to be activated.
In a possible implementation manner, in the case that multiple registered accounts are found, determining, according to the registered accounts, a second account to be activated for the user interest in the second application includes any one of the following: determining a registered account having the user interest among the plurality of registered accounts as a second account; determining a registered account with the highest login frequency in the plurality of registered accounts as a second account; determining a registered account which is logged in last time in the plurality of registered accounts as a second account; determining a registered account currently logged in by the first device as a second account, wherein the first device represents a device used by the first application logged in by the first account; and determining the registered account logged in by the first device as a second account.
In another possible implementation manner, in the case that multiple registered accounts are found, the multiple registered accounts may be provided for the user to select, and the registered account selected by the user may be determined as the second account to be activated for the user interest in the second application.
In one possible implementation, in the case that the registered account is not found, the user may be requested to create an account of the second application, and the created account may be determined as a second account of the second application to which the user interest is to be activated. For example, in the event that no registered account is found, a "login using other means" button may be presented. In the event that the "login with other mode" button is triggered, the option to log in through the first application or through other applications may be presented. In the event that the option to log in through the first application is triggered, a second account may be automatically created for the user, and the first account and the second account may be bound.
Fig. 7 illustrates an exemplary flow chart of a method for activating user benefits according to an embodiment of the present disclosure. As shown in fig. 7, the method may include steps S11 through S14.
In step S11, a request is received by the first application to activate a user right for the second application.
In step S12, a second account to which the user interest in the second application is to be activated is determined based on the first account logged in the first application.
In step S13, if an instruction is received to determine that the user interest is activated for the second account, the user interest is activated for the second account.
In step S14, if a request to modify the second account is received, the second account is modified.
The example enables the user interest for the second account for which the user wishes to activate the user interest by activating the user interest for the modified second account if a request to modify the second account is received and modifying the second account, thereby avoiding activating the user interest for the wrong second account.
Fig. 8 illustrates an exemplary flow chart of a method for activating user benefits according to an embodiment of the present disclosure. As shown in fig. 8, the method may include steps S21 through S25.
In step S21, a request is received by the first application to activate a user right for the second application.
Wherein, for step S21, refer to the description above for step S11.
In step S22, a second account to which the user interest in the second application is to be activated is determined based on the first account logged in the first application.
Wherein, for step S22, refer to the description above for step S12.
In step S23, if an instruction is received to determine that the user interest is activated for the second account, the user interest is activated for the second account.
Wherein, for step S23, refer to the description above for step S13.
In step S24, first guiding information is sent to the first device, where the first guiding information is used to guide downloading or starting the second application, where the first device represents a device used by the first application for logging in the first account.
In a possible implementation manner, the first guidance information may be in the form of a short message. Fig. 9 is a diagram illustrating first guidance information in a method of activating a user right according to an embodiment of the present disclosure.
Fig. 10 illustrates an exemplary view in which first guidance information is used to guide downloading of a second application in a method of activating a user interest according to an embodiment of the present disclosure. As shown in fig. 9 and 10, in case that the link in the first guide information of fig. 9 is clicked, it is possible to jump to a download interface of the second application to download the second application.
Fig. 11 illustrates an exemplary flow chart of a method for activating user benefits according to an embodiment of the present disclosure. As shown in fig. 11, the method may include steps S31 through S34.
In step S31, a request is received by the first application to activate a user right for the second application.
Wherein, for step S31, refer to the description above for step S11.
In step S32, a second account to which the user interest in the second application is to be activated is determined based on the first account logged in the first application.
Wherein, for step S32, refer to the description above for step S12.
In step S33, if an instruction is received to determine that the user interest is activated for the second account, the user interest is activated for the second account.
Wherein, for step S33, refer to the description above for step S13.
In step S34, when it is detected that the second application is started on the first device, second guiding information is sent to the first device, where the second guiding information is used to guide login to the second account, and the first device represents a device used by the first application for login to the first account.
In one possible implementation, the second guiding message may carry information of the second account.
In one possible implementation, the second guidance information may be sent directly to the first device upon detecting that the second application is started on the first device. For example, the second guidance information may be sent to the first device by a short message.
In another possible implementation, upon detecting that the second application is started on the first device, the second guidance information may be sent to the started second application in the first device.
Fig. 12 is a schematic diagram illustrating that the second guidance information is used to guide login of the second account in the activation method of the user interest according to an embodiment of the present disclosure. As shown in fig. 12, upon detecting that the second application is launched on the first device, second bootstrap information may be sent to the first device. In the case where the "immediate login" button in fig. 12 is triggered, the second application may be logged in through the second account. In the case where the "temporarily unnecessary" button in fig. 12 is triggered, the second account may not be logged in for the time being.
Fig. 13 is a diagram illustrating login to a second account in a second application in a method of activating a user interest according to an embodiment of the present disclosure. As shown in fig. 12 and 13, in case that the "immediate login" button in fig. 12 is triggered, the "authorize and login" button in fig. 13 may be shown, and in case that the "authorize and login" button is triggered, the second application may be logged in through the second account.
Fig. 14 illustrates a schematic diagram of a home page of a second application after logging in a second account in a method of activating user rights according to an embodiment of the present disclosure. As shown in fig. 14, after logging in the second account, content recently viewed by the account having an association with the second account may be presented on a home page of the second application.
FIG. 15 shows a block diagram of an activation device for user benefits, according to an embodiment of the present disclosure. As shown in fig. 15, the apparatus includes: a receiving module 41, configured to receive, by a first application, a request to activate a user right of a second application; a determining module 42, configured to determine, according to the first account logged in the first application, a second account to be activated for the user interest in the second application; an activation module 43 is configured to activate the user interest for the second account if an instruction is received to determine to activate the user interest for the second account.
FIG. 16 illustrates an exemplary block diagram of an activation device for user benefits in accordance with an embodiment of the present disclosure. As shown in fig. 16:
in one possible implementation, the determining module 42 includes: the obtaining submodule 421 is configured to obtain user information corresponding to a first account logged in a first application; the searching sub-module 422 is configured to search for a registered account in the second application, where the registered account corresponds to the user information; the determining submodule 423 is configured to, when the registered account is found, determine, according to the registered account, a second account to be activated for the user interest in the second application.
In one possible implementation, the determining submodule 423 includes any one of the following: the first determining unit is used for determining a registered account with user rights in the plurality of registered accounts as a second account under the condition that the plurality of registered accounts are found; the second determining unit is used for determining the registered account with the highest login frequency in the plurality of registered accounts as the second account under the condition that the plurality of registered accounts are found; a third determining unit, configured to determine, when the plurality of registered accounts are found, a registered account that has logged in most recently among the plurality of registered accounts as a second account; the fourth determining unit is used for determining the registered account currently logged in by the first device as the second account under the condition that the plurality of registered accounts are found, wherein the first device represents a device used by the first application logged in by the first account; and the fifth determining unit is used for determining the registered account logged in by the first device as the second account under the condition that the plurality of registered accounts are found.
In one possible implementation, the apparatus further includes: a modification module 44, configured to modify the second account if a request to modify the second account is received.
In one possible implementation, the apparatus further includes: the first sending module 45 is configured to send first guidance information to the first device, where the first guidance information is used to guide downloading or starting of the second application, where the first device indicates a device used by the first application for logging in the first account.
In one possible implementation, the apparatus further includes: and a second sending module 46, configured to send, when it is detected that the second application is started on the first device, second guidance information to the first device, where the second guidance information is used to guide login to the second account, and the first device indicates a device used by the first application for login to the first account.
In this embodiment, a request for activating a user right of a second application is received by a first application, a second account to be activated in the second application is determined according to a first account logged in the first application, and if an instruction for determining that the user right is activated for the second account is received, the user right is activated for the second account, so that an activation process of the user right can be simplified.
Fig. 17 is a block diagram illustrating an apparatus 1900 for activation of user benefits, according to an example embodiment. For example, the apparatus 1900 may be provided as a server. Referring to FIG. 17, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the apparatus 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.