CN109669743B - Terminal-based operation method and system, terminal, and storage medium - Google Patents

Terminal-based operation method and system, terminal, and storage medium Download PDF

Info

Publication number
CN109669743B
CN109669743B CN201811361682.3A CN201811361682A CN109669743B CN 109669743 B CN109669743 B CN 109669743B CN 201811361682 A CN201811361682 A CN 201811361682A CN 109669743 B CN109669743 B CN 109669743B
Authority
CN
China
Prior art keywords
terminal
setting
setting interface
task
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
CN201811361682.3A
Other languages
Chinese (zh)
Other versions
CN109669743A (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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201811361682.3A priority Critical patent/CN109669743B/en
Publication of CN109669743A publication Critical patent/CN109669743A/en
Application granted granted Critical
Publication of CN109669743B publication Critical patent/CN109669743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an operation method based on a terminal, which comprises the following steps: acquiring system information of a terminal; acquiring a plurality of operation tasks according to the system information of the terminal; if the terminal is detected to have a setting requirement, starting a setting interface associated with the setting requirement; and acquiring a target operation task for operating the setting interface from the plurality of operation tasks, executing the target operation task, and operating a setting control contained in the setting interface by executing the target operation task. The invention also discloses an operating system based on the terminal, the terminal and a computer readable storage medium. The method and the device can quickly set the setting control on the setting interface of the terminal.

Description

Terminal-based operation method and system, terminal, and storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a terminal-based operating method and system, a terminal, and a storage medium.
Background
At present, Android (Android) systems have numerous versions, and various terminal manufacturers can customize the Android systems, so that the Android systems on the Android terminals are more and more obvious in differentiation. However, a user often needs to open some terminal setting options (such as application permission or system setting options) during using the android terminal, for example, when the android terminal is connected through the usb, the user needs to search for the options to be opened from the setting options (such as "usb shared network" or "usb connection mode selected" and the like), and manually set the options. In the process, the operation of the user is complicated, the efficiency is low, and due to the differentiation of the android system, the setting paths of the application authorities of different android terminals or the system setting options on the terminals and the selection modes of the controls are greatly different, which may cause the user to not know how to perform corresponding setting or spend a long time to perform corresponding setting.
Disclosure of Invention
The invention mainly aims to provide an operation method and system based on a terminal, the terminal and a storage medium, and aims to solve the technical problem that operation setting options on the terminal cannot be set quickly.
In order to achieve the above object, the present invention provides a terminal-based operation method, including:
acquiring system information of a terminal;
acquiring a plurality of operation tasks according to the system information of the terminal;
if the terminal is detected to have a setting requirement, starting a setting interface associated with the setting requirement;
and acquiring a target operation task for operating the setting interface from the plurality of operation tasks, executing the target operation task, and operating a setting control contained in the setting interface by executing the target operation task.
Optionally, if it is detected that the terminal has a setting requirement, starting a setting interface associated with the setting requirement, including:
when the state of the terminal is detected to be a preset state, determining that the terminal is detected to have a setting requirement;
acquiring state information of the terminal;
and acquiring a starting operation task associated with the state information from the plurality of operation tasks, and starting a setting interface associated with the state information by executing the starting operation task.
Optionally, the obtaining of the target operation task for operating the setting interface from the plurality of operation tasks includes:
acquiring the package name of the setting interface;
and acquiring the operation task matched with the interface packet name from the plurality of operation tasks as an operation task to be executed.
Optionally, the obtaining of the target operation task for operating the setting interface from the plurality of operation tasks includes:
acquiring an operation task which is selected from the plurality of operation tasks and is associated with the setting interface from a task list of the terminal;
judging whether the operation task associated with the setting interface is a target operation task for operating the setting interface or not according to the interface package name of the setting interface;
and if the operation task associated with the setting interface is the target operation task for operating the setting interface, determining the operation task associated with the setting interface as the target operation task for operating the setting interface.
Optionally, the obtaining a plurality of operation tasks according to the system information of the terminal includes:
sending the system information of the terminal to a cloud server, wherein the cloud server is used for acquiring the setting information contained in the terminal according to the system information and generating the plurality of operation tasks according to the setting information contained in the terminal;
and receiving the plurality of operation tasks returned by the cloud server.
Optionally, after the starting of the setting interface associated with the setting requirement, the method further includes:
and if the target operation task for operating the setting interface is not acquired from the plurality of operation tasks, uploading the information of the setting interface to the cloud server, and the cloud server generates the target operation task for operating the setting interface by acquiring the information of the setting interface.
Optionally, after acquiring a plurality of operation tasks according to the system information of the terminal, the method further includes:
and monitoring the terminal through the accessitivysercice service.
To achieve the above object, the present invention further provides a terminal, wherein the memory stores a terminal-based operating program executable on the processor, and the terminal-based operating program implements the terminal-based operating method when executed by the processor.
To achieve the above object, the present invention further provides a terminal-based operating system, comprising:
a first obtaining unit, configured to obtain system information of a terminal;
the second acquisition unit is used for acquiring a plurality of operation tasks according to the system information of the terminal;
the starting unit is used for starting a setting interface associated with the setting requirement if the terminal is detected to have the setting requirement;
and the operation unit is used for acquiring a target operation task for operating the setting interface from the plurality of operation tasks, executing the target operation task, and operating the setting control contained in the setting interface by executing the target operation task.
Optionally, the starting unit is specifically configured to:
when the state of the terminal is detected to be a preset state, determining that the terminal is detected to have a setting requirement;
acquiring state information of the terminal;
and acquiring a starting operation task associated with the state information from the plurality of operation tasks, and starting a setting interface associated with the state information by executing the starting operation task.
Optionally, the obtaining, by the operation unit, a target operation task for operating the setting interface from the plurality of operation tasks includes:
acquiring the package name of the setting interface;
and acquiring the operation task matched with the interface packet name from the plurality of operation tasks as an operation task to be executed.
Optionally, the obtaining, by the operation unit, a target operation task for operating the setting interface from the plurality of operation tasks includes:
acquiring an operation task which is selected from the plurality of operation tasks and is associated with the setting interface from a task list of the terminal;
judging whether the operation task associated with the setting interface is a target operation task for operating the setting interface or not according to the interface package name of the setting interface;
and if the operation task associated with the setting interface is the target operation task for operating the setting interface, determining the operation task associated with the setting interface as the target operation task for operating the setting interface.
Optionally, the second obtaining unit is specifically configured to:
sending the system information of the terminal to a cloud server, wherein the cloud server is used for acquiring the setting information contained in the terminal according to the system information and generating the plurality of operation tasks according to the setting information contained in the terminal;
and receiving the plurality of operation tasks returned by the cloud server.
Optionally, the system further comprises an upload module, the upload module is configured to:
after a setting interface associated with the setting requirement is started, if a target operation task for operating the setting interface is not acquired from the plurality of operation tasks, the information of the setting interface is uploaded to the cloud server, and the cloud server generates a target operation task for operating the setting interface by acquiring the information of the setting interface.
Optionally, the system further comprises a monitoring module, the monitoring module is configured to:
and after acquiring a plurality of operation tasks according to the system information of the terminal, monitoring the terminal through the accessitivysercice service.
To achieve the above object, the present invention further provides a computer-readable storage medium having a terminal-based operation program stored thereon, the terminal-based operation program being executable by one or more processors to implement the terminal-based operation method.
The method and the device for setting the setting interface of the terminal can quickly set the setting interface at the setting interface of the terminal without user operation, and avoid the problems of overlong time and low efficiency when the user sets the setting interface at the terminal.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of a terminal-based operation method according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a terminal-based operation method according to the present invention;
FIG. 3 is a functional block diagram of a first embodiment and a second embodiment of the terminal-based operating system according to the present invention;
fig. 4 is a schematic internal structure diagram of a terminal according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the 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.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides an operation method based on a terminal.
Referring to fig. 1, fig. 1 is a flowchart illustrating a first embodiment of a terminal-based operation method according to the present invention.
In a first embodiment of a terminal-based method of operation, the method comprises:
and S11, acquiring the system information of the terminal.
In the embodiment of the invention, the terminal can be a terminal such as a smart phone, a smart watch, a tablet computer and the like. The operating system of the terminal may be an Android (Android) operating system.
The system information of the terminal may include, but is not limited to: version information of the Android system (e.g., Android version 6.0 or Android version 8.0), a manufacturer of the terminal (i.e., a manufacturer of the terminal), and a ROM version of the terminal (i.e., a version of an operating system of the terminal). Because a certain terminal manufacturer may modify or customize a certain android version to obtain a corresponding operating system to be installed on a produced terminal, for any different terminals, when any one of the version of the android system, the terminal manufacturer, and the ROM version of the terminal is different, and when system setting and other operations are performed on any different terminals, the setting path and the setting mode are different.
And S12, acquiring a plurality of operation tasks according to the system information of the terminal.
In this embodiment, the operation task may be a task for operating a control of a display interface of the terminal, and the acquired plurality of operation tasks may be a single task instruction. Meanwhile, the operation tasks may be resident tasks or trigger tasks, or the operation tasks correspond to different task types according to different controls (for example, some operation tasks are resident tasks and some operation tasks are trigger tasks). The resident task may be a task always existing in a taskbar on the terminal, and the trigger task may be a task triggered to be executed only after some event occurs, for example, a task for setting an option when the application is installed is the resident task, and since the system may pop up a selection box for application installation when the terminal installs a third-party application, and the installation of the application may occur at any time, the task is determined to be the resident task, which may facilitate timely processing of the appearing selection box at any time.
Specifically, different setting information (for example, a setting mode, a setting path, and the like) corresponding to information of different terminals may be stored in advance, and then matching is performed according to system information of the terminal and the prestored information, so as to find each setting information (for example, a mode of setting GPS positioning, and the like) existing on the terminal, and then a plurality of operation tasks are obtained through each setting information.
In the embodiment of the invention, different system tasks can be obtained according to the system information of different terminals, so that corresponding operation tasks can be obtained for any terminal, and terminal setting can be carried out through the operation tasks.
And S13, if the terminal is detected to have a setting requirement, starting a setting interface associated with the setting requirement.
In this embodiment, whether the terminal has a setting requirement may be determined by monitoring the operation state of the terminal. For example, if it is detected that the mobile phone is in an application installation state, or the terminal displays "please start the camera for authentication", or the terminal is connected to other electronic devices (such as a computer) through a USB, etc., it can be determined that the terminal has a setting requirement.
The setting interface associated with the setting requirement may be one setting interface or a plurality of interfaces set in succession. Specifically, the association relationship between the setting requirement and the setting interface may be preset.
In this embodiment, after the setting interface associated with the setting requirement is started, the setting interface will be displayed on the terminal.
In the implementation of the present invention, the setting interface associated with the setting requirement may be a setting interface that is actively displayed when the terminal has the setting requirement. For example, when the terminal detects that the terminal is connected to the USB, the terminal actively pops up the setting interface.
And S14, acquiring a target operation task for operating the setting interface from the plurality of operation tasks, executing the target operation task, and operating the setting control contained in the setting interface by executing the target operation task.
In this embodiment, a target operation task for operating the setting interface may be obtained from a plurality of operation tasks according to the name of the setting interface, and then the target operation task is executed to operate the setting control included in the setting interface.
Specifically, elements (for example, control types and control IDs) of the setting interface may be analyzed, and then the setting control included in the setting interface is operated according to the operation mode of the elements included in the setting interface by the target operation.
In another embodiment, whether the setting interface associated with the setting requirement is started can be judged again by detecting whether a pop-up window with a preset name exists in the terminal.
The embodiment acquires the system information of the terminal, acquires a plurality of operation tasks according to the system information of the terminal, directly starts a setting interface associated with the setting requirement if the terminal is detected to have the setting requirement, does not need a user to manually search a setting path on the terminal and then open the setting interface, can quickly call the setting interface when the terminal has the setting requirement, and acquires an operation task to be executed associated with the setting interface from the plurality of operation tasks after the setting interface associated with the setting requirement is started, and operates a setting control contained in the setting interface by executing the operation task to be executed, so that the setting control can be quickly set at the setting interface of the terminal without user operation, and the problems of overlong time spent and low efficiency when the user sets the setting interface on the terminal are avoided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a second embodiment of the terminal-based operation method according to the present invention.
And S21, acquiring the system information of the terminal.
And S22, sending the system information of the terminal to a cloud server, wherein the cloud server is used for acquiring the setting information contained in the terminal according to the system information and generating the plurality of operation tasks according to the setting information contained in the terminal.
In this embodiment, the cloud server may be a remote server that is built in advance, and in the cloud server, different set information (for example, a set interface, a set mode, a set path, and the like) corresponding to information of different terminals may be stored in advance, and then, according to system information of the terminal and the pre-stored information, matching is performed to find each set information (for example, a mode of setting GPS positioning, and the like) existing on the terminal, and then, a plurality of operation tasks are obtained through each set information.
In this embodiment, the operation task may be a task for operating a control of a display interface of the terminal, and the acquired plurality of operation tasks may be a single task instruction. Meanwhile, the operation tasks may be resident tasks or trigger tasks, or the operation tasks correspond to different task types according to different controls (for example, some operation tasks are resident tasks and some operation tasks are trigger tasks). The resident task may be a task always existing in a taskbar on the terminal, and the trigger task may be a task triggered to be executed only after some event occurs, for example, a task for setting an option when the application is installed is the resident task, and since the system may pop up a selection box for application installation when the terminal installs a third-party application, and the installation of the application may occur at any time, the task is determined to be the resident task, which may facilitate timely processing of the appearing selection box at any time.
S23, receiving the plurality of operation tasks returned by the cloud server.
After the cloud server generates the plurality of operation tasks, the plurality of operation tasks may be sent to the terminal, and the terminal receives the plurality of operation tasks returned by the cloud server.
In this embodiment, since the cloud server has a high operation speed and a large amount of storable data, a plurality of operation tasks corresponding to the terminal can be obtained quickly by the cloud server.
And S24, when the state of the terminal is detected to be a preset state, determining that the terminal has a setting requirement.
In this embodiment, it may be determined that a setting requirement exists when the state of the terminal is a preset state by monitoring the state of the terminal.
The preset state may be any one of a plurality of designated states, wherein the designated state may be preset.
Specifically, the detecting whether the state of the terminal is the preset state may include but is not limited to:
detecting whether the terminal is in a low memory state; or
Detecting whether a terminal starts a USB shared network state; or
Detecting whether a terminal is installing a third-party application; or
Whether the terminal is performing authorization authentication is detected.
If the terminal is in the low memory state, the state of the terminal can be determined to be a preset state; if the terminal starts the USB shared network state, the state of the terminal can be determined to be a preset state; if the terminal is installing the third-party application, the state of the terminal can be determined to be a preset state; if the terminal is performing the authorization authentication, the state of the terminal may be determined to be the preset state.
Further, in the embodiment of the present invention, the terminal may be monitored through an accessitivysercice service.
Specifically, the state of the terminal and the display interface of the terminal can be monitored through the accessitivetysercice service.
And S25, acquiring the state information of the terminal.
And S26, acquiring a starting operation task associated with the state information from the plurality of operation tasks, and starting a setting interface associated with the state information by executing the starting operation task.
In this embodiment, the plurality of operation tasks also include a task for starting a setting interface. The association relationship between the state information and the start operation task may be preset. For example, when the terminal is detected to be in a low capacity state, the memory cleaning interface is started.
And S27, acquiring a target operation task for operating the setting interface from the plurality of operation tasks, executing the target operation task, and operating the setting control contained in the setting interface by executing the target operation task.
In a possible embodiment, the obtaining of the target operation task for operating the setting interface from the plurality of operation tasks may include:
acquiring an interface package name of the setting interface;
and acquiring the operation task matched with the interface packet name from the plurality of operation tasks as an operation task to be executed.
The interface package name is a package name (package name) of an application to which the interface belongs, and then an operation task matched with the package name is acquired from a plurality of operation tasks and is an operation task to be executed.
Or, in another possible embodiment, the obtaining of the target operation task for operating the setting interface from the plurality of operation tasks may include:
acquiring an operation task which is selected from the plurality of operation tasks and is associated with the setting interface from a task list of the terminal;
judging whether the operation task associated with the setting interface is a target operation task for operating the setting interface or not according to the interface package name of the setting interface;
and if the operation task associated with the setting interface is the target operation task for operating the setting interface, determining the operation task associated with the setting interface as the target operation task for operating the setting interface.
In this implementation, when the state of the terminal is detected to be the preset state, the operation task associated with the setting interface can be screened from the plurality of operation tasks, and then the operation task associated with the setting interface is added to the task list. When the task needs to be executed, the added operation tasks related to the setting interface in the task list are matched through the interface package names, and then the tasks in the task list are determined to be target operation tasks after the matching is successful, and then the target operation tasks are executed.
In this embodiment, because the number of the operation tasks is large, the execution speed may be affected if the operation tasks are matched one by one when executed, and therefore, the associated operation tasks are added to the task list and then matched when executed, so as to further determine that the task to be executed is a task in the task list, and the control in the setting interface can be quickly operated.
Further, in other embodiments of the present invention, after the starting of the setting interface associated with the setting requirement, the method further includes:
and if the target operation task for operating the setting interface is not acquired from the plurality of operation tasks, uploading the information of the setting interface to the cloud server, and the cloud server generates the target operation task for operating the setting interface by acquiring the information of the setting interface.
In this embodiment, if the terminal displays the setting interface but does not match the corresponding target operation task, the information of the setting interface (for example, name information of the interface, and control information included in the interface) is uploaded to the cloud server, and after receiving the information of the setting interface, the cloud server can generate the target operation task according to the information of the setting interface, and then, when the terminal detects the setting interface again next time, the terminal can operate the setting interface through the generated target operation task.
The embodiment acquires system information of a terminal, sends the system information of the terminal to a cloud server, generates a plurality of operation tasks through the cloud server, and receives the operation tasks sent by the cloud server, so that different terminals can quickly acquire the operation tasks; when the state of the terminal is detected to be a preset state, determining that the terminal has a setting requirement, acquiring state information of the terminal, acquiring a starting operation task associated with the state information from the plurality of operation tasks, starting a setting interface associated with the state information by executing the starting operation task, and opening the setting interface without manually searching a setting path on the terminal by a user, wherein the setting interface can be quickly called out when the state of the terminal is the preset state, and after the setting interface is started, acquiring an operation task to be executed associated with the setting interface from the plurality of operation tasks, and operating a setting control contained in the setting interface by executing the operation task to be executed, so that the setting control can be quickly set on the setting interface of the terminal without user operation, and the problem that the user spends too long time on the terminal for setting is avoided, The efficiency is too low.
Fig. 3 is a functional block diagram of a first embodiment of the terminal-based operating system according to the present invention, which is applied to a terminal.
As shown in fig. 3, the terminal-based operating system may include: a first acquisition unit 301, a second acquisition unit 302, a start unit 303 and an operation unit 304.
A first obtaining unit 301, configured to obtain system information of a terminal.
In the embodiment of the invention, the terminal can be a terminal such as a smart phone, a smart watch, a tablet computer and the like. The operating system of the terminal may be an Android (Android) operating system.
The system information of the terminal may include, but is not limited to: version information of the Android system (e.g., Android version 6.0 or Android version 8.0), a manufacturer of the terminal (i.e., a manufacturer of the terminal), and a ROM version of the terminal (i.e., a version of an operating system of the terminal). Because a certain terminal manufacturer may modify or customize a certain android version to obtain a corresponding operating system to be installed on a produced terminal, for any different terminals, when any one of the version of the android system, the terminal manufacturer, and the ROM version of the terminal is different, and when system setting and other operations are performed on any different terminals, the setting path and the setting mode are different.
A second obtaining unit 302, configured to obtain multiple operation tasks according to the system information of the terminal.
In this embodiment, the operation task may be a task for operating a control of a display interface of the terminal, and the acquired plurality of operation tasks may be a single task instruction. Meanwhile, the operation tasks may be resident tasks or trigger tasks, or the operation tasks correspond to different task types according to different controls (for example, some operation tasks are resident tasks and some operation tasks are trigger tasks). The resident task may be a task always existing in a taskbar on the terminal, and the trigger task may be a task triggered to be executed only after some event occurs, for example, a task for setting an option when the application is installed is the resident task, and since the system may pop up a selection box for application installation when the terminal installs a third-party application, and the installation of the application may occur at any time, the task is determined to be the resident task, which may facilitate timely processing of the appearing selection box at any time.
Specifically, different setting information (for example, a setting mode, a setting path, and the like) corresponding to information of different terminals may be stored in advance, and then matching is performed according to system information of the terminal and the prestored information, so as to find each setting information (for example, a mode of setting GPS positioning, and the like) existing on the terminal, and then a plurality of operation tasks are obtained through each setting information.
In the embodiment of the invention, different system tasks can be obtained according to the system information of different terminals, so that corresponding operation tasks can be obtained for any terminal, and terminal setting can be carried out through the operation tasks.
A starting unit 303, configured to start a setting interface associated with a setting requirement if it is detected that the terminal has the setting requirement.
In this embodiment, whether the terminal has a setting requirement may be determined by monitoring the operation state of the terminal. For example, if it is detected that the mobile phone is in an application installation state, or the terminal displays "please start the camera for authentication", or the terminal is connected to other electronic devices (such as a computer) through a USB, etc., it can be determined that the terminal has a setting requirement.
The setting interface associated with the setting requirement may be one setting interface or a plurality of interfaces set in succession. Specifically, the association relationship between the setting requirement and the setting interface may be preset.
In this embodiment, after the setting interface associated with the setting requirement is started, the setting interface will be displayed on the terminal.
In the implementation of the present invention, the setting interface associated with the setting requirement may be a setting interface that is actively displayed when the terminal has the setting requirement. For example, when the terminal detects that the terminal is connected to the USB, the terminal actively pops up the setting interface.
An operation unit 304, configured to obtain a target operation task for operating the setting interface from the multiple operation tasks, execute the target operation task, and operate a setting control included in the setting interface by executing the target operation task.
In this embodiment, a target operation task for operating the setting interface may be obtained from a plurality of operation tasks according to the name of the setting interface, and then the target operation task is executed to operate the setting control included in the setting interface.
Specifically, elements (for example, control types and control IDs) of the setting interface may be analyzed, and then the setting control included in the setting interface is operated according to the operation mode of the elements included in the setting interface by the target operation.
In another embodiment, whether the setting interface associated with the setting requirement is started can be judged again by detecting whether a pop-up window with a preset name exists in the terminal.
The embodiment acquires the system information of the terminal, acquires a plurality of operation tasks according to the system information of the terminal, directly starts a setting interface associated with the setting requirement if the terminal is detected to have the setting requirement, does not need a user to manually search a setting path on the terminal and then open the setting interface, can quickly call the setting interface when the terminal has the setting requirement, and acquires an operation task to be executed associated with the setting interface from the plurality of operation tasks after the setting interface associated with the setting requirement is started, and operates a setting control contained in the setting interface by executing the operation task to be executed, so that the setting control can be quickly set at the setting interface of the terminal without user operation, and the problems of overlong time spent and low efficiency when the user sets the setting interface on the terminal are avoided.
Referring to fig. 3, fig. 3 is a functional module diagram of a second embodiment of the terminal-based operating system according to the present invention, where the terminal-based operating system is applied to a terminal.
As shown in fig. 3, the terminal-based operating system may include: a first acquisition unit 301, a second acquisition unit 302, a start unit 303 and an operation unit 304.
A first obtaining unit 301, configured to obtain system information of a terminal.
A second obtaining unit 302, configured to send system information of the terminal to a cloud server, where the cloud server is configured to obtain setting information included in the terminal according to the system information, and generate the multiple operation tasks according to the setting information included in the terminal; and receiving the plurality of operation tasks returned by the cloud server.
In this embodiment, the cloud server may be a remote server that is built in advance, and in the cloud server, different set information (for example, a set interface, a set mode, a set path, and the like) corresponding to information of different terminals may be stored in advance, and then, according to system information of the terminal and the pre-stored information, matching is performed to find each set information (for example, a mode of setting GPS positioning, and the like) existing on the terminal, and then, a plurality of operation tasks are obtained through each set information.
In this embodiment, the operation task may be a task for operating a control of a display interface of the terminal, and the acquired plurality of operation tasks may be a single task instruction. Meanwhile, the operation tasks may be resident tasks or trigger tasks, or the operation tasks correspond to different task types according to different controls (for example, some operation tasks are resident tasks and some operation tasks are trigger tasks). The resident task may be a task always existing in a taskbar on the terminal, and the trigger task may be a task triggered to be executed only after some event occurs, for example, a task for setting an option when the application is installed is the resident task, and since the system may pop up a selection box for application installation when the terminal installs a third-party application, and the installation of the application may occur at any time, the task is determined to be the resident task, which may facilitate timely processing of the appearing selection box at any time.
After the cloud server generates the plurality of operation tasks, the plurality of operation tasks may be sent to the terminal, and the terminal receives the plurality of operation tasks returned by the cloud server.
In this embodiment, since the cloud server has a high operation speed and a large amount of storable data, a plurality of operation tasks corresponding to the terminal can be obtained quickly by the cloud server.
A starting unit 303, configured to determine that a setting requirement exists in the terminal when the state of the terminal is detected to be a preset state; acquiring state information of the terminal; and acquiring a starting operation task associated with the state information from the plurality of operation tasks, and starting a setting interface associated with the state information by executing the starting operation task.
In this embodiment, it may be determined that a setting requirement exists when the state of the terminal is a preset state by monitoring the state of the terminal.
The preset state may be any one of a plurality of designated states, wherein the designated state may be preset.
Specifically, the detecting whether the state of the terminal is the preset state may include but is not limited to:
detecting whether the terminal is in a low memory state; or
Detecting whether a terminal starts a USB shared network state; or
Detecting whether a terminal is installing a third-party application; or
Whether the terminal is performing authorization authentication is detected.
If the terminal is in the low memory state, the state of the terminal can be determined to be a preset state; if the terminal starts the USB shared network state, the state of the terminal can be determined to be a preset state; if the terminal is installing the third-party application, the state of the terminal can be determined to be a preset state; if the terminal is performing the authorization authentication, the state of the terminal may be determined to be the preset state.
Further, in the embodiment of the present invention, the terminal may be monitored through an accessitivysercice service.
Specifically, the state of the terminal and the display interface of the terminal can be monitored through the accessitivetysercice service.
In this embodiment, the plurality of operation tasks also include a task for starting a setting interface. The association relationship between the state information and the start operation task may be preset. For example, when the terminal is detected to be in a low capacity state, the memory cleaning interface is started.
An operation unit 304, configured to obtain a target operation task for operating the setting interface from the multiple operation tasks, execute the target operation task, and operate a setting control included in the setting interface by executing the target operation task.
In a possible embodiment, the obtaining, by the operation unit 304, a target operation task for operating the setting interface from the plurality of operation tasks may include:
acquiring an interface package name of the setting interface;
and acquiring the operation task matched with the interface packet name from the plurality of operation tasks as an operation task to be executed.
The interface package name is a package name (package name) of an application to which the interface belongs, and then an operation task matched with the package name is acquired from a plurality of operation tasks and is an operation task to be executed.
Alternatively, in another possible embodiment, the obtaining, by the operation unit 304, a target operation task for operating the setting interface from the plurality of operation tasks may include:
acquiring an operation task which is selected from the plurality of operation tasks and is associated with the setting interface from a task list of the terminal;
judging whether the operation task associated with the setting interface is a target operation task for operating the setting interface or not according to the interface package name of the setting interface;
and if the operation task associated with the setting interface is the target operation task for operating the setting interface, determining the operation task associated with the setting interface as the target operation task for operating the setting interface.
In this implementation, when the state of the terminal is detected to be the preset state, the operation task associated with the setting interface can be screened from the plurality of operation tasks, and then the operation task associated with the setting interface is added to the task list. When the task needs to be executed, the added operation tasks related to the setting interface in the task list are matched through the interface package names, and then the tasks in the task list are determined to be target operation tasks after the matching is successful, and then the target operation tasks are executed.
In this embodiment, because the number of the operation tasks is large, the execution speed may be affected if the operation tasks are matched one by one when executed, and therefore, the associated operation tasks are added to the task list and then matched when executed, so as to further determine that the task to be executed is a task in the task list, and the control in the setting interface can be quickly operated.
Further, in other embodiments of the present invention, the system further includes an uploading module, where the uploading module is configured to:
after a setting interface associated with the setting requirement is started, if a target operation task for operating the setting interface is not acquired from the plurality of operation tasks, the information of the setting interface is uploaded to the cloud server, and the cloud server generates a target operation task for operating the setting interface by acquiring the information of the setting interface.
In this embodiment, if the terminal displays the setting interface but does not match the corresponding target operation task, the information of the setting interface (for example, name information of the interface, and control information included in the interface) is uploaded to the cloud server, and after receiving the information of the setting interface, the cloud server can generate the target operation task according to the information of the setting interface, and then, when the terminal detects the setting interface again next time, the terminal can operate the setting interface through the generated target operation task.
The embodiment acquires system information of a terminal, sends the system information of the terminal to a cloud server, generates a plurality of operation tasks through the cloud server, and receives the operation tasks sent by the cloud server, so that different terminals can quickly acquire the operation tasks; when the state of the terminal is detected to be a preset state, determining that the terminal has a setting requirement, acquiring state information of the terminal, acquiring a starting operation task associated with the state information from the plurality of operation tasks, starting a setting interface associated with the state information by executing the starting operation task, and opening the setting interface without manually searching a setting path on the terminal by a user, wherein the setting interface can be quickly called out when the state of the terminal is the preset state, and after the setting interface is started, acquiring an operation task to be executed associated with the setting interface from the plurality of operation tasks, and operating a setting control contained in the setting interface by executing the operation task to be executed, so that the setting control can be quickly set on the setting interface of the terminal without user operation, and the problem that the user spends too long time on the terminal for setting is avoided, The efficiency is too low.
In this embodiment, the terminal 1 may be a PC (Personal Computer), or may be an electronic device such as a smart phone, a tablet Computer, a palmtop Computer, or a portable Computer.
The terminal 1 may include a memory 11, a processor 12 and a bus 13.
The memory 11 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the terminal 1, for example a hard disk of the terminal 1. The memory 11 may also be an external storage device of the terminal 1 in other embodiments, such as a plug-in hard disk provided on the terminal 1, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 11 may also include both an internal storage unit and an external storage device of the terminal 1. The memory 11 can be used not only to store application software installed in the terminal 1 and various types of data such as a code based on the operating program 01 of the terminal, but also to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 11 or Processing data, such as executing the terminal-based operating program 01.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Further, the terminal may further comprise a network interface, which may optionally comprise a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), typically used for establishing a communication connection between the terminal 1 and other electronic devices.
Optionally, the terminal 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and an optional user interface which may also comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the terminal 1 and for displaying user controls for visualization.
Fig. 4 only shows the terminal 1 with the components 11-13 and the terminal-based operating program 01, and it will be understood by those skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the terminal 1, and may comprise fewer or more components than shown, or may combine certain components, or a different arrangement of components.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method of terminal-based operation, the method comprising:
acquiring system information of a terminal;
acquiring a plurality of operation tasks according to the system information of the terminal;
if the terminal is detected to have a setting requirement, starting a setting interface associated with the setting requirement;
obtaining a target operation task for operating the setting interface from the plurality of operation tasks, wherein the target operation task comprises: acquiring the package name of the setting interface, and acquiring an operation task matched with the package name of the interface from the plurality of operation tasks as the target operation task;
and executing the target operation task, and operating the setting control contained in the setting interface by executing the target operation task.
2. The method of claim 1, wherein if it is detected that a setting requirement exists in the terminal, starting a setting interface associated with the setting requirement comprises:
when the state of the terminal is detected to be a preset state, determining that the terminal is detected to have a setting requirement;
acquiring state information of the terminal;
and acquiring a starting operation task associated with the state information from the plurality of operation tasks, and starting a setting interface associated with the state information by executing the starting operation task.
3. The method of claim 1, wherein the obtaining a target operation task from the plurality of operation tasks to operate the settings interface comprises:
acquiring an operation task which is selected from the plurality of operation tasks and is associated with the setting interface from a task list of the terminal;
judging whether the operation task associated with the setting interface is a target operation task for operating the setting interface or not according to the interface package name of the setting interface;
and if the operation task associated with the setting interface is the target operation task for operating the setting interface, determining the operation task associated with the setting interface as the target operation task for operating the setting interface.
4. The method according to any one of claims 1 to 3, wherein the obtaining a plurality of operation tasks according to the system information of the terminal comprises:
sending the system information of the terminal to a cloud server, wherein the cloud server is used for acquiring the setting information contained in the terminal according to the system information and generating the plurality of operation tasks according to the setting information contained in the terminal;
and receiving the plurality of operation tasks returned by the cloud server.
5. The method of claim 4, wherein after the launching of the setup interface associated with the setup requirement, the method further comprises:
and if the target operation task for operating the setting interface is not acquired from the plurality of operation tasks, uploading the information of the setting interface to the cloud server, and the cloud server generates the target operation task for operating the setting interface by acquiring the information of the setting interface.
6. The method according to any one of claims 1 to 3, wherein after acquiring a plurality of operation tasks according to the system information of the terminal, the method further comprises:
and monitoring the terminal through the Access serviceservice.
7. A terminal, characterized in that the terminal comprises a memory and a processor, the memory having stored thereon a terminal-based operating program executable on the processor, the terminal-based operating program, when executed by the processor, implementing the method according to any one of claims 1-6.
8. A terminal-based operating system, the system comprising:
a first obtaining unit, configured to obtain system information of a terminal;
the second acquisition unit is used for acquiring a plurality of operation tasks according to the system information of the terminal;
the starting unit is used for starting a setting interface associated with the setting requirement if the terminal is detected to have the setting requirement;
an operation unit, configured to acquire a target operation task for operating the setting interface from the plurality of operation tasks, including: and acquiring the package name of the setting interface, acquiring the operation task matched with the package name of the interface from the plurality of operation tasks as the target operation task, executing the target operation task, and operating the setting control contained in the setting interface by executing the target operation task.
9. A computer-readable storage medium having stored thereon a terminal-based operating program executable by one or more processors to implement the terminal-based operating method of any one of claims 1 to 6.
CN201811361682.3A 2018-11-15 2018-11-15 Terminal-based operation method and system, terminal, and storage medium Active CN109669743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811361682.3A CN109669743B (en) 2018-11-15 2018-11-15 Terminal-based operation method and system, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811361682.3A CN109669743B (en) 2018-11-15 2018-11-15 Terminal-based operation method and system, terminal, and storage medium

