CN111159738B - Authority configuration method, application login method and device - Google Patents

Authority configuration method, application login method and device Download PDF

Info

Publication number
CN111159738B
CN111159738B CN201911369540.6A CN201911369540A CN111159738B CN 111159738 B CN111159738 B CN 111159738B CN 201911369540 A CN201911369540 A CN 201911369540A CN 111159738 B CN111159738 B CN 111159738B
Authority
CN
China
Prior art keywords
application
information
target application
operation authority
application 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.)
Active
Application number
CN201911369540.6A
Other languages
Chinese (zh)
Other versions
CN111159738A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

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

Description

Authority configuration method, application login method and device
Technical Field
The present invention relates to the field of information security technologies, and in particular, to a permission configuration method, an application login method, and an apparatus.
Background
With the continuous development of terminal technology, various types of application programs are generally installed in terminals to meet the demands of life and work of users.
Currently, an account of an application program corresponds to a password, and all operation authorities of the account are owned after the account is logged in. The account is kept by the person under normal condition, if the account is submitted to other people for login, the security risk and the privacy leakage risk are faced, and the password needs to be modified in time.
At present, the method for directly sharing the account passwords of the application program to other people easily causes account theft, and has lower security.
Disclosure of Invention
The embodiment of the invention provides a permission configuration method, an application login method and an application login device, which are used for solving the problems that account passwords of shared applications are easy to cause account theft and low in security in the prior art.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for configuring rights, including:
when a target application is in a foreground running state, acquiring at least one application interface with an association relation displayed by the target application;
generating operation authority information corresponding to the target application, wherein the operation authority information comprises account information of the at least one application interface and the target application;
the operation authority information is used for enabling the second electronic equipment to have the 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 association relation;
and logging in the target application based on the account information, wherein the second electronic equipment has the operation authority for 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 with an association relation displayed by the target application 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, wherein the operation authority information comprises account information of the at least one application interface and the target application; the operation authority information is used for enabling the second electronic equipment to have the 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 device, including:
the operation authority receiving module is used for receiving operation authority information corresponding to the target application, wherein the operation authority information comprises account information and at least one application interface with an association 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 authority 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 in the memory and capable of running on the processor, where the program when executed by the processor implements the steps of any one of the above rights configuration methods, or implements the steps of any one of the above application login methods.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a program is stored, the program implementing the steps of the rights configuration method described in any one of the above or implementing the steps of the application login method described in any one of the above when executed by a processor.
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 obtained, operation permission information corresponding to the target application is generated, the operation permission information comprises at least one application interface and account information of the target application, and the operation permission information is used for limiting permission of operating the target application when the second electronic equipment 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 by the target application in the foreground operation and the account information of the target application, and the operation authority information only supports the operation authority of the second electronic equipment for executing the application interface contained in the display, so that the function allowed to be used by the second electronic equipment can be limited, the leakage of important information can be avoided even if the application account number is lost, and the safety performance is improved.
Drawings
FIG. 1 is a flow chart of steps of a method for configuring rights 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 an authority configuration device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an application login device 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 following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, a step flowchart of a rights configuration method provided by an embodiment of the present invention is shown, where the rights 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 with an association relation, which is displayed by the target application.
In the embodiment of the present invention, the first electronic device may be a mobile electronic device, such as a mobile phone, a tablet computer (Portable Android Device, PAD), or the like. In particular, the embodiment of the present invention is not limited thereto, as the actual situation may be.
The target application may be an application program that is downloaded and installed in advance in the first electronic device and needs to record operation information. Of course, the target application may be a system program in the first electronic device, that is, an application program installed when the first electronic device leaves the factory.
In some examples, the target application may be a game-type application, such as an "xxx hand-tour" application, an "xxx mini-game" application, or the like.
In some examples, the target application may be a payment type application, such as an "xx banking" application, an "xx payment" application, or the like.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed 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 types, communication types, and so forth.
The application interface refers to an application interface displayed in the foreground running process of the target application, such as page skip (page a to page B, etc.), and the application interface displayed before and after the skip can be recorded, specifically, the embodiment of the invention is not limited in this way according to the actual situation.
In the invention, based on the preset recording function on the first electronic device, an application interface displayed when the target application is in the foreground running can be recorded in real time, and specifically, the following detailed description can be made in combination with the following specific implementation manner.
In a specific implementation 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 on the screen of the first electronic device may be implemented.
Of course, not limited thereto, in a specific implementation, the recording function may also be a function implemented by other software, and in particular, may be determined according to a service requirement, which is not limited by the embodiment of the present invention.
When the target application is in a foreground running state, the recording function of the first electronic device can be started.
After starting the recording function on the first electronic device, a 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 by the target application in the running process can be recorded based on the recording function.
It may be appreciated that the foregoing implementation manner is merely one manner of obtaining at least one application interface, which is listed for better understanding of the technical solution of the embodiment of the present invention, and in a specific implementation manner, other manners may also be adopted to obtain an application interface displayed by a target application in a foreground during running, and in particular, the embodiment of the present invention may not be limited to this according to service requirements.
The application interfaces displayed by each target application can be recorded in real time in the foreground running process of the target application, the association relationship between the application interfaces can be established according to the display sequence of the application interfaces, and specifically, the following steps B1 and B2 can be combined for detailed description.
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 invention, the operation information refers to information generated in the process of operating the target application in the foreground, and the operation information can include an interface name, interface jump information, coordinates of clicking a screen by a user, and the like.
In the process that the target application is in the foreground running, at least one application interface displayed on the screen of the first electronic device by the target application and operation information executed on each application interface by a holding user of the first electronic device, such as coordinates of a clicking screen, information of interface skip (such as skip from the application interface 1 to the application interface 2) and the like, can be recorded.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed as the only limitation of the embodiments of the present invention.
And after at least one application interface displayed by the target application and the generated operation information are acquired, executing the step B2.
Step B2: and establishing an association relation between the at least one application interface according to the operation information.
After the operation information is acquired, 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 during the running, the operation information may be recorded in one local data set, and of course, the operation path of each operation information may be also recorded in the operation information.
It can be understood that the foregoing examples are only for better understanding of the technical solution of the embodiments of the present invention, and one way to record the operation information of the target application in the running process is enumerated, in a specific implementation, other ways may also be used to record the operation information of the target application in the running process, and in particular, the embodiment of the present invention is not limited to a specific recording way according to the service requirement.
After the operation information of the target application in the running process is recorded, the association relationship between at least one application interface can be established according to the operation information. For example, when recording the operation information, it may include which specific coordinates of the screen are clicked, which application interface is displayed, and the display order of the application interfaces, thereby establishing the association relationship between the application interfaces.
After obtaining at least one application interface with an association relationship displayed by the target application, step 102 is performed.
Step 102: generating operation authority information corresponding to the target application, wherein the operation authority information comprises account information of the at least one application interface and the target application; the operation authority information is used for enabling the second electronic equipment to have the operation authority for displaying the at least one application interface when receiving the operation authority information.
The account information refers to account information used when the first electronic device runs the target application, and the holder of the first electronic device logs in 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 obtained through at least one application interface, for example, when the holder of the first electronic device starts the target application for the first time, an input box corresponding to an account number and a password that need to be input by the holder may be displayed in the application interface that is displayed for the first time, and when the account number and the password are input by the holder, screen recording may be performed to obtain the account number and the password input by the user, so that the account information of the login target application may be obtained.
In some examples, the account information of the login target application may be obtained through the information of the target application recorded in the background, for example, when the holder logs in the target application for the first time, the account number and the password of the login target application are already input and recorded, and in the subsequent login process, the account information recorded when the holder logs in the target application for the first time is not required to be input, so as to obtain the account information of the login target application from the account information recorded in the background.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed as the only limitation of the embodiments of the present invention.
The operation authority information refers to an authority allocated to other electronic devices to perform an operation on the target application, and the operation authority information may be used to define that the authority to operate the target application is limited 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 by the other electronic equipment when the target application is operated.
After the account information of at least one application interface and a login target user displayed by the target application in the foreground running process is 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 the operation of displaying the at least one application interface can be executed. For example, the operation authority information includes the application interface 1, the application interface 2, and the application interface 3, and then the other electronic devices can only perform the operation of displaying the application interface 1, the application interface 2, and the application interface 3 on the target application.
According to the embodiment of the invention, the operation authority information is distributed to other electronic equipment by generating the operation authority information, and even if the other electronic equipment acquires the account number and the password of the target application, the operation matched with the operation authority information can be only 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, at least one application interface with an association relation displayed by the target application is obtained, the operation permission information corresponding to the target application is generated, the operation permission information comprises at least one application interface and 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 equipment 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 by the target application in the foreground operation and the account information of the target application, and the operation authority information only supports the operation authority of the second electronic equipment for executing the application interface contained in the display, so that the function allowed to be used by the second electronic equipment can be limited, the leakage of important information can be avoided even if the application account number is lost, and the safety performance is improved.
Example two
Referring to fig. 2, a step flowchart of an application login method provided by 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: and receiving operation authority information corresponding to the target application, wherein the operation authority information comprises account information and at least one application interface with an association relationship.
In the embodiment of the present invention, the second electronic device may be a mobile electronic device, such as a mobile phone, a tablet computer (Portable Android Device, PAD), or the like. In particular, the embodiment of the present invention is not limited thereto, as the actual situation may be.
The target application may be an application program that is downloaded and installed in advance in the second electronic device and needs to record operation information. Of course, the target application may be a system program in the first electronic device, that is, an application program installed when the first electronic device leaves the factory.
In some examples, the target application may be a game-type application, such as an "xxx hand-tour" application, an "xxx mini-game" application, or the like.
In some examples, the target application may be a payment type application, such as an "xx banking" application, an "xx payment" application, or the like.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed 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 types, communication types, 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 account information used when the target application and at least one application interface with an association relationship.
The first electronic device may be an electronic device of the same type as the second electronic device, e.g. the first electronic device and the second electronic device are both a mobile phone, a PAD, 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 mobile phone and the second electronic device is a PAD or the like. In particular, embodiments of the present invention are not limited in this regard, as may be based on business requirements.
The at least one application interface included in the operation authority information may be used to instruct the second electronic device that the second electronic device can display when executing the target application, for example, the application interface included in the operation authority information includes: interface 1, interface 2, and interface 3, then the second electronic device may only perform operations to display interface 1, interface 2, and interface 3 when running the target application using the account information of the first electronic device in the foreground.
Of course, not limited thereto, other operation information such as coordinates of a click screen, an inputtable number, 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 for displaying the at least one application interface.
After the second electronic device obtains the operation authority information of the target application shared by the first electronic device, the operation authority information can be analyzed to obtain at least one application interface and account information of the target application contained in the operation authority information.
After obtaining the account information of the target application, the second electronic device may log in the target application using the account information, where the second electronic device has an operation permission to display at least one application interface, for example, an application interface included in the operation permission information includes: interface 1, interface 2, and interface 3, then the second electronic device may only perform operations to display interface 1, interface 2, and interface 3 when the target application is run using the account information of the first electronic device in the foreground, and may be prevented when the holder of the second electronic device performs operations to display interface 4 or interface 5. In particular, the detailed description may be made in connection with the following detailed description.
In a specific implementation manner of the present invention, after the step 202, the method may further include:
step C1: and acquiring an 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 for the target application, which is performed by the second electronic device, for example, an interface skip operation, a transfer operation, and the like.
After the second electronic device executes the application operation on the logged target application, the application operation can be cached, that is, the execution is temporarily stopped, and the subsequent process of matching with the parsed operation information is performed.
After the application operation to be executed for the target application is acquired, step C2 is executed, or step C3 is executed.
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 under the condition that the matching of the application operation and the operation authority fails, preventing the execution of the application operation.
After the application operation to be executed for the target application is acquired, the application operation and the operation authority may be matched, and specifically, the application operation may be parsed to acquire an application interface to be displayed immediately 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 is successfully matched with the operation authority, and at the moment, the application operation can be executed, and at least one application interface corresponding to the application operation is displayed on a 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 failure of matching the application operation with the operation authority is indicated, and at the moment, the execution of the application operation can be prevented.
According to the embodiment of the invention, the second electronic equipment only allows the operation matched with the operation authority information to be executed by limiting the using function of the target application, 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 with an association 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 security of the target application account of the first electronic equipment can be ensured.
Example III
Referring to fig. 3, a schematic structural diagram of a rights configuration device provided by an embodiment of the present invention is shown, where the rights configuration device may be applied to a first electronic device, and may specifically 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 generation module 320, configured to generate operation authority information corresponding to the target application, where the operation authority information includes account information of the at least one application interface and the target application; the operation authority information is used for enabling the second electronic equipment to have the operation authority for displaying the at least one application interface when receiving the operation authority information.
Optionally, the application interface obtaining module 310 includes:
a recording function promoter module for starting a recording function on the first electronic device;
and the application interface recording sub-module is used for recording and obtaining 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, at least one application interface with an association relation displayed by the target application is obtained, the operation permission information corresponding to the target application is generated, the operation permission information comprises at least one application interface and 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 equipment 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 by the target application in the foreground operation and the account information of the login target application, and the operation authority information only supports the operation authority of the application interface which is displayed by the second electronic equipment, so that the function which the second electronic equipment is allowed to use can be limited, leakage of important information can be avoided even if an application account is lost, and the safety performance is improved.
Example IV
Referring to fig. 4, a schematic structural diagram of an application login device provided by an embodiment of the present invention is shown, where the application login device may be applied to a second electronic device, and may specifically include 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 with an association relationship;
and a target application login module 420, configured to login to 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 acquisition module, configured to acquire 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 execution of the application operation 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 account information and at least one application interface with an association relationship, 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 security of the target application account of the first electronic equipment can be ensured.
Example five
Referring to fig. 5, a hardware structure of an electronic device for implementing various embodiments of the present invention is shown.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and power source 511. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, 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.
The processor 510 is 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; generating operation authority information corresponding to the target application, 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 authority limit of operating the target application when the second electronic equipment 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 obtained, operation permission information corresponding to the target application is generated, the operation permission information comprises at least one application interface and account information of the target application, and the operation permission information is used for limiting permission of operating the target application when the second electronic equipment 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 by the target application in the foreground operation and the account information of the target application, and the operation authority information only supports the operation authority of the second electronic equipment for executing the application interface contained in the display, so that the function allowed to be used by the second electronic equipment can be limited, the leakage of important information can be avoided even if the application account number is lost, and the safety performance is improved.
The processor 510 is further configured to receive operation authority information corresponding to the target application, where the operation authority information includes account information and at least one application interface with an association relationship; and logging in the target application based on the account information, wherein the second electronic equipment has the operation authority for 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 association relationship, 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 security 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 to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 510; and, the uplink data is transmitted to the base station. Typically, the 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 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 502, such as helping the user to send and receive e-mail, browse web pages, access streaming media, and the like.
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 (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 500. The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used for receiving an audio or video signal. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, the graphics processor 5041 processing image data of still pictures 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 graphics 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. Microphone 5042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 501 in case of a phone call mode.
The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, 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 the backlight when the electronic device 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 505 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 506 is used to display information input by a 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 (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 is operable to receive input numeric or character information and to 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 thereon or thereabout by a user (e.g., operations of the user on touch panel 5071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). Touch panel 5071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection 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 resistive, capacitive, infrared, and 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, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, 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 thereabout, the touch operation is transmitted to the processor 510 to determine a type of touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components for implementing 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, which 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 devices may include a wired or wireless headset port, an external power (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 an external device 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 an external device.
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 for 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, phonebook, etc.) created according to the use of the handset, etc. In addition, 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 entire electronic device using various interfaces and lines, and 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, the processor 510 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The electronic device 500 may also include a power supply 511 (e.g., a battery) for powering the various components, and optionally, the power supply 511 may be logically connected to the processor 510 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 500 includes some functional modules, which are not shown, and will not be described herein.
Optionally, the embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a program stored in the memory 509 and capable of running on the processor 510, where the program when executed by the processor 510 implements each process of the above embodiment of the permission configuration method or the embodiment of the application login method, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, and a program is stored on the computer readable storage medium, and when the program is executed by a processor, the program realizes each process of the above-mentioned authority configuration method embodiment or application login method embodiment, and can achieve the same technical effect, so that repetition is avoided, and no description is repeated here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. The authority configuration method is applied to the first electronic equipment and is characterized by comprising the following steps of:
when a target application is in a foreground running state, acquiring at least one application interface displayed by the target application and generated operation information, and establishing an association relationship between the at least one application interface according to the operation information;
generating operation authority information corresponding to the target application, wherein the operation authority information comprises at least one application interface with the association relationship and account information of the target application; the operation authority information is used for limiting the authority limit of the operation target application when the second electronic equipment receives the operation authority information;
the operation authority information is used for enabling the second electronic equipment to have the operation authority for displaying the at least one application interface when receiving the operation authority information.
2. The method according to claim 1, wherein the obtaining at least one application interface with association relation displayed by the target application includes:
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 includes an account number and a password.
4. An application login method applied to a second electronic device, comprising:
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 association relation; the association relation between the at least one application interface is established according to operation information generated when the target application runs in the foreground of the first electronic equipment; the operation authority information is used for limiting the authority limit of the operation target application when the second electronic equipment receives the operation authority information;
and logging in the target application based on the account information, wherein the second electronic equipment has the operation authority for 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 an application operation to be executed aiming at the target application;
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 under the condition that the matching of the application operation and the operation authority fails, preventing the execution of the application operation.
6. A rights configuration apparatus applied to a first electronic device, comprising:
the application interface acquisition module is used for acquiring at least one application interface and generated operation information displayed by the target application when the target application is in a foreground running state, and establishing an association relationship between the at least one application interface according to the operation information;
the operation authority generation module is used for generating operation authority information corresponding to the target application, wherein the operation authority information comprises at least one application interface with the association relationship and account information of the target application; the operation authority information is used for limiting the authority limit of the operation target application when the second electronic equipment receives the operation authority information;
The operation authority information is used for enabling the second electronic equipment to have the 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 acquisition module comprises:
a recording function promoter module for starting a recording function on the first electronic device;
and the application interface recording sub-module is used for recording and obtaining 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 operation authority receiving module is used for receiving operation authority information corresponding to the target application, wherein the operation authority information comprises account information and at least one application interface with an association relation; the association relation between the at least one application interface is established according to operation information generated when the target application runs in the foreground of the first electronic equipment; the operation authority information is used for limiting the authority limit of the operation target application when the second electronic equipment receives the operation authority information;
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 authority for displaying the at least one application interface.
10. The apparatus as recited in claim 9, further comprising:
an application operation acquisition module, configured to acquire 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 execution of the application operation 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 CN111159738A (en) 2020-05-15
CN111159738B true 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)

Families Citing this family (2)

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

Citations (3)

* 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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948278B (en) * 2017-11-22 2021-01-26 维沃移动通信有限公司 Information transmission method, terminal equipment and system
CN110557499B (en) * 2018-06-01 2021-08-17 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
CN110602216B (en) * 2019-09-16 2022-06-07 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN111159738A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
US20220276909A1 (en) Screen projection control method and electronic device
EP3719612A1 (en) Processing method for reducing power consumption and mobile terminal
CN108595946B (en) Privacy protection method and terminal
CN109710349B (en) Screen capturing method and mobile 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
CN111124706A (en) Application program sharing method and electronic equipment
CN109684825B (en) Authority management method and terminal equipment
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN111124569B (en) Application sharing method, electronic device and computer readable storage medium
CN107957914B (en) Information processing method and mobile terminal
CN111159738B (en) Authority configuration method, application login method and device
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN113238868B (en) Task processing method, device, server, equipment, system and storage medium
CN110990850A (en) Authority management method and electronic equipment
CN111209031B (en) Data acquisition method, device, terminal equipment and storage medium
CN111343591B (en) Session information processing method and electronic equipment
CN111443796B (en) Information processing method and device
CN111131930B (en) Device resource control method, first electronic device, and computer-readable storage medium
CN110795746B (en) Information processing method and electronic equipment
CN109547330B (en) Information sharing method and device
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN109451143B (en) Call method and mobile terminal
CN111343618B (en) Display method and electronic equipment
CN110717163B (en) Interaction 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