[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116383799A - Business processing method and device based on applet and electronic equipment - Google Patents

Business processing method and device based on applet and electronic equipment Download PDF

Info

Publication number
CN116383799A
CN116383799A CN202310065772.2A CN202310065772A CN116383799A CN 116383799 A CN116383799 A CN 116383799A CN 202310065772 A CN202310065772 A CN 202310065772A CN 116383799 A CN116383799 A CN 116383799A
Authority
CN
China
Prior art keywords
service
applet
terminal equipment
code
identification code
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.)
Pending
Application number
CN202310065772.2A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310065772.2A priority Critical patent/CN116383799A/en
Publication of CN116383799A publication Critical patent/CN116383799A/en
Pending legal-status Critical Current

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
    • G06F21/445Program or device authentication by mutual authentication, e.g. between devices or programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Electromagnetism (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a business processing method and device based on small programs and electronic equipment, and belongs to the technical field of financial information service. Wherein the method for processing the small-program-based business is executed by a server of the first application program and comprises the following steps: generating a service two-dimensional code of a target service in a first application program and sending the code to second terminal equipment; receiving service request information sent by first terminal equipment, wherein the service request information is obtained by scanning a code of the service two-dimensional code by a small program of a first application program called by a second application program in the first terminal equipment, and the service request information comprises a first identification code of the small program and a service identification of the target service; and if the first identification code is the existing identification code in the server, calling a service processing interface of the target service based on the service identification and feeding back the service processing interface to the second terminal equipment. Therefore, the user identity can be safely and rapidly authenticated by scanning the service two-dimension code through the applet, and further after the user identity authentication is completed, different functions can be authenticated through different service two-dimension codes, so that the user experience is improved.

Description

Business processing method and device based on applet and electronic equipment
Technical Field
The disclosure relates to the technical field of financial information services, and in particular relates to a business processing method and device based on small programs and electronic equipment.
Background
In the related technology, when a user logs in an online bank to perform business processing, the user can conveniently finish code scanning login on a computer through a small amount of operation, namely, a login two-dimensional code is displayed on the computer, the computer receives the display information of an authorized login interface through mobile phone code scanning, and the computer displays a login page according to the display information of the authorized login interface, so that login is successful; the user can also scan the two-dimensional code displayed in the application of the personal computer (Personal Computer, PC for short) through the mobile terminal application of the application program on the mobile terminal, so as to acquire login information included in the two-dimensional code, and the login information is transmitted to the server through the TOKEN, the signature and the login information, so that the login is successful. However, in the above technology, the corresponding application needs to be installed, so that the memory is increased, and the use experience of the user is reduced, so how to log in the online banking safely and conveniently to perform service processing, and improve the experience of the user becomes a problem to be solved.
Disclosure of Invention
The disclosure provides a business processing method, a business processing device, electronic equipment, a computer readable storage medium and a computer program product based on small programs, which at least solve the problems of complicated business processing when logging in an online bank and poor user experience in the related technology.
The technical scheme of the present disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an applet-based service processing method, executed by a server of a first application, including: generating a service two-dimensional code of a target service in a first application program and sending the code to second terminal equipment; receiving service request information sent by first terminal equipment, wherein the service request information is obtained by scanning a code of the service two-dimensional code by a small program of a first application program called by a second application program in the first terminal equipment, and the service request information comprises a first identification code of the small program and a service identification of the target service; and if the first identification code is the existing identification code in the server, calling a service processing interface of the target service based on the service identification and feeding back the service processing interface to the second terminal equipment.
In one embodiment of the present disclosure, the service processing interface for calling the target service based on the service identifier is fed back to the second terminal device, and further includes: based on the first identification code, performing password-free authorization on the second terminal equipment to access the target service; and calling the service processing interface based on the service identifier and feeding back to the second terminal equipment.
In one embodiment of the present disclosure, the method further comprises: if the first identification code is the identification code which does not exist in the server, sending a login authentication request of the first application program to the first terminal equipment; receiving login authentication information sent by the first terminal equipment based on the login authentication request; and establishing a binding relation between the first identification code and the login authentication information.
In one embodiment of the present disclosure, the service processing interface for invoking the target service based on the service identifier is fed back to the second terminal device, including: determining address information of the second terminal equipment based on the service request information; and feeding back the service processing interface to the second terminal equipment according to the address information.
According to a second aspect of the embodiments of the present disclosure, there is provided an applet-based service processing method, performed by a first terminal device, including: invoking an applet of a first application in the second application; scanning a service two-dimensional code of a target service in the first application program displayed on a second terminal device through the applet to obtain service request information, wherein the service request information comprises a first identification code of the applet and a service identification of the target service; and sending the service request information to a server of the first application program.
In one embodiment of the present disclosure, the scanning, by the applet, the service two-dimensional code of the target service of the first application program displayed on the second terminal device, to obtain service request information includes: scanning the service two-dimensional code through the applet, and extracting the service identifier carried in the service two-dimensional code; and generating the service request information based on the first identification code of the applet and the service identification.
In one embodiment of the disclosure, after the sending the service request information to the server of the first application program, the method further includes: if the first identification code is not stored in the server, receiving a login authentication request sent by the server; and acquiring login authentication information based on the login authentication request and sending the login authentication information to the server so as to establish a binding relationship between the first identification code and the login authentication information.
According to a third aspect of the embodiments of the present disclosure, there is provided an applet-based service processing apparatus, executed by a server of a first application, comprising: the generating module is configured to generate a service two-dimensional code of a target service in the first application program and send the code to the second terminal equipment; the receiving module is configured to receive service request information sent by first terminal equipment, wherein the service request information is obtained by scanning a code of the service two-dimensional code by a small program of a first application program called by a second application program in the first terminal equipment, and the service request information comprises a first identification code of the small program and a service identification of the target service; and the feedback module is configured to call a service processing interface of the target service based on the service identifier and feed back the service processing interface to the second terminal device if the first identifier is an existing identifier in the server.
The feedback module in one embodiment of the present disclosure is further configured to: based on the first identification code, performing password-free authorization on the second terminal equipment to access the target service; and calling the service processing interface based on the service identifier and feeding back to the second terminal equipment.
In one embodiment of the present disclosure, the apparatus is further configured to: if the first identification code is the identification code which does not exist in the server, sending a login authentication request of the first application program to the first terminal equipment; receiving login authentication information sent by the first terminal equipment based on the login authentication request; and establishing a binding relation between the first identification code and the login authentication information.
In one embodiment of the present disclosure, the feedback module is further configured to: determining address information of the second terminal equipment based on the service request information; and feeding back the service processing interface to the second terminal equipment according to the address information.
According to a fourth aspect of embodiments of the present disclosure, there is provided an applet-based service processing apparatus, executed by a first terminal device, comprising: the calling module is configured to call an applet of a first application program in the second application program; the acquisition module is configured to scan a service two-dimensional code of a target service in the first application program displayed on the second terminal device through the applet, and acquire service request information, wherein the service request information comprises a first identification code of the applet and a service identification of the target service; and the sending module is configured to send the service request information to the server of the first application program.
In one embodiment of the present disclosure, the acquisition module is further configured to: scanning the service two-dimensional code through the applet, and extracting the service identifier carried in the service two-dimensional code; and generating the service request information based on the first identification code of the applet and the service identification.
In one embodiment of the present disclosure, the apparatus is further configured to: if the first identification code is not stored in the server, receiving a login authentication request sent by the server; and acquiring login authentication information based on the login authentication request and sending the login authentication information to the server so as to establish a binding relationship between the first identification code and the login authentication information.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the applet-based business processing method of the first or second aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the applet-based business processing method of the first or second aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the applet-based business processing method of the first or second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the method comprises the steps of generating a service two-dimension code of a target service in a first application program, sending the code to a second terminal device, receiving service request information sent by the first terminal device, wherein the service request information is obtained by calling an applet of the first application program by the second application program in the first terminal device to sweep the code of the service two-dimension code, and the service request information comprises a first identification code of the applet and a service identification of the target service; if the first identification code is the existing identification code in the server, a service processing interface for calling the target service based on the service identification is fed back to the second terminal equipment. Therefore, the service two-dimension code can be scanned by the applet, the user identity can be safely and rapidly authenticated without installing an application by the user, the required use space for authenticating the user identity is reduced, the applet can be used for identifying the user identity after the user identity is authenticated, the user does not need to log in again, different functions can be authenticated by directly passing through different service two-dimension codes, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is a flow diagram of an applet-based business processing method according to a first embodiment of the disclosure.
Fig. 2 is a flow diagram of an applet-based business processing method according to a second embodiment of the disclosure.
Fig. 3 is a flow diagram of an applet-based business processing method according to a third embodiment of the disclosure.
Fig. 4 is a schematic diagram of applet-based business processing according to the present disclosure.
Fig. 5 is a block diagram of an applet-based business processing apparatus according to a first embodiment of the present disclosure.
Fig. 6 is a block diagram of an applet-based business processing apparatus according to a third embodiment of the present disclosure.
Fig. 7 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, in the technical scheme of the application, the acquisition, storage, use, processing and the like of the data all conform to the relevant regulations of national laws and regulations.
Fig. 1 is a flow diagram of an applet-based business processing method according to a first embodiment of the disclosure.
As shown in fig. 1, the applet-based service processing method according to the first embodiment of the present disclosure is executed by a server of a first application program, and includes the steps of:
in step S101, a service two-dimensional code of a target service in the first application program is generated, and sent to the second terminal device.
Alternatively, the first application program refers to an internet banking, and the second terminal device may be a computer.
Among them, internet bank refers to a financial service provided by a bank through an information network.
Optionally, the online banking is mainly used through a PC end, and after the service two-dimension code of the target service is obtained, the service two-dimension code can be displayed through the second terminal equipment.
It should be noted that, the setting of the target service is not limited in the present disclosure, and may be limited according to actual situations.
Alternatively, the target service may be a transfer service, an account information inquiry service, or the like.
After determining the target service, the server of the online banking may generate a service two-dimension code of the target service and send the service two-dimension code to the second terminal device.
In step S102, service request information sent by a first terminal device is received, where the service request information is obtained by calling an applet of the first application program by a second application program in the first terminal device to scan a service two-dimensional code, and the service request information includes a first identification code of the applet and a service identification of a target service.
The applet (Wechat Mini Program, WMP) is a program that depends on an application (App) and can be used without downloading and installing.
Wherein the second application program refers to a WeChat application.
It should be noted that, the specific manner of acquiring the first identification code of the applet is not limited in this disclosure, and may be selected according to practical situations.
Optionally, the first identification code unionid of the applet, that is, the unified identification unionid of the open platform account number of the WeChat to which the WeChat application belongs, may be obtained according to the application identification app id of the WeChat application.
It should be noted that, when the server of the first application program performs information interaction with the first terminal device, encryption processing is performed on the service request information, after the service request information is encrypted, the encrypted service request information is sent to the server, and then the server decrypts the encrypted service request information.
In step S103, if the first identifier is an existing identifier in the server, the service processing interface for calling the target service based on the service identifier is fed back to the second terminal device.
It should be noted that, if the first identifier is an existing identifier in the server, the user may avoid login, that is, the service processing interface for calling the target service based on the service identifier may be fed back to the second terminal device, and the user may perform related operations on the service processing interface.
If the first identification code does not exist in the server, the user is required to enter related information for authentication, then the first identification code and the related information entered by the user are input to the internet banking server in an encryption mode, after the internet banking server acquires the corresponding message, the user information can be identified and bound to the corresponding first identification code, and the corresponding first identification code exists in the database table, and in the case, the first identification code is the existing identification code in the server.
According to the service processing method based on the small program, which is provided by the embodiment of the disclosure, the service two-dimension code of the target service in the first application program is generated, the service two-dimension code is sent to the second terminal equipment, the service request information sent by the first terminal equipment is received, the service request information is obtained by the small program of the first application program called by the second application program in the first terminal equipment to sweep the code of the service two-dimension code, and the service request information comprises the first identification code of the small program and the service identification of the target service; if the first identification code is the existing identification code in the server, a service processing interface for calling the target service based on the service identification is fed back to the second terminal equipment. Therefore, the service two-dimension code can be scanned by the applet, the user identity can be safely and rapidly authenticated without installing an application by the user, the required use space for authenticating the user identity is reduced, the applet can be used for identifying the user identity after the user identity is authenticated, the user does not need to log in again, different functions can be authenticated by directly passing through different service two-dimension codes, and the user experience is improved.
Fig. 2 is a flow diagram of an applet-based business processing method according to a second embodiment of the disclosure.
As shown in fig. 2, the applet-based service processing method according to the second embodiment of the present disclosure includes the steps of:
in step S201, a service two-dimensional code of a target service in the first application program is generated, and sent to the second terminal device.
The relevant content of step S201 may be referred to the above embodiments, and will not be described herein.
In step S202, service request information sent by a first terminal device is received, where the service request information is obtained by calling an applet of the first application program by a second application program in the first terminal device to scan a service two-dimensional code, and the service request information includes a first identification code of the applet and a service identification of a target service.
Optionally, if the first identifier is an identifier that does not exist in the server, a login authentication request of the first application program is sent to the first terminal device, login authentication information sent by the first terminal device based on the login authentication request is received, and a binding relationship between the first identifier and the login authentication information is established.
It should be noted that, the specific manner of the login authentication information is not limited in this disclosure, and may be selected according to actual situations.
Optionally, the login authentication information may be face recognition information; alternatively, the login authentication information may be user password information.
For example, the first identification code and the login authentication information may be input to the online banking server in an encrypted manner, and after the online banking server obtains the corresponding message, a binding relationship between the first identification code and the login authentication information may be established and stored in the database table.
In step S203, if the first identifier is an existing identifier in the server, the second terminal device is authorized to access the target service based on the first identifier.
When the user scans the service two-dimension code, firstly decrypting the service request information, and when the corresponding first identification code is in the database table, namely the first identification code is the existing identification code in the server, indicating that the first identification code and the login authentication information are already bound, the user can directly log in without password, and the second terminal equipment can access the target service without password authorization.
In step S204, address information of the second terminal device is determined based on the service request information.
It should be noted that, the service request information carries address information of the second terminal device, and after determining the service request information, the address information of the second terminal device may be determined based on the service request information.
In step S205, the service processing interface is fed back to the second terminal device according to the address information.
In the embodiment of the present disclosure, after the address information is obtained, the service processing interface may be fed back to the second terminal device according to the address information.
According to the service processing method based on the small program, which is provided by the embodiment of the disclosure, the service two-dimension code of the target service in the first application program is generated, the service two-dimension code is sent to the second terminal equipment, the service request information sent by the first terminal equipment is received, the service request information is obtained by the small program of the first application program called by the second application program in the first terminal equipment to sweep the code of the service two-dimension code, and the service request information comprises the first identification code of the small program and the service identification of the target service; if the first identification code is the existing identification code in the server, performing password-free authorization on the second terminal equipment to access the target service based on the first identification code, determining the address information of the second terminal equipment based on the service request information, and feeding back a service processing interface to the second terminal equipment according to the address information. Therefore, the user identity can be safely and rapidly authenticated by scanning the service two-dimension code through the small program, further, after the user identity authentication is completed, different functions can be authenticated through different service two-dimension codes, when the first identification code is the existing identification code in the server, the second terminal equipment can be subjected to password-free authorization for accessing the target service, and the user experience is improved.
Fig. 3 is a flow diagram of an applet-based business processing method according to a third embodiment of the disclosure.
As shown in fig. 3, the applet-based service processing method according to the third embodiment of the present disclosure is executed by a first terminal device, and includes the following steps:
in step S301, an applet of a first application program of the second application program is called.
Alternatively, after receiving the call instruction, an applet of the first application program in the second application program may be called.
In step S302, the service two-dimensional code of the target service in the first application program displayed on the second terminal device is scanned by the applet, so as to obtain service request information, where the service request information includes the first identification code of the applet and the service identification of the target service.
Optionally, the service two-dimensional code can be scanned through the applet, the service identifier carried in the service two-dimensional code is extracted, and service request information is generated based on the first identifier of the applet and the service identifier.
In step S303, service request information is transmitted to the server of the first application program.
In this embodiment, after the service request information is obtained, the first terminal device may send the service request information to the server of the first application program.
Further, if the first identification code is not stored in the server, a login authentication request sent by the server may be received, login authentication information is obtained based on the login authentication request and sent to the server, so as to establish a binding relationship between the first identification code and the logged-in authentication information.
According to the method for processing the business based on the small program, which is provided by the embodiment of the disclosure, the small program of the first application program in the second application program is called, the business two-dimensional code of the target business in the first application program displayed on the second terminal device is scanned through the small program, and the business request information is obtained, wherein the business request information comprises the first identification code of the small program and the business identification of the target business, and the business request information is sent to the server of the first application program. Therefore, the user identity can be safely and rapidly authenticated by scanning the service two-dimension code through the small program, further, after the user identity authentication is completed, different functions can be authenticated through different service two-dimension codes, when the first identification code is the existing identification code in the server, the second terminal equipment can be subjected to password-free authorization for accessing the target service, and the user experience is improved.
The applet-based business processing method provided in the present disclosure is explained below.
Optionally, for the online banking behavior of the applet login, as shown in fig. 4, a server (online banking) of the first application program generates a login two-dimensional code, a two-dimensional code is displayed on a login page, a WeChat applet end scans the two-dimensional code, if a user clicks back, the two-dimensional code is scanned again, if the user clicks to confirm login, related information is uploaded to an online banking server, the online banking server judges whether a client authenticates for the first time, namely, firstly decrypts scanned two-dimensional code data uploaded by the applet, inquires whether a corresponding database has a corresponding identification code (UNONID), when the corresponding database is inquired that the corresponding database has the corresponding identification code, the online banking interface displays the two-dimensional code scanned, namely, the online banking interface successfully logs in, the two-dimensional code displayed on the online banking interface fails, when the corresponding database is inquired that the corresponding identification code does not exist, the user is the first authentication, the user can carry out binding information in a mode through or input a password, then the online banking interface is decrypted to acquire the identification code and the corresponding identity information when the password is verified, and the online banking interface successfully scans the online banking interface is displayed.
In summary, the present disclosure may scan the service two-dimension code through the applet, and safely and quickly authenticate the user identity, and further, after the authentication of the user identity is completed, different functions may be authenticated through different service two-dimension codes, and when the first identifier code is an existing identifier code in the server, the second terminal device may access the target service to perform password-free authorization, thereby improving the user experience.
Fig. 5 is a block diagram of an applet-based business processing apparatus according to a first embodiment of the present disclosure.
As shown in fig. 5, an applet-based service processing apparatus 500 of an embodiment of the present disclosure includes: a generating module 501, a receiving module 502 and a feedback module 503.
The generating module 501 is configured to generate a service two-dimensional code of a target service in the first application program and send the code to the second terminal device;
the receiving module 502 is configured to receive service request information sent by a first terminal device, where the service request information is obtained by a second application program in the first terminal device calling an applet of a first application program to scan the service two-dimensional code, and the service request information includes a first identification code of the applet and a service identification of the target service;
and a feedback module 503, configured to, if the first identifier is an existing identifier in the server, invoke a service processing interface of the target service based on the service identifier and feed back the service processing interface to the second terminal device.
In one embodiment of the present disclosure, the feedback module 503 is further configured to: based on the first identification code, performing password-free authorization on the second terminal equipment to access the target service; and calling the service processing interface based on the service identifier and feeding back to the second terminal equipment.
In one embodiment of the present disclosure, the apparatus 500 is further configured to: if the first identification code is the identification code which does not exist in the server, sending a login authentication request of the first application program to the first terminal equipment; receiving login authentication information sent by the first terminal equipment based on the login authentication request; and establishing a binding relation between the first identification code and the login authentication information.
In one embodiment of the present disclosure, the feedback module 503 is further configured to: determining address information of the second terminal equipment based on the service request information; and feeding back the service processing interface to the second terminal equipment according to the address information.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In summary, the applet-based service processing apparatus provided in the embodiments of the present disclosure generates a service two-dimensional code of a target service in a first application, and sends the service two-dimensional code to a second terminal device, and receives service request information sent by the first terminal device, where the service request information is obtained by calling, by the second application in the first terminal device, an applet of the first application to scan the service two-dimensional code, and the service request information includes a first identification code of the applet and a service identification of the target service; if the first identification code is the existing identification code in the server, a service processing interface for calling the target service based on the service identification is fed back to the second terminal equipment. Therefore, the service two-dimension code can be scanned by the applet, the user identity can be safely and rapidly authenticated without installing an application by the user, the required use space for authenticating the user identity is reduced, the applet can be used for identifying the user identity after the user identity is authenticated, the user does not need to log in again, different functions can be authenticated by directly passing through different service two-dimension codes, and the user experience is improved.
Fig. 6 is a block diagram of an applet-based business processing apparatus according to a third embodiment of the present disclosure.
As shown in fig. 6, an applet-based service processing apparatus 600 of an embodiment of the present disclosure includes: a calling module 601, an obtaining module 602 and a sending module 603.
A calling module 601 configured to call an applet of a first application of the second application;
the acquiring module 602 is configured to scan, by using the applet, a service two-dimensional code of a target service in the first application program displayed on the second terminal device, and acquire service request information, where the service request information includes a first identification code of the applet and a service identifier of the target service;
and a sending module 603 configured to send the service request information to a server of the first application program.
In one embodiment of the present disclosure, the acquisition module 602 is further configured to: scanning the service two-dimensional code through the applet, and extracting the service identifier carried in the service two-dimensional code; and generating the service request information based on the first identification code of the applet and the service identification.
In one embodiment of the present disclosure, the apparatus 600 is further configured to: if the first identification code is not stored in the server, receiving a login authentication request sent by the server; and acquiring login authentication information based on the login authentication request and sending the login authentication information to the server so as to establish a binding relationship between the first identification code and the login authentication information.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In summary, the applet-based service processing apparatus provided in the embodiments of the present disclosure invokes an applet of a first application program in a second application program, scans a service two-dimensional code of a target service in the first application program displayed on a second terminal device by the applet, and obtains service request information, where the service request information includes a first identifier of the applet and a service identifier of the target service, and sends the service request information to a server of the first application program. Therefore, the user identity can be safely and rapidly authenticated by scanning the service two-dimension code through the small program, further, after the user identity authentication is completed, different functions can be authenticated through different service two-dimension codes, when the first identification code is the existing identification code in the server, the second terminal equipment can be subjected to password-free authorization for accessing the target service, and the user experience is improved.
Fig. 7 is a block diagram of an electronic device, according to an example embodiment.
As shown in fig. 7, the electronic device 700 includes:
a memory 710 and a processor 720, a bus 730 connecting the different components (including the memory 710 and the processor 720), the memory 710 storing a computer program which when executed by the processor 720 implements the applet-based business processing method of the first or second aspect of the disclosure.
Bus 730 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 700 typically includes a variety of electronic device readable media. Such media can be any available media that is accessible by electronic device 700 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 710 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 740 and/or cache memory 750. Electronic device 700 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 760 may be used to read from or write to non-removable, non-volatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard disk drive"). Although not shown in fig. 7, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 730 through one or more data medium interfaces. Memory 710 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the various embodiments of the disclosure.
A program/utility 780 having a set (at least one) of program modules 770 may be stored in, for example, memory 710, such program modules 770 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 770 typically carry out the functions and/or methods of the embodiments described in this disclosure.
The electronic device 700 may also communicate with one or more external devices 790 (e.g., keyboard, pointing device, display 791, etc.), one or more devices that enable a user to interact with the electronic device 700, and/or any device (e.g., network card, modem, etc.) that enables the electronic device 700 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 792. Also, the electronic device 700 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 793. As shown in fig. 7, the network adapter 793 communicates with other modules of the electronic device 700 over the bus 730. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 700, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processor 720 executes various functional applications and data processing by running programs stored in the memory 710.
It should be noted that, the implementation process and the technical principle of the electronic device in this embodiment refer to the foregoing explanation of the applet-based service processing method in the embodiment of the disclosure, and are not repeated herein.
To achieve the above embodiments, the present disclosure also proposes a computer-readable storage medium.
Wherein the instructions in the computer-readable storage medium, when executed by the processor of the electronic device, enable the electronic device to perform the applet-based business processing method as described above. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
To achieve the above embodiments, the present disclosure further provides a computer program product, comprising a computer program, characterized in that the computer program, when executed by a processor, implements the applet-based service processing method according to the first or second aspect.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. An applet-based business processing method, performed by a server of a first application, the method comprising:
generating a service two-dimensional code of a target service in a first application program and sending the code to second terminal equipment;
receiving service request information sent by first terminal equipment, wherein the service request information is obtained by scanning a code of the service two-dimensional code by a small program of a first application program called by a second application program in the first terminal equipment, and the service request information comprises a first identification code of the small program and a service identification of the target service;
and if the first identification code is the existing identification code in the server, calling a service processing interface of the target service based on the service identification and feeding back the service processing interface to the second terminal equipment.
2. The method of claim 1, wherein the invoking the service processing interface for the target service based on the service identification is fed back to the second terminal device, further comprising:
based on the first identification code, performing password-free authorization on the second terminal equipment to access the target service;
and calling the service processing interface based on the service identifier and feeding back to the second terminal equipment.
3. The method according to claim 1, wherein the method further comprises:
if the first identification code is the identification code which does not exist in the server, sending a login authentication request of the first application program to the first terminal equipment;
receiving login authentication information sent by the first terminal equipment based on the login authentication request;
and establishing a binding relation between the first identification code and the login authentication information.
4. The method according to claim 1 or 2, wherein the invoking the service handling interface of the target service based on the service identity is fed back to the second terminal device, comprising:
determining address information of the second terminal equipment based on the service request information;
and feeding back the service processing interface to the second terminal equipment according to the address information.
5. A method of applet-based service processing performed by a first terminal device, the method comprising:
invoking an applet of a first application in the second application;
scanning a service two-dimensional code of a target service in the first application program displayed on a second terminal device through the applet to obtain service request information, wherein the service request information comprises a first identification code of the applet and a service identification of the target service;
and sending the service request information to a server of the first application program.
6. The method according to claim 5, wherein the scanning, by the applet, the service two-dimensional code of the target service of the first application program displayed on the second terminal device, to obtain service request information includes:
scanning the service two-dimensional code through the applet, and extracting the service identifier carried in the service two-dimensional code;
and generating the service request information based on the first identification code of the applet and the service identification.
7. The method of claim 5, wherein after the sending the service request information to the server of the first application further comprises:
if the first identification code is not stored in the server, receiving a login authentication request sent by the server;
and acquiring login authentication information based on the login authentication request and sending the login authentication information to the server so as to establish a binding relationship between the first identification code and the login authentication information.
8. An applet-based business processing apparatus, for execution by a server of a first application, the apparatus comprising:
the generating module is configured to generate a service two-dimensional code of a target service in the first application program and send the code to the second terminal equipment;
the receiving module is configured to receive service request information sent by first terminal equipment, wherein the service request information is obtained by scanning a code of the service two-dimensional code by a small program of a first application program called by a second application program in the first terminal equipment, and the service request information comprises a first identification code of the small program and a service identification of the target service;
and the feedback module is configured to call a service processing interface of the target service based on the service identifier and feed back the service processing interface to the second terminal device if the first identifier is an existing identifier in the server.
9. The apparatus of claim 8, wherein the feedback module is further configured to:
based on the first identification code, performing password-free authorization on the second terminal equipment to access the target service;
and calling the service processing interface based on the service identifier and feeding back to the second terminal equipment.
10. The apparatus of claim 8, wherein the apparatus is further configured to:
if the first identification code is the identification code which does not exist in the server, sending a login authentication request of the first application program to the first terminal equipment;
receiving login authentication information sent by the first terminal equipment based on the login authentication request;
and establishing a binding relation between the first identification code and the login authentication information.
11. The apparatus of claim 8 or 9, wherein the feedback module is further configured to:
determining address information of the second terminal equipment based on the service request information;
and feeding back the service processing interface to the second terminal equipment according to the address information.
12. An applet-based service processing apparatus for execution by a first terminal device, the apparatus comprising:
the calling module is configured to call an applet of a first application program in the second application program;
the acquisition module is configured to scan a service two-dimensional code of a target service in the first application program displayed on the second terminal device through the applet, and acquire service request information, wherein the service request information comprises a first identification code of the applet and a service identification of the target service;
and the sending module is configured to send the service request information to the server of the first application program.
13. The apparatus of claim 12, wherein the acquisition module is further configured to:
scanning the service two-dimensional code through the applet, and extracting the service identifier carried in the service two-dimensional code;
and generating the service request information based on the first identification code of the applet and the service identification.
14. The apparatus of claim 12, wherein the apparatus is further configured to:
if the first identification code is not stored in the server, receiving a login authentication request sent by the server;
and acquiring login authentication information based on the login authentication request and sending the login authentication information to the server so as to establish a binding relationship between the first identification code and the login authentication information.
15. An electronic device, comprising:
a processor; a memory for storing the processor-executable instructions,
wherein the processor is configured to execute the instructions to implement the applet-based business processing method of any one of claims 1-4 or 5-7.
16. A computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the applet-based business processing method of any of claims 1-4 or 5-7.
17. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the applet-based service handling method according to any one of claims 1-4 or 5-7.
CN202310065772.2A 2023-01-13 2023-01-13 Business processing method and device based on applet and electronic equipment Pending CN116383799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310065772.2A CN116383799A (en) 2023-01-13 2023-01-13 Business processing method and device based on applet and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310065772.2A CN116383799A (en) 2023-01-13 2023-01-13 Business processing method and device based on applet and electronic equipment

Publications (1)

Publication Number Publication Date
CN116383799A true CN116383799A (en) 2023-07-04

Family

ID=86973868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310065772.2A Pending CN116383799A (en) 2023-01-13 2023-01-13 Business processing method and device based on applet and electronic equipment

Country Status (1)

Country Link
CN (1) CN116383799A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756446A (en) * 2023-08-23 2023-09-15 北京创新乐知网络技术有限公司 Login method, device, medium and equipment based on scanning two-dimension code

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756446A (en) * 2023-08-23 2023-09-15 北京创新乐知网络技术有限公司 Login method, device, medium and equipment based on scanning two-dimension code
CN116756446B (en) * 2023-08-23 2023-11-10 北京创新乐知网络技术有限公司 Login method, device, medium and equipment based on scanning two-dimension code

Similar Documents

Publication Publication Date Title
US9560033B2 (en) Method and system for authenticating user identity
CN104144419A (en) Identity authentication method, device and system
CN112738021B (en) Single sign-on method, terminal, application server, authentication server and medium
CN111654468A (en) Secret-free login method, device, equipment and storage medium
CN110661814A (en) Bidding file encryption and decryption method, device, equipment and medium
CN105162775A (en) Logging method and device of virtual machine
CN112261011A (en) Cloud desktop authentication method based on two-dimensional code recognition
CN115022047A (en) Account login method and device based on multi-cloud gateway, computer equipment and medium
CN116383799A (en) Business processing method and device based on applet and electronic equipment
CN1226688C (en) Automatic random disposable code rasing network business safety vertification method
CN111901289B (en) Identity authentication method, device, equipment and storage medium
CN116916310B (en) Verification code generation and verification method and device and electronic equipment
CN117375986A (en) Application access method, device and server
CN114448722B (en) Cross-browser login method and device, computer equipment and storage medium
CN114584324B (en) Identity authorization method and system based on block chain
CN114090996A (en) Multi-party system mutual trust authentication method and device
CN112954054A (en) Access method, server and system
CN115883091A (en) Client authentication method, device, equipment and storage medium
CN112260997A (en) Data access method and device, computer equipment and storage medium
CN112966277A (en) Webpage protection method and device, computer equipment and storage medium
CN116911988B (en) Transaction data processing method, system, computer equipment and storage medium
CN115001803B (en) Mobile phone bank login method and device
CN115174181B (en) Method, device, equipment and storage medium for realizing single sign-on
CN113645239B (en) Application login method and device, user terminal and storage medium
CN116916257B (en) 5G message display method and device, 5G message system and electronic equipment

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