CN111371787B - Login registration method, device, system, server and medium for middle station service - Google Patents

Login registration method, device, system, server and medium for middle station service Download PDF

Info

Publication number
CN111371787B
CN111371787B CN202010143770.7A CN202010143770A CN111371787B CN 111371787 B CN111371787 B CN 111371787B CN 202010143770 A CN202010143770 A CN 202010143770A CN 111371787 B CN111371787 B CN 111371787B
Authority
CN
China
Prior art keywords
account
host
authorization code
service
login
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
CN202010143770.7A
Other languages
Chinese (zh)
Other versions
CN111371787A (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.)
Bigo Technology Pte Ltd
Original Assignee
Guangzhou Baiguoyuan Information 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 Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN202010143770.7A priority Critical patent/CN111371787B/en
Publication of CN111371787A publication Critical patent/CN111371787A/en
Application granted granted Critical
Publication of CN111371787B publication Critical patent/CN111371787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a login registration method, a login registration device, a login registration system, a middle station server and a storage medium based on a middle station service. The method comprises the following steps: receiving a current authorization code of a host application when the host application registers a midrange service; and obtaining an adaptation effective authorization code of the current authorization code under the host application, determining a host account matched with the adaptation effective authorization code, and taking a midstation account associated with the host account as a login account for logging in a midstation service in the host application. According to the method, the login mode of the host application does not need to be reformed again, and only when the current authorization code of the host application has the adaptive valid authorization code, the midlet account related to the host account matched with the adaptive valid authorization code is used as the login account of the midlet service, so that the acquisition mode of the login account is more convenient, and the access cost of the midlet service is reduced.

Description

