Page display method, device and storage medium

By utilizing the user information and operation records of the local storage space in the smart home APP, the user's historical operation page is directly displayed, which solves the problem of low page display efficiency at startup, realizes the rapid display of user needs pages, and improves the user experience.

CN112130460BActive Publication Date: 2024-09-24QINGDAO HAIER TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010975009.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-16
Publication Date
2024-09-24
Estimated Expiration
2040-09-16

AI Technical Summary

Technical Problem

Existing smart home APPs need to obtain and verify account information when they are launched, resulting in low page display efficiency and the inability to quickly display the pages required by users.

Method used

By detecting user information and operation records in the local storage space of the target mobile terminal, it directly displays the historical operation pages that the user has visited before, avoiding dependence on the server, and improving data processing speed and page display efficiency.

Benefits of technology

It realizes the rapid display of the page that best suits the user's needs when the smart home APP is started, solves the problem of low page display efficiency, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112130460B
    Figure CN112130460B
Patent Text Reader

Abstract

The present invention discloses a page display method and device and a storage medium. The method comprises: when a target client in a target mobile terminal is running, detecting user information stored in a local storage space of the target mobile terminal, wherein the user information includes operation records generated by running the target client in the target mobile terminal; when a first account is used to log in to the target client and the first user information corresponding to the first account is detected in the local storage space, determining a first page according to the first user information, wherein the first user information includes a first operation record generated by running the target client in the target mobile terminal using the first account, and the first page is a historical operation page displayed by the first account in the target client; and displaying the first page on the target client. The present invention solves the technical problem of low efficiency of page display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a page display method and device and a storage medium. Background Art

[0002] With the rapid development of the Internet and IoT technology in recent years, smart home APP (Application) has played an important role. Smart home users can use APP to effectively manage and control their own network devices. However, as the number of APP functional modules increases, the number of users also increases. Naturally, the needs of each user are different. Some users prefer home appliance communities, while others prefer network device control, home decoration design, shopping malls, etc. However, when users start the APP, they often cannot directly go to the page that meets their needs, which leads to the situation that the user first browses other pages that they are not interested in.

[0003] When facing the above situation, the existing technology often uses the server to store the account information of all users, and calls the current user's account information when the user opens the APP. However, the problem with the existing technology is that obtaining account information requires a strong reliance on the network. Network anomalies or login failures cannot quickly and accurately obtain account information. Even if the login is successful and the network is unobstructed, it still takes a long time to load. In actual application, the time for users to start the APP is very short. At this time, it is obviously impossible to complete a series of actions such as token verification, obtaining account information, judging the status of the network device, and deciding which page to display. Therefore, it is impossible to immediately display the specified network device control page or other pages to the user at startup. Therefore, there is a problem of low page display efficiency.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a page display method and device and a storage medium to at least solve the technical problem of low page display efficiency.

[0006] According to one aspect of an embodiment of the present invention, a page display method is provided, comprising: when running a target client in a target mobile terminal, detecting user information stored in a local storage space of the target mobile terminal, wherein the user information includes an operation record generated by running the target client in the target mobile terminal; when logging in to the target client using a first account and first user information corresponding to the first account is detected in the local storage space, determining a first page according to the first user information, wherein the first user information includes a first operation record generated by running the target client using the first account in the target mobile terminal, and the first page is a historical operation page displayed by the first account in the target client; and displaying the first page on the target client.

[0007] According to another aspect of an embodiment of the present invention, a page display device is also provided, including: a detection unit, used to detect user information stored in a local storage space of a target mobile terminal when a target client in a target mobile terminal is running, wherein the user information includes operation records generated by running the target client in the target mobile terminal; a determination unit, used to determine a first page according to the first user information when the target client is logged in using a first account and first user information corresponding to the first account is detected in the local storage space, wherein the first user information includes a first operation record generated by running the target client in the target mobile terminal using the first account, and the first page is a historical operation page displayed by the first account in the target client; a display unit, used to display the first page on the target client.

[0008] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned page display method when running.

[0009] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the page display method through the computer program.

[0010] In an embodiment of the present invention, when a target client in a target mobile terminal is run, user information stored in a local storage space of the target mobile terminal is detected, wherein the user information includes operation records generated by running the target client in the target mobile terminal; when the target client is logged in using a first account and the first user information corresponding to the first account is detected in the local storage space, a first page is determined according to the first user information, wherein the first user information includes a first operation record generated by running the target client using the first account in the target mobile terminal, and the first page is a historical operation page displayed by the first account in the target client; the first page is displayed on the target client, by directly calling the user information in the local storage space instead of calling the user information stored in the server, and displaying the page that best matches the current user needs with the user information, thereby achieving the purpose of speeding up data processing, thereby achieving the effect of improving the page display efficiency, and thereby solving the technical problem of low page display efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0012] Figure 1 is a schematic diagram of a flow chart of an optional page display method according to an embodiment of the present invention;

[0013] Figure 2 is a schematic diagram of an optional page display method according to an embodiment of the present invention;

[0014] Figure 3 is a schematic diagram of another optional page display method according to an embodiment of the present invention;

[0015] Figure 4 is a schematic diagram of another optional page display method according to an embodiment of the present invention;

[0016] Figure 5 is a schematic diagram of another optional page display method according to an embodiment of the present invention;

[0017] Figure 6 is a schematic diagram of another optional page display method according to an embodiment of the present invention;

[0018] Figure 7 is a schematic diagram of another optional page display method according to an embodiment of the present invention;

[0019] Figure 8is a schematic diagram of another optional page display method according to an embodiment of the present invention;

[0020] Fig. 9 is a schematic diagram of another optional page display method according to an embodiment of the present invention;

[0021] Fig.10 is a schematic diagram of an optional page display device according to an embodiment of the present invention;

[0022] Fig.11 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] Optionally, as an optional implementation, as Figure 1 As shown, the page display method includes:

[0026] S102, when the target client is running in the target mobile terminal, detecting user information stored in the local storage space of the target mobile terminal, wherein the user information includes operation records generated by running the target client in the target mobile terminal;

[0027] S104, when the target client is logged in using the first account and first user information corresponding to the first account is detected in the local storage space, determining a first page according to the first user information, wherein the first user information includes a first operation record generated by running the target client using the first account in the target mobile terminal, and the first page is a historical operation page displayed by the first account in the target client;

[0028] S106, displaying the first page on the target client.

[0029] Optionally, the page display method can be applied to, but is not limited to, application scenarios of smart home apps, such as displaying home appliance community pages, network device control pages, home decoration design pages, and shopping mall pages in smart home apps. User information can be, but is not limited to, massive amounts of operation data, and can also be, but is not limited to, identification information used to indicate page display. The first operation record can be, but is not limited to, a historical operation record, and can be, but is not limited to, not including the currently executed operation (for example, not including using the first account to log in to the target client). The historical operation page can be, but is not limited to, a page that represents history based on operations, such as a historical login to a network device control page, and the network device control page is a historical operation page.

[0030] It should be noted that, when running the target client in the target mobile terminal, user information stored in the local storage space of the target mobile terminal is detected, wherein the user information includes the operation records generated by running the target client in the target mobile terminal; when the target client is logged in using a first account and the first user information corresponding to the first account is detected in the local storage space, a first page is determined based on the first user information, wherein the first user information includes the first operation record generated by running the target client in the target mobile terminal using the first account, and the first page is a historical operation page displayed by the first account in the target client; the first page is displayed on the target client.

[0031] To further illustrate, the optional Figure 2 As shown, it includes a target mobile terminal 202 and a target client 204, wherein the target client 204 is an application installed on the target mobile terminal 202, and the function of the target client 204 is to control smart home devices (not shown in the figure);

[0032] Further, if Figure 2As shown, when it is detected that a selected operation is performed on the target client 204, the operation of the target client 204 in the target mobile terminal 202 is triggered, and at the same time as the operation of the target client 204 is triggered, the user information stored in the local storage space of the target mobile terminal 202 is detected, wherein the user information includes the operation records generated by running the target client 204 in any form in the target mobile terminal 202, any form including using different accounts to log in to the target mobile terminal 202 and / or the target client 204.

[0033] Furthermore, based on Figure 2 , optional e.g. Figure 3 As shown, after the target client 204 in the target mobile terminal 202 is triggered to run, the running interface 302 of the target client 204 is displayed on the target mobile terminal 202. In an optional scenario, assuming that the target client 204 of the target mobile terminal 202 has been logged in by the first account by default, then after the running interface 302 is displayed, the display page related to the first account is directly displayed. In another optional scenario, assuming that the target client 204 of the target mobile terminal 202 has not been logged in by any account by default, or when an account needs to be selected for login, the display page related to the first account is displayed. Figure 4 The login interface 402 shown is used to select the account of the current logged-in target client 204, or to fill in the account information of the current logged-in target client 204 to determine the account of the current logged-in target client.

[0034] To further illustrate, based on Figure 4 , optional e.g. Figure 5 As shown, when the target client 204 of the target mobile terminal 202 defaults to or selects the first account to log in to the current target client 204, the first page 502 is displayed on the target client 204, wherein the first page 502 is a display page determined based on user information related to the first account stored in the storage space of the target mobile terminal 202, specifically, the user information is the first operation record generated by using the first account to run the target client 204 in the target mobile terminal 202, and the first page is a historical operation page of the first account displayed in the target client 204.

[0035] Through the embodiments provided by the present application, when a target client in a target mobile terminal is run, user information stored in a local storage space of the target mobile terminal is detected, wherein the user information includes operation records generated by running the target client in the target mobile terminal; when a first account is used to log in to the target client and first user information corresponding to the first account is detected in the local storage space, a first page is determined according to the first user information, wherein the first user information includes a first operation record generated by running the target client in the target mobile terminal using the first account, and the first page is a historical operation page displayed by the first account in the target client; the first page is displayed on the target client, by directly calling the user information in the local storage space instead of calling the user information stored in the server, and displaying the page that best meets the current user needs with the user information, thereby achieving the purpose of speeding up data processing and thus achieving the effect of improving the display efficiency of the page.

[0036] As an optional solution, determining the first page according to the first user information includes:

[0037] S1, determining a first historical operation from a first operation record;

[0038] S2, determining a first tag corresponding to the first historical operation, wherein the first tag is used to indicate a usage habit of the first account on the target client;

[0039] S3: Determine a first page corresponding to the first tag.

[0040] It should be noted that a first historical operation is determined from a first operation record; a first tag corresponding to the first historical operation is determined, wherein the first tag is used to indicate a usage habit of the first account on a target client; and a first page corresponding to the first tag is determined.

[0041] To further illustrate, the optional Figure 6 As shown, the target client is the Smart Home APP, the first user information is the marked network device information, the first page is the Smart Home page (network device page), and the other pages are ordinary display pages (non-network device pages), wherein the marked network device information can be but is not limited to being used to indicate that the first account has been used to log in to the Smart Home page of the target client on the target mobile terminal, and the marked network device information can also be but is not limited to being used to indicate that the first account is registered on the target mobile terminal as a network device user of the Smart Home page of the target client. The specific steps are as follows:

[0042] Step S602, enter the Smart Home APP;

[0043] Step S604, determining whether the tag network device information is stored locally, if yes, executing step S606, if no, executing step S608;

[0044] Step S606, displaying the smart home page;

[0045] Step S608, displaying a normal display page.

[0046] Through the embodiments provided by the present application, a first historical operation is determined from a first operation record; a first tag corresponding to the first historical operation is determined, wherein the first tag is used to indicate the usage habits of the first account on the target client; a first page corresponding to the first tag is determined, and by judging the user's first tag, as long as it is stored locally, it can be quickly queried when the target client is started, thereby achieving the purpose of speeding up the display of the first page and realizing the effect of improving the display efficiency of the first page.

[0047] As an optional solution, determining the first operation record from the first operation record includes at least one of the following:

[0048] S1, determining the historical operation with the highest preset priority in the first operation record as the first operation record;

[0049] S2, determining a historical operation in the first operation record whose number of records reaches a first threshold as a first operation record;

[0050] S3, determining, in the first operation record, a historical operation whose record frequency reaches a second threshold as a first operation record;

[0051] S4, determining the latest recorded historical operation in the first operation record as the first operation record.

[0052] It should be noted that, in the first operation record, the historical operation with the highest preset priority is determined as the first operation record; in the first operation record, the historical operation whose record times reaches the first threshold is determined as the first operation record; in the first operation record, the historical operation whose record frequency reaches the second threshold is determined as the first operation record; in the first operation record, the most recently recorded historical operation is determined as the first operation record.

[0053] To further illustrate, optionally, for example, in the first operation record, determining the registration or login of the network device page as the historical operation with the highest preset priority, then the registration or login operation of the network device page is determined as the first operation record.

[0054] Through the embodiments provided by the present application, the historical operation with the highest preset priority in the first operation record is determined as the first operation record; the historical operation with the number of records reaching the first threshold in the first operation record is determined as the first operation record; the historical operation with the record frequency reaching the second threshold in the first operation record is determined as the first operation record; the historical operation with the most recent record in the first operation record is determined as the first operation record, thereby achieving the purpose of flexibly determining the operation records and realizing the effect of improving the flexibility of determining the operation records.

[0055] As an optional solution, after detecting the user information stored in the local storage space of the target mobile terminal, the method includes:

[0056] S1, when logging in to the target client using the second account and when no second user information corresponding to the second account is detected to be stored in the local storage space, obtaining a device mark of the target mobile terminal;

[0057] S2, obtaining an information request according to the device tag, wherein the information request is used to request obtaining second user information carrying the device tag, and the second user information includes a second operation record generated by running the target client using the second account in the target mobile terminal;

[0058] S3, sending information request to the server;

[0059] S4, storing the second user information sent by the server according to the information request in the local storage space.

[0060] It should be noted that, when a second account is used to log in to the target client, and when the second user information corresponding to the second account is not detected in the local storage space, the device tag of the target mobile terminal is obtained; an information request is obtained based on the device tag, wherein the information request is used to request to obtain the second user information carrying the device tag, and the second user information includes a second operation record generated by running the target client using the second account in the target mobile terminal; an information request is sent to the server; and the second user information sent by the server according to the information request is stored in the local storage space.

[0061] To further illustrate, the optional Figure 7 As shown, including APP, Internet of Things (IOT) and local, the specific steps are as follows:

[0062] When you start the app for the first time and log in successfully, you can use the locally cached token to request the user's network device information from the server.

[0063] The acquired network device information is stored locally on the mobile phone, which is convenient for future query and will not be easily cleared;

[0064] The next time you enter the APP, since the method of obtaining the user's network device information through the Internet is slow, it is impossible to obtain and judge the network device information at the moment of startup. Therefore, the stored network device information is directly obtained from the local. When it is determined whether the user is a network device user, the page that is displayed first when the APP is started is determined.

[0065] Through the embodiments provided by the present application, when a second account is used to log in to a target client, and when second user information corresponding to the second account is not detected in a local storage space, a device tag of the target mobile terminal is obtained; an information request is obtained according to the device tag, wherein the information request is used to request to obtain the second user information carrying the device tag, and the second user information includes a second operation record generated by running the target client using the second account in the target mobile terminal; an information request is sent to a server; and the second user information sent by the server according to the information request is stored in the local storage space, thereby achieving the purpose of comprehensively recording the operation records and realizing the effect of improving the comprehensiveness of the operation records.

[0066] As an optional solution, after detecting the user information stored in the local storage space of the target mobile terminal, the method includes:

[0067] When an unregistered account is used to log in to the target client and third user information is detected to be stored in the local storage space, a prompt message is sent, wherein the third user information includes a third operation record generated by running the target client using a third account in the target mobile terminal, and the prompt message is used to prompt to log in to the third account.

[0068] It should be noted that when an unregistered account is used to log in to the target client and third user information is detected to be stored in the local storage space, a prompt message is sent, wherein the third user information includes a third operation record generated by running the target client using a third account in the target mobile terminal, and the prompt message is used to prompt the user to log in to the third account.

[0069] To further illustrate, the optional unregistered account may be, but is not limited to, a guest account, such as Figure 8 As shown, the specific steps are as follows:

[0070] Step S802, visitor entry: the user enters the APP as a visitor, and upon startup, it is determined whether a 'network user tag' already exists locally. If so, step S804 is executed; if not, step S806 is executed;

[0071] Step S804, if there is a network device user mark: it is directly displayed on the smart home page (network device page) when the APP is started;

[0072] Step S806, no mark exists or the mark is not a web device user: when the APP is started, the home page (non-web device page) is directly displayed;

[0073] Step S808, the visitor logs in: the user enters the homepage as a visitor or browses other pages, triggering a login interaction;

[0074] Step S810, determining whether the login interaction is successful, if successful, executing step S812, if failed, executing step S814;

[0075] Step S812, login successful: According to the current situation, the login process will continue to complete authorization, information acquisition and other actions within a certain period of time. During this stage, the user's normal operation behavior should not be blocked. After obtaining the user's network device information, whether it is a network device user is recorded locally. At this time, the page does not make any active jumps;

[0076] Step S814, login failure: the user remains as a visitor and the page does not actively jump.

[0077] Through the embodiments provided by the present application, when an unregistered account is used to log in to a target client and third user information is detected to be stored in the local storage space, a prompt message is sent, wherein the third user information includes a third operation record generated by running the target client using a third account in the target mobile terminal, and the prompt message is used to prompt for logging in to the third account, thereby achieving the purpose of prompting for logging in using an account that can log in to the current client, and realizing the effect of improving the timeliness of the effective login of the client.

[0078] As an optional solution, after detecting the user information stored in the local storage space of the target mobile terminal, the method includes:

[0079] When a target operation generated by running a target client using the first account in the target mobile terminal is detected, the first user information is updated according to the target operation.

[0080] It should be noted that, when a target operation generated by running a target client using the first account in a target mobile terminal is detected, the first user information is updated according to the target operation.

[0081] To further illustrate, based on Figure 6 , optional e.g. Fig. 9 As shown, the specific steps are as follows:

[0082] Step S902, refresh network device information: the user uses the APP to obtain the network device information of the account at the same time, and detects whether there is an update. If there is an update, execute step S904, if there is no update, execute step 904;

[0083] Step S904, replace the local network device mark;

[0084] Step S906, maintaining the status quo, wherein, if the user account logout information cannot be immediately obtained due to network anomalies or token expiration, the status quo is maintained.

[0085] Through the embodiments provided by the present application, when a target operation generated by running a target client using a first account in a target mobile terminal is detected, the first user information is updated according to the target operation, thereby achieving the purpose of comprehensive updating in multiple scenarios and realizing the effect of comprehensive updating of user information.

[0086] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0087] According to another aspect of the embodiments of the present invention, a page display device for implementing the above page display method is also provided. Fig.10 As shown, the device comprises:

[0088] The detection unit 1002 is used to detect user information stored in the local storage space of the target mobile terminal when the target client is running in the target mobile terminal, wherein the user information includes an operation record generated by running the target client in the target mobile terminal;

[0089] The determining unit 1004 is configured to determine a first page according to the first user information when the target client is logged in using the first account and the first user information corresponding to the first account is detected in the local storage space, wherein the first user information includes a first operation record generated by running the target client using the first account in the target mobile terminal, and the first page is a historical operation page displayed by the first account in the target client;

[0090] The display unit 1006 is used to display the first page on the target client.

[0091] Optionally, the page display device can be applied to, but is not limited to, application scenarios of smart home apps, such as displaying home appliance community pages, network device control pages, home decoration design pages, and shopping mall pages in smart home apps. User information can be, but is not limited to, massive amounts of operation data, and can also be, but is not limited to, identification information used to indicate page display. The first operation record can be, but is not limited to, a historical operation record, and can be, but is not limited to, not including the currently executed operation (for example, not including using the first account to log in to the target client). The historical operation page can be, but is not limited to, a page that represents history based on operations, such as a historical login to a network device control page, and the network device control page is a historical operation page.

[0092] It should be noted that, when running the target client in the target mobile terminal, user information stored in the local storage space of the target mobile terminal is detected, wherein the user information includes the operation records generated by running the target client in the target mobile terminal; when the target client is logged in using a first account and the first user information corresponding to the first account is detected in the local storage space, a first page is determined based on the first user information, wherein the first user information includes the first operation record generated by running the target client in the target mobile terminal using the first account, and the first page is a historical operation page displayed by the first account in the target client; the first page is displayed on the target client.

[0093] To further illustrate, the optional Figure 2 As shown, it includes a target mobile terminal 202 and a target client 204, wherein the target client 204 is an application installed on the target mobile terminal 202, and the function of the target client 204 is to control smart home devices (not shown in the figure);

[0094] Further, if Figure 2 As shown, when it is detected that a selected operation is performed on the target client 204, the operation of the target client 204 in the target mobile terminal 202 is triggered, and at the same time as the operation of the target client 204 is triggered, the user information stored in the local storage space of the target mobile terminal 202 is detected, wherein the user information includes the operation records generated by running the target client 204 in any form in the target mobile terminal 202, any form including using different accounts to log in to the target mobile terminal 202 and / or the target client 204.

[0095] Furthermore, based on Figure 2 , optional e.g. Figure 3As shown, after the target client 204 in the target mobile terminal 202 is triggered to run, the running interface 302 of the target client 204 is displayed on the target mobile terminal 202. In an optional scenario, assuming that the target client 204 of the target mobile terminal 202 has been logged in by the first account by default, then after the running interface 302 is displayed, the display page related to the first account is directly displayed. In another optional scenario, assuming that the target client 204 of the target mobile terminal 202 has not been logged in by any account by default, or when an account needs to be selected for login, the display page related to the first account is displayed. Figure 4 The login interface 402 shown is used to select the account of the current logged-in target client 204, or to fill in the account information of the current logged-in target client 204 to determine the account of the current logged-in target client.

[0096] To further illustrate, based on Figure 4 , optional e.g. Figure 5 As shown, when the target client 204 of the target mobile terminal 202 defaults to or selects the first account to log in to the current target client 204, the first page 502 is displayed on the target client 204, wherein the first page 502 is a display page determined based on user information related to the first account stored in the storage space of the target mobile terminal 202, specifically, the user information is the first operation record generated by using the first account to run the target client 204 in the target mobile terminal 202, and the first page is a historical operation page of the first account displayed in the target client 204.

[0097] Through the embodiments provided by the present application, when a target client in a target mobile terminal is run, user information stored in a local storage space of the target mobile terminal is detected, wherein the user information includes operation records generated by running the target client in the target mobile terminal; when a first account is used to log in to the target client and first user information corresponding to the first account is detected in the local storage space, a first page is determined according to the first user information, wherein the first user information includes a first operation record generated by running the target client in the target mobile terminal using the first account, and the first page is a historical operation page displayed by the first account in the target client; the first page is displayed on the target client, by directly calling the user information in the local storage space instead of calling the user information stored in the server, and displaying the page that best meets the current user needs with the user information, thereby achieving the purpose of speeding up data processing and thus achieving the effect of improving the display efficiency of the page.

[0098] As an optional solution, the determining unit 1004 includes:

[0099] A first determining module, configured to determine a first historical operation from a first operation record;

[0100] A second determination module is used to determine a first tag corresponding to the first historical operation, wherein the first tag is used to indicate a usage habit of the first account on the target client;

[0101] The third determining module is used to determine the first page corresponding to the first tag.

[0102] It should be noted that a first historical operation is determined from a first operation record; a first tag corresponding to the first historical operation is determined, wherein the first tag is used to indicate a usage habit of the first account on a target client; and a first page corresponding to the first tag is determined.

[0103] To further illustrate, the optional Figure 6 As shown, the target client is the Smart Home APP, the first user information is the marked network device information, the first page is the Smart Home page (network device page), and the other pages are ordinary display pages (non-network device pages), wherein the marked network device information can be but is not limited to being used to indicate that the first account has been used to log in to the Smart Home page of the target client on the target mobile terminal, and the marked network device information can also be but is not limited to being used to indicate that the first account is registered on the target mobile terminal as a network device user of the Smart Home page of the target client. The specific steps are as follows:

[0104] Step S602, enter the Smart Home APP;

[0105] Step S604, determining whether the tag network device information is stored locally, if yes, executing step S606, if no, executing step S608;

[0106] Step S606, displaying the smart home page;

[0107] Step S608, displaying a normal display page.

[0108] Through the embodiments provided by the present application, a first historical operation is determined from a first operation record; a first tag corresponding to the first historical operation is determined, wherein the first tag is used to indicate the usage habits of the first account on the target client; a first page corresponding to the first tag is determined, and by judging the user's first tag, as long as it is stored locally, it can be quickly queried when the target client is started, thereby achieving the purpose of speeding up the display of the first page and realizing the effect of improving the display efficiency of the first page.

