Method and device for acquiring Web user information

By scanning and saving user's operation configuration information in portable devices, the problem of users' difficulty in obtaining custom settings in cloud service resource management is solved, cross-device management is realized, efficiency and security are improved, and resource waste and privacy are avoided. Give way.

CN118897920APending Publication Date: 2024-11-05HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310465839.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

When users re-manage cloud service resource management, it is difficult for them to obtain previous custom settings, resulting in inefficient management operations and problems such as personal privacy leakage and resource waste in existing storage methods.

Method used

Through the scanning code component, scan the QR code in a portable device, read and save the user's operation configuration information, and send it to the target device, realizing cross-browser or cross-device resource management, improving user management convenience and Security.

Benefits of technology

It improves the efficiency of users' resource management using cloud services, ensures the security and privacy of user information, and avoids the waste of resources and management complexity of cloud vendors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897920A_ABST
    Figure CN118897920A_ABST
Patent Text Reader

Abstract

The Web user information acquisition method is applied to a first device with a code scanning assembly, and comprises the steps that the code scanning assembly is used for scanning a first identification code displayed by a second device in a browser, and the first identification code comprises operation configuration information of a user; storing operation configuration information of the user; and when the user needs to use the browser of the third equipment to access the Web server to perform own resource management, sending the target address to the third equipment so as to use the operation configuration information of the user on the Web page. Therefore, the operation configuration information of the user is stored in the first equipment, the target address is generated according to the operation configuration information of the user, and the target address is sent to the third equipment, so that the user can conveniently use the previous operation configuration information in the third equipment, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud service technology, and in particular to a method and device for obtaining Web user information. Background Art

[0002] As cloud services are increasingly used, users can use the access authentication provided by cloud services to manage their own resources. In the process of management, users have put forward customized requirements for their own access tracks and access settings. However, when users re-enter the access authentication to manage their own resources, it is often difficult to obtain the previous customized requirements, resulting in low management efficiency. Summary of the invention

[0003] The present application provides a method, device, electronic device, computer-readable storage medium and computer program product for obtaining Web user information, which can improve the efficiency of users performing management operations using cloud services.

[0004] In a first aspect, the present application provides a method for obtaining Web user information, which is applied to a first device having a code scanning component, and the method includes: using the code scanning component to scan a first identification code displayed in a browser of a second device; the first identification code includes the user's operation configuration information, and the user is a user who has used the browser of the second device to access a Web server for its own resource management; saving the user's operation configuration information; when the user needs to use the browser of a third device to access the Web server for its own resource management, sending a target address to the third device so that the user's operation configuration information can be used on a Web page; the target address includes the user's operation configuration information, and the Web page is a page for accessing the Web server.

[0005] Therefore, by saving the user's operation configuration information in the first device, generating a target address according to the user's operation configuration information, and sending the target address to the third device, the user can conveniently use the previous operation configuration information on the third device, thereby improving work efficiency.

[0006] In one possible implementation, before using the code scanning component to scan the first identification code displayed in the browser of the second device, it also includes: using the user's account information to log in to the Web server in the application, the application is provided by the Web server, the application runs on the first device, and the account information includes a user name and password.

[0007] In a possible implementation, using a code scanning component to scan a first identification code displayed in a browser of a second device includes: using an application to trigger the code scanning component to scan the first identification code.

[0008] In a possible implementation, a user logs in to a Web server through a Web page of a browser of a third device.

[0009] In a possible implementation, the target address includes a domain name of a Web server.

[0010] In the second aspect, the present application provides a device for obtaining Web user information, which is deployed on a first device with a code scanning component, and the device includes: a scanning module, which uses the code scanning component to scan a first identification code displayed in a browser of a second device; the first identification code includes the user's operation configuration information, and the user is a user who has used the browser of the second device to access the Web server for its own resource management; a processing module, which is used to save the user's operation configuration information; a sending module, when the user needs to use the browser of a third device to access the Web server for its own resource management, the sending module is used to send a target address to the third device, so as to use the user's operation configuration information on the Web page; the target address includes the user's operation configuration information, and the Web page is a page for accessing the Web server.

[0011] In one possible implementation, before the first device uses the code scanning component to scan the first identification code displayed by the second device in the browser, it also includes: using the user's account information to log in to the Web server in the application, the application is provided by the Web server, the application runs on the first device, and the account information includes a user name and password.

[0012] In a possible implementation, the first device uses a code scanning component to scan a first identification code displayed in a browser of the second device, including: using an application to trigger the code scanning component to scan the first identification code.

[0013] In a possible implementation, a user logs in to a Web server through a Web page of a browser of a third device.

[0014] In a possible implementation, the target address includes a domain name of a Web server.

[0015] In the third aspect, the present application provides a system for obtaining Web user information, including a first device, a second device and a third device, wherein the first device has a code scanning component; the first device is used to log in to a Web server in an application using the user's account information; the application is provided by the Web server, the application runs on the first device, the account information includes a user name and a password; the user is a user who has used the browser of the second device to access the Web server for self-resource management. The second device is used to display a first identification code in the browser; the first identification code includes the user's operation configuration information; the first device is also used to use the application to trigger the code scanning component to scan the first identification code; the first device is also used to save the user's operation configuration information; the first device is also used to send a target address to the third device when the user needs to use the browser of the third device to access the Web server for self-resource management, so as to use the user's operation configuration information on the Web page; the target address includes the user's operation configuration information, and the Web page is a page for accessing the Web server; the third device is used to receive the target address and provide the user with access to the Web server and the Web page operation configuration service for resource management.

[0016] In a possible implementation, a user logs in to a Web server through a Web page of a browser of a third device.

[0017] In a possible implementation, the target address includes a domain name of a Web server.

[0018] In a fourth aspect, the present application provides an electronic device, comprising: a code scanning component for reading information in an identification code; at least one memory for storing programs; and at least one processor for executing the programs stored in the memory; wherein, when the program stored in the memory is executed, the processor is used to execute the method described in the first aspect or any possible implementation of the first aspect.

[0019] In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method described in the first aspect or any possible implementation of the first aspect.

[0020] In a sixth aspect, the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method described in the first aspect or any possible implementation of the first aspect.

[0021] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a schematic diagram of the architecture of a system for obtaining Web user information provided by an embodiment of the present application;

[0023] Figure 2 This is a schematic diagram of a process for obtaining Web user information provided by an embodiment of the present application;

[0024] Figure 3 It is a flowchart of a method for obtaining Web user information provided by an embodiment of the present application;

[0025] Figure 4 It is a flowchart of a method for obtaining Web user information provided by an embodiment of the present application;

[0026] Figure 5 It is a structural diagram of a device for acquiring Web user information provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.

[0028] The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of the objects. For example, a first response message and a second response message are used to distinguish different response messages rather than to describe a specific order of the response messages.

[0029] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0030] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two. For example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.

[0031] For example, the cloud vendor's Web server can be used to store the user's customized requirements. The cloud vendor provides a storage interface to store the user's customized requirements on the Web server. When the user logs in again, the stored customized requirements are obtained from the Web server to facilitate the user to use the cloud service for management operations.

[0032] On the one hand, due to the sensitivity of such user customization requirements, this storage method makes it possible for user behavior to be analyzed and speculated by big data, and for user information to be used for other purposes without the user's knowledge. Out of consideration for the confidentiality of personal privacy, this solution often does not receive the support of users.

[0033] On the other hand, due to the large number of users using cloud services, this storage method requires cloud vendors to spend a lot of space and resources to save the customized requirements of such users, as well as other management resources to operate and manage storage devices. Due to the control of cost-effectiveness, this solution often does not receive a positive response from cloud vendors and is difficult to promote and apply on a large scale.

[0034] For example, the user's customized requirements can be stored in a local device. The user's customized requirements can be stored in the local device using the local browser's front-end local cache technology (such as LocalStorage or lndexDB, etc.) to achieve login status sharing. When the user logs in again on the local device, the user's customized requirements for the cloud service can be directly obtained from the local browser.

[0035] Although the resource cost of using local devices to store user customization requirements is very small, local storage is not suitable for scenarios where users use cloud services across browsers or devices, or it is impossible to synchronize local storage information across domain name solutions, it is still difficult to meet the convenience of users using cloud services for management operations.

[0036] In view of this, an embodiment of the present application provides a method for obtaining Web user information, using a scenario of scanning code login, where a local device provides stored user customized requirements in a login QR code. Based on the scanning login capability provided by an application running in a portable device with a code scanning component, the code scanning component is used to read the login QR code, and the customized requirements of the target user are saved in the portable device. The target user is a user who logs in to a Web server using an application running on the portable device, and the application is provided by the Web server. By sending the customized requirements of the target user saved by the portable device to a local device or other device, the customized requirements of the target user can be obtained across browsers or devices.

[0037] Therefore, by taking advantage of the fact that QR codes can carry information and their wide application, we combine the browser's front-end cache technology with the portable device's convenience. By completely saving the target user's customized requirements on the user side, the convenience of users using cloud services to manage and configure their own resources is improved.

[0038] For example, Figure 1 The schematic diagram of the architecture of a system for obtaining Web user information provided by an embodiment of the present application is shown. Figure 1 As shown, the system includes: a first device 110 , a second device 120 and a third device 130 .

[0039] The first device 110 has a code scanning component. In some embodiments, the first device can be an electronic device such as a mobile phone or a tablet that is convenient for the user to carry with him. The first device is used to run the application used by the target customer to log in to the Web server, and the application is provided by the Web server. The target user is a user who logs in to the Web server using the application run by the first device.

[0040] The second device 120 is used to display the first identification code. The first identification code includes the operation configuration information of at least one user, and the user is a user who has used the second device to log in to the Web server to manage his own resources. In some embodiments, the second device can be a hardware device such as a PC computer or a server that can run a browser. The user can manage his own resources by logging in to the Web server in the browser running on the second device. In the process of managing his own resources, the user can set up the Web management page according to his own preferences, collect related management information in the browser, or save his own access track in the browser. It can be understood that users often hope to carry such customized requirements with them to meet the demand for operational convenience that is in their own interests.

[0041] The first identification code can be a color barcode, color QR code, or other identification code that is convenient for scanning and has a large storage space. For example, using a customized format, the color QR code provided by the cloud service provider can accommodate up to 5KB of information to carry the user operation management content of this capacity. The first identification code includes customized information of users who have used the second device to log in to the Web server to manage their own resources. In one embodiment, the front-end local cache technology can be used in the browser of the second device to store the customized information of several users who have recently logged in to the Web server, and the customized information of these users can be timestamped according to the time configured by the user.

[0042] The first identification code may also include the device ID information of the second device, which is usually provided by the Web server. The first identification code may also be used to implement access authentication to the Web server on the second device by accepting the scan of the first device and using the target user account that has logged into the Web server in the first device. The interactive process of obtaining the device ID information from the Web server by entering the domain name of the Web server in the browser of the second device and performing access authentication to the Web server by the second device by scanning the first identification code and using the target user account used in the first device has been described in detail in the relevant technology and will not be repeated here.

[0043] The third device 130 is used to receive the target address sent by the first device, and the target address includes the domain name of the Web server and may also include the custom information of the target user. In some embodiments, the third device may be a hardware device such as a PC computer or a server that can run a browser. In one implementation, in the target address, the custom information of the target user is presented in a form that complies with the encoding rules. In the third device, at least one browser that supports the encoding rules is run. The target user can log in to the Web server in the browser, and obtain the custom information of the target user by decoding based on the target address, and set the page for the management page.

[0044] For ease of understanding, the following is based on Figure 1 The system for obtaining Web user information shown describes a process for obtaining Web user information.

[0045] For example, Figure 2 A schematic diagram of a process for obtaining Web user information provided by an embodiment of the present application is shown. Figure 2 As shown, in S201, the first device 110 runs an application provided by the Web server to display a login environment, and the target user can use his or her account information (such as user name, login password, etc.) to implement access authentication to the Web server on the first device 110 and enter the login state. When the target user triggers the code scanning component of the first device 110 in the application, the identification code (such as a barcode, a QR code, etc.) can be scanned to read the information carried in the identification code.