Login registration method, device, system, server and medium for middle station service
Technical Field
The embodiment of the application relates to the technical field of middle station application, in particular to a login registration method, a login registration device, a login registration system, a middle station server and a storage medium based on middle station service.
Background
With the continuous expansion of the business scale, the concept of the middle station model is developed. That is, existing resources and technologies can be integrated by using the middle platform model, and when other platforms need the middle platform service provided by the middle platform model, the middle platform service can be accessed to the platform. For example, a live module providing live services is accessed into a hosted application. When a function-independent middle station service is accessed in a certain host application, the login account of the middle station service and the login account of the host application are mutually independent. How to be compatible with two account systems without perception of a user is a technical problem to be solved urgently by technical personnel in the field.
In the conventional technology, a single sign-on mode is usually adopted to log on a middlebox service, that is, a login mode of a host application needs to be modified. Specifically, the method comprises the following steps: and resetting a new login service at the front end of the original login process of the host application, wherein the login service is responsible for getting through the login between the host application and the middle station service, so that the user can use the middle station service accessed in the host application by adopting the new login service to log in once.
However, the conventional method needs to modify the existing host application login method, and a large amount of time cost and resource cost are consumed for resetting a new login service, thereby increasing the access cost of the middlebox service.
Disclosure of Invention
The embodiment of the application provides a login registration method, a login registration device, a login registration system, a middle station server and a storage medium based on a middle station service, and reduces the access cost of the middle station service.
In a first aspect, an embodiment of the present application provides a login registration method based on a middlebox service, including:
receiving a current authorization code of a host application when the host application registers a midrange service;
and obtaining an adaptation effective authorization code of the current authorization code under the host application, determining a host account matched with the adaptation effective authorization code, and taking a midstation account associated with the host account as a login account for logging in a midstation service in the host application.
In a second aspect, an embodiment of the present application provides a login and registration apparatus based on a middlebox service, including:
the authorization code determining module is used for receiving the current authorization code of the host application when the host application registers the console service;
and the middlebox service registration module is used for acquiring an adaptive effective authorization code of the current authorization code under the host application, determining a host account matched with the adaptive effective authorization code, and taking a middlebox account associated with the host account as a login account for logging in a middlebox service in the host application.
In a third aspect, an embodiment of the present application provides a login and registration system based on a middlebox service, including: the system comprises a client, a host service end and a middle station service end, wherein a host account and a valid authorization code of a host application are prestored on the host service end; wherein the content of the first and second substances,
when the client side registers the middle station service in the host application, the client side sends the current authorization code of the host application to the middle station service side;
the middle station server side obtains an adaptation effective authorization code of the current authorization code under the host application from a host server side, determines a host account matched with the adaptation effective authorization code, and takes a middle station account related to the host account as a login account for logging in a middle station service in the host application.
In a fourth aspect, an embodiment of the present application provides a middlebox server, where the middlebox server includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for login and registration based on the middlebox service according to any embodiment of the present application.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the program, when executed by a processor, implements a method for login and registration based on a middlebox service according to any embodiment of the present application.
According to the login registration method, device and system based on the middleware service, the middleware server and the storage medium provided by the embodiment of the application, when the middleware service is registered in the host application, the middleware server receives the current authorization code of the host application, obtains the host account matched with the adaptive effective authorization code of the current authorization code under the host application, and takes the middleware account related to the host account as the login account for logging in the middleware service in the host application. According to the method, the login mode of the host application does not need to be reformed again, and only when the current authorization code of the host application has the adaptive effective authorization code, the Chinese station account related to the host account matched with the adaptive effective authorization code is used as the login account of the Chinese station service, so that the login account is more convenient to obtain, and the access cost of the Chinese station service is reduced.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a system architecture diagram of an application of a login and registration method based on a middle station service according to an embodiment of the present application;
fig. 2A is a schematic flowchart of a login registration method based on a middlebox service according to an embodiment of the present application;
fig. 2B is a schematic block diagram of a login registration method based on a midnight service according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a login and registration method based on a middlebox service according to a second embodiment of the present application;
fig. 4 is a schematic view of a login interface of a middle station service according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of a login registration apparatus based on a middlebox service according to a third embodiment of the present application;
fig. 6A is a schematic block diagram of a login registration system based on a middlebox service according to a fourth embodiment of the present application;
fig. 6B is a schematic view of information interaction in a login registration system based on a middlebox service according to the fourth embodiment of the present application;
fig. 7 is a schematic structural diagram of a middlebox server according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 1 is a system architecture diagram of an application of a login registration method based on a middlebox service according to an embodiment of the present application. As shown in fig. 1, the system may include a client 10, a midboard service end 11, and a host service end 12. Wherein, a host application is installed in the client 10, and an independent middle platform service is accessed in the host application; the middlebox server 11 is a background of the middlebox service, and services independent of the host application can be provided for the user through the middlebox service. The host service end 12 is a background of the host application and is used for providing the service of the host application for the user. When the client 10 accesses the midrange service in the hosting application for the first time, the midrange service end 11 may obtain the hosting account of the hosting application from the hosting service end 12, and obtain the login account of the login midrange service based on the hosting account, so as to implement access to the midrange service. Optionally, the client 10 may be an electronic device such as a Personal Computer (PC), a mobile terminal, or a wearable device, and the midlet server 11 and the host server 12 may be independent servers or a server cluster formed by multiple servers.
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application are further described in detail by the following embodiments in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
It should be noted that the execution subject of the following method embodiments may be a login and registration apparatus based on the middlebox service, and the apparatus may be implemented as part or all of the middlebox service end in a software, hardware, or combination of software and hardware. The following method embodiments are described by taking the case where the execution subject is the middle station server.
Example one
Fig. 2A is a schematic flowchart of a login and registration method based on a middlebox service according to an embodiment of the present application. The embodiment relates to a specific process of how a middle station server registers a login account for a middle station service in a host application. As shown in fig. 2A, the method may include:
s101, when the middlebox service is registered in the host application, receiving the current authorization code of the host application.
Specifically, in order to implement the expansion and fusion of services, an independent middle station service may be accessed in a certain application, and at this time, the application is a host application, and the middle station service is a service independent from a service provided by the host application itself. For example, a live module is accessed in the host application, and the live module serves a middlebox. When the host application logs in the middlebox service for the first time, the middlebox service needs to be registered, namely a login account used when the middlebox service needs to be established. When detecting a registration operation generated by a user accessing a console service in a host application, the client may send a login account for the current login of the host application to the host service side, so that the host service side generates a temporary current authorization code by using a preset authorization code generation algorithm according to the login account, and sends the current authorization code to the client. After receiving the current authorization code, the client sends the current authorization code to the middleware service end, and the current authorization code is mainly used for subsequently judging whether the registration is normal service or not, so that a hacker and other third party disguised terminals are prevented from invading the middleware service end, and the loss of middleware service information is avoided.
S102, obtaining an adaptation effective authorization code of the current authorization code under the host application, determining a host account matched with the adaptation effective authorization code, and taking a middle station account related to the host account as a login account for logging in a middle station service in the host application.
Specifically, referring to fig. 2B (in fig. 2B, "xxx" indicates a valid authorization code, "o" indicates a host account, and "● ● ●" indicates a middle-station account), after receiving a current authorization code of a host application sent by a client, a middle-station server needs to perform validity verification on the current authorization code, where the valid authorization code is a valid authorization code that can clearly indicate that the current authorization code is valid under the host application, and after the verification is determined to pass, the valid authorization code of the current authorization code can be obtained. The host account can be a mobile phone number, a mailbox account, a social application account, or the like. Optionally, the host service end stores an effective authorization code of the host application, and the middlebox service end may send the current authorization code to the host service end for validity verification, so that after verifying that the adaptation effective authorization code of the current authorization code exists, the host service end sends a host account number matched with the adaptation effective authorization code to the middlebox service end. And if the validity verification of the current authorization code is not passed, the middle station service registration fails.
Further, with continued reference to fig. 2B, after the midlet server obtains the host account of the host application, the midlet server obtains the midlet account associated with the host account, and uses the associated midlet account as a login account for logging in the midlet service in the host application. On the basis of the foregoing embodiment, as an optional implementation manner, the process of determining, by the midstation service end, the login account number for logging in the midstation service based on the host account number may be: searching a mapping account of the host account in a pre-established account mapping table; if the mapping account is empty, creating a related middle station account based on the host account, and taking the middle station account as a login account for logging in the middle station service in the host application; and if the mapping account is not null, taking the mapping account as a middle station account associated with the host account, and taking the middle station account as a login account for logging in a middle station service in the host application.
In practical applications, the login of the client to the console service in the host application may include the following situations, where the first situation is: for the first time, the user logs in the middling service on the host application, and for this situation, the process of the middling service side acquiring the login account of the middling service may be: after the midstation server obtains the host account of the host application through the validity verification of the current authorization code of the host application, the midstation server searches the mapping account of the host account in a pre-established account mapping table, and because the client side logs in the midstation service for the first time, the mapping account of the host account in the account mapping table is null, the midstation server creates a midstation account for the midstation service according to the host account, and the created midstation account is used as a login account for logging in the midstation service in the host application. In order to facilitate the next login of the middling station service, optionally, after the associated middling station account is created based on the host account, the middling station service side may further store a mapping relationship between the host account and the created middling station account in the pre-established account mapping table.
The second case is: the user does not log in the middleware service for the first time, but the client does not locally store login information related to the middleware service after uninstalling and reinstalling the host application, and at this time, a mapping relationship between the host account and the middleware account created during the first login is already stored in the pre-established account mapping table, so for this situation, the process of the middleware service for obtaining the login account of the middleware service can be as follows: after the midstation server obtains the host account of the host application through the validity verification of the current authorization code of the host application, the midstation server can find the mapping account of the host account in a pre-established account mapping table, and because the client side does not log in the midstation service for the first time, the mapping account of the host account in the account mapping table is not empty, the midstation server directly takes the mapping account as the midstation account related to the host account and takes the midstation account as the login account for logging in the midstation service in the host application.
The third case is: the user does not log in the middle station service for the first time, and when the middle station service end logs in the middle station service in the host application by adopting the middle station account number for the first time, the corresponding middle station login authentication information can be fed back to the middle station service in the host application.
Specifically, the information of the middle station login authentication may be cookie information of the middle station service login, and the middle station service end may send the cookie information of the middle station service login to the middle station service. At this time, when the user logs in the middle station service in the host application again, the cookie information can be directly acquired, and when the cookie information is valid, the user can log in the middle station service by using the cookie information, so that the logging speed of the middle station service is improved.
According to the login registration method based on the middle-station service, when the middle-station service is registered in the host application, the middle-station server receives the current authorization code of the host application, obtains the host account matched with the adaptive effective authorization code of the current authorization code under the host application, and takes the middle-station account related to the host account as the login account for logging in the middle-station service in the host application. According to the method, the login mode of the host application does not need to be reformed again, and only after the current authorization code of the host application passes the verification, the Chinese station account related to the host account matched with the current authorization code is used as the login account of the Chinese station service, so that the login account is more convenient to obtain, and the access cost of the Chinese station service is reduced.
Example two
Fig. 3 is a flowchart illustrating a login registration method based on a middlebox service according to a second embodiment of the present application. The embodiment is optimized on the basis of the embodiment. Specifically, this embodiment relates to a specific process of how the middlebox server obtains the host account of the host application.
Optionally, as shown in fig. 3, the present embodiment may include the following steps:
s201, when the MS service is registered in the host application, receiving the current authorization code of the host application.
S202, the current authorization code is verified based on the effective authorization code set when the middlebox service is registered in the host application, and after the current authorization code passes the verification, the adaptive effective authorization code adopted by the current authorization code in the verification process is determined.
Specifically, the valid authorization code set includes valid authorization codes corresponding to at least one host account under the host application, when the host application registers the console service, the host service end presets a valid authorization code for each host account in order to ensure valid access of each host account to the console service, so as to obtain a corresponding valid authorization code set, at this time, after receiving the current authorization code of the host application, the console service end can send the current authorization code to the host service end for validity check, the host service end matches the current authorization code with each valid authorization code in the prestored valid authorization code set, if the matching is successful, the check is passed, and the valid authorization code in the valid authorization code set that matches the current authorization code is determined to be an adaptive valid authorization code.
As an optional implementation manner, the process of checking the current authorization code based on the valid set of authorization codes when the middlebox service is registered in the host application may be: if a valid authorization code identical to the current authorization code exists in the valid authorization code set, the verification is passed, and the valid authorization code identical to the current authorization code is used as the adaptive valid authorization code; if no valid authorization code identical to the current authorization exists in the valid authorization code set, the verification fails, and a registration failure message is fed back to the middle station service in the host application.
S203, obtaining the host account matched with the adaptive valid authorization code under the host application.
The host service end can directly determine the host account matched with the adaptive effective authorization code and send the host account to the middle station service end so that the middle station service end can search the middle station account related to the host account.
As an optional implementation manner, the host service side may also send the valid authorization code set of the host application and the host account corresponding to each valid authorization code in the valid authorization code set to the middlebox service side in advance, so that after the middlebox service side receives the current authorization code of the host application, the middlebox service side matches the current authorization code with each valid authorization code in the valid authorization code set, if the matching is successful, the verification is passed, and the valid authorization code matching the current authorization code in the valid authorization code set is determined to be the adapted valid authorization code, and the host account corresponding to the adapted valid authorization code is obtained.
Optionally, when the host account matched with the adapted valid authorization code under the host application is obtained, the midlet service side may further obtain an authentication key of the host account, so as to store an association relationship between the midlet account associated with the host application and the authentication key. Therefore, when a user needs to search the relevant information of the host application after logging in the middle station service, the authentication key of the host account can be searched through the middle station account of the middle station service, and then the relevant information of the host application is searched through the authentication key, so that the information searching efficiency is improved, and the authentication key can be token information.
And S204, taking the middle station account related to the host account as a login account for logging in the middle station service in the host application.
In this embodiment, the midrange account associated with the host account is directly used as a login account for logging in the midrange service in the host application, so that the client can use each function provided by the midrange service after logging in the midrange service by using the midrange account in the following.
Taking the middleware service accessed in the host application as the live broadcast module, as shown in fig. 4, the host application installed in the client includes various functional controls provided by itself, such as controls for setting, page switching (tab), activity, and the like, and may further include an accessed live broadcast control with an independent function, where the live broadcast control is the middleware service in this embodiment. When the client detects that the user triggers an opening operation generated by a live broadcast control, the client acquires a current authorization code of a host application from a host service end and sends the current authorization code to a middle station service end, so that the middle station service end checks the current authorization code, acquires a host account matched with an adaptive effective authorization code of the current authorization code under the host application after the check is passed, and completes the login of a live broadcast module in the host application by adopting a live broadcast account associated with the host account. After the live broadcast module successfully logs in, the client displays a live broadcast room list (such as a live broadcast room 1, a live broadcast room 2, a live broadcast room 3 and a live broadcast room 4 shown in fig. 4), and can play a corresponding live broadcast according to the watching requirement of the user.
According to the technical scheme provided by the embodiment, the middle station server side can verify the current authorization code based on the effective authorization code set when the middle station service is registered in the host application, determine the adaptive effective authorization code adopted by the current authorization code in the verification process after the verification is passed, and obtain the host account matched with the adaptive effective authorization code under the host application, so that the obtaining mode of the host account is safer, and the login security of the middle station service is improved.
EXAMPLE III
Fig. 5 is a schematic structural diagram of a login registration apparatus based on a middlebox service according to a third embodiment of the present application. As shown in fig. 5, the apparatus may include: an authorization code determination module 20 and a central station service registration module 21.
Specifically, the authorization code determining module 20 is configured to receive a current authorization code of the host application when registering the middlebox service in the host application;
the middlebox service registration module 21 is configured to obtain an adapted valid authorization code of the current authorization code under the host application, determine a host account matched with the adapted valid authorization code, and use a middlebox account associated with the host account as a login account for logging in a middlebox service in the host application.
According to the login and registration device based on the middleware service, when the middleware service is registered in the host application, the middleware server receives the current authorization code of the host application, obtains the host account matched with the adaptive effective authorization code of the current authorization code under the host application, and takes the middleware account associated with the host account as the login account for logging in the middleware service in the host application. According to the method, the login mode of the host application does not need to be reformed again, and only when the current authorization code of the host application has the adaptive effective authorization code, the Chinese station account related to the host account matched with the adaptive effective authorization code is used as the login account of the Chinese station service, so that the login account is more convenient to obtain, and the access cost of the Chinese station service is reduced.
On the basis of the foregoing embodiment, optionally, the middle station service registration module may include: the authorization code checking unit and the host account number obtaining unit;
specifically, the authorization code checking unit is configured to check the current authorization code based on a set of valid authorization codes when the middlebox service is registered in the host application, and determine, after the check is passed, an adaptive valid authorization code that is used in the checking process of the current authorization code;
the host account number obtaining unit is used for obtaining the host account number matched with the adaptive valid authorization code under the host application.
On the basis of the foregoing embodiment, optionally, the authorization code checking unit is specifically configured to, if a valid authorization code that is the same as the current authorization code exists in the valid authorization code set, check that the authorization code passes, and use the valid authorization code that is the same as the current authorization as the adaptive valid authorization code; if the valid authorization code set does not have the valid authorization code identical to the current authorization code, the verification is not passed, and a registration failure message is fed back to the middle station service in the host application.
On the basis of the foregoing embodiment, optionally, the middle station service registration module further includes: an authentication key acquisition unit;
specifically, the authentication key obtaining unit is configured to obtain the authentication key of the host account when the host account obtaining unit obtains the host account matched with the adapted valid authorization code under the host application, so as to store an association relationship between the midget account associated with the host application and the authentication key.
On the basis of the foregoing embodiment, optionally, the middle station service registration module further includes: the system comprises a mapping account number searching unit, a first processing unit and a second processing unit;
specifically, the mapping account searching unit is configured to search a mapping account of the host account in a pre-established account mapping table;
the first processing unit is used for creating a related middle station account based on the host account if the mapping account is empty, and taking the middle station account as a login account for logging in a middle station service in the host application;
and the second processing unit is used for taking the mapping account as a middle station account associated with the host account and taking the middle station account as a login account for logging in a middle station service in the host application if the mapping account is not empty.
On the basis of the foregoing embodiment, optionally, the middle station service registration module further includes: a storage unit;
specifically, the storage unit is configured to, after the first processing unit creates the associated secondary account based on the host account, store a mapping relationship between the host account and the created secondary account in the account mapping table.
On the basis of the above embodiment, optionally, the apparatus further includes: a login module;
specifically, the login module is configured to, after the midlet account associated with the host account is used as a login account for logging in the midlet service in the host application by the midlet service registration module, use the midlet account to log in the midlet service in the host application.
On the basis of the above embodiment, optionally, the apparatus further includes: a sending module;
specifically, the sending module is configured to feed back corresponding middle station login authentication information to the middle station service in the host application after the login module logs in the middle station service in the host application by using the middle station account.
The login registration device based on the middlebox service provided by the embodiment can be applied to the login registration method based on the middlebox service provided by any of the above embodiments, and has corresponding functions and beneficial effects.
Example four
Fig. 6A is a schematic block diagram of a login registration system based on a middlebox service according to a fourth embodiment of the present application. Optionally, the system may include: the system comprises a client 60, a host service end 61 and a central station service end 62, wherein a host account and a valid authorization code of a host application are prestored on the host service end 61; wherein, the first and the second end of the pipe are connected with each other,
when the client 60 registers the middle station service in the host application, the client 60 sends the current authorization code of the host application to the middle station service 60;
the middlebox service end 62 obtains an adaptation valid authorization code of the current authorization code under the host application from a host service end, determines a host account matched with the adaptation valid authorization code, and takes a middlebox account associated with the host account as a login account for logging in a middlebox service in the host application.
On the basis of the above embodiment, optionally, the middle station server 62 may include a middle station authorization sub-server 621, a middle station login sub-server 622, and a middle station account sub-server 623; wherein the content of the first and second substances,
the middle-station login sub-server 622 receives the current authorization code sent by the client 60 and forwards the current authorization code to the middle-station authorization sub-server 621, and meanwhile forwards a host account number, which is forwarded by the middle-station authorization sub-server 621 and is matched with an adaptive valid authorization code of the current authorization code, to the middle-station account sub-server 623, and takes a middle-station account number, which is forwarded by the middle-station account sub-server 623 and is associated with the host account number, as a login account number for logging in middle-station service in the host application;
the middle authority sub-server 621 searches out an adaptation valid authorization code of the current authorization code under the host application from the host service 61, and forwards a host account matched with the adaptation valid authorization code to the middle authority login sub-server 622;
the secondary account server 623 determines a secondary account associated with the host account, and forwards the secondary account to the secondary login server 622.
On the basis of the foregoing embodiment, optionally, the middle station service end 62 further includes a middle station storage sub-service end 624;
the secondary storage sub-server 624 stores a pre-established account mapping table, where a mapping relationship between a host account in the host application and a secondary storage account is stored.
On the basis of the foregoing embodiment, optionally, the middle login sub-server 622 is further configured to: and logging in the console service in the host application by using the console account, and feeding back corresponding console login authentication information to the client 60.
In order to facilitate understanding of those skilled in the art, the following describes an operation process of the above login registration system based on the middle station service, taking information interaction among the middle station authorization sub-server 621, the middle station login sub-server 622, the middle station account sub-server 623, and the middle station storage sub-server 624 included in the client 60, the host service 61, and the middle station server 62 as an example, as shown in fig. 6B, specifically:
s301, when the client registers the middle station service in the host application, the client sends the current authorization code of the host application to the middle station login sub-server.
S302, the middle station login sub-server forwards the current authorization code to the middle station authorization sub-server.
And S303, the authorization sub-service end of the middle station sends the current authorization code to the host service end.
S304, the host server checks the current authorization code, determines an adaptive effective authorization code adopted by the current authorization code in the checking process after the check is passed, and acquires a host account matched with the adaptive effective authorization code under the host application.
S305, the host service side sends the host account of the host application to the secondary service side of the middle station account through the secondary authorization service side of the middle station and the secondary service side of the middle station login.
S306, the secondary server of the middle station account number determines the middle station account number related to the host account number and forwards the middle station account number to the secondary server of the middle station login.
And S307, the middle station login sub-server logs in the middle station service in the host application by adopting the middle station account, and feeds back corresponding middle station login authentication information to the client.
S308, the middle station storage sub-server receives the host account number sent by the middle station account number sub-server and the associated middle station account number created based on the host account number, and stores the mapping relation between the host account number and the created middle station account number in a pre-established account number mapping table.
According to the login registration system based on the middleware service provided by the embodiment of the application, when the middleware service is registered in the host application, the middleware server receives the current authorization code of the host application, obtains the host account matched with the adaptive effective authorization code of the current authorization code under the host application, and takes the middleware account related to the host account as the login account for logging in the middleware service in the host application. According to the method, the login mode of the host application does not need to be reformed again, and only when the current authorization code of the host application has the adaptive effective authorization code, the Chinese station account related to the host account matched with the adaptive effective authorization code is used as the login account of the Chinese station service, so that the login account is more convenient to obtain, and the access cost of the Chinese station service is reduced.
EXAMPLE five
Fig. 7 is a schematic structural diagram of a middlebox server according to a fifth embodiment of the present application, as shown in fig. 7, the middlebox server includes a processor 70, a storage device 71, and a communication device 72; the number of the processors 70 in the middle server can be one or more, and one processor 70 is taken as an example in fig. 7; the processor 70, the storage device 71 and the communication device 72 in the middlebox server can be connected by a bus or other means, and the connection by the bus is taken as an example in fig. 7.
The storage device 71 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the login registration method based on the middlebox service according to any embodiment of the present application. The processor 70 executes various functional applications and data processing of the middlebox server by running software programs, instructions and modules stored in the storage device 71, that is, implements the above-described login registration method based on the middlebox service.
The storage device 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 71 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage device 71 may further include memory located remotely from the processor 70, which may be connected to a staging server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication means 72 may be used to enable network connections or mobile data connections between devices.
The middle station server provided by this embodiment can be used to execute the login registration method based on the middle station service provided by any of the above embodiments, and has corresponding functions and advantages.
EXAMPLE six
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, may implement the method for login and registration based on a middlebox service in any of the above embodiments. The method specifically comprises the following steps:
receiving a current authorization code of a host application when the host application registers a midrange service;
and acquiring a host account matched with the adaptive effective authorization code of the current authorization code under the host application, and taking the middle station account associated with the host account as a login account for logging in middle station service in the host application.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the method for login and registration based on a middlebox service provided in any embodiment of the present application.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the embodiment of the service configuration apparatus, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (15)

1. A login registration method based on a middle station service is characterized by comprising the following steps:
when the console service is registered in the host application, the client side sends a login account for logging in the host application to the host service side, the host service side generates a temporary current authorization code by adopting a preset authorization code generation algorithm according to the login account, and the console server receives the current authorization code of the host application;
and after the current authorization code passes the verification, obtaining an adaptation effective authorization code of the current authorization code under the host application, determining a host account matched with the adaptation effective authorization code, and taking a middle station account related to the host account as a login account for logging in a middle station service in the host application.
2. The method according to claim 1, wherein the obtaining an adapted valid authorization code of the current authorization code under the host application, and determining a host account matched with the adapted valid authorization code, includes:
checking the current authorization code based on a valid authorization code set when the mobile station service is registered in the host application, and determining an adaptive valid authorization code adopted by the current authorization code in the checking process after the checking is passed;
and obtaining the host account matched with the adaptive valid authorization code under the host application.
3. The method of claim 2, wherein checking the current authorization code based on a set of valid authorization codes when registering for the middlebox service in the host application comprises:
if a valid authorization code identical to the current authorization code exists in the valid authorization code set, the verification is passed, and the valid authorization code identical to the current authorization code is used as the adaptive valid authorization code;
if the valid authorization code set does not have the valid authorization code identical to the current authorization code, the verification is not passed, and a registration failure message is fed back to the middle station service in the host application.
4. The method according to claim 2, wherein when obtaining the host account number matched with the adapted valid authorization code under the host application, further comprising:
and acquiring an authentication key of the host account to store the association relationship between the middlebox account associated with the host application and the authentication key.
5. The method of claim 1, wherein using the midlet account associated with the host account as a login account for logging in a midlet service in the host application comprises:
searching a mapping account of the host account in a pre-established account mapping table;
if the mapping account is empty, creating a related middle station account based on the host account, and taking the middle station account as a login account for logging in the middle station service in the host application;
and if the mapping account is not null, taking the mapping account as a middle station account associated with the host account, and taking the middle station account as a login account for logging in a middle station service in the host application.
6. The method of claim 5, further comprising, after creating the associated midlet account based on the host account:
and storing the mapping relation between the host account and the created middle station account in the account mapping table.
7. The method according to any one of claims 1-6, further comprising, after taking the midlet account associated with the host account as a login account for logging in a midlet service in the host application:
and adopting the middle station account to log in the middle station service in the host application.
8. The method of claim 7, further comprising, after logging in a midrange service in the host application using the midrange account number:
and feeding back corresponding middle station login authentication information to the middle station service in the host application.
9. A login registration device based on a middle station service is characterized by comprising:
the authorization code determining module is used for sending a login account for logging in the host application to a host service end by a client when the client registers the console service in the host application, wherein the host service end generates a temporary current authorization code by adopting a preset authorization code generating algorithm according to the login account, and the console server receives the current authorization code of the host application;
and the console service registration module is used for acquiring an adaptive effective authorization code of the current authorization code under the host application after the current authorization code passes verification, determining a host account matched with the adaptive effective authorization code, and taking a console account associated with the host account as a login account for logging in console service in the host application.
10. A login registration system based on a middlebox service, comprising: the system comprises a client, a host service end and a middle station service end, wherein a host account and an effective authorization code of a host application are prestored on the host service end; wherein the content of the first and second substances,
when the client registers the console service in the host application, the client sends a login account for logging in the host application to a host service end, the host service end generates a temporary current authorization code by adopting a preset authorization code generation algorithm according to the login account, and sends the current authorization code of the host application to the console service end;
after the current authorization code passes the verification, the middle station server obtains an adaptation valid authorization code of the current authorization code under the host application from a host server, determines a host account matched with the adaptation valid authorization code, and takes the middle station account associated with the host account as a login account for logging in the middle station service in the host application.
11. The login registration system of claim 10, wherein the middle station server comprises a middle station authorization sub-server, a middle station login sub-server and a middle station account sub-server; wherein the content of the first and second substances,
the middle-station login sub-server receives the current authorization code sent by the client and forwards the current authorization code to the middle-station authorization sub-server, and meanwhile forwards a host account number which is forwarded by the middle-station authorization sub-server and matched with the valid authorization code matched with the current authorization code under the host application to the middle-station account number sub-server, and the middle-station account number which is forwarded by the middle-station account number sub-server and is related to the host account number is used as a login account number for logging in middle-station service in the host application;
the middle station authorization sub-server searches out an adaptive effective authorization code of the current authorization code under the host application from the host server, and forwards a host account matched with the adaptive effective authorization code to the middle station login sub-server;
and the secondary server of the middle station account number determines the middle station account number associated with the host account number and forwards the middle station account number to the secondary server of the middle station login.
12. The login registration system of claim 11, wherein the central station server further comprises a central station storage sub-server;
and the secondary medium station storage sub-server stores a pre-established account mapping table, and the account mapping table stores the mapping relation between the host account and the secondary medium station account in the host application.
13. The login registration system of claim 11, wherein the middle station login sub-server is further configured to: and logging in a middle station service in the host application by adopting the middle station account, and feeding back corresponding middle station login authentication information to the client.
14. A middlebox server, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a midrange service based login registration method as recited in any of claims 1-8.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for a midrange service based login registration according to any of claims 1-8.
CN202010143770.7A 2020-03-04 2020-03-04 Login registration method, device, system, server and medium for middle station service Active CN111371787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010143770.7A CN111371787B (en) 2020-03-04 2020-03-04 Login registration method, device, system, server and medium for middle station service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010143770.7A CN111371787B (en) 2020-03-04 2020-03-04 Login registration method, device, system, server and medium for middle station service

