Disclosure of Invention
In view of this, the present disclosure provides a user management method and device.
According to an aspect of the present disclosure, there is provided a user management method including:
determining that an account has an association with the first account;
determining a first number N according to the number of accounts having an association with the first account, wherein N is a positive integer;
returning a first user equity combination including N user equity to the first account.
In one possible implementation, after returning to the first account a first user interest combination including N user interests, the method further includes:
and if the purchase completion information aiming at the first user interest group is received, issuing the user interest in the first user interest group to the first account and the account having the association with the first account.
In one possible implementation, after returning to the first account a first user interest combination including N user interests, the method further includes:
if a request for selecting an associated account is received, determining a selected account of the first account and the accounts having an association with the first account;
determining the number M of the selected accounts, wherein M is a positive integer less than or equal to N;
and returning a second user right combination containing M user rights to the first account, wherein the second user right combination contains user rights issued to the M selected accounts.
In one possible implementation, after returning to the first account a first user interest combination including N user interests, the method further includes:
if a request for changing the user right amount is received, determining the changed user right amount L, wherein L is a positive integer less than or equal to N;
returning a third user equity combination containing L user equity to the first account.
In one possible implementation, after returning a third user equity combination containing L user equity to the first account, the method further comprises:
after receiving purchase completion information for the third user equity combination, determining a selected one of the first account and an account having an association with the first account if a request to select an associated account is received;
and issuing the user rights in the third user rights combination to the selected account.
In one possible implementation, after determining that the account has an association with the first account, the method further includes:
obtaining a user entitlement term for an account having an association with the first account;
returning to the first account a user entitlement term for an account having an association with the first account.
According to another aspect of the present disclosure, there is provided a user management apparatus including:
a first determination module to determine an account having an association with the first account;
a second determining module, configured to determine a first number N according to a number of accounts having an association with the first account, where N is a positive integer;
the first returning module is used for returning a first user right combination containing N user rights to the first account.
In one possible implementation, the apparatus further includes:
and the first issuing module is used for issuing the user rights and interests in the first user rights and interests combination to the first account and the account which is associated with the first account if the purchase completion information aiming at the first user rights and interests combination is received.
In one possible implementation, the apparatus further includes:
a third determining module, configured to determine, if a request for selecting an associated account is received, a selected account of the first account and accounts associated with the first account;
a fourth determining module, configured to determine a number M of the selected accounts, where M is a positive integer less than or equal to N;
and the second returning module is used for returning a second user right and interest combination containing M user rights and interests to the first account, wherein the second user right and interest combination contains user rights and interests issued to the M selected accounts.
In one possible implementation, the apparatus further includes:
a fifth determining module, configured to determine, if a request for changing the user right amount is received, a changed user right amount L, where L is a positive integer less than or equal to N;
and the third returning module is used for returning a third user right combination containing L user rights to the first account.
In one possible implementation, the apparatus further includes:
a sixth determining module, configured to determine, after receiving the purchase completion information for the third user equity combination, a selected one of the first account and an account having an association with the first account if a request for selecting an associated account is received;
and the second issuing module is used for issuing the user rights and interests in the third user rights and interests combination to the selected account.
In one possible implementation, the apparatus further includes:
an acquisition module for acquiring a user interest limit of an account having an association with the first account;
a fourth returning module for returning the user right period of the account having the association with the first account to the first account.
According to another aspect of the present disclosure, there is provided a user management apparatus 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.
The user management method and device in the aspects of the disclosure can perform user management on each account associated with the account by one account by determining the account associated with the first account, determining the first number N according to the number of the accounts associated with the first account, and returning the first user right combination containing N user rights to the first account, thereby improving interactivity between users.
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 shows a flowchart of a user management method 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, an account associated with the first account is determined.
In this embodiment, the account associated with the first account may be an affinity number of the first account, a friend of the first account, or an account bound to the first account, and is not limited herein. For example, the first account is an account of the first application, and the account having an association with the first account may be an affinity number of the first account in the first application.
In step S12, a first number N is determined according to the number of accounts having an association with the first account, where N is a positive integer.
In one possible implementation, the first number N may be equal to the number of accounts having an association with the first account plus 1. For example, if the number of accounts having an association with the first account is 4, then the first number N may be equal to 5.
In step S13, a first user equity combination including N user equity is returned to the first account.
In one possible implementation, the user entitlement combination may be in the form of a family package.
Fig. 2 is a schematic diagram illustrating a first user right combination including N user rights is returned to a first account in a user management method according to an embodiment of the disclosure. As shown in fig. 2, for example, if the number of accounts having an association with the first account is 4, a first user equity combination including 5 user equity may be returned to the first account. As shown in FIG. 2, the user entitlement period length for the first user entitlement combination may be selected by the first account. For example, the user entitlement period may be 1 month, 1 quarter, or 1 year, etc. The terminal device to which the first user interest combination applies may be selected by the first account. For example, the terminal device to which the first user right combination is applicable may include one or more of a mobile phone terminal, a tablet Computer terminal, a PC (Personal Computer) terminal, a television terminal, and the like. The type of the user rights may be a member rights, etc., and is not limited herein.
In the embodiment, the accounts having the association with the first account are determined, the first number N is determined according to the number of the accounts having the association with the first account, and the first user right combination containing N user rights is returned to the first account, so that each account having the association with the account can be managed by one account, and the interactivity between users can be improved.
Fig. 3 illustrates an exemplary flow chart of a user management method according to an embodiment of the present disclosure. As shown in fig. 3, the method may include steps S11 through S14.
In step S11, an account associated with the first account is determined.
In step S12, a first number N is determined according to the number of accounts having an association with the first account, where N is a positive integer.
In step S13, a first user equity combination including N user equity is returned to the first account.
In step S14, if purchase completion information for the first user equity combination is received, the user equity in the first user equity combination is issued to the first account and the account having the association with the first account.
In this embodiment, if the purchase completion information for the first user interest group is received, the user interests in the first user interest group can be directly issued to the first account and the account having the association with the first account without manually receiving the user interests in the first user interest group from the first account and the account having the association with the first account.
Fig. 4 illustrates another exemplary flowchart of a user management method according to an embodiment of the present disclosure. As shown in fig. 4, the method may include steps S41 through S46.
In step S41, an account associated with the first account is determined.
Wherein, for step S41, refer to the description above for step S11.
In step S42, a first number N is determined according to the number of accounts having an association with the first account, where N is a positive integer.
Wherein, for step S42, refer to the description above for step S12.
In step S43, a first user equity combination including N user equity is returned to the first account.
Wherein, for step S43, refer to the description above for step S13.
In step S44, if a request for selecting an associated account is received, a selected account of the first account and the accounts associated with the first account is determined.
In this embodiment, the first account may select one or more of the first account and an account having an association with the first account.
Fig. 5 is a schematic diagram illustrating an interface for selecting an account in a user management method according to an embodiment of the present disclosure. As shown in fig. 5, upon receiving a request to select an associated account in the first device, information of the account having an association with the first account may be presented. For example, if the account having an association with the first account includes account a, one or more of the relationship of account a to the first account, the account number of account a in the first application, the term of the user interest of account a, and the like may be presented in the interface for selecting an account. In the interface for selecting accounts, a "contract him" or "contract her" button may be presented for each account. In the event that the "contract him" or "contract her" button is triggered, it may be determined that the account was selected by the first account. For example, in the event that the "contract her" button corresponding to account a is triggered, it may be determined that account a was selected by the first account. After the "contract he" or "contract her" button is triggered, the "I'm' included" button may be used in place of the "contract he" or "contract her" button in the interface to select accounts. If the "i'm have included" button corresponding to account a is triggered, it may be determined that account a is deselected by the first account.
In step S45, the number M of accounts selected is determined, where M is a positive integer less than or equal to N.
In step S46, a second user interest combination including M user interests is returned to the first account, where the second user interest combination includes user interests for issuance to the M selected accounts.
In one possible implementation, after returning a second user right combination containing M user rights to the first account, the method may further include: and if the purchase completion information aiming at the second user interest combination is received, issuing the user interests in the second user interest combination to the M selected accounts.
Fig. 6 illustrates another exemplary flowchart of a user management method according to an embodiment of the present disclosure. As shown in fig. 6, the method may include steps S61 through S65.
In step S61, an account associated with the first account is determined.
Wherein, for step S61, refer to the description above for step S11.
In step S62, a first number N is determined according to the number of accounts having an association with the first account, where N is a positive integer.
Wherein, for step S62, refer to the description above for step S12.
In step S63, a first user equity combination including N user equity is returned to the first account.
Wherein, for step S63, refer to the description above for step S13.
In step S64, if a request for changing the amount of user rights is received, a changed amount L of user rights is determined, where L is a positive integer less than or equal to N.
In step S65, a third user equity combination containing L user equity is returned to the first account.
For example, if N equals 5 and L equals 3, then a third user equity combination including 3 user equities may be returned to the first account if the request to change the amount of user equity changes the amount of user equity to 3.
Fig. 7 illustrates another exemplary flowchart of a user management method according to an embodiment of the present disclosure. As shown in fig. 7, the method may include steps S61 through S67.
In step S61, an account associated with the first account is determined.
In step S62, a first number N is determined according to the number of accounts having an association with the first account, where N is a positive integer.
In step S63, a first user equity combination including N user equity is returned to the first account.
In step S64, if a request for changing the amount of user rights is received, a changed amount L of user rights is determined, where L is a positive integer less than or equal to N.
In step S65, a third user equity combination containing L user equity is returned to the first account.
In step S66, after the purchase completion information for the third user equity combination is received, if a request for selecting an associated account is received, a selected one of the first account and an account having an association with the first account is determined.
In step S67, the user interests in the third user interest combination are issued to the selected account.
In one possible implementation, the interface to select an account may be presented upon receiving purchase completion information for a third user interest combination. The first account may select the account in the selected account interface that issued the user interest in the third user interest combination. For example, the third user equity combination includes 3 user equity shares, and the accounts having an association with the first account include account A, account B, account C, and account D. In the event that purchase completion information for a third user equity combination is received, an interface to select an account may be presented, the interface to select an associated account including a first account, account A, account B, account C, and account D. If it is detected that the first account, account A and account C are selected, the user equity in the third combination of user equity may be issued to the first account, account A and account C.
Fig. 8 illustrates another exemplary flowchart of a user management method according to an embodiment of the present disclosure. As shown in fig. 8, the method may include steps S81 through S85.
In step S81, an account associated with the first account is determined.
Wherein, for step S81, refer to the description above for step S11.
In step S82, a first number N is determined according to the number of accounts having an association with the first account, where N is a positive integer.
Wherein, for step S82, refer to the description above for step S12.
In step S83, a first user equity combination including N user equity is returned to the first account.
Wherein, for step S83, refer to the description above for step S13.
In step S84, a user entitlement term for an account having an association with the first account is obtained.
In step S85, the user entitlement term for the account having an association with the first account is returned to the first account.
As shown in fig. 5, a user equity period for an account having an association with the first account may be returned to the first account, thereby facilitating the first account in selecting an appropriate combination of user equity.
In one possible implementation, the first account may add or delete an account having an association with the first account in the interface for selecting an account. As shown in fig. 5, if the "add a family member" button in fig. 5 is triggered, it may be determined that a request for updating first associated account information of a first account is received, and a second account corresponding to the first account may be determined, where the first account may be an account of a first application, the second account may be an account of a second application, and the first associated account information may represent an account associated with the first account in the first application. According to the account, associated with the second account, in the second application and corresponding to the first application, second associated account information of the first account can be determined. If it is determined that the account associated with the first account in the first application is updated according to the second associated account information, the first associated account information may be updated according to the second associated account information.
In this implementation, multiple accounts in the first application may have an association with the first account, e.g., the multiple accounts may be affinity numbers for the first account. The plurality of accounts in the second application may have an association with the second account, for example, the plurality of accounts may be affinity numbers for the second account. The account in the first application and the account in the second application may have a correspondence. For example, a first account in the first application and a second account in the second application have a corresponding relationship, and the first account and the second account may use the same mobile phone number, social application account number, mailbox address, device number, or the like.
In this implementation, the account of the first application and the account of the second application may have a correspondence. For example, account a1 of the first application and account B1 of the second application may be accounts used by the same user, and account a1 and account B1 may have the same user information, e.g., may use the same phone number, social application account number, mailbox address, or device number, etc. For example, if the account associated with the second account in the second application includes account B1, account B2, and account B3, the account corresponding to account B1 in the first application is account a1, the account corresponding to account B2 in the first application is account a2, and the account corresponding to account B3 in the first application is account A3, it may be determined that the second associated account information of the first account includes account a1, account a2, and account A3. Wherein account B1, account B2, and account B3 are accounts of the second application, account a1, account a2, and account A3 are accounts of the first application, and the second associated account information may include an account corresponding to the account associated with the second account in the first application.
In this implementation, for example, the second associated account information includes account a1, account a2, and account A3, and the first associated account information includes account a1, then an account presence update associated with the first account in the first application may be determined from the second associated account information, and the first associated account information may be updated to include account a1, account a2, and account A3.
According to the implementation mode, the associated account of the first account in the first application can be quickly updated according to the corresponding relation between the accounts of the first application and the second application, manual addition is not needed, and therefore the complexity of updating the associated account can be greatly reduced.
Fig. 9 shows a block diagram of a user management apparatus according to an embodiment of the present disclosure. As shown in fig. 9, the apparatus includes: a first determining module 901, configured to determine an account having an association with a first account; a second determining module 902, configured to determine a first number N according to a number of accounts having an association with the first account, where N is a positive integer; a first returning module 903, configured to return a first user right combination including N user rights to the first account.
Fig. 10 illustrates an exemplary block diagram of a user management device according to an embodiment of the present disclosure. As shown in fig. 10:
in one possible implementation, the apparatus further includes: a first issuing module 904, configured to issue the user interest in the first user interest group to the first account and the account having the association with the first account if the purchase completion information for the first user interest group is received.
In one possible implementation, the apparatus further includes: a third determining module 905, configured to determine, if a request for selecting an associated account is received, a selected account of the first account and the accounts having an association with the first account; a fourth determining module 906, configured to determine the number M of selected accounts, where M is a positive integer less than or equal to N; a second returning module 907, configured to return a second user right combination including M user rights to the first account, where the second user right combination includes user rights issued to M selected accounts.
In one possible implementation, the apparatus further includes: a fifth determining module 908, configured to determine, if a request for changing the amount of the user rights is received, an amount L of the changed user rights, where L is a positive integer less than or equal to N; a third returning module 909, configured to return a third user right combination containing L user rights to the first account.
In one possible implementation, the apparatus further includes: a sixth determining module 910, configured to determine, after receiving the purchase completion information for the third user interest group, a selected one of the first account and an account having an association with the first account if a request for selecting an associated account is received; a second issuing module 911 for issuing the user interests in the third user interest combination to the selected account.
In one possible implementation, the apparatus further includes: an obtaining module 912, configured to obtain a user interest limit of an account having an association with the first account; a fourth returning module 913 for returning the user right term of the account having the association with the first account to the first account.
In the embodiment, the accounts having the association with the first account are determined, the first number N is determined according to the number of the accounts having the association with the first account, and the first user right combination containing N user rights is returned to the first account, so that each account having the association with the account can be managed by one account, and the interactivity between users can be improved.
Fig. 11 is a block diagram illustrating an apparatus 1900 for user management according to an example embodiment. For example, the apparatus 1900 may be provided as a server. Referring to FIG. 11, 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.