Publications (2)

Publication Number Publication Date
CN109669743A CN109669743A (en) 2019-04-23
CN109669743B true CN109669743B (en) 2022-04-01

Family

ID=66142239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811361682.3A Active CN109669743B (en) 2018-11-15 2018-11-15 Terminal-based operation method and system, terminal, and storage medium

Country Status (1)

Country Link
CN (1) CN109669743B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855164B (en) * 2012-07-24 2016-03-30 华为终端有限公司 The method, mobile device and the server that back up between operating system, change, recover
CN103873634A (en) * 2012-12-07 2014-06-18 盛乐信息技术(上海)有限公司 Terminal function setting method and terminal function setting system
CN105791551A (en) * 2016-02-25 2016-07-20 上海斐讯数据通信技术有限公司 Mobile terminal and setting method for setting item thereof
CN105955441B (en) * 2016-04-21 2019-08-06 北京小米移动软件有限公司 Application management method and device
CN107241717A (en) * 2017-08-11 2017-10-10 宇龙计算机通信科技(深圳)有限公司 Method for switching network, system, electronic equipment and computer-readable recording medium

Also Published As

Publication number Publication date
CN109669743A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
US9584612B2 (en) Systems and methods for pushing applications
US11003599B2 (en) Method, apparatus and system of managing external devices, memory and unmanned aerial vehicle
US10268515B2 (en) Releasing resources from processes in a particular order to provide required resources to start an application
US20170185431A1 (en) Method and apparatus for dynamically implementing application function
CN106445309B (en) Application download entry display method and device
US10776129B2 (en) Method and apparatus for controlling a startup bootstrap program of an intelligent TV set
CN111800506B (en) Edge computing node deployment method and related device
CN101393524A (en) Firmware update method and system using the same
US9904561B2 (en) Computer system and method for setting BIOS
CN109117153B (en) Application processing method, device, terminal and storage medium
CN107577472B (en) Software installation method and device and computer readable storage medium
CN113411225B (en) QGA service management method, device, equipment and medium based on cloud host
CN107491316B (en) Expansion method and device of baseboard management controller and electronic equipment
KR20180050001A (en) Firmware upgrade system and method for IoT
CN109669743B (en) Terminal-based operation method and system, terminal, and storage medium
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN110399166B (en) ME Nonce value saving method, device, equipment and storage medium
CN110018918B (en) Method and device for repairing terminal abnormity, mobile terminal and storage medium
EP2928158B1 (en) Distribution apparatus and distribution method
JP7230951B2 (en) Mobile terminal, information processing system, control method, and program
KR20190098516A (en) Method for managing data related to application and electronic device thereof
KR20150029916A (en) Apparatus and method for setting up computting environments
CN112307466A (en) Application program detection method and device, electronic equipment and storage medium
CN113010422A (en) Mirror image file testing method and device, electronic equipment and readable storage medium
CN113326069A (en) Operating system starting method and device, electronic equipment and storage medium

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