Publications (2)

Publication Number Publication Date
CN111371787A CN111371787A (en) 2020-07-03
CN111371787B true CN111371787B (en) 2022-10-28

Family

ID=71210250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010143770.7A Active CN111371787B (en) 2020-03-04 2020-03-04 Login registration method, device, system, server and medium for middle station service

Country Status (1)

Country Link
CN (1) CN111371787B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699366B (en) * 2021-01-08 2022-07-15 杭州米络星科技(集团)有限公司 Cross-platform login-free secure communication method and device and electronic equipment
CN113111339B (en) * 2021-05-13 2023-12-19 数字广东网络建设有限公司 Access control method, device, equipment and medium for application service
CN115017478A (en) * 2022-04-21 2022-09-06 江苏康众汽配有限公司 Method and system for safely controlling login of company background application

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561915A (en) * 2009-06-05 2009-10-21 阿里巴巴集团控股有限公司 Plug-in unit acquiring method, system and device thereof
CN102109986B (en) * 2009-12-23 2014-10-01 阿里巴巴集团控股有限公司 Method, system and device for providing connection serial numbers and connecting plugins
WO2012109751A1 (en) * 2011-02-15 2012-08-23 Research In Motion Limited System and method for identity management for mobile devices
US11068567B2 (en) * 2017-06-04 2021-07-20 Harsha Ramalingam Self-owned authentication and identity framework
CN109598115B (en) * 2018-07-27 2020-01-21 北京字节跳动网络技术有限公司 Method, device, equipment, system, platform and medium for realizing authorized login
CN109491725B (en) * 2018-11-12 2022-12-27 火烈鸟网络(广州)股份有限公司 Interactive multi-opening method and system of application program, storage medium and electronic equipment
CN109710332A (en) * 2018-12-28 2019-05-03 上海掌门科技有限公司 Processing method, equipment and the computer readable storage medium of boarding application
CN110362986A (en) * 2019-07-17 2019-10-22 福州福昕网络技术有限责任公司 A kind of wechat small routine automatic logging method and storage equipment

Also Published As

Publication number Publication date
CN111371787A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
US11539687B2 (en) Message right management method, device and storage medium
CN107948204B (en) One-key login method and system, related equipment and computer readable storage medium
CN111371787B (en) Login registration method, device, system, server and medium for middle station service
CN106375270B (en) Token generation and authentication method and authentication server
CN110781482B (en) Login method, login device, computer equipment and storage medium
CN110798466B (en) Verification method and system for software license in virtual machine scene
CN110909379B (en) Storage cluster permission determination method, device, equipment and storage medium
EP3319267A1 (en) Wireless system access control method and device
CN110958119A (en) Identity verification method and device
CN112887284B (en) Access authentication method and device, electronic equipment and readable medium
CN104660409A (en) System login method in cluster environment and authentication server cluster
CN111490981A (en) Access management method and device, bastion machine and readable storage medium
CN114745431B (en) Non-invasive authority authentication method, system, medium and equipment based on side car technology
CN113225351B (en) Request processing method and device, storage medium and electronic equipment
CN112491776A (en) Security authentication method and related equipment
CN109274699A (en) Method for authenticating, device, server and storage medium
CN111327680B (en) Authentication data synchronization method, device, system, computer equipment and storage medium
CN116015824A (en) Unified authentication method, equipment and medium for platform
CN115622786A (en) Account login method and device, electronic equipment and storage medium
CN114554251B (en) Multimedia data requesting method and device, storage medium and electronic device
CN113691520B (en) Method and device for acquiring streaming media information, storage medium and electronic device
CN105812138A (en) Logging-in processing method, processing device, user terminal, and logging-in system
CN112039882B (en) Message transmission processing method, system, device and storage medium
CN114338788B (en) Message pushing method, electronic equipment and storage medium
CN114302349B (en) Method and system for extracting number by client

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231010

Address after: 31a, 15 / F, building 30, maple mall, bangrang Road, Brazil, Singapore

Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd.

Address before: 5-13 / F, West Tower, building C, 274 Xingtai Road, Shiqiao street, Panyu District, Guangzhou, Guangdong 510000

Patentee before: GUANGZHOU BAIGUOYUAN INFORMATION TECHNOLOGY Co.,Ltd.