[0046] In S202, the second device 120 displays the first identification code, which includes the operation configuration information of at least one user, and the user is a user who has used the second device 120 to log in to the Web server to manage his own resources. In the related art, the second device 120 usually displays the first identification code in the browser, combines the scanning process of the first identification code by the first device 110, and uses the target user account to implement access authentication to the Web server, and enters the login state of the Web page.

[0047] The user's operation configuration information included in the first identification code complies with the custom format of the cloud service provider.

[0048] In S203, the target user completes the login to the Web server in the target browser. The target browser is the browser that provides the target user with the resource configuration management page. In one embodiment, the third device 130 may be the same device as the second device 120, which is the demand scenario for the target user to perform resource configuration management across browsers.

[0049] In S204, the target user uses the first device 110 to scan the first identification code. The first device 110 uses radio technology to achieve short-range communication with the second device 120. The first device 110 is both a transmitter and a receiver of electromagnetic waves. In addition to sending electromagnetic waves through the code scanning component, the first device 110 also receives and reads the user operation configuration information contained in the first identification code. And according to the timestamp carried in the user operation configuration information, the latest operation configuration information of the target user is saved to generate a target address. The target address can be a URL address, including the domain name of the Web server, and also includes the encoded operation configuration information of the target user.

[0050] In the first device, an application is used to trigger a code scanning component to scan the first identification code. The application is provided by a Web server, so the custom format of the cloud service provider in the first identification code can be identified.

[0051] In S205, the first device 110 sends the target address to the third device 130. The target address includes the domain name of the Web server and the operation configuration information of the target user that complies with certain coding rules.

[0052] The first device 110 implements sending to the target address based on the network interface, and can send it through, for example, email, instant messaging software, a server application provided by a Web server, etc.

[0053] In S206, the third device 130 receives the target address sent by the first device 110, and accesses the Web server in the target browser according to the target address. Since the target user has completed the login to the Web server in the target browser, according to the validity of the same domain name in a session, the target browser will directly open and log in to the Web page with the same domain name based on the typed target address. In addition, the service provider of the target browser provides a decoding service on the Web page, and parses the operation configuration information of the target user based on the target address. According to the operation configuration information, while opening the Web page, the customized requirements of the target user are displayed to facilitate the target user to use the cloud service to conveniently manage their own resources.

[0054] Here, there is no special requirement for the execution order of S201, S202, and S203, and the change of the execution order will not affect the final effect.

[0055] In this way, in the scenario of scanning code login, the second device 120 provides the stored user customization requirements in the login QR code, and based on the scanning login capability provided by the application running in the first device 110. By saving the target user's operation management configuration information in the portable first device 110, the target user can "carry with him" and obtain and manage his own web page management configuration information, so as to conveniently perform cross-browser or cross-terminal web page configuration, while avoiding the risk of user information leakage, improving security and work efficiency. It can be understood that the customization requirements of multiple target users can be saved in the first device 110, and the saving method is similar to the above process, which will not be repeated.

[0056] In some embodiments, after S206, when the target user manages his own resources based on the Web page in the third device 130 or exits the management program, he can use the first device 110 to update the saved resource configuration information of the target user regularly or randomly. Specifically, the Web page in the third device 130 supports the generation and display of the second identification code at any time. The second identification code contains the resource configuration information of the target user. The second identification code is provided by the Web server and complies with the custom format of the Web server manufacturer. It can be understood that the Web server will instantly generate an updated second identification code based on the target user's changes to the Web page operation configuration. The second identification code also contains the timestamp of the Web page operation configuration change. The target user uses the application running on the first device 110 to trigger the code scanning component at an appropriate time according to his own needs. The code scanning component scans the second identification code, reads the resource configuration information of the target user contained in the second identification code, and parses and saves it in the application according to the custom format. The application is provided by the Web server.

[0057] In this way, the resource configuration information of the target user stored in the first device 110 can be updated in real time, further improving the work efficiency of the target user.

[0058] The above is an introduction to the system and process for obtaining Web user information provided by the embodiment of the present application. Next, based on the above content, the method for obtaining Web user information provided by the embodiment of the present application is introduced.

[0059] For example, Figure 3 A schematic diagram of a flow chart of a method for obtaining Web user information provided in an embodiment of the present application is shown. Figure 3 The method for obtaining Web user information shown mainly involves the aforementioned Figure 1or the first device 110, the second device 120 and the third device 130 described in 2. Figure 3 As shown, the method for obtaining Web user information is applied to a first device 110 having a code scanning component, and may include the following steps:

[0060] Step S301, read the first identification code displayed by the second device 120, the first identification code includes operation configuration information of at least one user, and the user is a user who has used the second device 120 to log in to the Web server to manage his own resources.

[0061] In this embodiment, a browser is installed in the second device 120, and the user can log in to the Web server through the Web page in the browser to manage his own resources. In the process of management, the user can configure the management method of the Web page according to his own needs. The user's customized requirements are stored in the second device 120 using the browser's front-end local cache technology. The user's customized requirements also include the timestamp of the user's change to a specific operation configuration. When the user completes the operation in the browser and logs out, the user's customized information is still stored in the second device 120.

[0062] In the scenario of scanning code login, when the user needs to log in to the Web server again in the second device 120, the first identification code can be displayed in the Web page of the browser. The first identification code is provided by the Web server in a custom format, including the device ID number assigned by the Web server to the second device 120, and several user-defined requirements saved by the second device 120. The first identification code can be a color QR code that can contain up to 5KB of information to carry the required user operation management information.

[0063] The scanning component is triggered by the application program running in the first device 110 to read the first identification code displayed by the second device 120. The application program is provided by the Web server and can parse the user-defined requirements contained in the first identification code in a customized format.

[0064] Step S302, determining whether the user includes a target user, if yes, saving the target user's operation configuration information on the first device 110, and generating a target address according to the target user's operation configuration information. The target user is a user who logs in to the Web server using an application running on the first device 110, and the application is provided by the Web server.

[0065] In this embodiment, based on the previous operation of scanning the identification code in the scenario of scanning the code to log in, the first device 110 may have saved the operation configuration information of the target user. After the first device 110 parses the several user-defined requirements contained in the first identification code, if it is determined that the several users do not include the target user, or the first identification code does not include the ID information of the second device 120, it means that the first identification code does not carry any valid login information and can be discarded.

[0066] If it is determined that the target user is included in the users, the operation configuration information of the target user saved by the first device 110 is compared, updated or merged according to the sequence of the timestamp of the operation configuration information of the target user contained in the first identification code and the timestamp of the operation configuration information of the target user saved by the first device 110.

[0067] A target address is generated according to the operation configuration information of the target user stored in the first device 110 . The target address includes the domain name of the Web server and the encoded operation configuration information of the target user.

[0068] Step S303: Send the target address to the third device 130. The target address is used for the target user to access the Web server on the third device 130 and perform operation configuration for self-resource management.

[0069] In this embodiment, the first device 110 can use a network interface to send the target address. The third device 130 is installed with a target browser, which supports decoding the encoded operation configuration information of the target user.

[0070] Before using the target address, the target user also needs to log in to the Web server using the Web page of the target browser of the third device 130 .

[0071] After receiving the target address, the target browser is used to parse the target user's operation configuration information, access the Web server according to the domain name of the Web server contained in the target address, and the Web page is configured according to the target user's operation configuration information, so that the target user can conveniently use the services provided by the Web server to manage his own resources.

[0072] In some embodiments, after S303, when the target user manages his own resources or exits management based on a web page in the third device 130, the first device 110 can be used to update the saved resource configuration information of the target user periodically or randomly.

[0073] Figure 4 The flowchart of a method for obtaining Web user information provided by an embodiment of the present application is shown. Figure 4As shown, when the target user manages his own resources based on the Web page in the third device 130, he can use the first device 110 to update the saved resource configuration information of the target user regularly or randomly, which specifically includes the following steps:

[0074] Step S401, use the code scanning component to scan the second identification code displayed in the browser by the third device 130, the second identification code includes the resource configuration information of the target user, the second identification code is provided by the Web server, and conforms to the custom format of the Web server manufacturer. It can be understood that the Web server will generate an updated second identification code in real time according to the target user's change of the Web page operation configuration, and the second identification code also includes the timestamp of the Web page operation configuration change.

[0075] Step S402, save the user's operation configuration information. The target user triggers the code scanning component at an appropriate time using the application running on the first device 110 according to his own needs. The code scanning component scans the second identification code, reads the resource configuration information of the target user contained in the second identification code, and parses it in the application according to a custom format. The operation configuration information of the target user obtained by parsing and the operation configuration information of the target user that may have been saved are compared and saved according to the timestamp. The application is provided by a Web server.

[0076] In this way, the resource configuration information of the target user stored in the first device 110 can be updated in real time, further improving the work efficiency of the target user.

[0077] It is understandable that the size of the sequence number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in some possible implementations, each step in the above embodiment can be selectively executed according to actual conditions, and can be partially executed or fully executed, which is not limited here.

[0078] Based on the method in the above embodiment, the embodiment of the present application also provides a device for obtaining Web user information.

[0079] For example, Figure 5 A schematic structural diagram of a device for acquiring Web user information is shown. Figure 5 The Web user information acquisition device shown in can be deployed in the above Figure 1 The first device 110 described in Figure 5 As shown, the device 500 for acquiring Web user information may include: a scanning module 501 , a processing module 502 and a sending module 503 .

[0080] Among them, the scanning module 501 is used to use the scanning component to scan the first identification code displayed by the second device in the browser; the first identification code includes the user's operation configuration information, and the user is a user who has used the browser of the second device to access the Web server to manage its own resources.

[0081] The processing module 502 is used to save the user's operation configuration information.

[0082] Sending module 503 is used to send the target address to the third device when the user needs to use the browser of the third device to access the Web server for self-resource management, so as to use the user's operation configuration information on the Web page; the target address includes the user's operation configuration information, and the Web page is the page for accessing the Web server.

[0083] In some embodiments, before using the scanning component to scan the first identification code displayed in the browser of the second device, the processing module 502 is also used to use the user's account information to log in to the Web server in the application. The application is provided by the Web server and runs on the first device. The account information includes a user name and password.

[0084] In some embodiments, when the scanning module 501 uses the code scanning component to scan the first identification code displayed in the browser of the second device, it is used to use an application to trigger the code scanning component to scan the first identification code.

[0085] In some embodiments, the user logs into the web server through a web page of a browser of a third device.

[0086] In some embodiments, the target address includes a domain name of a web server.

[0087] In some embodiments, the scanning module 501, the processing module 502 and the sending module 503 can be implemented by software or by hardware. Exemplarily, the implementation of the scanning module 501 is described below by taking the scanning module 501 as an example. Similarly, the implementation of the processing module 502 and the sending module 503 can refer to the implementation of the scanning module 501.

[0088] As an example of a software functional unit, the scanning module 501 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the scanning module 501 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.

[0089] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. Communication gateways are required in each VPC for cross-region communication between two VPCs in the same region and between VPCs in different regions. Interconnection between VPCs is achieved through communication gateways.

[0090] As an example of a hardware functional unit, the scanning module 501 may include at least one computing device, such as a server, etc. Alternatively, the scanning module 501 may also be a device implemented using an application-specific integrated circuit (ASlC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0091] The multiple computing devices included in the scanning module 501 can be distributed in the same region or in different regions. The multiple computing devices included in the scanning module 501 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the scanning module 501 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0092] It should be noted that, in other embodiments, the scanning module 501 can be used to execute any step in the method described above, the scanning module 501 can be used to execute any step in the method provided in the above embodiment, the processing module 502 and the sending module 503 can be used to execute any step in the method provided in the above embodiment, or the steps that the scanning module 501, the processing module 502 and the sending module 503 are responsible for implementing can be specified as needed, and the scanning module 501, the processing module 502 and the sending module 503 respectively implement different steps in the method provided in the above embodiment to realize all the functions of the Web user information acquisition device 500.

[0093] Based on the method in the above embodiment, an embodiment of the present application provides an electronic device. The electronic device may include: a code scanning component for reading the information in the identification code; at least one memory for storing a program; and at least one processor for executing the program stored in the memory. Wherein, when the program stored in the memory is executed, the processor is used to execute the method described in the above embodiment. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a server, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, and a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) device, a virtual reality (virtual reality, VR) device, an artificial intelligence (artificial intelligence, Al) device, a wearable device, a vehicle-mounted device, a smart home device and / or a smart city device. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device.

[0094] Based on the method in the above embodiment, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method in the above embodiment.

[0095] Based on the method in the above embodiment, an embodiment of the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method in the above embodiment.

[0096] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0097] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an AS1C.

[0098] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0099] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.

Claims

1. A method for obtaining Web user information, characterized in that: Applied to a first device having a code scanning component, the method includes: Use the code scanning component to scan a first identification code displayed in a browser of the second device; the first identification code includes operation configuration information of a user, and the user is a user who has used a browser of the second device to access a Web server to manage its own resources; Saving the operation configuration information of the user; When the user needs to use the browser of a third device to access the Web server for self-resource management, the target address is sent to the third device so that the user's operation configuration information can be used on the Web page; the target address includes the user's operation configuration information, and the Web page is a page for accessing the Web server.

2. The method according to claim 1, characterized in that Before using the code scanning component to scan the first identification code displayed by the second device in the browser, the method further includes: The user's account information is used to log in to the Web server in an application, the application is provided by the Web server, the application runs on the first device, and the account information includes a user name and a password.

3. The method according to claim 2, characterized in that The using the code scanning component to scan the first identification code displayed in the browser of the second device includes: The application is used to trigger the code scanning component to scan the first identification code.

4. The method according to any one of claims 1 to 3, characterized in that: The user logs in to the Web server through the Web page of the browser of the third device.

5. The method according to any one of claims 1 to 4, characterized in that: The target address includes the domain name of the Web server.

6. A device for acquiring Web user information, characterized in that: Deployed on a first device having a code scanning component, the apparatus includes: A scanning module, using the code scanning component to scan a first identification code displayed by the second device in the browser; the first identification code includes operation configuration information of a user, and the user is a user who has used the browser of the second device to access the Web server to manage its own resources; A processing module, used for storing the operation configuration information of the user; The sending module sends a target address to the third device when the user needs to use the browser of the third device to access the Web server for self-resource management, so as to use the user's operation configuration information on the Web page; the target address includes the user's operation configuration information, and the Web page is a page for accessing the Web server.

7. A system for acquiring Web user information, characterized in that: The device comprises a first device, a second device and a third device, wherein the first device has a code scanning component; The first device is used to log in to the Web server in an application using the user's account information. The application is provided by the Web server and runs on the first device. The account information includes a user name and a password: The second device is used to display the first identification code in the browser; the first identification code includes the operation configuration information of the user, and the user is a user who has used the browser of the second device to access the Web server to manage its own resources; The first device is further configured to use the application to trigger the code scanning component to scan the first identification code; The first device is further used to store the operation configuration information of the user; The first device is further configured to send a target address to the third device when the user needs to use a browser of a third device to access the Web server for self-resource management, so as to use the operation configuration information of the user on the Web page; The target address includes the operation configuration information of the user, and the Web page is a page accessing the Web server; The third device is used to receive the target address and provide the user with access to the Web server and a service for configuring Web page operations for resource management.

8. An electronic device, characterized in that: include: A code scanning component is used to read the information in the identification code; at least one memory for storing a program; at least one processor, configured to execute the program stored in the memory; Wherein, when the program stored in the memory is executed, the processor is used to execute the method according to any one of claims 1-5.

9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed on a processor, the processor is caused to execute the method according to any one of claims 1 to 5.

10. A computer program product, characterized in that When the computer program product runs on a processor, the processor is caused to execute the method according to any one of claims 1 to 5.