CN111581612B - Login state data processing method, device, equipment and system of applet application - Google Patents

Login state data processing method, device, equipment and system of applet application Download PDF

Info

Publication number
CN111581612B
CN111581612B CN202010340466.1A CN202010340466A CN111581612B CN 111581612 B CN111581612 B CN 111581612B CN 202010340466 A CN202010340466 A CN 202010340466A CN 111581612 B CN111581612 B CN 111581612B
Authority
CN
China
Prior art keywords
applet
login
login state
duration
application
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
CN202010340466.1A
Other languages
Chinese (zh)
Other versions
CN111581612A (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010340466.1A priority Critical patent/CN111581612B/en
Publication of CN111581612A publication Critical patent/CN111581612A/en
Application granted granted Critical
Publication of CN111581612B publication Critical patent/CN111581612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2137Time limited access, e.g. to a computer or data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present specification provides a method, an apparatus, a device, and a system for processing login state data of an applet application, wherein a hardware device manufacturer can send a call request to an applet management platform, and the applet management platform can configure a login state validity period of the applet application according to a device attribute of the hardware device provided by the manufacturer, and then return the applet application with the configured login state validity period to the manufacturer. After the manufacturer installs the applet in the hardware device, the user can keep the login state of the applet in the hardware device according to the configured login state validity period when using the applet. The method has the advantages that short-term login state validity periods can be configured for public devices to ensure the safety of users logging in accounts in public places, long-term login state validity periods can be configured for private devices to avoid the users from logging in accounts frequently, and medium-term login state validity periods can be configured for designated crowd sharing devices to ensure the safety of the accounts and avoid logging in frequently.

Description

Login state data processing method, device, equipment and system of applet application
Technical Field
The present specification belongs to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a system for processing login state data of an applet.
Background
With the development of computer technology, more and more APPs (applications) with different functions and applets are developed and used, and an applet can be understood as an Application that can be used without downloading and installation. The application program and the applet can be installed in the hardware device for use, the general application program and the applet can be used after logging in, but different hardware devices can be in different environments, and a user logging in an account under some environments can worry about certain risks and cannot enjoy the service provided by the application program or the applet without logging in.
Disclosure of Invention
An object of the embodiments of the present specification is to provide a method, an apparatus, a device, and a system for processing login state data of an applet, which improve security and adaptability of an account of the applet in different application environments.
In a first aspect, an embodiment of the present specification provides a login-state data processing method for an applet, where the method includes:
receiving a calling request of an applet application sent by a user terminal; the calling request comprises the device attribute of the hardware device for installing the applet application, wherein the device attribute comprises that the hardware device is a public device, a private device or a designated crowd sharing device;
configuring a login state validity period for the applet application according to the equipment attribute; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and returning the applet application with the configured login state validity period to the user terminal so that the user terminal can install the applet application with the configured login state validity period into the hardware equipment, wherein the applet application comprises a plurality of applet service modules.
In a second aspect, the present specification provides a method for processing login state data of an applet, the method comprising:
receiving a service request sent by hardware equipment for accessing an applet service module in an applet application installed in the hardware equipment, wherein the applet application comprises a plurality of applet service modules;
judging whether the service request needs account login, and if so, judging whether the applet application in the hardware equipment is logged in;
if the applet application is not logged in, issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment, so that the hardware equipment keeps the login state of a login account according to the login duration;
if the device attribute of the hardware device is public device, the configured login state validity period is first time length, if the device attribute is designated crowd sharing device, the configured login state validity period is second time length, if the device attribute is private device, the configured login state validity period is third time length, the first time length is less than the second time length, and the second time length is less than the third time length.
In a third aspect, the present specification provides a method for processing login state data of an applet, which is applied to a hardware device installed with an applet having a plurality of applet service modules, and includes:
receiving a first service request for accessing an applet service module in the applet application, and sending the first service request to a server, wherein the applet application comprises a plurality of applet service modules;
receiving login duration sent by the server according to the login state validity period configured by the applet in the hardware equipment; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and saving the login state of the login account in the accessed applet service module according to the login duration.
In a fourth aspect, the present specification provides a login state data processing apparatus for an applet, comprising:
the calling request receiving module is used for receiving a calling request of the small program application sent by the user terminal; the calling request comprises the device attribute of the hardware device for installing the applet application, wherein the device attribute comprises that the hardware device is a public device, a private device or a designated crowd sharing device;
the login state configuration module is used for configuring a login state validity period for the applet application according to the equipment attribute; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and the application sending module is used for returning the applet application with the configured login state validity period to the user terminal so that the user terminal can install the applet application with the configured login state validity period into the hardware equipment, and the applet application comprises a plurality of applet service modules.
In a fifth aspect, the present specification provides a login state data processing apparatus for an applet, comprising:
the service request receiving module is used for receiving a service request which is sent by hardware equipment and used for accessing an applet service module in an applet application installed in the hardware equipment, and the applet application comprises a plurality of applet service modules;
the login checking module is used for judging whether the service request needs account login or not, and if the service request needs account login, judging whether the applet application in the hardware equipment is already logged in;
the login duration issuing module is used for issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment if the applet application is not logged in, so that the login state of a login account is kept in the hardware equipment according to the login duration;
if the device attribute of the hardware device is public device, the configured login state validity period is first time length, if the device attribute is designated crowd sharing device, the configured login state validity period is second time length, if the device attribute is private device, the configured login state validity period is third time length, the first time length is less than the second time length, and the second time length is less than the third time length.
In a sixth aspect, an embodiment of the present specification provides a login state data processing apparatus for an applet, which is applied in a hardware device, where an applet with a plurality of applet service modules is installed in the hardware device, and the hardware device includes:
the request receiving module is used for receiving a first service request for accessing an applet service module in the applet application and sending the first service request to a server, and the applet application comprises a plurality of applet service modules;
a login duration receiving module, configured to receive login duration sent by the server according to a login state validity period configured by the applet in the hardware device; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and the login state keeping module is used for keeping the login state of the login account in the accessed applet service module according to the login duration.
In a seventh aspect, an embodiment of the present specification provides a login-state data processing device for an applet, including at least one processor and a memory, where the memory is used for storing processor-executable instructions, and the processor, when executing the instructions, implements the login-state data processing method for the applet described in the first aspect or the third aspect.
In an eighth aspect, an embodiment of the present specification provides a login-state data processing system for an applet, including: an applet management platform, a hardware device; wherein the applet management platform comprises at least one processor and a memory for storing processor-executable instructions, and the processor, when executing the instructions, implements the method of the first aspect;
the hardware device is configured to include at least one processor and a memory configured to store processor-executable instructions, which when executed by the processor implement the method of the third aspect.
In the method, the apparatus, the device, and the system for processing login state data of an applet, a hardware device manufacturer may send a call request to an applet management platform, and may fill in a device attribute of a hardware device that needs to call the applet when sending the call request: is a public device, a private device, or a designated crowd share device. The applet management platform can configure the login state validity period of the applet application according to the device attributes of the hardware device provided by the manufacturer, and then return the applet application with the configured login state validity period to the manufacturer. After the manufacturer installs the applet in the hardware device, the user can keep the login state of the applet in the hardware device according to the configured login state validity period when using the applet. The method has the advantages that short-term login state validity periods can be configured for public devices to ensure the safety of users logging in accounts in public places, long-term login state validity periods can be configured for private devices to avoid the users from logging in accounts frequently, and medium-term login state validity periods can be configured for designated crowd sharing devices to ensure the safety of the accounts and avoid logging in frequently. The small program application comprising the small program service modules is provided for the hardware equipment at one time, the application programs do not need to be installed one by one, the small programs are directly integrated in the application program, the login state validity periods with different time lengths are configured for the installed small program application aiming at the application environment of the hardware equipment, the safety of a user account when the hardware equipment with low safety is used is guaranteed, the problem that the hardware equipment with higher safety needs frequent login of a user is solved, the use environment of the small program application with complete and more service contents is provided for the user, the small programs in the hardware equipment can be uniformly managed, the small program service can be changed at any time, and the upgrading of the equipment is not relied.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a schematic diagram of a data interaction flow for applet management in one example of this specification;
fig. 2 is a schematic flowchart of an embodiment of a login-state data processing method for an applet application provided in an embodiment of the present specification;
FIG. 3 is a schematic illustration of an interface display of a public device after an applet application has logged in some embodiments of the present description;
FIG. 4 is an interface display diagram of an applet application specifying a crowd sharing device in some embodiments of the present description;
FIG. 5 is a schematic illustration of lifecycle management of an applet application in a hardware device for a user account in some embodiments of the present description;
FIG. 6 is a flow chart illustrating a method for processing login state data of an applet in accordance with further embodiments of the present disclosure;
FIG. 7 is a flow diagram illustrating the use of an applet service for an applet in a hardware device in some embodiments of the present description;
FIG. 8 is a flowchart illustrating a method for processing login state data of an applet in accordance with further embodiments of the present disclosure;
FIG. 9 is a block diagram of an embodiment of a log-in state data processing apparatus for an applet provided in the present specification;
FIG. 10 is a block diagram of a data processing apparatus in a login state according to another embodiment of an applet provided in the present specification;
FIG. 11 is a block diagram of a data processing apparatus in a login state according to another embodiment of an applet provided in the present specification;
fig. 12 is a block diagram showing a hardware configuration of a login-state data processing server of an applet in one embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
With the development of computers, the variety of mobile application programs, i.e., mobile applications, is increasing, different mobile applications can generally provide different services, and if a user needs multiple services, different mobile applications need to be downloaded and installed. Moreover, the validity period of the login state of the applet in the general hardware device is configured according to the attribute of the applet, and is usually in a normal login state or a single login state, generally depending on the security requirement degree of the applet. However, the hardware devices are in different working environments, the risks may be different, and the login state of the hardware devices is configured based on the security requirements of the mobile application itself, so that there may be a risk of one or unnecessary login operation for the user.
In some embodiments of the present specification, a login-state data processing method for an applet may be provided, where a mobile application including multiple applets may be provided for a hardware device, and all applets on the mobile application may be used only by installing one mobile application (i.e., an applet) on the hardware device. And the login state validity period of the mobile application can be configured based on the device attributes of the hardware device, for example, the login state can be set to be temporary login for public devices to ensure the safety of user accounts, and the login state can be set to be long-term login for private devices to avoid frequent login and complex operation of users. The applet can be understood as an application which can be used without downloading and installation, can be hosted in the mobile application, does not need independent development, and can be directly used in the mobile application by a user, and different applets can provide different services, and each applet can meet a simpler basic application.
Fig. 1 is a schematic data interaction flow diagram of applet management in an example of this specification, and as shown in fig. 1, in some embodiments of this specification, an applet management platform may be a network platform provided by some applications having multiple applets (e.g., some payment applications with multiple functions, social applications, etc.), and the application may open the capability of providing multiple applets to the outside, that is, multiple applets may be included in the applet management platform. The manufacturer or the processing manufacturer of the hardware equipment can send a calling request of the applet application to the applet management platform through the user terminal of the manufacturer, and when the manufacturer sends the calling request to the applet management platform, the manufacturer can fill the equipment attributes of the hardware equipment needing to call the applet application, such as: the small program management platform can configure a login state validity period for the mobile application according to the device attributes provided by a manufacturer, and return the small program application with the configured login state validity period to the manufacturer, the small program application can comprise a plurality of small program service modules, and the manufacturer can install the mobile application into the hardware device. The hardware device can provide services of all the applet service modules in the applet application for a consumer, and when the user uses the mobile application in the hardware device, the applet application keeps a login state according to a configured login state validity period, for example, the login state can be set to be temporary login for public devices to ensure the safety of user accounts, and the login state can be set to be long-term login for private devices to avoid frequent login and complex operation of the user. The hardware equipment can be equipment such as a smart phone, a tablet personal computer, a computer, vehicle-mounted equipment, intelligent wearable equipment, an intelligent robot, a billboard and a meal ordering machine.
Fig. 2 is a schematic flowchart of an embodiment of a login-state data processing method for an applet application provided in an embodiment of the present specification. Although the present specification provides the method steps or apparatus structures as shown in the following examples or figures, more or less steps or modules may be included in the method or apparatus structures based on conventional or non-inventive efforts. In the case of steps or structures which do not logically have the necessary cause and effect relationship, the execution order of the steps or the block structure of the apparatus is not limited to the execution order or the block structure shown in the embodiments or the drawings of the present specification. When the described method or module structure is applied to a device, a server or an end product in practice, the method or module structure according to the embodiment or the figures may be executed sequentially or in parallel (for example, in a parallel processor or multi-thread processing environment, or even in an implementation environment including distributed processing and server clustering).
In a specific embodiment, as shown in fig. 2, in an embodiment of the login state data processing method for an applet provided in this specification, the method may be applied to an applet management platform side, where the applet management platform may be a terminal such as a computer, a tablet computer, and a server, and the method may include the following steps:
step 202, receiving a calling request of an applet application sent by a user terminal; the calling request comprises the device attribute of the hardware device for installing the applet application, wherein the device attribute comprises that the hardware device is a public device, a private device or a designated crowd sharing device.
In a specific implementation process, the user terminal may be a terminal corresponding to a manufacturer that produces, processes, or sells the hardware device, and may be a smart phone, a tablet computer, a computer, or the like, where the manufacturer may send a call request of the applet to the applet management platform through the user terminal, and the call request may generally include device information of the hardware device that needs to install the applet, such as: the device attribute may further include a product name, a product type, a product model, and the like of the hardware device. Wherein the device attributes may characterize the operating environment of the hardware device that needs to install the applet application, such as: the hardware device is a public device, a private device or a designated crowd sharing device, wherein the designated crowd can refer to a crowd with a fixed relationship, such as family members, company colleagues or friends. Such as: mobile phones, smart watches, etc. may be considered as private devices, shared cars, billboards, ordering devices in shopping malls, payment devices, etc. may be considered as public devices, household smart refrigerators, household private cars, printers, computers, etc. used inside companies, may be considered as designated crowd sharing devices. An applet may be understood as an applet engine, an application program that may run on a hardware device, and may be understood as an application package, such as: APK (Android application package), and the like.
In addition, the applet management platform provided in this specification may be some Application (APP) with a relatively strong service function or an applet capability with a server open to the outside, such as: the application can be a payment application, a social application and the like with multiple service applets, and the like provides an open-to-the-outside network platform, wherein multiple applets in the application can be included, and can be directly managed by the application without additional development and maintenance of the applets. If a manufacturer wants to request the applet management platform for invoking the applet application, the manufacturer needs to perform parking first, and after the manufacturer successfully parks in the applet management platform, the manufacturer can access the applet management platform through an interface provided by the applet management platform, that is, device information of hardware devices can be registered in the applet management platform, such as: and filling in the device attributes, product names, types and the like of the hardware device, and after the registration is successful, the hardware device can integrate the small program engine framework and the running environment. The vendor may integrate the applet engine for the hardware device by docking, registering device information, etc., and then the vendor may submit a request to invoke the applet application for the successfully registered hardware device in the applet management platform.
Step 204, configuring a login state validity period for the applet application according to the equipment attribute; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is designated crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration.
In a specific implementation process, after receiving a request for calling the applet application submitted by a manufacturer through a user terminal, the applet management platform can configure a login state validity period for the applet application according to a device attribute in the calling request. The login state can be understood as keeping the login state, in an account system, after a user logs in, an encrypted token is generally generated and stored at a user side, and the user side and the server side can be brought in each time of interaction, so that the server side can obtain the information of the user without bringing the account and the password of the user each time. The token can be called as a user login state, and is a pass which is exchanged by a user through a password (a mode of acquiring a mobile phone number, an authentication code, a code scanning and the like), and the pass can represent the current user within a certain time. The login state validity period may be understood as a valid time for the applet to maintain the login state, and in this embodiment, 3 device attributes may be included, such as: the selection box can be popped up when a manufacturer submits a call request, the selection box comprises options of public equipment, private equipment and equipment attributes in the designated crowd sharing equipment 3, and the manufacturer can select one of the options according to the application scene of the hardware equipment and submit the selected option. In this description, three login state validity periods may be configured for the applet applications installed on the hardware devices with different device attributes based on the device attributes in 3, where a device attribute is a public device, the configured login state validity period is a first duration, if the device attribute is an appointed crowd sharing device, the configured login state validity period is a second duration, if the device attribute is a private device, the configured login state validity period is a third duration, the first duration is less than the second duration, and the second duration is less than the third duration.
For example: if a manufacturer of a certain smart watch applies for calling the applet application for the smart watch, and the device attribute filled in the applet application is a private device, the applet management platform may configure the login state validity period for the applet application to be called by the smart watch to be 1 month, or 3 months, or half a year, or longer, and after a user purchases the smart watch and logs in the applet application in the smart watch, the login state of the login account may keep the configured time length of the login state validity period, such as: 1 month or 3 months or half a year or more. If a manufacturer of a specified crowd sharing device such as a certain household intelligent refrigerator or a household private automobile needs to call the applet application, the applet management platform can configure the login state validity period for the applet application to be called by the household intelligent refrigerator or the household private automobile to be 1 week. If manufacturers of public devices such as billboards or shared automobiles need to call the applet, the applet management platform can configure the login state validity period for the applet to be called by the devices such as the billboards or the shared automobiles as single login, such as: for 30 seconds.
Step 206, returning the applet application with the configured login state validity period to the user terminal, so that the user terminal installs the applet application with the configured login state validity period into the hardware device, wherein the applet application comprises a plurality of applet service modules.
In a specific implementation process, after the login state validity period is configured, the applet application with the configured login state validity period may be returned to the user terminal where the manufacturer is located, where the applet application may include a plurality of applet service modules, and the applet service modules may be understood as an applet such as: a map navigation applet, a music play applet, etc. The applet integrated in the applet application can be uniformly managed by an application program (APP) or a server of the applet management platform or the open applet management platform, a manufacturer can install a received installation package of the applet application into corresponding hardware equipment, and a user can use the functions of all the applet service modules in the installed applet application when using the hardware equipment. And when the user logs in the applet application of the hardware device, the login state of the account is kept according to the configured login state validity period.
For example: if a manufacturer of a certain smart watch applies for calling the applet application for the smart watch, and the device attribute filled in the applet application is private equipment, the applet management platform can configure the login state validity period for the applet application to be called by the smart watch to be half a year, after a user purchases the smart watch and logs in the applet application in the smart watch, the login state of the login account can be kept for half a year, namely, the user does not need to log in when using the applet service module in the applet application in the smart watch within half a year.
In addition, the applet may refer to a package, and after the applet is installed in the hardware device, a plurality of applets included therein may be directly displayed in an interface of the hardware device without a separate icon.
According to the login state data processing method for the applet application, a hardware device manufacturer can fill the device attribute of the hardware device needing to call the applet application when sending a call request by sending the call request to the applet management platform: is a public device, a private device, or a designated crowd share device. The applet management platform can configure the login state validity period of the applet application according to the device attributes of the hardware device provided by the manufacturer, and then return the applet application with the configured login state validity period to the manufacturer. After the manufacturer installs the applet in the hardware device, the user can keep the login state of the applet in the hardware device according to the configured login state validity period when using the applet. The method has the advantages that short-term login state validity periods can be configured for public devices to ensure the safety of users logging in accounts in public places, long-term login state validity periods can be configured for private devices to avoid the users from logging in accounts frequently, and medium-term login state validity periods can be configured for designated crowd sharing devices to ensure the safety of the accounts and avoid logging in frequently. The method comprises the steps of providing an applet application comprising a plurality of applet service modules for the hardware device at one time, directly integrating a plurality of applets into one application program without installing the application programs one by one, and configuring login state valid periods with different time lengths for the installed applet application according to the application environment of the hardware device. The method and the system ensure the safety of the user account when the hardware equipment with low safety is used, avoid the problem that the hardware equipment with high safety needs frequent login of the user, provide a complete service environment with a plurality of service contents for the user, and can also perform unified management on the applets in the hardware equipment, and the applets can be changed at any time without depending on equipment upgrading.
On the basis of the above embodiment, the method further includes:
if the equipment attribute is public equipment or specified crowd sharing equipment, configuring a login state suspension prompt window for the applet application; if the device attribute is public equipment, the login state suspension prompt window is used for prompting the exit countdown time in the interface of the applet application according to the login state validity period after the applet application is logged in; and if the equipment attribute is the designated crowd sharing equipment, the login state suspension prompt window is used for displaying login account information in the small program application of the hardware equipment.
In a specific implementation process, after receiving an applet application call request sent by a manufacturer through a user terminal, when configuring a login state validity period for the called applet application, a login state floating window can be configured for the applet application according to a device attribute of hardware equipment in the call request. Such as: if the device attribute is public device, a login state floating window user can be configured to prompt the exit countdown time in an interface of the applet application according to the configured login state validity period after the user logs in the applet application by using the applet application in the hardware device. Fig. 3 is a schematic diagram of an interface display after the applet application of the public device logs in some embodiments of the present description, and as shown in fig. 3, in some embodiments of the present description, a login-state validity period of the public device may be configured to be 30S, and after a user logs in the applet application of the public device, a login-state floating window may be displayed in the interface of the hardware device, and a prompt for logging out of the floating window may be performed. Fig. 4 is a schematic interface display diagram of an applet of a specified crowd sharing device in some embodiments of the present specification, and as shown in fig. 4, when a device attribute of a hardware device is the specified crowd sharing device, a login state floating prompt window may be displayed in an interface of the hardware device, where the login state floating prompt window may be used to display login account information, as shown in fig. 4, the login state floating window may include avatar information of a login user, and after clicking an avatar, an operation button for the login account may be expanded, such as: and checking information under a login account, or quitting the login or switching accounts, and the like. Of course, the login state floating window may also be configured for the applet application of the hardware device with the device attribute being a private device, and the login state floating window may be used to prompt the user whether to log on when the login state expires.
The embodiment of the specification is characterized in that the login state floating window is configured in the applet application, so that the login state valid period of the public device is timed, the exit time is prompted, the user can use the device safely, the security of the login user is ensured, the login account of the designated crowd sharing device can be managed, and the like, and the user can visually see the information of the login account or switch the account.
On the basis of the above embodiments, in some embodiments of the present specification, the method further includes:
configuring an applet service module in the applet application and login permission of the applet service module according to the equipment attribute; the login permission of the small program service module in the small program application of the hardware equipment with the equipment attribute of the public equipment is smaller than that of the hardware equipment with the equipment attribute of the appointed crowd sharing equipment, and the login permission of the small program service module in the small program application of the hardware equipment with the equipment attribute of the appointed crowd sharing equipment is smaller than that of the equipment attribute of the private equipment.
In a specific implementation process, after receiving an applet call request sent by a manufacturer through a user terminal, when configuring a login state validity period for the invoked applet, the method may further configure applet service modules (which may include the number and types of the applet service modules) and login permissions of the applet service modules for the applet according to device attributes of hardware devices in the call request. Such as: for a public device which is used by multiple users, the common applet service module used by the user in the application scene of the hardware device can be configured. For private devices, more applet service modules may be configured, and different types of applet modules may be configured, such as: players, games, etc., so that the user can use a variety of different types of applet services. For a given crowd sharing device, different types of applet service modules may be configured according to the characteristics of the given crowd. In addition, the login authority of each applet service module can be configured according to the device attribute of the hardware device, and the login authority can be understood as the service authority which can be used by the applet service module after the account is logged in. The login authority of the small program service module of the private device is the maximum, the login authority of the designated crowd sharing device is the second order, and the login authority of the public device is the minimum. Such as: for a public device, some small program service modules in small program application only have browsing permission or only use a small part of service permission in the small program service modules, a designated crowd share device can use more service permission in the small program service modules, and a private device can generally use all service permission of the small program service modules.
For example: if a manufacturer of the billboard requests to call the applet in the embodiment of the specification, a reservation ordering applet service module, an intra-market map navigation applet service module and a shopping applet service module can be configured for the applet of the billboard, wherein the login authority of the shopping applet module can be only configured for coupon getting, shop browsing and commodity browsing. If a manufacturer of the household intelligent refrigerator calls the applet in the embodiment of the specification, a menu applet service module, a shopping applet service module, a temperature management applet module and a health management applet module can be configured for the applet of the household intelligent refrigerator, wherein the login authority of the shopping applet module can be configured with a coupon collar group, shop browsing, commodity browsing and payment. If a manufacturer of a certain mobile phone or an intelligent wearable device requests to call an applet in an embodiment of this specification, a game applet service module, a navigation applet service module, a music player applet service module, a video player applet service module, a shopping applet service module, and the like may be configured for the applet of the mobile phone or the intelligent wearable device, where a login right of the shopping applet module may be configured to have all rights, such as: payment, communication with customer service, account management, etc.
In the embodiment of the description, different applet service modules and login permissions of the applet service modules are configured for the applet application of the hardware device according to different device attributes, so that requirements of users on the applet service in different scenes are met, and the safety of the users using the applet service in different scenes can be ensured.
On the basis of the above embodiments, in some embodiments of the present specification, the method further includes:
receiving a service request which is sent by the hardware equipment and used for accessing a first applet service module in the applet application;
judging whether the service request needs account login, and if so, judging whether the applet application in the hardware equipment is logged in;
if the applet application is not logged in, issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment, so that the hardware equipment keeps the login state of the applet application according to the login duration.
In a specific implementation process, after a manufacturer installs an applet configured by an applet management platform on a hardware device, a user may use an applet service module in the applet application in the hardware device, and after the user clicks a first applet service module therein, the hardware device may send a service request, which the user requests to use the first applet service module, to the applet management platform or an application of an open applet management platform. The application of the applet management platform or the open applet management platform may determine whether the service request needs to be logged in, for example: if the service request is a request for map navigation, the service request does not need to be logged in, and if the service request is a request for getting a coupon, account login is required. If the service request needs to be logged in, whether the applet application in the hardware equipment is logged in is judged, if not, a login mode can be recommended for a user, the login request of the user is received, login duration is issued according to the valid period of the login state configured by the applet application in the hardware equipment, and the hardware equipment can keep the login state of the user account in the applet application according to the issued login duration.
In addition, when the login time is long, the login authority of the first applet service module can be issued according to the login authority of the first applet service module configured in the hardware device, and a user can only use the issued login authority to ensure the safety of an account.
In the embodiment of the description, when a service request sent by a hardware device and using an applet service module in an applet application is received, a login duration is issued based on a login state validity period configured by the hardware device, so that the hardware device in different application scenes is ensured to keep a login state according to the specified login state validity period, and the safety of a user account is ensured.
On the basis of the above embodiment, the method further includes:
receiving a service request which is sent by the hardware equipment and used for accessing a second applet service module in the applet application;
and judging whether a service request for accessing the second applet service module is in a continuous login state or not according to the login duration, and if so, directly logging in the account of the applet application or the account associated with the applet last time by the hardware equipment.
Fig. 5 is a schematic view illustrating life cycle management of an applet in a hardware device of a user account in some embodiments of the present description, and as shown in fig. 5, an applet service in the figure may be understood as an applet service module, and when a user uses an applet service a in an applet in a hardware device, the applet service a may not need to log in such as: map navigation within the mall. And then, the user can select to use the applet service B, at the moment, the applet application is not logged in, the user can actively log in, and then the user selects to use the applet service C, at the moment, whether the service request using the applet service C is in the time range of the continuous login state of the applet application can be judged according to the login duration issued by the applet management platform to the applet application of the hardware device, if so, the account of the applet application can be directly logged in by the hardware device last time, namely, the account is logged in when the service request of the applet service B is used. In addition, as shown in fig. 5, the service of the applet service D is a service associated with the applet application, and if the user uses the service of the applet service D, the service request is in a time range of a login-enabled state, and the user can directly log in to the associated account of the applet application according to the account of the logged-in applet application, such as: the account of the payment application is logged in using the account of the shopping application. When the user uses the applet service E, if the login duration corresponding to the valid period of the login state is reached, the system can automatically log out of the account, or the user can actively click to log out of the account. As shown in fig. 5, the applet application may also have more applet services, and the embodiments of this specification are not limited in particular.
In the embodiment of the description, a user can use a plurality of applet services in an applet application, and can determine login duration according to a login state validity period configured by the applet application, judge whether the account is in a continuous login state when the applet service is switched, and if the account is in the continuous login state, the login is avoided, that is, the account which is logged in last time is directly used, especially for a temporary login scene of public equipment, so that the safety of the account is ensured, and the problem that the account needs to be frequently logged in is avoided. And a plurality of applets are integrated into one applet application, so that a plurality of applet services can be used only by logging in one user account.
Fig. 6 is a schematic flowchart of a login state data processing method for an applet in further embodiments of this specification, where the method may be applied to an application or a server of an open applet management platform, and fig. 7 is a schematic flowchart of an application service of the applet in a hardware device in some embodiments of this specification, as shown in fig. 6 to fig. 7, in an embodiment of this specification, an application flow in which the applet provided in this specification is installed may include:
step 602: receiving a service request sent by hardware equipment for accessing an applet service module in an applet application installed in the hardware equipment, wherein the applet application comprises a plurality of applet service modules.
In a specific implementation process, a user may open a certain applet service module in an applet application in a hardware device, and the hardware device may send a service request to an applet management platform or an application (e.g., a payment application with a relatively powerful function) or a server of an open applet management platform based on the applet service opened by the user.
Step 604, determining whether the service request needs to be logged in to an account, and if so, determining whether the applet application in the hardware device is logged in.
In a specific implementation process, after receiving a service request, an application corresponding to a server or an applet management platform may determine whether the service request needs to be account logged in, if not, may directly use an applet service of the applet service module, and if so, may first determine whether an applet application in a hardware device has been logged in. If the account is logged in, the login-free process can be selected, and the logged account is directly used for processing the service request.
Step 606, if the applet application is not logged in, issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment, so that the hardware equipment keeps the login state of a login account according to the login duration;
if the device attribute of the hardware device is public device, the configured login state validity period is first time length, if the device attribute is designated crowd sharing device, the configured login state validity period is second time length, if the device attribute is private device, the configured login state validity period is third time length, the first time length is less than the second time length, and the second time length is less than the third time length.
In a specific implementation process, if it is determined that the applet application of the hardware device is not logged in, a login process may be selected. As shown in fig. 7, it may be determined whether the applet application of the hardware device is in a continuous login state when the service request is received, for example: if the hardware device is a public device and the login state validity period is 30 seconds, if the user logs in the account when using the applet service A and selects to use the applet service B within 30 seconds, the user can be considered to be in a login-free state when using the applet service B, and a login-free flow can be directly taken, namely the logged-in account is directly used for processing the service request. If the service request is judged not to be in the continuous login state, the user can be prompted to log in actively, after the user sends the login request, the login duration is issued according to the login state validity period configured by the applet in the hardware equipment, and the hardware equipment can keep the login state of the login account in the applet application according to the login duration.
The login state validity period of the applet configuration of the hardware device is configured based on the device attribute of the hardware device, and the specific configuration method of the login state validity period may refer to the description of the above embodiment, which is not described herein again. With reference to the methods in the foregoing embodiments, there may be other embodiments regarding the method for using the applet in the hardware device, and details are not described here.
In the embodiment of the present description, a hardware device manufacturer may send a call request to an applet management platform, and the applet management platform may configure a login validity period of an applet application according to a device attribute of a hardware device provided by the manufacturer, and then return the applet application configured with the login validity period to the manufacturer. After a manufacturer installs the applet application in the hardware equipment, when a user uses the applet application, the login duration is issued based on the login state validity period configured by the hardware equipment, the hardware equipment under different application scenes is ensured to keep a login state according to the specified login state validity period, and the safety of a user account is ensured. The method can provide the applet application comprising the plurality of applet service modules for the hardware equipment at one time, does not need to install the application programs one by one, directly integrates the plurality of applets into one application program, and configures login state validity periods with different time lengths for the installed applet application aiming at the application environment of the hardware equipment, thereby not only ensuring the safety of a user account when the hardware equipment with low safety is used, but also avoiding the problem that the hardware equipment with higher safety needs frequent login of a user, and providing the use environment of the applet application with complete and more service contents for the user.
Fig. 8 is a flowchart illustrating a login-state data processing method for an applet in further embodiments of the present disclosure, where the method may be applied to a hardware device, and the hardware device may be installed with an applet having a plurality of applet service modules, and as shown in fig. 8, the method may include:
step 802, receiving a first service request for accessing an applet service module in the applet application, and sending the first service request to a server, wherein the applet application comprises a plurality of applet service modules.
In a specific implementation process, the server may be understood as an application of an open applet management platform or a server for managing an applet application, a manufacturer of a hardware device may apply for calling an applet application for the hardware device from the applet management platform through the method in the foregoing embodiment, a plurality of applet service modules may be integrated in the applet application, and the applet application has configured a login-state validity period according to a device attribute of the hardware device provided by the manufacturer. The specific configuration method of the login validity period may refer to the description of the above embodiments, and is not described herein again. When a user uses an applet application in a hardware device, the user can open a certain applet service module in the applet application in the hardware device, and the hardware device can send a first service request to an applet management platform or an application (such as a payment application with stronger functions) or a server of an open applet management platform based on the applet service opened by the user.
Step 804, receiving login duration sent by the server according to the login state validity period configured by the applet application in the hardware equipment; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is designated crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration.
In a specific implementation process, after receiving a service request, an application corresponding to a server or an applet management platform may first determine whether the service request requires account login, if not, may directly use the applet service of the applet service module, and if so, may first determine whether the applet application in the hardware device has already logged in. If the account is logged in, the login-free process can be selected, and the logged account is directly used for processing the service request. If the fact that the applet application of the hardware equipment is not logged in is judged and known, the login duration can be issued according to the valid period of the login state configured by the applet application in the hardware equipment, and the hardware equipment can receive the issued login duration.
And 806, saving the login state of the login account in the accessed applet service module according to the login duration.
After the hardware device receives the login duration, the login state of the login account in the accessed applet service module can be stored according to the login duration.
In the embodiment of the present description, a hardware device manufacturer may send a call request to an applet management platform, and the applet management platform may configure a login validity period of an applet application according to a device attribute of a hardware device provided by the manufacturer, and then return the applet application configured with the login validity period to the manufacturer. After a manufacturer installs the applet application in the hardware equipment, when a user uses the applet application, the login duration is issued based on the login state validity period configured by the hardware equipment, the hardware equipment under different application scenes is ensured to keep a login state according to the specified login state validity period, and the safety of a user account is ensured. The method can provide the applet application comprising the plurality of applet service modules for the hardware equipment at one time, does not need to install the application programs one by one, directly integrates the plurality of applets into one application program, and configures login state validity periods with different time lengths for the installed applet application aiming at the application environment of the hardware equipment, thereby not only ensuring the safety of a user account when the hardware equipment with low safety is used, but also avoiding the problem that the hardware equipment with higher safety needs frequent login of a user, and providing the use environment of the applet application with complete and more service contents for the user.
On the basis of the foregoing embodiments, in some embodiments of the present specification, the saving a login state of the login account in the accessed applet service module according to the login duration includes:
if the equipment attribute of the hardware equipment is public equipment, displaying a login state suspension prompt window in an interface of the hardware equipment after the service request is completed, wherein the login state suspension prompt window displays exit countdown time according to the login duration;
and when the exit countdown time is zero, automatically clearing the login state.
In a specific implementation process, as shown in fig. 3, in some embodiments of the present specification, a login-state validity period of a public device may be configured to be 30S, and after a user logs in an applet application of the public device, a login-state floating window may be displayed in an interface of the hardware device, and a prompt for countdown exiting may be performed in the floating window. When the log-out count is zero, the log-in state can be cleared, and the log-in log of the log-in account in the applet application can also be cleared, so that the account security of the user in the public place can be ensured.
On the basis of the above embodiments, in some embodiments of the present specification, the method further includes:
and if a second service request for accessing the applet service module in the applet application is received during the time period of displaying the log-out countdown time in the log-in state floating window, stopping countdown, and after the second service request is completed, counting down again according to the log-in time length.
In a specific implementation process, if the countdown of exiting in the login state floating window of the public device does not reach zero, the user has other operations, such as accessing other applet services or requesting to execute other services, at this time, the hardware device may receive a second service request initiated by the user, the time for exiting in the login state floating window may be stopped, and when the second service request is completed, the countdown may be performed again. That is, in this embodiment of the present specification, for a public device, the login duration may be counted after the execution of the service request is finished, if there is no operation within the login duration, the login may be exited, and if there is another operation within the login duration, the login may be counted again. In addition, a relatively short login state validity period can be set for the public equipment, namely a relatively short login time length is set, so that the safety of the user when the user logs in the account in a public place is ensured.
On the basis of the above embodiment, the storing the login state of the login account in the accessed applet service module according to the login duration includes:
if the device attribute of the hardware device is the designated crowd sharing device, displaying a login state suspension prompt window in an interface in the hardware device, wherein login account information is displayed in the login state suspension prompt window, the login account information comprises a login account avatar, and the login account avatar is associated with a message reminding function and an account management function of the login account.
In a specific implementation process, as shown in fig. 4, in some embodiments of this specification, when a device attribute of a hardware device is a specified crowd sharing device, a login-state floating prompt window may be displayed in an interface of the hardware device, where the login-state floating prompt window may be used to display login account information, the login-state floating window may include avatar information of a login user, and after clicking an avatar, an operation button for the login account may be expanded, such as: the message reminding function button can check information under a login account, and the account management function button can quit the login, switch accounts and the like.
In the embodiment of the present specification, by configuring the login state floating window in the applet application, the login account of the specified crowd sharing device can be managed, and the user can visually see information of the login account or switch the account.
In the present specification, each embodiment of the method is described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. The relevant points can be obtained by referring to the partial description of the method embodiment.
Based on the above login state data processing method for the applet application, one or more embodiments of the present specification further provide a system for login state data processing for the applet application. The system may include systems (including distributed systems), software (applications), modules, components, servers, clients, etc. that use the methods described in embodiments of the present specification in conjunction with any necessary hardware-implemented devices. Based on the same innovative conception, embodiments of the present specification provide an apparatus as described in the following embodiments. Since the implementation scheme of the apparatus for solving the problem is similar to that of the method, the specific apparatus implementation in the embodiment of the present specification may refer to the implementation of the foregoing method, and repeated details are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Specifically, fig. 9 is a schematic block structure diagram of an embodiment of a login-state data processing apparatus of an applet provided in this specification, where the apparatus may be understood as an applet management platform in the foregoing embodiment, and as shown in fig. 9, the login-state data processing apparatus of an applet provided in this specification may include: a call request receiving module 91, a login state configuration module 92, and an application sending module 93, wherein:
a calling request receiving module 91, configured to receive a calling request of an applet sent by a user terminal; the calling request comprises the device attribute of the hardware device for installing the applet application, wherein the device attribute comprises that the hardware device is a public device, a private device or a designated crowd sharing device;
a login state configuration module 92, configured to configure a login state validity period for the applet according to the device attribute; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
an application sending module 93, configured to return the applet application with the configured login-state validity period to the user terminal, so that the user terminal installs the applet application with the configured login-state validity period into the hardware device, where the applet application includes a plurality of applet service modules.
In the login state data processing apparatus for an applet provided in this specification, a hardware device manufacturer may send a call request to an applet management platform, and when sending the call request, may fill in a device attribute of a hardware device that needs to call the applet: is a public device, a private device, or a designated crowd share device. The applet management platform can configure the login state validity period of the applet application according to the device attributes of the hardware device provided by the manufacturer, and then return the applet application with the configured login state validity period to the manufacturer. After the manufacturer installs the applet in the hardware device, the user can keep the login state of the applet in the hardware device according to the configured login state validity period when using the applet. The method has the advantages that short-term login state validity periods can be configured for public devices to ensure the safety of users logging in accounts in public places, long-term login state validity periods can be configured for private devices to avoid the users from logging in accounts frequently, and medium-term login state validity periods can be configured for designated crowd sharing devices to ensure the safety of the accounts and avoid logging in frequently. The method has the advantages that the applet application comprising the applet service modules is provided for the hardware equipment at one time, the application programs do not need to be installed one by one, the applets are directly integrated into the application program, login state validity periods with different time lengths are configured for the installed applet application aiming at the application environment of the hardware equipment, the safety of a user account when the hardware equipment with low safety is used is guaranteed, the problem that the hardware equipment with high safety needs frequent login of a user is solved, and the use environment of the applet application which is complete and has a large service content is provided for the user.
Fig. 10 is a schematic block diagram of a login-state data processing apparatus of an applet provided in this specification, which may be understood as an application or a server providing an applet management platform in the foregoing embodiment, and as shown in fig. 10, the login-state data processing apparatus of an applet provided in this specification may include: a service request receiving module 101, a login verification module 102, and a login duration issuing module 103, wherein:
a service request receiving module 101, configured to receive a service request sent by a hardware device to access an applet service module in an applet application installed in the hardware device, where the applet application includes multiple applet service modules;
the login verification module 102 is configured to determine whether the service request needs to be logged in to an account, and if so, determine whether the applet application in the hardware device has already been logged in;
a login duration issuing module 103, configured to issue a login duration for the hardware device according to a login state validity period configured for the applet application in the hardware device if the applet application is not logged in, so that the hardware device maintains a login state of a login account according to the login duration;
if the device attribute of the hardware device is public device, the configured login state validity period is first time length, if the device attribute is designated crowd sharing device, the configured login state validity period is second time length, if the device attribute is private device, the configured login state validity period is third time length, the first time length is less than the second time length, and the second time length is less than the third time length.
In the login state data processing apparatus for an applet provided in an embodiment of the present specification, a hardware device manufacturer may send a call request to an applet management platform, and the applet management platform may configure a login state validity period of the applet application according to a device attribute of the hardware device provided by the manufacturer, and then return the applet application configured with the login state validity period to the manufacturer. After a manufacturer installs the applet application in the hardware equipment, when a user uses the applet application, the login duration is issued based on the login state validity period configured by the hardware equipment, the hardware equipment under different application scenes is ensured to keep a login state according to the specified login state validity period, and the safety of a user account is ensured. The method can provide the applet application comprising the plurality of applet service modules for the hardware equipment at one time, does not need to install the application programs one by one, directly integrates the plurality of applets into one application program, and configures login state validity periods with different time lengths for the installed applet application aiming at the application environment of the hardware equipment, thereby not only ensuring the safety of a user account when the hardware equipment with low safety is used, but also avoiding the problem that the hardware equipment with higher safety needs frequent login of a user, and providing the use environment of the applet application with complete and more service contents for the user.
Fig. 11 is a schematic block diagram of a login-state data processing apparatus of an applet provided in this specification, which may be understood as providing a hardware device in the foregoing embodiment, where the applet with a plurality of applet service modules is installed in the hardware device, and as shown in fig. 11, the login-state data processing apparatus of an applet provided in this specification may include: a request receiving module 111, a login duration receiving module 112, and a login status holding module 113, wherein:
a request receiving module 111, configured to receive a first service request for accessing an applet service module in the applet application, and send the first service request to a server, where the applet application includes multiple applet service modules;
a login duration receiving module 112, configured to receive a login duration sent by the server according to a login state validity period configured by the applet in the hardware device; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and a login state holding module 113, configured to store the login state of the login account in the accessed applet service module according to the login duration.
In the login state data processing apparatus for an applet provided in an embodiment of the present specification, a hardware device manufacturer may send a call request to an applet management platform, and the applet management platform may configure a login state validity period of the applet application according to a device attribute of the hardware device provided by the manufacturer, and then return the applet application configured with the login state validity period to the manufacturer. After a manufacturer installs the applet application in the hardware equipment, when a user uses the applet application, the login duration is issued based on the login state validity period configured by the hardware equipment, the hardware equipment under different application scenes is ensured to keep a login state according to the specified login state validity period, and the safety of a user account is ensured. The method can provide the applet application comprising the plurality of applet service modules for the hardware equipment at one time, does not need to install the application programs one by one, directly integrates the plurality of applets into one application program, and configures login state validity periods with different time lengths for the installed applet application aiming at the application environment of the hardware equipment, thereby not only ensuring the safety of a user account when the hardware equipment with low safety is used, but also avoiding the problem that the hardware equipment with higher safety needs frequent login of a user, and providing the use environment of the applet application with complete and more service contents for the user.
It should be noted that the above-mentioned apparatus may also include other embodiments according to the description of the corresponding method embodiment. The specific implementation manner may refer to the description of the above corresponding method embodiment, and is not described in detail herein.
An embodiment of the present specification further provides a login state data processing device for an applet, including: at least one processor and a memory for storing processor-executable instructions, the processor implementing the information recommendation data processing method of the above embodiment when executing the instructions, such as:
receiving a calling request of an applet application sent by a user terminal; the calling request comprises the device attribute of the hardware device for installing the applet application, wherein the device attribute comprises that the hardware device is a public device, a private device or a designated crowd sharing device;
configuring a login state validity period for the applet application according to the equipment attribute; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and returning the applet application with the configured login state validity period to the user terminal so that the user terminal can install the applet application with the configured login state validity period into the hardware equipment, wherein the applet application comprises a plurality of applet service modules.
Or receiving a service request sent by hardware equipment for accessing an applet service module in an applet application installed in the hardware equipment, wherein the applet application comprises a plurality of applet service modules;
judging whether the service request needs account login, and if so, judging whether the applet application in the hardware equipment is logged in;
if the applet application is not logged in, issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment, so that the hardware equipment keeps the login state of a login account according to the login duration;
if the device attribute of the hardware device is public device, the configured login state validity period is first time length, if the device attribute is designated crowd sharing device, the configured login state validity period is second time length, if the device attribute is private device, the configured login state validity period is third time length, the first time length is less than the second time length, and the second time length is less than the third time length.
Or receiving a first service request for accessing an applet service module in the applet application, and sending the first service request to a server, wherein the applet application comprises a plurality of applet service modules;
receiving login duration sent by the server according to the login state validity period configured by the applet in the hardware equipment; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and saving the login state of the login account in the accessed applet service module according to the login duration.
An embodiment of the present specification further provides a login state data processing system for an applet, including: an applet management platform, a hardware device; the applet management platform comprises at least one processor and a memory for storing executable instructions of the processor, and the processor executes the method executed by the applet management platform and is used for providing an applet application comprising a plurality of applets;
the hardware device comprises at least one processor and a memory for storing processor-executable instructions, which when executed by the processor implement a method performed by the hardware device for providing a plurality of applet services to a user.
It should be noted that the above description of the apparatus and system according to the method embodiments may also include other embodiments. The specific implementation manner may refer to the description of the related method embodiment, and is not described in detail herein.
The logging-on data processing device of the applet provided in the present specification can also be applied to various data analysis processing systems. The system or server or terminal or device may be a single server, or may include a server cluster, a system (including a distributed system), software (applications), actual operating devices, logical gate devices, quantum computers, etc. using one or more of the methods described herein or one or more embodiments of the system or server or terminal or device, in combination with necessary end devices implementing hardware. The system for checking for discrepancies may comprise at least one processor and a memory storing computer-executable instructions that, when executed by the processor, implement the steps of the method of any one or more of the embodiments described above.
The method embodiments provided by the embodiments of the present specification can be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Taking the example of the application running on the server, fig. 12 is a block diagram of the hardware structure of the login state data processing server of the applet in one embodiment of the present specification, and the computer terminal may be the login state data processing server of the applet or the login state data processing apparatus of the applet in the above embodiment. The server 10 as shown in fig. 12 may include one or more (only one shown) processors 100 (the processors 100 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a non-volatile memory 200 for storing data, and a transmission module 300 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 12 is only an illustration and is not intended to limit the structure of the electronic device. For example, the server 10 may also include more or fewer components than shown in FIG. 12, and may also include other processing hardware, such as a database or multi-level cache, a GPU, or have a different configuration than shown in FIG. 12, for example.
The non-volatile memory 200 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the login-state data processing method of the applet in the embodiment of the present specification, and the processor 100 executes various functional applications and resource data updates by running the software programs and modules stored in the non-volatile memory 200. Non-volatile memory 200 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the non-volatile memory 200 may further include memory located remotely from the processor 100, which may be connected to a computer terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, office-to-network, mobile communication networks, and combinations thereof.
The transmission module 300 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission module 300 includes a Network adapter (NIC) that can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission module 300 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The method or apparatus provided in this specification and described in the foregoing embodiments may implement service logic through a computer program and record the service logic on a storage medium, where the storage medium may be read and executed by a computer, and implement the effects of the solutions described in the embodiments of this specification, such as:
receiving a calling request of an applet application sent by a user terminal; the calling request comprises the device attribute of the hardware device for installing the applet application, wherein the device attribute comprises that the hardware device is a public device, a private device or a designated crowd sharing device;
configuring a login state validity period for the applet application according to the equipment attribute; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and returning the applet application with the configured login state validity period to the user terminal so that the user terminal can install the applet application with the configured login state validity period into the hardware equipment, wherein the applet application comprises a plurality of applet service modules.
Or receiving a service request sent by hardware equipment for accessing an applet service module in an applet application installed in the hardware equipment, wherein the applet application comprises a plurality of applet service modules;
judging whether the service request needs account login, and if so, judging whether the applet application in the hardware equipment is logged in;
if the applet application is not logged in, issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment, so that the hardware equipment keeps the login state of a login account according to the login duration;
if the device attribute of the hardware device is public device, the configured login state validity period is first time length, if the device attribute is designated crowd sharing device, the configured login state validity period is second time length, if the device attribute is private device, the configured login state validity period is third time length, the first time length is less than the second time length, and the second time length is less than the third time length.
Or receiving a first service request for accessing an applet service module in the applet application, and sending the first service request to a server, wherein the applet application comprises a plurality of applet service modules;
receiving login duration sent by the server according to the login state validity period configured by the applet in the hardware equipment; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and saving the login state of the login account in the accessed applet service module according to the login duration.
The storage medium may include a physical device for storing information, and typically, the information is digitized and then stored using an electrical, magnetic, or optical media. The storage medium may include: devices that store information using electrical energy, such as various types of memory, e.g., RAM, ROM, etc.; devices that store information using magnetic energy, such as hard disks, floppy disks, tapes, core memories, bubble memories, and usb disks; devices that store information optically, such as CDs or DVDs. Of course, there are other ways of storing media that can be read, such as quantum memory, graphene memory, and so forth.
The log-in state data processing method or apparatus for the applet provided in the embodiment of the present specification may be implemented in a computer by a processor executing corresponding program instructions, for example, implemented in a PC end using a c + + language of a windows operating system, implemented in a linux system, or implemented in an intelligent terminal using android, iOS system programming languages, implemented in processing logic based on a quantum computer, or the like.
It should be noted that descriptions of the apparatus, the computer storage medium, and the system described above according to the related method embodiments may also include other embodiments, and specific implementations may refer to descriptions of corresponding method embodiments, which are not described in detail herein.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to only the partial description of the method embodiment.
The embodiments of the present description are not limited to what must be consistent with industry communications standards, standard computer resource data updating and data storage rules, or what is described in one or more embodiments of the present description. Certain industry standards, or implementations modified slightly from those described using custom modes or examples, may also achieve the same, equivalent, or similar, or other, contemplated implementations of the above-described examples. The embodiments using the modified or transformed data acquisition, storage, judgment, processing and the like can still fall within the scope of the alternative embodiments of the embodiments in this specification.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Although one or more embodiments of the present description provide method operational steps as described in the embodiments or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive approaches. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When the device or the end product in practice executes, it can execute sequentially or in parallel according to the method shown in the embodiment or the figures (for example, in the environment of parallel processors or multi-thread processing, even in the environment of distributed resource data update). The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded. The terms first, second, etc. are used to denote names, but not any particular order.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, when implementing one or more of the present description, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of multiple sub-modules or sub-units, etc. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable resource data updating apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable resource data updating apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable resource data update apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable resource data update apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage, graphene storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the present specification can also be practiced in distributed computing environments where tasks are performed by remote devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, and the relevant points can be referred to only part of the description of the method embodiments. In the description of the specification, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is merely exemplary of one or more embodiments of the present disclosure and is not intended to limit the scope of one or more embodiments of the present disclosure. Various modifications and alterations to one or more embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present specification should be included in the scope of the claims.

Claims (15)

1. A login state data processing method of an applet application, the method comprising:
receiving a calling request of an applet application sent by a user terminal; the calling request comprises the device attribute of the hardware device for installing the applet application, wherein the device attribute comprises that the hardware device is a public device, a private device or a designated crowd sharing device;
configuring a login state validity period for the applet application according to the equipment attribute; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and returning the applet application with the configured login state validity period to the user terminal so that the user terminal can install the applet application with the configured login state validity period into the hardware equipment, wherein the applet application comprises a plurality of applet service modules.
2. The method of claim 1, further comprising:
if the equipment attribute is public equipment or specified crowd sharing equipment, configuring a login state suspension prompt window for the applet application; if the device attribute is public equipment, the login state suspension prompt window is used for prompting the exit countdown time in the interface of the applet application according to the login state validity period after the applet application is logged in; and if the equipment attribute is the designated crowd sharing equipment, the login state suspension prompt window is used for displaying login account information in the small program application of the hardware equipment.
3. The method of claim 1, further comprising:
configuring an applet service module in the applet application and login permission of the applet service module according to the equipment attribute; and the device attributes are that the login authority of the small program service modules in the small program applications of the hardware devices of the public device, the designated crowd sharing device and the private device is sequentially increased.
4. The method of claim 1, further comprising:
receiving a service request which is sent by the hardware equipment and used for accessing a first applet service module in the applet application;
judging whether the service request needs account login, and if so, judging whether the applet application in the hardware equipment is logged in;
if the applet application is not logged in, issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment, so that the hardware equipment keeps the login state of the applet application according to the login duration.
5. The method of claim 4, further comprising:
receiving a service request which is sent by the hardware equipment and used for accessing a second applet service module in the applet application;
judging whether a service request for accessing the second applet service module is in a continuous login state or not according to the login duration, and if so, directly logging in the account of the applet application or the account associated with the applet application last time by the hardware equipment; wherein, the continuous login state is that the service request is in the time range of the validity period of the login state.
6. A login state data processing method of an applet application, the method comprising:
receiving a service request sent by hardware equipment for accessing an applet service module in an applet application installed in the hardware equipment, wherein the applet application comprises a plurality of applet service modules;
judging whether the service request needs account login, and if so, judging whether the applet application in the hardware equipment is logged in;
if the applet application is not logged in, issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment, so that the hardware equipment keeps the login state of a login account according to the login duration;
if the device attribute of the hardware device is public device, the configured login state validity period is first time length, if the device attribute is designated crowd sharing device, the configured login state validity period is second time length, if the device attribute is private device, the configured login state validity period is third time length, the first time length is less than the second time length, and the second time length is less than the third time length.
7. A login state data processing method of an applet is applied to a hardware device provided with the applet with a plurality of applet service modules, the device attribute of the hardware device of the applet comprises that the hardware device is a public device, a private device or a designated crowd sharing device, and the method comprises the following steps:
receiving a first service request for accessing an applet service module in the applet application, and sending the first service request to a server, wherein the applet application comprises a plurality of applet service modules;
receiving login duration sent by the server according to the login state validity period configured by the applet in the hardware equipment; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and saving the login state of the login account in the accessed applet service module according to the login duration.
8. The method of claim 7, wherein said saving the login state of the login account in the accessed applet service module according to the login duration comprises:
if the equipment attribute of the hardware equipment is public equipment, displaying a login state suspension prompt window in an interface of the hardware equipment after the service request is completed, wherein the login state suspension prompt window displays exit countdown time according to the login duration;
and when the exit countdown time is zero, automatically clearing the login state.
9. The method of claim 8, further comprising:
and if a second service request for accessing the applet service module in the applet application is received during the time period of displaying the log-out countdown time in the log-in state floating window, stopping countdown, and after the second service request is completed, counting down again according to the log-in time length.
10. The method of claim 7, wherein said saving the login state of the login account in the accessed applet service module according to the login duration comprises:
if the device attribute of the hardware device is the designated crowd sharing device, displaying a login state suspension prompt window in an interface in the hardware device, wherein login account information is displayed in the login state suspension prompt window, the login account information comprises a login account avatar, and the login account avatar is associated with a message reminding function and an account management function of the login account.
11. A login state data processing apparatus of an applet, comprising:
the calling request receiving module is used for receiving a calling request of the small program application sent by the user terminal; the calling request comprises the device attribute of the hardware device for installing the applet application, wherein the device attribute comprises that the hardware device is a public device, a private device or a designated crowd sharing device;
the login state configuration module is used for configuring a login state validity period for the applet application according to the equipment attribute; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and the application sending module is used for returning the applet application with the configured login state validity period to the user terminal so that the user terminal can install the applet application with the configured login state validity period into the hardware equipment, and the applet application comprises a plurality of applet service modules.
12. A login state data processing apparatus of an applet, comprising:
the service request receiving module is used for receiving a service request which is sent by hardware equipment and used for accessing an applet service module in an applet application installed in the hardware equipment, and the applet application comprises a plurality of applet service modules;
the login checking module is used for judging whether the service request needs account login or not, and if the service request needs account login, judging whether the applet application in the hardware equipment is already logged in;
the login duration issuing module is used for issuing login duration for the hardware equipment according to the login state validity period configured by the applet application in the hardware equipment if the applet application is not logged in, so that the login state of a login account is kept in the hardware equipment according to the login duration;
if the device attribute of the hardware device is public device, the configured login state validity period is first time length, if the device attribute is designated crowd sharing device, the configured login state validity period is second time length, if the device attribute is private device, the configured login state validity period is third time length, the first time length is less than the second time length, and the second time length is less than the third time length.
13. A login state data processing device of an applet is applied to a hardware device, the hardware device is provided with the applet with a plurality of applet service modules, the device attribute of the hardware device of the applet comprises that the hardware device is a public device, a private device or a designated crowd sharing device, and the hardware device comprises:
the request receiving module is used for receiving a first service request for accessing an applet service module in the applet application and sending the first service request to a server, and the applet application comprises a plurality of applet service modules;
a login duration receiving module, configured to receive login duration sent by the server according to a login state validity period configured by the applet in the hardware device; if the device attribute is public equipment, the configured login state validity period is first duration, if the device attribute is specified crowd sharing equipment, the configured login state validity period is second duration, if the device attribute is private equipment, the configured login state validity period is third duration, the first duration is less than the second duration, and the second duration is less than the third duration;
and the login state keeping module is used for keeping the login state of the login account in the accessed applet service module according to the login duration.
14. A login-state data processing apparatus for an applet, comprising: at least one processor and a memory for storing processor-executable instructions, the processor implementing the method of any one of claims 1-10 when executing the instructions.
15. A logon state data processing system for an applet, comprising: an applet management platform, a hardware device; wherein the applet management platform comprises at least one processor and a memory for storing processor-executable instructions, the processor implementing the method of any one of claims 1-6 when executing the instructions for providing an applet comprising a plurality of applet service modules and configuring a login state validity period for the applet based on device attributes of the hardware device;
the hardware device comprises at least one processor and a memory for storing processor-executable instructions, which when executed by the processor implement the method of any one of claims 7-10.
CN202010340466.1A 2020-04-26 2020-04-26 Login state data processing method, device, equipment and system of applet application Active CN111581612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010340466.1A CN111581612B (en) 2020-04-26 2020-04-26 Login state data processing method, device, equipment and system of applet application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010340466.1A CN111581612B (en) 2020-04-26 2020-04-26 Login state data processing method, device, equipment and system of applet application

Publications (2)

Publication Number Publication Date
CN111581612A CN111581612A (en) 2020-08-25
CN111581612B true CN111581612B (en) 2022-04-22

Family

ID=72127601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010340466.1A Active CN111581612B (en) 2020-04-26 2020-04-26 Login state data processing method, device, equipment and system of applet application

Country Status (1)

Country Link
CN (1) CN111581612B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007052513A (en) * 2005-08-16 2007-03-01 Sony Corp Target device, authentication device, and authentication method
CN103139168B (en) * 2011-11-30 2016-01-20 中国移动通信集团公司 Raising ability calls method and the open platform of success rate
US9226124B2 (en) * 2012-12-31 2015-12-29 Motorola Solutions, Inc. Method and apparatus for receiving a data stream during an incident
CN106850392B (en) * 2015-12-04 2020-06-02 腾讯科技(深圳)有限公司 Message processing method and device and message receiving method and device
CN106790252A (en) * 2017-01-24 2017-05-31 北京奇虎科技有限公司 Log-on message sharing method and device
CN106921663B (en) * 2017-03-03 2020-04-10 浙江智贝信息科技有限公司 Identity continuous authentication system and method based on intelligent terminal software/intelligent terminal
CN113328861B (en) * 2017-08-23 2022-11-01 重庆京像微电子有限公司 Authority verification method, device and system
US10904238B2 (en) * 2018-07-13 2021-01-26 Sap Se Access token management for state preservation and reuse
CN109639740B (en) * 2019-01-31 2022-02-22 平安科技(深圳)有限公司 Login state sharing method and device based on equipment ID
CN110427738B (en) * 2019-08-05 2024-03-29 腾讯科技(深圳)有限公司 Resource distribution method, device, equipment and storage medium
CN110516423A (en) * 2019-08-30 2019-11-29 北京东软望海科技有限公司 Management method, device, electronic equipment and the readable storage medium storing program for executing of electronic equipment

Also Published As

Publication number Publication date
CN111581612A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
US11614955B2 (en) System and method for developing an application
CN107957831B (en) Data processing method, device and processing equipment for displaying interface content
US9940119B2 (en) Providing limited versions of applications
CN111782300B (en) Data processing method, device, equipment and system
CN111475170B (en) Multi-screen application enablement and distribution service
CN103049692B (en) A kind of application installation method, device and equipment
TW201821966A (en) Information presentation method and apparatus
WO2021238954A1 (en) Installation management of applet applications
RU2630553C2 (en) Method, instrumentation, and device for adding connected expansion to address book
CN111611022B (en) Data processing method, device, equipment and system for applet application
WO2016069099A1 (en) Flexible device templates for connected consumer devices
US20190310882A1 (en) Multiple application instances in operating systems that utilize a single process for application execution
WO2023151439A1 (en) Account login processing
CN104737126A (en) Fulfillment of applications to devices
US20210342855A1 (en) Usage metric-based warranty for internet-of-things devices
CN112634476B (en) Parking data management method, server, device, equipment and system
CN111415210A (en) Information display method and device
CN111241107A (en) Service processing method, device, medium and electronic equipment
WO2023216872A1 (en) Event processing method and apparatus applied to iot device
CN111581612B (en) Login state data processing method, device, equipment and system of applet application
WO2023151440A1 (en) Program update processing
CN113627750B (en) Virtual resource allocation method, device and equipment
CN115983564A (en) Task execution method, device, equipment and storage medium
CN114037520A (en) Transaction processing method, device, equipment and system
CN112434347A (en) Rental business processing method, device, equipment and system

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