[0109] As an optional solution, the determining unit 1004 includes at least one of the following:

[0110] A first determination submodule, configured to determine, in the first operation record, a historical operation with the highest preset priority as the first operation record;

[0111] A second determination submodule is used to determine, in the first operation record, a historical operation whose number of records reaches a first threshold as a first operation record;

[0112] A third determination submodule, configured to determine, in the first operation record, a historical operation whose record frequency reaches a second threshold as a first operation record;

[0113] The fourth determining submodule is used to determine the latest recorded historical operation in the first operation record as the first operation record.

[0114] It should be noted that, in the first operation record, the historical operation with the highest preset priority is determined as the first operation record; in the first operation record, the historical operation whose record times reaches the first threshold is determined as the first operation record; in the first operation record, the historical operation whose record frequency reaches the second threshold is determined as the first operation record; in the first operation record, the most recently recorded historical operation is determined as the first operation record.

[0115] To further illustrate, optionally, for example, in the first operation record, determining the registration or login of the network device page as the historical operation with the highest preset priority, then the registration or login operation of the network device page is determined as the first operation record.

[0116] Through the embodiments provided by the present application, the historical operation with the highest preset priority in the first operation record is determined as the first operation record; the historical operation with the number of records reaching the first threshold in the first operation record is determined as the first operation record; the historical operation with the record frequency reaching the second threshold in the first operation record is determined as the first operation record; the historical operation with the most recent record in the first operation record is determined as the first operation record, thereby achieving the purpose of flexibly determining the operation records and realizing the effect of improving the flexibility of determining the operation records.

[0117] As an optional solution, it includes:

[0118] A first acquisition unit is configured to, after detecting user information stored in a local storage space of the target mobile terminal, log in to the target client using a second account, and if no second user information corresponding to the second account is detected to be stored in the local storage space, acquire a device tag of the target mobile terminal;

[0119] A second acquisition unit is used to acquire an information request according to the device tag after detecting the user information stored in the local storage space of the target mobile terminal, wherein the information request is used to request to acquire second user information carrying the device tag, and the second user information includes a second operation record generated by running the target client using a second account in the target mobile terminal;

[0120] A first sending unit, configured to send an information request to a server after detecting user information stored in a local storage space of a target mobile terminal;

[0121] The storage unit is used to store the second user information sent by the server according to the information request in the local storage space after detecting the user information stored in the local storage space of the target mobile terminal.

[0122] It should be noted that, when a second account is used to log in to the target client, and when the second user information corresponding to the second account is not detected in the local storage space, the device tag of the target mobile terminal is obtained; an information request is obtained based on the device tag, wherein the information request is used to request to obtain the second user information carrying the device tag, and the second user information includes a second operation record generated by running the target client using the second account in the target mobile terminal; an information request is sent to the server; and the second user information sent by the server according to the information request is stored in the local storage space.

[0123] To further illustrate, the optional Figure 7 As shown, including APP, Internet of Things (IOT) and local, the specific steps are as follows:

[0124] When you start the app for the first time and log in successfully, you can use the locally cached token to request the user's network device information from the server.

[0125] The acquired network device information is stored locally on the mobile phone, which is convenient for future query and will not be easily cleared;

[0126] The next time you enter the APP, since the method of obtaining the user's network device information through the Internet is slow, it is impossible to obtain and judge the network device information at the moment of startup. Therefore, the stored network device information is directly obtained from the local. When it is determined whether the user is a network device user, the page that is displayed first when the APP is started is determined.

[0127] Through the embodiments provided by the present application, when a second account is used to log in to a target client, and when second user information corresponding to the second account is not detected in a local storage space, a device tag of the target mobile terminal is obtained; an information request is obtained according to the device tag, wherein the information request is used to request to obtain the second user information carrying the device tag, and the second user information includes a second operation record generated by running the target client using the second account in the target mobile terminal; an information request is sent to a server; and the second user information sent by the server according to the information request is stored in the local storage space, thereby achieving the purpose of comprehensively recording the operation records and realizing the effect of improving the comprehensiveness of the operation records.

[0128] As an optional solution, it includes:

[0129] The second sending unit is used to send a prompt message after detecting the user information stored in the local storage space of the target mobile terminal, when an unregistered account is used to log in to the target client, and when third user information is detected to be stored in the local storage space, wherein the third user information includes a third operation record generated by using a third account to run the target client in the target mobile terminal, and the prompt message is used to prompt to log in to the third account.

[0130] It should be noted that when an unregistered account is used to log in to the target client and third user information is detected to be stored in the local storage space, a prompt message is sent, wherein the third user information includes a third operation record generated by running the target client using a third account in the target mobile terminal, and the prompt message is used to prompt the user to log in to the third account.

[0131] To further illustrate, the optional unregistered account may be, but is not limited to, a guest account, such as Figure 8 As shown, the specific steps are as follows:

[0132] Step S802, visitor entry: the user enters the APP as a visitor, and upon startup, it is determined whether a 'network user tag' already exists locally. If so, step S804 is executed; if not, step S806 is executed;

[0133] Step S804, if there is a network device user mark: it is directly displayed on the smart home page (network device page) when the APP is started;

[0134] Step S806, no mark exists or the mark is not a web device user: when the APP is started, the home page (non-web device page) is directly displayed;

[0135] Step S808, the visitor logs in: the user enters the homepage as a visitor or browses other pages, triggering a login interaction;

[0136] Step S810, determining whether the login interaction is successful, if successful, executing step S812, if failed, executing step S814;

[0137] Step S812, login successful: According to the current situation, the login process will continue to complete authorization, information acquisition and other actions within a certain period of time. During this stage, the user's normal operation behavior should not be blocked. After obtaining the user's network device information, whether it is a network device user is recorded locally. At this time, the page does not make any active jumps;

[0138] Step S814, login failure: the user remains as a visitor and the page does not actively jump.

[0139] Through the embodiments provided by the present application, when an unregistered account is used to log in to a target client and third user information is detected to be stored in the local storage space, a prompt message is sent, wherein the third user information includes a third operation record generated by running the target client using a third account in the target mobile terminal, and the prompt message is used to prompt for logging in to the third account, thereby achieving the purpose of prompting for logging in using an account that can log in to the current client, and realizing the effect of improving the timeliness of the effective login of the client.

[0140] As an optional solution, it includes:

[0141] The updating unit is used to update the first user information according to the target operation after detecting the user information stored in the local storage space of the target mobile terminal and detecting the target operation generated by running the target client using the first account in the target mobile terminal.

[0142] It should be noted that, when a target operation generated by running a target client using the first account in a target mobile terminal is detected, the first user information is updated according to the target operation.

[0143] To further illustrate, based on Figure 6 , optional e.g. Fig. 9 As shown, the specific steps are as follows:

[0144] Step S902, refresh network device information: the user uses the APP to obtain the network device information of the account at the same time, and detects whether there is an update. If there is an update, execute step S904, if there is no update, execute step 904;

[0145] Step S904, replace the local network device mark;

[0146] Step S906, maintaining the status quo, wherein, if the user account logout information cannot be immediately obtained due to network anomalies or token expiration, the status quo is maintained.

[0147] Through the embodiments provided by the present application, when a target operation generated by running a target client using a first account in a target mobile terminal is detected, the first user information is updated according to the target operation, thereby achieving the purpose of comprehensive updating in multiple scenarios and realizing the effect of comprehensive updating of user information.

[0148] According to another aspect of the embodiment of the present invention, an electronic device for implementing the above-mentioned page display method is also provided. Fig.11 As shown, the electronic device includes a memory 1102 and a processor 1104. The memory 1102 stores a computer program, and the processor 1104 is configured to execute the steps in any of the above method embodiments through the computer program.

[0149] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0150] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0151] S1, when a target client is running in a target mobile terminal, detecting user information stored in a local storage space of the target mobile terminal, wherein the user information includes an operation record generated by running the target client in the target mobile terminal;

[0152] S2, when the target client is logged in using the first account and first user information corresponding to the first account is detected in the local storage space, determining a first page according to the first user information, wherein the first user information includes a first operation record generated by running the target client using the first account in the target mobile terminal, and the first page is a historical operation page displayed by the first account in the target client;

[0153] S3, displays the first page on the target client.

[0154] Alternatively, a person skilled in the art may understand that: Fig.11 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Fig.11 The structure of the electronic device is not limited. Fig.11 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.11 Different configurations shown.

[0155] Among them, the memory 1102 can be used to store software programs and modules, such as the program instructions / modules corresponding to the page display method and device in the embodiment of the present invention. The processor 1104 executes various functional applications and data processing by running the software programs and modules stored in the memory 1102, that is, to implement the above-mentioned page display method. The memory 1102 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1102 may further include a memory remotely located relative to the processor 1104, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1102 may be specifically, but not limited to, used to store information such as the first user information, the first account, and the first page. As an example, such as Fig.11 As shown, the memory 1102 may include but is not limited to the detection unit 1002, the determination unit 1004 and the display unit 1006 in the page display device. In addition, it may also include but is not limited to other module units in the page display device, which will not be repeated in this example.

[0156] Optionally, the transmission device 1106 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 1106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1106 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0157] In addition, the electronic device further includes: a display 1108 for displaying the first user information, the first account, the first page and other information; and a connection bus 1110 for connecting various module components in the electronic device.

[0158] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0159] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0160] S1, when a target client is running in a target mobile terminal, detecting user information stored in a local storage space of the target mobile terminal, wherein the user information includes an operation record generated by running the target client in the target mobile terminal;

[0161] S2, when the target client is logged in using the first account and first user information corresponding to the first account is detected in the local storage space, determining a first page according to the first user information, wherein the first user information includes a first operation record generated by running the target client using the first account in the target mobile terminal, and the first page is a historical operation page displayed by the first account in the target client;

[0162] S3, displays the first page on the target client.

[0163] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0164] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0165] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention.

[0166] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0167] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0169] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0170] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A page display method, characterized in that: include: In the case of running a target client in a target mobile terminal, detecting user information stored in a local storage space of the target mobile terminal, wherein the user information includes an operation record generated by running the target client in the target mobile terminal; in the case of using a first account to log in to the target client and detecting first user information corresponding to the first account in the local storage space, determining a historical operation with a highest preset priority in the first operation record as determining a first historical operation, wherein registration or login of a page is the historical operation with the highest preset priority, and the first user information includes the first operation record generated by running the target client in the target mobile terminal using the first account; Determine a first tag corresponding to the first historical operation, wherein the first tag is used to indicate the usage habits of the first account on the target client; determine a first page corresponding to the first tag, wherein the first page is a historical operation page displayed by the first account in the target client; display the first page on the target client; after detecting the user information stored in the local storage space of the target mobile terminal, include: when logging in to the target client using a second account, and when no second user information corresponding to the second account is detected in the local storage space, obtain the device tag of the target mobile terminal; obtain an information request according to the device tag, wherein the information request is used to request to obtain the second user information carrying the device tag, and the second user information includes a second operation record generated by running the target client using the second account in the target mobile terminal; send the information request to a server; store the second user information sent by the server according to the information request in the local storage space; When entering the target client using a visitor identity, determine whether there is a network device user mark locally; if the network device user mark exists, display the network device page corresponding to the network device user mark when starting the target client; if the network device user mark or the non-network device user mark does not exist, display the non-network device page when starting the target client; When entering the non-network page as a visitor, a login interaction is triggered; when the login interaction fails, the visitor identity is maintained, and the non-network page does not make any active jumps; if the login interaction is successful, according to the current situation, the login process will continue to complete the authorization and obtain the user's network device information within a certain period of time, and the login process is set to prohibit blocking the user's normal operating behavior; after obtaining the user's network device information, it is recorded locally whether it is a network device user, and the non-network page does not make any active jumps.

2. The method according to claim 1, characterized in that After detecting the user information stored in the local storage space of the target mobile terminal, the method further comprises: When an unregistered account is used to log in to the target client and third user information is detected to be stored in the local storage space, a prompt message is sent, wherein the third user information includes a third operation record generated by running the target client using a third account in the target mobile terminal, and the prompt message is used to prompt the user to log in to the third account.

3. The method according to claim 1, characterized in that After detecting the user information stored in the local storage space of the target mobile terminal, the method further comprises: When a target operation generated by running the target client using the first account in the target mobile terminal is detected, the first user information is updated according to the target operation.

4. A page display device, characterized in that: include: a detection unit, configured to detect user information stored in a local storage space of a target mobile terminal when a target client is running in the target mobile terminal, wherein the user information includes an operation record generated by running the target client in the target mobile terminal; a determining unit, configured to determine a first page according to the first user information when the target client is logged in using a first account and first user information corresponding to the first account is detected in the local storage space, wherein the first user information includes a first operation record generated by running the target client using the first account in the target mobile terminal, and the first page is a historical operation page displayed by the first account in the target client; A display unit, configured to display the first page on the target client; The determining unit comprises: A first determining module, configured to determine a first historical operation from the first operation record; A second determining module, configured to determine a first tag corresponding to the first historical operation, wherein the first tag is used to indicate a usage habit of the first account on the target client; A third determining module, used to determine the first page corresponding to the first tag; The determining unit comprises: A first determination submodule, configured to determine, in the first operation record, a historical operation with a highest preset priority as a first operation record, wherein page registration or login is the historical operation with the highest preset priority; The device also includes: A first acquisition unit is configured to, after detecting the user information stored in the local storage space of the target mobile terminal, log in to the target client using a second account, and if the second user information corresponding to the second account is not detected to be stored in the local storage space, acquire the device mark of the target mobile terminal; A second acquisition unit is configured to acquire an information request according to the device tag after detecting the user information stored in the local storage space of the target mobile terminal, wherein the information request is used to request to acquire second user information carrying the device tag, and the second user information includes a second operation record generated by running the target client using the second account in the target mobile terminal; A first sending unit, configured to send the information request to a server after detecting the user information stored in the local storage space of the target mobile terminal; a storage unit, configured to store the second user information sent by the server according to the information request into the local storage space after the user information stored in the local storage space of the target mobile terminal is detected; The device is also used for: When entering the target client using a visitor identity, determine whether there is a network device user mark locally; if the network device user mark exists, display the network device page corresponding to the network device user mark when starting the target client; if the network device user mark or the non-network device user mark does not exist, display the non-network device page when starting the target client; When entering the non-network page as a visitor, a login interaction is triggered; when the login interaction fails, the visitor identity is maintained, and the non-network page does not make any active jumps; if the login interaction is successful, according to the current situation, the login process will continue to complete the authorization and obtain the user's network device information within a certain period of time, and the login process is set to prohibit blocking the user's normal operating behavior; after obtaining the user's network device information, it is recorded locally whether it is a network device user, and the non-network page does not make any active jumps.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 3 when executed.

6. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 3 through the computer program.