CN108229133B - Service operation method and device and service permission obtaining method and device - Google Patents

Service operation method and device and service permission obtaining method and device Download PDF

Info

Publication number
CN108229133B
CN108229133B CN201711471542.7A CN201711471542A CN108229133B CN 108229133 B CN108229133 B CN 108229133B CN 201711471542 A CN201711471542 A CN 201711471542A CN 108229133 B CN108229133 B CN 108229133B
Authority
CN
China
Prior art keywords
terminal
service
account
terminals
permission
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.)
Active
Application number
CN201711471542.7A
Other languages
Chinese (zh)
Other versions
CN108229133A (en
Inventor
吴琼
涂诗莹
马成文
陶晓斌
马陈强
王兵
潘栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201711471542.7A priority Critical patent/CN108229133B/en
Publication of CN108229133A publication Critical patent/CN108229133A/en
Application granted granted Critical
Publication of CN108229133B publication Critical patent/CN108229133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2129Authenticate client device independently of the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Abstract

The application provides a business operation method and device, a business authority obtaining method and device, electronic equipment and a computer readable storage medium. The service operation method comprises the following steps: receiving service permission acquisition requests sent by a plurality of terminals aiming at the same current service; acquiring account behavior information corresponding to each terminal according to the service authority acquisition request, and generating an account authority coefficient for each terminal according to the account behavior information corresponding to each terminal; and sending the account authority coefficient of at least one terminal to each terminal. The whole implementation process of the embodiment of the application needs a plurality of terminals to interact with the service server, and the interactivity is good.

Description

Service operation method and device and service permission obtaining method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for service operation, a method and an apparatus for obtaining service permissions, an electronic device, and a computer-readable storage medium.
Background
With the development of intelligent terminals and the popularization of network applications, users can implement various business operations, such as consumption and payment business, through various application programs installed on the terminals. In the related art, a user needs to interact with a service server through a terminal to realize various service operations, but the realization mode is only limited to the interaction between a single user terminal and the service server, and the interactivity is poor.
Disclosure of Invention
In view of the above, the present application provides a service operation method and apparatus, a service right obtaining method and apparatus, an electronic device, and a computer-readable storage medium.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the embodiments of the present disclosure, a service operation method is provided, which is applied to a service server, and the method includes:
receiving service permission acquisition requests sent by a plurality of terminals aiming at the same current service;
acquiring account behavior information corresponding to each terminal according to the service permission acquisition request, and generating an account permission coefficient for each terminal according to the account behavior information corresponding to each terminal;
and sending the account authority coefficient of at least one terminal to each terminal.
According to a second aspect of the embodiments of the present disclosure, a method for acquiring service permissions is provided, which is applied to a terminal, and the method includes:
sending a service authority acquisition request to a service server aiming at the same current service;
and receiving an account authority coefficient of at least one terminal generated by the service server, wherein the account authority coefficient is generated by the service server according to the account behavior information corresponding to each terminal and the account behavior information corresponding to each terminal.
According to a third aspect of the embodiments of the present disclosure, there is provided a service operating apparatus, applied to a service server, the apparatus including:
the receiving module is used for receiving service permission obtaining requests sent by a plurality of terminals aiming at the same current service;
the acquisition generation module is used for acquiring the account behavior information corresponding to each terminal according to the service permission acquisition request received by the receiving module and generating an account permission coefficient for each terminal according to the account behavior information corresponding to each terminal;
and the sending module is used for sending the account authority coefficient of at least one terminal generated by the acquisition and generation module to each terminal.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a service right acquiring apparatus, applied to a terminal, the apparatus including:
the sending module is used for sending a service permission obtaining request to the service server aiming at the same current service;
and the receiving module is used for receiving the account authority coefficient of at least one terminal generated by the service server, and the account authority coefficient is generated by the service server according to the account behavior information corresponding to each terminal and the account behavior information corresponding to each terminal.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for the business operation method described above.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for the above-mentioned service right acquiring method.
According to a seventh aspect of the embodiments of the present disclosure, there is provided an electronic device, including a processor, a memory, a network interface, a nonvolatile memory, and a computer program stored in the nonvolatile memory and executable on the processor, where the processor implements the above service operation method when executing the computer program.
According to an eighth aspect of the embodiments of the present disclosure, an electronic device is provided, which includes a processor, a memory, a network interface, a nonvolatile memory, and a computer program stored in the nonvolatile memory and executable on the processor, where the processor implements the service right acquiring method when executing the computer program.
According to the method and the device, the account permission obtaining requests sent by the multiple terminals aiming at the same current service are received, the account behavior information corresponding to each terminal is obtained according to the service permission obtaining requests, the account permission coefficient is generated for each terminal according to the account behavior information corresponding to each terminal, then the account permission coefficient of at least one terminal is sent to each terminal, the multiple terminals are required to interact with the service server in the whole implementation process, and the interactivity is good.
Drawings
FIG. 1 is a flow chart illustrating a method of business operations in accordance with an exemplary embodiment of the present application;
FIG. 2A is a flow chart illustrating another method of business operations in accordance with an exemplary embodiment of the present application;
fig. 2B is an application scenario diagram illustrating a business operation method according to an exemplary embodiment of the present application;
FIG. 3A is a flow chart illustrating another method of business operations in accordance with an exemplary embodiment of the present application;
FIG. 3B is a diagram illustrating a social relationship between three end users, according to an exemplary embodiment of the present application;
fig. 4 is a flowchart illustrating a service right obtaining method according to an exemplary embodiment of the present application;
fig. 5 is a hardware structure diagram of an electronic device in which a business operation apparatus according to an exemplary embodiment of the present application is located;
FIG. 6 is a block diagram of a business operations device shown in an exemplary embodiment of the present application;
fig. 7 is a hardware structure diagram of an electronic device where a service right acquiring apparatus is located according to an exemplary embodiment of the present application;
fig. 8 is a block diagram of a service right acquiring apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a flowchart of a business operation method shown in an exemplary embodiment of the present application, which is described from a business server side, and as shown in fig. 1, the business operation method includes:
step S101, receiving service authority acquisition requests sent by a plurality of terminals aiming at the same current service.
In this embodiment, when a plurality of terminal users operate for the same current service, they may send a service right acquisition request to the service server by scanning a graphic code, for example, a two-dimensional code. The current service may refer to current consumption, the current consumption may include, but is not limited to, offline consumption, and the service right acquisition request may refer to a service discount information acquisition request. For example, after a plurality of users arrive at a store for consumption, a consumption discount information acquisition request can be sent to the service server by scanning the two-dimensional code.
Step S102, obtaining the account behavior information corresponding to each terminal according to the service authority obtaining request, and generating an account authority coefficient for each terminal according to the account behavior information corresponding to each terminal.
In this embodiment, each terminal has a user identifier (userid) in the service server, and the account behavior information corresponding to each terminal can be obtained by querying the userid, for example, the number of times each terminal operates using the bound account can be obtained by querying the userid.
In this embodiment, the account permission coefficient may be generated for each terminal in a plurality of ways, for example, by generating the account permission coefficient for each terminal in the following two ways:
the first mode is as follows: and acquiring the times of using the bound account to operate by each terminal, and generating an account permission coefficient for each terminal according to the times, a preset time threshold, a preset maximum account permission coefficient and a preset minimum account permission coefficient.
In this embodiment, the account permission coefficient may be generated for each terminal using the following formula:
Dmax+(Dmax-Dmin)*(M-C)/C
wherein, M represents the number of times that each terminal uses the bound account to perform operations, C represents a preset number threshold, Dmax represents a preset maximum account authority coefficient, which may be, for example, 0.95, and Dmin represents a preset minimum account authority coefficient, which may be, for example, 0.75.
The second mode is as follows: and acquiring the times of using the bound account to operate by each terminal, and generating an account permission coefficient for each terminal according to the times, a preset time threshold, the relation between a preset maximum account permission coefficient and a preset minimum account permission coefficient, a random function for generating a random number in a designated interval and the terminal occupation ratio of using no bound account to operate.
In this embodiment, the account permission coefficient may be generated for each terminal using the following formula:
Dmax+(Dmax-Dmin)*(M-C)/C+u*Random(RL,RH)
where M denotes the number of times each terminal operates using a bound account, C denotes a preset number threshold, Dmax denotes a preset maximum account permission coefficient, which may be, for example, 0.95, Dmin denotes a preset minimum account permission coefficient, which may be, for example, 0.75, and the like, Random () denotes a Random function that generates a Random number in a specified section, RL and RH are respectively a lower limit and an upper limit of the specified section, which may be, for example, RL ═ 0.05 and the like, RH ═ 0.05 and the like, u is an adjustable scale factor, u ═ e ^ - (T/N), and T/N denotes a terminal occupation ratio that does not operate using a bound account.
The second mode is that a random function part is added on the basis of the first mode, and the random function part can provide different account permission coefficients for old users, wherein the old users refer to the old users who use the bound account to operate for a number of times greater than a preset number threshold, that is, the difference between the first mode and the second mode is as follows: the first way provides the old user with the same account permission factor, while the second way may provide the old user with a different account permission factor.
The account authority coefficient may be, but is not limited to, account discount information.
And step S103, sending the account authority coefficient of at least one terminal to each terminal.
In this embodiment, after generating the account permission coefficient for each terminal, the service server may send the account permission coefficient of at least one terminal to each terminal.
In the embodiment, the service permission obtaining requests sent by the multiple terminals for the same current service are received, the account behavior information corresponding to each terminal is obtained according to the service permission obtaining requests, the account permission coefficient is generated for each terminal according to the account behavior information corresponding to each terminal, and then the account permission coefficient of at least one terminal is sent to each terminal.
Fig. 2A is a flowchart of another business operation method according to an exemplary embodiment of the present application, and as shown in fig. 2A, the business operation method includes:
step S201, receiving service permission obtaining requests sent by multiple terminals for the same current service.
Step S202, the account behavior information of each terminal is obtained according to the service authority obtaining request, and an account authority coefficient is generated for each terminal according to the account behavior information of each terminal.
Step S203, generating account authority coefficient sequencing information according to the generated plurality of account authority coefficients.
In this embodiment, after the account permission coefficients are generated for each terminal, the account permission coefficient ranking information may be generated according to the generated account permission coefficients. The account permission coefficient ranking information may include, but is not limited to, an account permission coefficient ranking list. It should be noted that, because the size of the terminal screen is limited, the account permission coefficient ranking list may only include the account permission coefficients ranked in the top few.
And step S204, sequencing information of the account authority coefficient and the account authority coefficient of at least one terminal to each terminal.
In this embodiment, in order to improve interestingness, the service server may send the account permission coefficient and the account permission coefficient ranking information of at least one terminal to each terminal, so that after receiving the account permission coefficient and the account permission coefficient ranking information through the terminals, a plurality of terminal users can know whether the obtained account permission is the highest or corresponding ranking information. For example, after receiving the account discount information and the account discount information ranking list corresponding to each other through the terminal, the plurality of terminal users can know whether the obtained account discount information is the highest or the ranking on the account discount information ranking list is the highest.
For the convenience of understanding the technical solution of the present application, the following description is made with reference to the application scenario shown in fig. 2B:
the plurality of terminals 21 shown in fig. 2B are accessed to the service server 22 through a network, when a plurality of users perform service operations, the plurality of terminals 21 may scan a two-dimensional code provided by a merchant, at this time, the plurality of terminals 21 send service authority acquisition requests to the service server 22, after receiving the service authority acquisition requests, acquires account behavior information of each terminal 21, and generates an account authority coefficient for each terminal 21 according to the account behavior information of each terminal 21, and at the same time, generates account authority coefficient ranking information, and sends corresponding account authority coefficient and account authority coefficient ranking information to each terminal 21, so that, after receiving the respective account authority coefficient and account authority coefficient ranking information, the plurality of terminals 21 can know whether the obtained account authority is the highest or the corresponding ranking information, and the interestingness is strong, meanwhile, one terminal user in the plurality of terminals can perform service operation according to the minimum value of the account permission coefficients in the account permission coefficient sequencing information.
In the embodiment, the account permission coefficient sequencing information is generated according to the generated plurality of account permission coefficients, and the account permission coefficient sequencing information of at least one terminal are sent to each terminal, so that one terminal user in the plurality of terminals performs business operation according to the account permission coefficient sequencing information, and after the plurality of terminal users receive the account permission coefficient and the account permission coefficient sequencing information of at least one terminal through the terminals, whether the obtained account permission is the highest or corresponding ranking information can be obtained, and the interestingness is strong.
Fig. 3A is a flowchart of another business operation method according to an exemplary embodiment of the present application, and as shown in fig. 3A, the business operation method includes:
step S301, receiving service authority acquisition requests sent by a plurality of terminals aiming at the same current service.
Step S302, when any two terminals in a plurality of terminals do not have service authority acquisition requests sent aiming at common historical current services before sending the service authority acquisition requests, establishing a social relationship between the two terminals and determining the current social times; and when the social relationship is established before the service authority acquisition requests are sent by the two terminals, the historical social times are accumulated and calculated, and the current social times are determined.
Step S303, determining two terminal users with the closest relationship according to the determined current social times between any two terminals.
After receiving service permission acquisition requests sent by a plurality of terminals, the service server can acquire social information of a plurality of terminal users according to userid of the plurality of terminals.
In this embodiment, social information of a plurality of end users may be represented by an undirected graph, where nodes of the undirected graph are used to represent identifications of the end users, a connection line between the nodes is used to represent that the end users represented by the corresponding nodes have the same social behavior, a weight corresponding to the connection line is used to represent the number of occurrences of the same social behavior, and then two end users having the closest relationship are determined according to the maximum weight.
For example, FIG. 3B illustrates a social relationship between three end users, where node V1、V2、V3Respectively representing three end users, and weights corresponding to the connection lines between the nodes are used for representing the occurrence times of the same social behaviors, wherein W 121 denotes a node V1And V2The number of times of the same social action between them is 1, for example, represents a node V1And V2The number of times of the corresponding terminal user eating together is 1, W 131 denotes a node V1And V3The number of times of the same social action between them is 1, for example, represents a node V1And V3The number of times of the corresponding terminal user eating together is 1, W23Denotes node V by 22And V3The number of times of the same social action between them is 2, for example, represents a node V2And V3The number of times of eating together by the corresponding terminal users is 2, because of the node V2And V3With the largest weight between, node V2And V3The corresponding end user is the most closely related.
It should be noted that the undirected graph is only one example of representing social information of a plurality of end users, and may be represented in other ways in practical applications.
And step S304, sending recommendation information to the other terminal according to the determined behavior information of one of the two terminal users.
After determining the two terminal users with the highest relationship, the service server may send recommendation information to the other terminal according to the behavior information of one of the terminal users, for example, if the user 1 and the user 2 are two users with close relationship, the service server sends recommendation information related to a restaurant to the terminal of the user 2 after learning that the user 1 goes to the restaurant which is newly opened for business.
According to the embodiment, the two terminal users with the closest relationship are determined according to the determined current social times between any two terminals, and the recommendation information is sent to the other terminal according to the determined behavior information of one terminal user of the two terminal users, so that the pertinence is strong.
Fig. 4 is a flowchart of a service right acquiring method according to an exemplary embodiment of the present application, and as shown in fig. 4, the service right acquiring method includes:
step S401, a service authority acquisition request is sent to a service server aiming at the same current service.
In this embodiment, the current service includes current consumption, and the current consumption includes not only offline consumption but also online consumption, and for online consumption, the service server may generate a graphical code for a service provider, such as a merchant, and output the graphical code, so that a plurality of terminals may scan the graphical code, such as a two-dimensional code, to send a service right acquisition request, such as a consumption discount information acquisition request, to the service server when performing a service operation, such as service payment.
Step S402, receiving an account authority coefficient of at least one terminal generated by a service server, wherein the account authority coefficient is generated by the service server according to the service authority acquisition request, the account behavior information corresponding to each terminal and the account behavior information corresponding to each terminal.
In this embodiment, when receiving the account permission coefficient of at least one terminal generated by the service server, the account permission coefficient ranking information generated by the service server may also be received, and the account permission coefficient ranking information is generated by the service server according to a plurality of account permission coefficients.
In addition, after receiving the account authority coefficients of at least one terminal generated by the service server, performing service operation according to the minimum value of the received account authority coefficients.
In the embodiment, the service permission obtaining request is sent to the service server aiming at the same current service, and the account permission coefficient of at least one terminal generated by the service server is received, so that the whole implementation process needs a plurality of terminals to interact with the service server, and the interactivity is good.
Corresponding to the embodiment of the business operation method, the application also provides an embodiment of a business operation device.
The embodiment of the business operation device can be applied to electronic equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation. From a hardware aspect, as shown in fig. 5, it is a hardware structure diagram of an electronic device in which the service operation apparatus 500 of the present application is located, except for the processor 510, the memory 520, the network interface 530, and the nonvolatile memory 540 shown in fig. 5, the electronic device in which the apparatus is located in the embodiment may also include other hardware according to an actual function of the service operation, which is not described again.
Fig. 6 is a block diagram of a service operation apparatus according to an exemplary embodiment of the present application, which may be located in a service server, as shown in fig. 6, and includes: a receiving module 61, an acquisition generating module 62 and a sending module 63.
The receiving module 61 is configured to receive service right obtaining requests sent by multiple terminals for the same current service.
The obtaining and generating module 62 is configured to obtain account behavior information corresponding to each terminal according to the service right obtaining request received by the receiving module 61, and generate an account right coefficient for each terminal according to the account behavior information corresponding to each terminal.
The sending module 63 is configured to send the account permission coefficient of at least one terminal generated by the obtaining and generating module 62 to each terminal.
In the embodiment, the service permission obtaining requests sent by the multiple terminals for the same current service are received, the account behavior information corresponding to each terminal is obtained according to the service permission obtaining requests, the account permission coefficient is generated for each terminal according to the account behavior information corresponding to each terminal, and then the account permission coefficient of at least one terminal is sent to each terminal.
The embodiment of the business operation device can be applied to electronic equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation. From a hardware aspect, as shown in fig. 7, a hardware structure diagram of an electronic device where the apparatus 700 for acquiring service permissions is located is shown in fig. 7, except for the processor 710, the memory 720, the network interface 730, and the nonvolatile memory 740 shown in fig. 7, the electronic device where the apparatus is located in the embodiment may also include other hardware according to an actual function of the service operation, which is not described again.
Fig. 8 is a block diagram of a service right acquiring apparatus according to an exemplary embodiment of the present application, where the apparatus may be located in a terminal, as shown in fig. 8, and the apparatus includes: a transmitting module 81 and a receiving module 82.
The sending module 81 is configured to send a service right obtaining request to the service server for the same current service;
the receiving module 82 is configured to receive an account permission coefficient of at least one terminal generated by the service server, where the account permission coefficient is generated by the service server according to the account behavior information corresponding to each terminal and the account behavior information corresponding to each terminal, which is obtained by the service server according to the service permission obtaining request sent by the sending module 81.
In the embodiment, the service permission obtaining request is sent to the service server aiming at the same current service, and the account permission coefficient of at least one terminal generated by the service server is received, so that the whole implementation process needs a plurality of terminals to interact with the service server, and the interactivity is good.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium storing a computer program for executing the above-described business operation method, wherein the computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a compact disc read only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer-readable storage medium storing a computer program for executing the above-mentioned service right acquiring method, wherein the computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a compact disc read only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.

Claims (12)

1. A service operation method is applied to a service server, and the method comprises the following steps:
receiving service permission acquisition requests sent by a plurality of terminals aiming at the same current service by scanning the same two-dimensional code;
acquiring account behavior information corresponding to each terminal scanning the same two-dimensional code according to the service permission acquisition request, and generating an account permission coefficient for each terminal according to the account behavior information corresponding to each terminal;
sending the account permission coefficients of all the terminals scanning the same two-dimensional code to each terminal, so that one terminal scanning the same two-dimensional code performs service operation according to the received minimum value of the account permission coefficients of all the terminals;
the method further comprises the following steps:
when any two terminals in the plurality of terminals do not have service authority acquisition requests sent aiming at common historical current services before sending the service authority acquisition requests, establishing a social relationship between the two terminals and determining the current social times; when the two terminals establish a social relationship before sending the service authority acquisition request, performing cumulative calculation on historical social times to determine the current social times; and determining two terminal users with the closest relationship according to the determined current social times between any two terminals, and sending recommendation information to the other terminal according to the behavior information of one terminal user of the two terminal users with the closest relationship.
2. The method of claim 1, further comprising:
generating account authority coefficient sorting information according to the plurality of account authority coefficients;
when the account permission coefficient of at least one terminal is sent to each terminal, the method further comprises:
and sending the account authority coefficient sequencing information to each terminal.
3. The method according to claim 1, wherein the acquiring account behavior information corresponding to each terminal scanning the same two-dimensional code according to the service right acquisition request, and generating an account right coefficient for each terminal according to the account behavior information corresponding to each terminal includes:
acquiring the times of using a binding account to operate by each terminal scanning the same two-dimensional code;
and generating an account authority coefficient for each terminal according to the times, a preset time threshold, a preset maximum account authority coefficient and a preset minimum account authority coefficient.
4. The method according to claim 1, wherein the acquiring account behavior information corresponding to each terminal scanning the same two-dimensional code according to the service right acquisition request, and generating an account right coefficient for each terminal according to the account behavior information corresponding to each terminal includes:
acquiring the times of using a binding account to operate by each terminal scanning the same two-dimensional code;
and generating an account authority coefficient for each terminal according to the times, a preset time threshold, a preset maximum account authority coefficient, a preset minimum account authority coefficient, a random function for generating random numbers in a designated interval and the terminal occupation ratio of the unused binding account for operation.
5. A method for acquiring service authority is applied to a terminal, and the method comprises the following steps:
scanning the two-dimensional code to send a service permission acquisition request to a service server aiming at the same current service;
receiving an account authority coefficient of at least one terminal generated by the service server; after the service server receives service permission acquisition requests sent by a plurality of terminals scanning the same two-dimensional code for the same current service, the account permission coefficient acquires account behavior information corresponding to each terminal scanning the same two-dimensional code according to the service permission acquisition requests, and is generated according to the account behavior information corresponding to each terminal;
one terminal scanning the same two-dimensional code performs service operation according to the received minimum value in the account permission coefficients of all the terminals;
the method further comprises the following steps:
when any two terminals in the plurality of terminals do not have service authority acquisition requests sent aiming at common historical current services before sending the service authority acquisition requests, the service server establishes a social relationship between the two terminals and determines the current social times; when the two terminals establish a social relationship before sending the service authority acquisition request, the service server performs cumulative calculation on historical social times to determine the current social times; and determining two terminal users with the closest relationship according to the determined current social times between any two terminals, and sending recommendation information to the other terminal according to the behavior information of one terminal user of the two terminal users with the closest relationship.
6. The method of claim 5, further comprising:
and when the account permission coefficient of at least one terminal generated by the service server is received, receiving account permission coefficient ranking information generated by the service server, wherein the account permission coefficient ranking information is generated by the service server according to a plurality of account permission coefficients.
7. A service operation apparatus, applied to a service server, the apparatus comprising:
the receiving module is used for receiving service permission obtaining requests sent by a plurality of terminals aiming at the same current service by scanning the same two-dimensional code;
the acquisition generation module is used for acquiring account behavior information corresponding to each terminal scanning the same two-dimensional code according to the service permission acquisition request received by the receiving module and generating an account permission coefficient for each terminal according to the account behavior information corresponding to each terminal;
the sending module is used for sending the account permission coefficients of all the terminals which scan the same two-dimensional code and are generated by the acquiring and generating module to each terminal, so that one terminal which scans the same two-dimensional code carries out service operation according to the received minimum value of the account permission coefficients of all the terminals;
the sending module is further configured to, when there is no service permission acquisition request sent for a common historical current service before any two terminals in the plurality of terminals send the service permission acquisition request, establish a social relationship between the two terminals and determine current social times; when the two terminals establish a social relationship before sending the service authority acquisition request, performing cumulative calculation on historical social times to determine the current social times; and determining two terminal users with the closest relationship according to the determined current social times between any two terminals, and sending recommendation information to the other terminal according to the behavior information of one terminal user of the two terminal users with the closest relationship.
8. A service authority acquiring device is applied to a terminal, and the device comprises:
the sending module is used for scanning the two-dimensional code so as to send a service permission obtaining request to the service server aiming at the same current service;
the receiving module is used for receiving the account authority coefficient of at least one terminal generated by the service server; after the service server receives service permission acquisition requests sent by a plurality of terminals scanning the same two-dimensional code for the same current service, the account permission coefficient acquires account behavior information corresponding to each terminal scanning the same two-dimensional code according to the service permission acquisition requests, and is generated according to the account behavior information corresponding to each terminal; one terminal scanning the same two-dimensional code performs service operation according to the received minimum value in the account permission coefficients of all the terminals;
when a service authority acquisition request sent by aiming at a common historical current service does not exist before any two terminals in the plurality of terminals send the service authority acquisition request, the service server establishes a social relationship between the two terminals and determines the current social frequency; when the two terminals establish a social relationship before sending the service authority acquisition request, the service server performs cumulative calculation on historical social times to determine the current social times; and determining two terminal users with the closest relationship according to the determined current social times between any two terminals, and sending recommendation information to the other terminal according to the behavior information of one terminal user of the two terminal users with the closest relationship.
9. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the business operations method of any one of the preceding claims 1-4.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the service right acquisition method of any one of the above claims 5-6.
11. An electronic device comprising a processor, a memory, a network interface, a non-volatile memory, and a computer program stored on the non-volatile memory and executable on the processor, wherein the processor implements the business operations method of any one of claims 1 to 4 when executing the computer program.
12. An electronic device, comprising a processor, a memory, a network interface, a non-volatile memory, and a computer program stored in the non-volatile memory and executable on the processor, wherein the processor executes the computer program to implement the service right acquiring method according to any one of claims 5 to 6.
CN201711471542.7A 2017-12-29 2017-12-29 Service operation method and device and service permission obtaining method and device Active CN108229133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711471542.7A CN108229133B (en) 2017-12-29 2017-12-29 Service operation method and device and service permission obtaining method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711471542.7A CN108229133B (en) 2017-12-29 2017-12-29 Service operation method and device and service permission obtaining method and device

Publications (2)

Publication Number Publication Date
CN108229133A CN108229133A (en) 2018-06-29
CN108229133B true CN108229133B (en) 2021-02-02

Family

ID=62646839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711471542.7A Active CN108229133B (en) 2017-12-29 2017-12-29 Service operation method and device and service permission obtaining method and device

Country Status (1)

Country Link
CN (1) CN108229133B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10594731B2 (en) * 2016-03-24 2020-03-17 Snowflake Inc. Systems, methods, and devices for securely managing network connections
CN108829464B (en) * 2018-06-25 2022-02-22 腾讯科技(深圳)有限公司 Service starting method and device, computer equipment and storage medium
CN113486237B (en) * 2021-06-07 2023-06-27 海南太美航空股份有限公司 Flight information recommendation method and system, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063791A (en) * 2013-10-30 2014-09-24 腾讯科技(深圳)有限公司 Safety payment method and related device and system
CN105894318A (en) * 2015-02-16 2016-08-24 Sk普兰尼特有限公司 Method Of Discount Service According To The Goods Purchase Use Sequence, And Apparatus Thereof
CN107194717A (en) * 2017-05-05 2017-09-22 卓集送信息科技(武汉)有限公司 A kind of reward voucher management method and system
CN107507000A (en) * 2017-07-27 2017-12-22 北京小米移动软件有限公司 Method of payment, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063791A (en) * 2013-10-30 2014-09-24 腾讯科技(深圳)有限公司 Safety payment method and related device and system
CN105894318A (en) * 2015-02-16 2016-08-24 Sk普兰尼特有限公司 Method Of Discount Service According To The Goods Purchase Use Sequence, And Apparatus Thereof
CN107194717A (en) * 2017-05-05 2017-09-22 卓集送信息科技(武汉)有限公司 A kind of reward voucher management method and system
CN107507000A (en) * 2017-07-27 2017-12-22 北京小米移动软件有限公司 Method of payment, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108229133A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN105530175A (en) Message processing method, device and system
CN108229133B (en) Service operation method and device and service permission obtaining method and device
CN111954173B (en) Method, device, server and computer readable storage medium for sending short message
CN109446171B (en) Data processing method and device
CN109271078A (en) Content share method, terminal device and storage medium
CN113364853B (en) Business service system, business request method and gateway equipment
JP2012533787A (en) Supplying content by using social networks
WO2012054378A1 (en) System and method for managing an internet domain based on the geographic location of an accessing user
CN105306472A (en) Seat matching device and method
CN105245620B (en) The method, apparatus and system of information transmission
CN105320758A (en) Search service platform and search service method therefor
CN109658120B (en) Service data processing method and device
CN103109277A (en) Data sharing program, data distribution program, terminal, server, data sharing method, and data distribution method
CN109582829B (en) Processing method, device, equipment and readable storage medium
CN109684546B (en) Recommendation method, recommendation device, storage medium and terminal
CN109635969B (en) Method and device for pushing resource transfer offer
US11950173B2 (en) Method of determining shared service index based on shared service of communication credential
CN108600255A (en) Mock service management method, device, computer equipment and storage medium
CN109150696B (en) Information processing method, server, client, and computer-readable storage medium
KR20170026897A (en) Total solution system of business development using 3d printer
KR101992770B1 (en) Apparatus and mathod for processing query in portable terminal for social network
CN109146617A (en) A kind of business approval method, server, client and storage medium
CN111489194B (en) Map information processing method, apparatus, readable storage medium and electronic device
EP2285060A2 (en) Method and apparatus for providing environment for use of internet-based service
CN113472936B (en) Call processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant