CN111159738A - Permission configuration method, application login method and device - Google Patents

Permission configuration method, application login method and device Download PDF

Info

Publication number
CN111159738A
CN111159738A CN201911369540.6A CN201911369540A CN111159738A CN 111159738 A CN111159738 A CN 111159738A CN 201911369540 A CN201911369540 A CN 201911369540A CN 111159738 A CN111159738 A CN 111159738A
Authority
CN
China
Prior art keywords
application
operation authority
target application
information
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911369540.6A
Other languages
Chinese (zh)
Other versions
CN111159738B (en
Inventor
彭保华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911369540.6A priority Critical patent/CN111159738B/en
Publication of CN111159738A publication Critical patent/CN111159738A/en
Application granted granted Critical
Publication of CN111159738B publication Critical patent/CN111159738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Abstract

The invention provides an authority configuration method, an application login method and an application login device, and relates to the technical field of information security. The permission configuration method comprises the following steps: when a target application is in a foreground running state, acquiring at least one application interface which is displayed by the target application and has an incidence relation; generating operation authority information corresponding to the target application, wherein the operation authority information comprises the at least one application interface and account information of the target application; the operation authority information is used for enabling the second electronic equipment to have operation authority for displaying the at least one application interface when receiving the operation authority information. The invention can limit the allowed functions of the second electronic equipment, avoid the leakage of important information even if the application account number is lost, and improve the safety performance.

Description

Permission configuration method, application login method and device
Technical Field
The invention relates to the technical field of information security, in particular to a permission configuration method, an application login method and an application login device.
Background
With the continuous development of terminal technology, various types of application programs are generally installed in a terminal to meet the requirements of users for life and work.
Currently, an account of an application corresponds to a password, and all operation rights of the account are possessed after the account is logged in. The account is only kept by the user under normal conditions, if the account is handed to other people for logging in, some security risks and privacy leakage risks are faced, and the password needs to be modified in time.
At present, the account password of the application program is directly shared with others, so that the account is easily stolen, and the security is low.
Disclosure of Invention
The embodiment of the invention provides a permission configuration method, an application login method and an application login device, and aims to solve the problems that in the prior art, an account is easily stolen and the security is low due to the fact that an account password of an application is shared.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for configuring an authority, including:
when a target application is in a foreground running state, acquiring at least one application interface which is displayed by the target application and has an incidence relation;
generating operation authority information corresponding to the target application, wherein the operation authority information comprises the at least one application interface and account information of the target application;
the operation authority information is used for enabling the second electronic equipment to have operation authority for displaying the at least one application interface when receiving the operation authority information.
In a second aspect, an embodiment of the present invention provides an application login method, including:
receiving operation authority information corresponding to a target application, wherein the operation authority information comprises account information and at least one application interface with an incidence relation;
and logging in the target application based on the account information, wherein the second electronic equipment has the operation authority of displaying the at least one application interface.
In a third aspect, an embodiment of the present invention provides an authority configuration apparatus, including:
the application interface acquisition module is used for acquiring at least one application interface which is displayed by the target application and has an incidence relation when the target application is in a foreground running state;
an operation authority generation module, configured to generate operation authority information corresponding to the target application, where the operation authority information includes the at least one application interface and account information of the target application; the operation authority information is used for enabling the second electronic equipment to have operation authority for displaying the at least one application interface when receiving the operation authority information.
In a fourth aspect, an embodiment of the present invention provides an application login apparatus, including:
the system comprises an operation authority receiving module, a processing module and a display module, wherein the operation authority receiving module is used for receiving operation authority information corresponding to a target application, and the operation authority information comprises account information and at least one application interface with an incidence relation;
and the target application login module is used for logging in the target application based on the account information, and the second electronic equipment has the operation permission for displaying the at least one application interface.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a program stored on the memory and executable on the processor, where the program, when executed by the processor, implements the steps of the privilege configuration method described in any one of the above, or implements the steps of the application login method described in any one of the above.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a program is stored on the computer-readable storage medium, and the program, when executed by a processor, implements the steps of the authority configuration method described in any one of the above, or implements the steps of the application login method described in any one of the above.
In the embodiment of the invention, when the target application is in a foreground running state, at least one application interface with an association relation displayed by the target application is acquired, and operation authority information corresponding to the target application is generated, wherein the operation authority information comprises at least one application interface and account information of the target application, and the operation authority information is used for limiting the authority limit of operating the target application when the second electronic device receives the operation authority information. According to the embodiment of the invention, the operation authority information is generated according to the recorded application interface displayed when the target application runs in the foreground and the account information of the target application, and the operation authority information only supports the second electronic device to execute and display the operation authority of the included application interface, so that the function allowed to be used by the second electronic device can be limited, the leakage of important information can be avoided even if the application account is lost, and the safety performance is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for configuring permissions according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of an application login method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a permission configuration apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an application login apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of a permission configuration method according to an embodiment of the present invention is shown, where the permission configuration generation method may be applied to a first electronic device, and specifically may include the following steps:
step 101: and when the target application is in a foreground running state, acquiring at least one application interface which is displayed by the target application and has an incidence relation.
In an embodiment of the present invention, the first electronic Device may be a mobile electronic Device, such as a mobile phone, a tablet Device (PAD), and the like. In particular, the present invention may be determined according to practical situations, and the embodiments of the present invention are not limited thereto.
The target application may be an application program which is downloaded and installed in the first electronic device in advance and needs to be recorded with operation information. Of course, the target application may also be a system program in the first electronic device, that is, an application program installed when the first electronic device is shipped from the factory.
In some examples, the target application may be a game-type application, such as a "xxx hand-game" application, a "xxx mini-game" application, or the like.
In some examples, the target application may be a payment-type application, such as a "xx bank" application, a "xx payment" application, or the like.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
In particular implementations, the target application may also be other types of applications, such as video type, communication type, and so forth.
The application interface refers to an application interface displayed during the foreground operation of the target application, such as page jump (a page jumps to a B page, etc.), and may record the application interface displayed before and after the page jump.
In the present invention, an application interface displayed when a target application runs in the foreground may be recorded in real time based on a recording function preset on the first electronic device, and specifically, the detailed description may be performed in combination with the following specific implementation manner.
In a specific implementation manner of the present invention, the step 101 may include:
substep A1: and starting a recording function on the first electronic equipment.
In the embodiment of the present invention, the recording function refers to a function for recording various information on the screen of the first electronic device, that is, screen recording.
In some examples, the recording function may be a recording function preset on the first electronic device, that is, recording software preset in the first electronic device, so that recording of the screen of the first electronic device may be implemented.
Of course, the present invention is not limited to this, and in a specific implementation, the recording function may also be a function implemented by other software, and specifically, may be determined according to a service requirement, and the embodiment of the present invention is not limited to this.
When the target application is in a foreground running state, the recording function of the first electronic device can be started.
After the recording function on the first electronic device is initiated, sub-step a2 is performed.
Substep A2: and recording to obtain the at least one application interface based on the recording function.
After the recording function is started, an application interface displayed during the running process of the target application can be recorded based on the recording function.
It can be understood that the above implementation manner is only one manner for obtaining at least one application interface recited for better understanding of the technical solution of the embodiment of the present invention, and in a specific implementation manner, an application interface displayed when a target application runs in a foreground may also be obtained in other manners, and specifically, the implementation manner may be determined according to a business requirement, which is not limited in this embodiment of the present invention.
The at least one application interface has an association relationship, and the target application can record the application interface displayed by each target application in real time in the foreground running process, and can establish the association relationship between the application interfaces according to the display sequence of the application interfaces, and specifically, the detailed description can be performed by combining the following step B1 and step B2.
Step B1: and acquiring the at least one application interface displayed by the target application and the generated operation information.
In the embodiment of the present invention, the operation information refers to information generated in a foreground operation process of a target application, and the operation information may include an interface name, interface jump information, coordinates of a user clicking a screen, and the like.
In the process that the target application is in foreground operation, at least one application interface displayed on the screen of the first electronic device and operation information executed on each application interface by a holding user of the first electronic device, such as coordinates of a click screen, information of interface jump (such as jump from the application interface 1 to the application interface 2) and the like, can be recorded.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After acquiring the at least one application interface displayed by the target application and the generated operation information, step B2 is executed.
Step B2: and establishing an association relation between the at least one application interface according to the operation information.
After the operation information is obtained, an association relationship between at least one application interface may be established according to the operation information.
After recording the operation information of the target application in the running process, the operation information may be recorded in a local data set, and of course, the operation path of each operation information may be included in the operation information.
It can be understood that the foregoing example is only for better understanding of the technical solution of the embodiment of the present invention, and the listed manner of recording the operation information of the target application in the running process, in a specific implementation, the operation information of the target application in the running process may also be recorded in other manners, and in particular, may be determined according to business requirements, and the specific recording manner is not limited by the embodiment of the present invention.
After recording the operation information of the target application in the running process, an association relationship between at least one application interface can be established according to the operation information. For example, when the operation information is recorded, the specific coordinates of the screen can be clicked, the application interfaces can be displayed, and the display sequence of the application interfaces can be included, so that the association relationship between the application interfaces can be established.
After acquiring at least one application interface with an association relationship displayed by the target application, executing step 102.
Step 102: generating operation authority information corresponding to the target application, wherein the operation authority information comprises the at least one application interface and account information of the target application; the operation authority information is used for enabling the second electronic equipment to have operation authority for displaying the at least one application interface when receiving the operation authority information.
The account information is account information used when the holder of the first electronic device logs in the target application when the first electronic device runs the target application. The account information may include an account number and a password.
In some examples, the account information of the login target application may be acquired through at least one application interface, for example, when a holder of the first electronic device starts the target application for the first time, an input box corresponding to an account and a password that need to be input by the holder may be displayed in the application interface displayed for the first time, and when the account and the password are input by the holder, screen recording may be performed to acquire the account and the password input by the user, that is, the account information of the login target application may be acquired.
In some examples, the account information of the login target application may be obtained through information of the target application recorded in the background, for example, when the holder logs in the target application for the first time, an account and a password of the login target application are already input and recorded, and in a subsequent login process, the account information recorded when the holder logs in the target application for the first time may be obtained from the account information recorded in the background when the holder logs in the target application for the first time.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
The operation authority information refers to authority assigned to other electronic devices to perform operations on the target application, and the operation authority information may be used to limit the authority for operating the target application when the second electronic device receives the operation authority information. The operation authority information comprises at least one application interface and account information, the account information can enable other electronic equipment to log in the target application, and the at least one application interface is an interface which can be displayed when the other electronic equipment operates the target application.
After the at least one application interface displayed in the foreground running process of the target application and the account information of the login target user are obtained, the operation authority information of the target application can be generated by combining the at least one application interface and the account information, and after the operation authority information is distributed to other electronic equipment, the other electronic equipment can log in the target application according to the account information in the operation authority information and only can execute the operation of displaying the at least one application interface. For example, if the operation authority information includes the application interface 1, the application interface 2, and the application interface 3, the other electronic device may perform an operation of displaying the application interface 1, the application interface 2, and the application interface 3 only on the target application.
According to the embodiment of the invention, the operation authority information is generated and distributed to other electronic equipment, and even if other electronic equipment acquires the account and the password of the target application, only the operation matched with the operation authority information can be executed, so that the leakage of important information can be avoided.
According to the permission configuration method provided by the embodiment of the invention, when the target application is in the foreground running state, the at least one application interface with the association relation displayed by the target application is obtained, and the operation permission information corresponding to the target application is generated, wherein the operation permission information comprises the at least one application interface and the account information of the target application, and the operation permission information is used for limiting the permission of operating the target application when the second electronic device receives the operation permission information. According to the embodiment of the invention, the operation authority information is generated according to the recorded application interface displayed when the target application runs in the foreground and the account information of the target application, and the operation authority information only supports the second electronic device to execute and display the operation authority of the included application interface, so that the function allowed to be used by the second electronic device can be limited, the leakage of important information can be avoided even if the application account is lost, and the safety performance is improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of an application login method according to an embodiment of the present invention is shown, where the application login method may be applied to a second electronic device, and specifically may include the following steps:
step 201: receiving operation authority information corresponding to a target application, wherein the operation authority information comprises account information and at least one application interface with an incidence relation.
In an embodiment of the present invention, the second electronic Device may be a mobile electronic Device, such as a mobile phone, a tablet Device (PAD), and the like. In particular, the present invention may be determined according to practical situations, and the embodiments of the present invention are not limited thereto.
The target application may be an application program which is downloaded and installed in the second electronic device in advance and needs to be subjected to operation information recording. Of course, the target application may also be a system program in the first electronic device, that is, an application program installed when the first electronic device is shipped from the factory.
In some examples, the target application may be a game-type application, such as a "xxx hand-game" application, a "xxx mini-game" application, or the like.
In some examples, the target application may be a payment-type application, such as a "xx bank" application, a "xx payment" application, or the like.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
In particular implementations, the target application may also be other types of applications, such as video type, communication type, and so forth.
The operation authority information refers to information of an operable authority for the target application transmitted by the first electronic device, and the operation authority information may include: the first electronic device operates the target application by using the account information and the at least one application interface with the association relationship.
The first electronic device may be the same type of electronic device as the second electronic device, e.g., the first electronic device and the second electronic device are both cell phones, are both PADs, etc. The first electronic device may also be a different type of electronic device than the second electronic device, e.g., the first electronic device is a cell phone and the second electronic device is a PAD, etc. Specifically, the method and the device may be determined according to business requirements, and the embodiment of the present invention is not limited thereto.
At least one application interface included in the operation authority information may be used to indicate an application interface that can be displayed when the second electronic device executes the target application, for example, the application interface included in the operation authority information includes: interface 1, interface 2 and interface 3, then, when the second electronic device runs the target application in the foreground using the account information of the first electronic device, only the operations of displaying interface 1, interface 2 and interface 3 may be executed.
Of course, not limited to this, other operation information such as coordinates of a click screen, inputtable numbers, and the like may be included in the operation authority information.
After receiving the operation authority information of the target application, step 202 is performed.
Step 202: and logging in the target application based on the account information, wherein the second electronic equipment has the operation authority of displaying the at least one application interface.
After the second electronic device obtains the operation permission information of the target application shared by the first electronic device, the operation permission information can be analyzed to obtain at least one application interface and account information of the target application contained in the operation permission information.
After obtaining the account information of the target application, the second electronic device may log in the target application using the account information, and at this time, the second electronic device has an operation authority to display at least one application interface, for example, the application interface included in the operation authority information includes: interface 1, interface 2 and interface 3, then, when the second electronic device runs the target application in the foreground using the account information of the first electronic device, only the operation of displaying interface 1, interface 2 and interface 3 can be executed, and when the holder of the second electronic device executes the operation of displaying interface 4 or interface 5, the operation will be prevented. In particular, the detailed description may be combined with the following specific implementations.
In a specific implementation manner of the present invention, after the step 202, the method may further include:
step C1: and acquiring the application operation to be executed aiming at the target application.
In the embodiment of the present invention, the application operation refers to an operation to be performed on the target application, which is performed by the second electronic device, for example, an interface jump, a transfer operation, and the like.
After the second electronic device executes the application operation on the logged target application, the application operation may be cached, that is, the application operation is not executed for the moment, and a subsequent process of matching the parsed operation information is performed.
After acquiring the application operation to be performed for the target application, step C2 is performed, or step C3 is performed.
Step C2: and displaying the at least one application interface corresponding to the application operation under the condition that the application operation is successfully matched with the operation authority.
Step C3: and when the matching of the application operation and the operation authority fails, preventing the application operation from being executed.
After obtaining the application operation to be executed for the target application, the application operation may be matched with the operation permission, and specifically, the application operation may be analyzed to obtain an application interface to be displayed after the application operation is executed for the target application. And if the application interface to be displayed is matched with at least one application interface contained in the operation authority information, the application operation and the operation authority are successfully matched, at this time, the application operation can be executed, and at least one application interface corresponding to the application operation is displayed on the screen of the second electronic equipment. And if the application interface to be displayed is not matched with at least one application interface contained in the operation authority information, the application operation is failed to be matched with the operation authority, and at the moment, the execution of the application operation can be prevented.
According to the embodiment of the invention, by limiting the use function of the target application, the second electronic equipment only allows the operation matched with the operation authority information to be executed, so that the safety of the target application account of the first electronic equipment can be ensured.
According to the application login method provided by the embodiment of the invention, the operation authority information corresponding to the target application is obtained, the operation authority information comprises at least one application interface and account information which have an incidence relation, the target application is logged in based on the account information, and the second electronic device has the operation authority of displaying the at least one application interface. According to the embodiment of the invention, the second electronic equipment is limited to use the function used by the first electronic equipment, and only the operation matched with the operation authority information is allowed to be executed, so that the safety of the target application account of the first electronic equipment can be ensured.
EXAMPLE III
Referring to fig. 3, a schematic structural diagram of an authority configuration apparatus according to an embodiment of the present invention is shown, where the authority configuration apparatus may be applied to a first electronic device, and specifically may include the following modules:
an application interface obtaining module 310, configured to obtain at least one application interface with an association relationship displayed by a target application when the target application is in a foreground running state;
an operation authority generating module 320, configured to generate operation authority information corresponding to the target application, where the operation authority information includes the at least one application interface and account information of the target application; the operation authority information is used for enabling the second electronic equipment to have operation authority for displaying the at least one application interface when receiving the operation authority information.
Optionally, the application interface acquiring module 310 includes:
the recording function starting sub-module is used for starting a recording function on the first electronic equipment;
and the application interface recording submodule is used for recording to obtain the at least one application interface based on the recording function.
Optionally, the account information includes an account number and a password.
According to the permission configuration device provided by the embodiment of the invention, when the target application is in the foreground running state, the at least one application interface with the association relation displayed by the target application is obtained, and the operation permission information corresponding to the target application is generated, wherein the operation permission information comprises the at least one application interface and the account information of the target application, and the operation permission information is used for limiting the permission of operating the target application when the second electronic device receives the operation permission information. According to the embodiment of the invention, the operation authority information is generated according to the recorded application interface displayed when the target application runs in the foreground and the account information of the logged target application, and the operation authority information only supports the second electronic device to execute the operation authority of the application interface contained in the display, so that the function allowed to be used by the second electronic device can be limited, the leakage of important information can be avoided even if the application account is lost, and the safety performance is improved.
Example four
Referring to fig. 4, a schematic structural diagram of an application login apparatus according to an embodiment of the present invention is shown, where the application login apparatus may be applied to a second electronic device, and specifically includes the following modules:
an operation authority receiving module 410, configured to receive operation authority information corresponding to a target application, where the operation authority information includes account information and at least one application interface having an association relationship;
and a target application login module 420, configured to log in the target application based on the account information, where the second electronic device has an operation right to display the at least one application interface.
Optionally, the method further comprises:
an application operation obtaining module, configured to obtain an application operation to be executed for the target application;
the application operation execution module is used for displaying the at least one application interface corresponding to the application operation under the condition that the application operation is successfully matched with the operation authority;
and the application operation blocking module is used for blocking the application operation from being executed under the condition that the matching of the application operation and the operation authority fails.
According to the application login device provided by the embodiment of the invention, the operation authority information corresponding to the target application is obtained, the operation authority information comprises the account information and at least one application interface with an incidence relation, the target application is logged in based on the account information, and the second electronic equipment has the operation authority for displaying the at least one application interface. According to the embodiment of the invention, the second electronic equipment is limited to use the function used by the first electronic equipment, and only the operation matched with the operation authority information is allowed to be executed, so that the safety of the target application account of the first electronic equipment can be ensured.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of an electronic device for implementing various embodiments of the present invention is shown.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 510, configured to obtain at least one application interface with an association relationship, which is displayed by a target application, when the target application is in a foreground running state; and generating operation authority information corresponding to the target application, wherein the operation authority information comprises the at least one application interface and account information of the target application, and the operation authority information is used for limiting the authority limit for operating the target application when the second electronic device receives the operation authority information.
In the embodiment of the invention, when the target application is in a foreground running state, at least one application interface with an association relation displayed by the target application is acquired, and operation authority information corresponding to the target application is generated, wherein the operation authority information comprises at least one application interface and account information of the target application, and the operation authority information is used for limiting the authority limit of operating the target application when the second electronic device receives the operation authority information. According to the embodiment of the invention, the operation authority information is generated according to the recorded application interface displayed when the target application runs in the foreground and the account information of the target application, and the operation authority information only supports the second electronic device to execute and display the operation authority of the included application interface, so that the function allowed to be used by the second electronic device can be limited, the leakage of important information can be avoided even if the application account is lost, and the safety performance is improved.
The processor 510 is further configured to receive operation authority information corresponding to a target application, where the operation authority information includes account information and at least one application interface having an association relationship; and logging in the target application based on the account information, wherein the second electronic equipment has the operation authority of displaying the at least one application interface.
In the embodiment of the invention, the operation authority information corresponding to the target application is received, the operation authority information comprises account information and at least one application interface with an incidence relation, the target application is logged in based on the account information, and the second electronic device has the operation authority for displaying the at least one application interface. According to the embodiment of the invention, the second electronic equipment is limited to use the function used by the first electronic equipment, and only the operation matched with the operation authority information is allowed to be executed, so that the safety of the target application account of the first electronic equipment can be ensured.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; alternatively, processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and optionally, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an electronic device is further provided in an embodiment of the present invention, and includes a processor 510, a memory 509, and a program that is stored in the memory 509 and can be run on the processor 510, and when the program is executed by the processor 510, the program implements each process of the above-mentioned embodiment of the permission configuration method or the embodiment of the application login method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a program is stored on the computer-readable storage medium, and when the program is executed by a processor, the program implements each process of the above-mentioned embodiment of the permission configuration method or the embodiment of the application login method, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An authority configuration method applied to a first electronic device is characterized by comprising the following steps:
when a target application is in a foreground running state, acquiring at least one application interface which is displayed by the target application and has an incidence relation;
generating operation authority information corresponding to the target application, wherein the operation authority information comprises the at least one application interface and account information of the target application;
the operation authority information is used for enabling the second electronic equipment to have operation authority for displaying the at least one application interface when receiving the operation authority information.
2. The method of claim 1, wherein the obtaining at least one application interface displayed by the target application and having an association relationship comprises:
starting a recording function on the first electronic equipment;
and recording to obtain the at least one application interface based on the recording function.
3. The method of claim 1, wherein the account information comprises an account number and a password.
4. An application login method applied to a second electronic device is characterized by comprising the following steps:
receiving operation authority information corresponding to a target application, wherein the operation authority information comprises account information and at least one application interface with an incidence relation;
and logging in the target application based on the account information, wherein the second electronic equipment has the operation authority of displaying the at least one application interface.
5. The method of claim 4, further comprising, after the logging in the target application based on the account information:
acquiring application operation to be executed for the target application;
under the condition that the application operation is successfully matched with the operation authority, displaying the at least one application interface corresponding to the application operation;
and when the matching of the application operation and the operation authority fails, preventing the application operation from being executed.
6. An authority configuration device applied to a first electronic device, comprising:
the application interface acquisition module is used for acquiring at least one application interface which is displayed by the target application and has an incidence relation when the target application is in a foreground running state;
the operation authority generation module is used for generating operation authority information corresponding to the target application, and the operation authority information comprises the at least one application interface and account information of the target application;
the operation authority information is used for enabling the second electronic equipment to have operation authority for displaying the at least one application interface when receiving the operation authority information.
7. The apparatus of claim 6, wherein the application interface obtaining module comprises:
the recording function starting sub-module is used for starting a recording function on the first electronic equipment;
and the application interface recording submodule is used for recording to obtain the at least one application interface based on the recording function.
8. The apparatus of claim 6, wherein the account information comprises an account number and a password.
9. An application login device applied to a second electronic device, comprising:
the system comprises an operation authority receiving module, a processing module and a display module, wherein the operation authority receiving module is used for receiving operation authority information corresponding to a target application, and the operation authority information comprises account information and at least one application interface with an incidence relation;
and the target application login module is used for logging in the target application based on the account information, and the second electronic equipment has the operation permission for displaying the at least one application interface.
10. The apparatus of claim 9, further comprising:
an application operation obtaining module, configured to obtain an application operation to be executed for the target application;
the application interface display module is used for displaying the at least one application interface corresponding to the application operation under the condition that the application operation is successfully matched with the operation authority;
and the application operation blocking module is used for blocking the application operation from being executed under the condition that the matching of the application operation and the operation authority fails.
CN201911369540.6A 2019-12-26 2019-12-26 Authority configuration method, application login method and device Active CN111159738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911369540.6A CN111159738B (en) 2019-12-26 2019-12-26 Authority configuration method, application login method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911369540.6A CN111159738B (en) 2019-12-26 2019-12-26 Authority configuration method, application login method and device

Publications (2)

Publication Number Publication Date
CN111159738A true CN111159738A (en) 2020-05-15
CN111159738B CN111159738B (en) 2023-05-23

Family

ID=70558317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911369540.6A Active CN111159738B (en) 2019-12-26 2019-12-26 Authority configuration method, application login method and device

Country Status (1)

Country Link
CN (1) CN111159738B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193956A (en) * 2021-04-27 2021-07-30 维沃移动通信有限公司 Account information processing method and device
CN114518924A (en) * 2022-01-29 2022-05-20 苏州达家迎信息技术有限公司 Page display method, device, equipment and storage medium for mobile client

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032516A1 (en) * 2016-08-19 2018-02-22 华为技术有限公司 Method and apparatus for sharing application data, and terminal device
CN107948278A (en) * 2017-11-22 2018-04-20 维沃移动通信有限公司 A kind of information transferring method, terminal device and system
CN109347866A (en) * 2018-11-26 2019-02-15 珠海格力电器股份有限公司 Login method, device, system and computer readable storage medium
US10354093B1 (en) * 2018-09-28 2019-07-16 Atlassian Pty Ltd Managing content authorization in a federated application system
CN110287691A (en) * 2019-05-21 2019-09-27 深圳壹账通智能科技有限公司 Application program login method, device, equipment and storage medium
CN110557499A (en) * 2018-06-01 2019-12-10 Oppo广东移动通信有限公司 Information processing method and device and mobile terminal
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032516A1 (en) * 2016-08-19 2018-02-22 华为技术有限公司 Method and apparatus for sharing application data, and terminal device
CN107948278A (en) * 2017-11-22 2018-04-20 维沃移动通信有限公司 A kind of information transferring method, terminal device and system
CN110557499A (en) * 2018-06-01 2019-12-10 Oppo广东移动通信有限公司 Information processing method and device and mobile terminal
US10354093B1 (en) * 2018-09-28 2019-07-16 Atlassian Pty Ltd Managing content authorization in a federated application system
CN109347866A (en) * 2018-11-26 2019-02-15 珠海格力电器股份有限公司 Login method, device, system and computer readable storage medium
CN110287691A (en) * 2019-05-21 2019-09-27 深圳壹账通智能科技有限公司 Application program login method, device, equipment and storage medium
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193956A (en) * 2021-04-27 2021-07-30 维沃移动通信有限公司 Account information processing method and device
CN114518924A (en) * 2022-01-29 2022-05-20 苏州达家迎信息技术有限公司 Page display method, device, equipment and storage medium for mobile client
CN114518924B (en) * 2022-01-29 2024-02-02 苏州达家迎信息技术有限公司 Page display method, device and equipment of mobile client and storage medium

Also Published As

Publication number Publication date
CN111159738B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN109194818B (en) Information processing method and terminal
CN110457888B (en) Verification code input method and device, electronic equipment and storage medium
CN110719319B (en) Resource sharing method, device, terminal equipment and storage medium
CN110149628B (en) Information processing method and terminal equipment
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN111124706A (en) Application program sharing method and electronic equipment
CN111107223B (en) Message processing method and electronic equipment
CN111159738B (en) Authority configuration method, application login method and device
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN110990850A (en) Authority management method and electronic equipment
CN111209031B (en) Data acquisition method, device, terminal equipment and storage medium
CN110795746B (en) Information processing method and electronic equipment
CN109547330B (en) Information sharing method and device
CN111694536A (en) Audio control method, electronic device and computer-readable storage medium
CN111310250A (en) Application sharing method and electronic equipment
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN110851408A (en) File compression method, file decompression method and electronic equipment
CN110717163B (en) Interaction method and terminal equipment
CN111356096B (en) Information sending method and electronic equipment
CN110995816B (en) Sharing method and electronic device
CN110032861B (en) Password setting method and terminal equipment
CN110210197B (en) Screen sensitivity adjusting method and mobile terminal
CN110096863B (en) Alarm method and mobile terminal
CN108646928B (en) Character input method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant