CN109324808B - Control method and electronic device - Google Patents
Control method and electronic device Download PDFInfo
- Publication number
- CN109324808B CN109324808B CN201811157472.2A CN201811157472A CN109324808B CN 109324808 B CN109324808 B CN 109324808B CN 201811157472 A CN201811157472 A CN 201811157472A CN 109324808 B CN109324808 B CN 109324808B
- Authority
- CN
- China
- Prior art keywords
- application
- user
- operating system
- deployment
- deployment information
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the application discloses a control method and electronic equipment, wherein the method comprises the following steps: identifying the use state of a user of the electronic equipment to obtain an identification result; operating an operating system of the electronic equipment according to the identification result; acquiring an event, wherein the event is at least characterized by deployment information of an operating system for the user; and generating a first instruction at least based on the acquired event, and triggering to run at least one application matched with the user identifier in response to the first instruction.
Description
Technical Field
The present application relates to control technologies, and in particular, to a control method and an electronic device.
Background
Before electronic equipment such as a mobile phone and a tablet computer leaves a factory, at least part of applications of the electronic equipment needs to be pre-installed. These pre-installed applications need to perform a first open box operation (OOBE) before they can be run for the first time. That is, these pre-installed applications arrive at the user's hand for installation in the electronic device, so that the installation is complete. After the installation is finished, the application is operated for the first time so that a subsequent user can use the function of the application. Currently, the first running of most applications is completed based on a user operation, for example, application a executes the first running when receiving a click operation of the user. This way of requiring user involvement for first run does not embody the intelligence of the electronic device.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present application provide a control method and an electronic device.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a control method, which comprises the following steps:
identifying the use state of a user of the electronic equipment to obtain an identification result;
operating an operating system of the electronic equipment according to the identification result;
acquiring an event, wherein the event is at least characterized by deployment information of an operating system for the user;
and generating a first instruction at least based on the acquired event, and triggering to run at least one application matched with the user identifier in response to the first instruction.
In the above-mentioned scheme, the first step of the method,
the deployment information is deployment information generated by an operating system and aiming at the at least one application;
and when the deployment information is detected to have the preset information aiming at the at least one application, generating the first instruction to trigger the application to run for the first time.
In the above scheme, the method further comprises:
the deployment information is deployment information generated by an operating system and aiming at each application of at least two applications;
when it is detected that the predetermined information for one of the applications exists in the deployment information, a first instruction for the one of the applications is generated to trigger the first running of the one of the applications.
In the above scheme, the predetermined information is at least characterized in that the deployment state of the application has reached a predetermined state.
In the above scheme, the method includes:
when the identification result represents that the electronic equipment is used by the user for the first time, operating the operating system; or,
and when the identification result indicates that the electronic equipment is not used for the first time by the user and the application is in a preset state, operating the operating system.
An embodiment of the present invention provides an electronic device, including a processor and a storage medium; wherein the storage medium is for storing a computer program;
the processor is used for executing the computer program stored in the storage medium, and at least executing the following steps:
identifying the use state of a user of the electronic equipment to obtain an identification result;
operating an operating system of the electronic equipment according to the identification result;
acquiring an event, wherein the event is at least characterized by deployment information of an operating system for the user;
and generating a first instruction at least based on the acquired event, and triggering to run at least one application matched with the user identifier in response to the first instruction.
In the foregoing solution, the processor is further configured to execute the following steps:
the deployment information is deployment information generated by an operating system and aiming at the at least one application;
and when the deployment information is detected to have the preset information aiming at the at least one application, generating the first instruction to trigger the application to run for the first time.
In the foregoing solution, the processor is further configured to execute the following steps:
the deployment information is deployment information generated by an operating system and aiming at each application of at least two applications;
when it is detected that the predetermined information for one of the applications exists in the deployment information, a first instruction for the one of the applications is generated to trigger the first running of the one of the applications.
In the above-mentioned scheme, the first step of the method,
the predetermined information is at least characterized in that the deployment state of the application has reached a predetermined state.
In the foregoing solution, the processor is further configured to execute the following steps:
when the identification result represents that the electronic equipment is used by the user for the first time, operating the operating system; or,
and when the identification result indicates that the electronic equipment is not used for the first time by the user and the application is in a preset state, operating the operating system.
An embodiment of the present application further provides a storage medium, where the storage medium is used to store a computer program, and the computer program, when executed, at least executes the foregoing control method.
The control method and the electronic device of the embodiment of the application, wherein the method comprises the following steps: identifying the use state of a user of the electronic equipment to obtain an identification result; operating an operating system of the electronic equipment according to the identification result; acquiring an event, wherein the event is at least characterized by deployment information of an operating system for the user; and generating a first instruction at least based on the acquired event, and triggering to run at least one application matched with the user identifier in response to the first instruction.
In the embodiment of the application, the first running of the application is based on the deployment information generated by the operating system, namely, the first running of the application is triggered based on the deployment information generated by the operating system, and compared with a mode of executing the first running of the application manually and/or by adopting fixed timing time in the related technology, the method and the system can intelligently trigger the first running of the application at least, and the intelligent mode is applicable to electronic equipment of various brands.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a first schematic flow chart of an implementation of a control method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation process of the control method according to the embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of the control method according to the embodiment of the present application;
fig. 4 is a first schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Technical terms that may be involved in the embodiments of the present application are explained first:
1) general application Platform (UWP, Universal Windows Platform): the UWP is a general application platform in the operating system Windows 10, and is different from exe applications in the conventional computer, and is also substantially different from apps (applications) applicable to a mobile phone terminal. It is not designed for a certain terminal, but can be run on all Windows 10 devices, such as Win 10 Mobile (Mobile terminal), Surface (Windows tablet), PC (personal computer), Xbox (home television game), and HoloLens (holographic computer device).
2) The open-Box operation (OOBE, Out-Of-Box expeience), a step to be performed after the Windows operating system is installed, in which some basic settings Of Windows, such as language setting, setting Of network parameters related to internet access, etc., can be performed.
3) utilance: the method is an application program capable of realizing the shortcut key function of a keyboard on the electronic equipment, such as a key F7 on the keyboard represents the function of opening the flight mode; the key F8 on the keyboard represents the function of performing the on/off of the touch panel.
4) Microsoft STORE application (MS STORE APP): is an application store of microsoft, and can provide various application programs that can be used by users, such as programs of social applications, office software applications, and the like.
As will be appreciated by those skilled in the art, the electronic devices involved in the following embodiments of the present application include, but are not limited to: industrial control computers, personal computers and the like, all types of computers, all-in-one computers, notebook computers, tablet computers, mobile phones, electronic readers and the like, and also can be wearable devices such as intelligent glasses, intelligent watches, intelligent shoes and the like. The preferred electronic device in the embodiments of the present application is a computer.
As shown in fig. 1, a first embodiment of the control method according to the embodiment of the present application includes:
step 101: identifying the use state of a user of the electronic equipment to obtain an identification result;
step 102: operating an operating system of the electronic equipment according to the identification result;
step 103: acquiring an event, wherein the event is at least characterized by deployment information of an operating system for the user;
step 104: and generating a first instruction at least based on the acquired event, and triggering to run at least one application matched with the user identifier in response to the first instruction.
The main body for executing the steps is electronic equipment.
In the above solution, the identifier of the user may be an identifier capable of representing the user, such as a login/registration account, or a combination of a login/registration account and a password. Colloquially, an application that matches the user's identification may be considered an application that the user needs to use, which may be downloaded from an application store. Some of the applications that the user needs to use may be applications that are pre-installed before the electronic device leaves the factory. The application that the user needs to use may be any type of application, such as a social application, a shortcut application, a browser application, etc. Unless specifically stated otherwise, all the applications referred to in this embodiment refer to applications that can be in the Universal application Platform (UWP) version, and further refer to applications in the UWP version that can be used in the Windows operating system.
It can be understood that the running of the application in the present scheme refers to the first running (first running) of the application after the installation is completed, and after the first running, the function of the application can be used by the user.
It can be seen that, in the above scheme, the running of the application is based on the deployment information generated by the operating system, that is, based on the deployment information generated by the operating system, the application is triggered to run, because, in order to improve the intelligence, it is necessary to avoid the manual operation of the user, and a mode of automatically running the application is adopted to improve the user experience. For example, the first operation is performed in a timing manner, for example, the first operation of the installed application is performed after 30 seconds of the first startup of the electronic device after the electronic device leaves the factory, the timing manner is rough, the time required for operating the same software is different due to different hardware of each manufacturer, a standard timing time cannot be found among manufacturers to meet the requirements of electronic devices of different brands produced by each manufacturer, some hardware devices may be operated for the first time within 20 seconds, and thus the user cannot use the application within a period of 20 seconds to 30 seconds, or the application still needs to be clicked manually to operate. And some hardware devices are deployed only after 40 seconds, so that the operation fails after 30 seconds, and the user still needs to manually click to operate the application. Furthermore, the first running of the application is triggered in a more intelligent mode so as to be suitable for electronic equipment with various brands and hardware configurations.
It can be understood that: the running in the embodiment of the present application may be the first running (first running) performed after the application is deployed (installation is completed). One of the purposes of the first run is to make the functions of the already installed applications effective, so as to facilitate the use of the applications by the user.
In an optional embodiment, the control method further comprises:
and when the identification result represents that the electronic equipment is used by the user for the first time, operating an operating system of the electronic equipment, acquiring deployment information based on the operating system, and generating a first instruction for triggering the application to operate for the first time.
Here, the first run of the application is tied to the user (user of the electronic device) information. It is mainly considered that the same electronic device can be used by more than one user, and the use requirements of different users for the same electronic device are different (i.e. different applications used by different users on the same electronic device are different). In this embodiment, after the user registers on the local electronic device, the application that the user needs to use is downloaded, and for the registered user (login is performed by using the registration account), the local electronic device may run the operating system, acquire deployment information of the application that the user needs based on the running operating system, and trigger the application to run for the first time based on the deployment information. In the scheme, although the user does not register on the local electronic device but logs in the local electronic device for the first time by using the login account, the application required to be used by the user is downloaded, for the first login, the local electronic device can run the operating system and obtain the deployment information of the application required by the user based on the running operating system, and based on the deployment information, the application is triggered to run for the first time. The registration of the user on the local electronic device, the situation that the user does not register on the local electronic device and logs on the local electronic device for the first time, and the like can be regarded as the situation that the electronic device is used by the user for the first time. The initial user of the user can run the operating system, obtain the deployment information based on the running operating system, trigger the application to run for the first time based on the deployment information, and prepare the application of the UWP version for any user using the local electronic equipment so as to facilitate the use of the user.
Those skilled in the art will understand that: the initial use in the scheme refers to the two cases of local registration local first login or non-local registration local login. For some extreme cases, such as the case where the user registers locally, has not yet reached login or the user turns off the computer for private reasons after logging in for a long time, it is considered that the application that the user needs to use has not yet reached installation completion, and naturally the first run of the installed application will not be reached. In this case, that is, a user is a situation where the user uses the electronic device for the first time but the application has not yet reached installation or completion of installation, for this situation, the control method according to the embodiment of the present application further includes:
when the identification result represents that the electronic equipment is not used for the first time by the user, judging whether the application matched with the identification of the user is in a preset state or not, if so, operating the operating system of the electronic equipment, acquiring deployment information based on the operating system, and generating a first instruction for triggering the application to operate for the first time.
Here, in the above extreme case, when the user returns to the electronic device after leaving the electronic device to perform re-login (in the case of non-initial use), it is determined whether the application is in an installation incomplete state (predetermined state), and when it is determined that the application is in the installation incomplete state, the operating system is operated, and the operating system generates deployment information about the application to complete installation; and generating a first instruction based on the deployment information, and triggering the application to run for the first time so that the user can use the function of the application.
As shown in fig. 2, a second embodiment of the control method according to the embodiment of the present application includes:
step 201: identifying the use state of a user of the electronic equipment to obtain an identification result;
step 202: when the identification result represents that the electronic equipment is used by the user for the first time, operating an operating system of the electronic equipment;
step 203: obtaining an event, wherein the event is at least characterized by deployment information of an operating system aiming at least one application matched with the identification of a user;
step 204: and generating a first instruction when the preset information aiming at the at least one application exists in the deployment information, responding to the first instruction, and triggering the application to run for the first time.
The main body for executing the steps is the electronic equipment. For the relevant description appearing in the above steps, reference is made to the foregoing description of steps 101 to 104, which is not repeated.
In steps 201 and 202, the (local) electronic device identifies that the current login of the user is the first login with respect to the account information input by the user, and executes the operation of the operating system if the current login is the first login. And if the account information of the user does not appear in the local electronic equipment, reminding the user of registering, and executing the operation of the operating system after the registration is successful.
In steps 203 and 204, the operating system generates deployment information for one or more applications that the user needs to use during operation, the electronic device detects (monitors) the deployment information generated by the operating system, and once predetermined information for the applications is detected (monitored), a first instruction is generated to trigger the applications to run for the first time.
In the above scheme, the first running of the application is based on the deployment information generated by the operating system, that is, based on the deployment information generated by the operating system, the application is triggered to run for the first time.
In the above scheme, the predetermined information is at least characterized in that the deployment state of the application has reached a predetermined state; the predetermined information is at least characterized by a deployment state of the application being close to a deployment completion state or a deployment already completed state. The predetermined state may be a deployment completion state, for example, the deployment information generated by the operating system is all the deployment information that should be generated for a certain application. The predetermined state may also be a close to deployment completion state, such as 90%, 80%, or 95% of all deployment information that the operating system generates that would have been generated for an application.
In practical applications, the number of applications that the user needs to use may be one or two or more. The deployment information is detected, and once predetermined information for the application a is detected (monitored), a first instruction is generated to trigger the application a to run for the first time.
For the case that the number of the used applications is two or more, the deployment information is deployment information generated by an operating system and aiming at each application in at least two applications; when it is detected that the predetermined information for one of the applications exists in the deployment information, a first instruction for the one of the applications is generated to trigger the first running of the one of the applications.
Here, when the number of applications used by the user is two or more, the deployment information generated by the operating system is deployment information for the two or more applications, for example, the application 1 and the application 2, the deployment information is detected, and when information (predetermined information) indicating that the deployment of the application 1 is close to completion or has been completed for the application 1 appears in the deployment information, a trigger instruction (first instruction) for the application 1 is generated to trigger the application 1 to run for the first time. Once information (predetermined information) for the application 2 that can characterize that the deployment of the application 2 is close to completion or has been completed appears in the deployment information, a trigger instruction (first instruction) for the application 2 is generated, triggering the application 2 to run for the first time. Generally, the deployment completion or close to completion of different applications is not the same, and the application that was previously deployed or is close to being deployed is run for the first time. Therefore, the applications can be guaranteed to be triggered to run for the first time in the respective deployment completion state or the respective deployment close to completion state.
In the above scheme, the first operation of a certain application is performed in a state that the deployment of the application is close to completion or is already completed, and compared with a mode of executing the first operation of the application manually and/or by adopting a fixed timing time in the related art, the first operation of the application can be intelligently triggered at least, and the intelligent mode is applicable to electronic devices of various brands, and has strong usability and good portability.
The embodiment of the present application is further described with reference to the flowchart shown in fig. 3.
Step 300: pre-installing an application before the electronic equipment leaves a factory;
taking UWP version applications such as utility and windows as an operating system of the electronic device as examples, the electronic device needs to be pre-installed before it leaves the factory. When the electronic device reaches the hand of the user after leaving the factory, the following process needs to be executed to complete the final installation of the UWP version of the utility:
step 301: executing the OOBE flow;
here, some basic settings of Windows, such as language setting, setting of network parameters related to internet surfing, and the like, may be performed in step 301, and please refer to the related description, which is not described herein.
The application that the user needs to use may be an application that is preinstalled before the user leaves the factory, or may be a downloaded application.
Step 302: judging whether a user using the electronic equipment currently is an expected user;
that is, whether the user currently using the electronic device is the user who uses the electronic device for the first time or whether the user currently using the electronic device is the application which is not used for the first time but needs to be used is judged;
if yes, go to step 303;
otherwise, the flow is ended;
the user who registers on the electronic device or the user who logs in (registers on other electronic devices) on the electronic device by using the account for the first time can be regarded as the user who uses the electronic device for the first time.
It can be understood that: steps 301 and 302 are not in strict sequence, and can be performed simultaneously.
Step 303: operating an operating system, wherein the operating system is deployed by utilizing deployment software;
here, when the operating system is of windows family, the deployment software may be an application program provided in microsoft shop software (MS STORE APP) standard program, and is deployed by the application program. The process of deployment may be viewed as never being installed to the process of installation completion. The specific deployment process is not described in detail.
Here, the electronic device starts the planned task of the utility; the planning task can be regarded as a set of programs, and the planning task specifies when to do something, for example, when the deployment of the utility approaches the completion state, and then delays for a certain time (predetermined time), such as any one of 5-30s, the planning task calls the process of the utility to execute the first running of the utility application of the UWP version.
Step 304: a log generated for a deployment process exists in log information generated by an operating system;
here, for the deployment of the application, the operating system may generate a deployment-related Log (Log), and the generated deployment-related Log is considered as the deployment information described above.
Step 305: detecting whether information (predetermined information) capable of indicating that deployment of the application is completed or close to completion appears in the log information;
if the predetermined information is detected, perform step 306;
otherwise, continuing to execute the step;
here, a log related to deployment is a piece of program code, and in the program code, data represents a name of an application to be deployed, such as "utility"; a log related to the deployment of the UWP version of an application (Appx) is represented by "level 0 or 4" in various types of log information generated by the operating system. Representing the state of deployment by 'Event ID', for example, 400 represents the state that deployment is close to completion or completed, and 300 represents the state that deployment is not close to completion; and taking "Task" as a type of whether the planned Task runs successfully or not, wherein the planned Task runs successfully if the Task is 3, and the planned Task runs unsuccessfully if the Task is 2.
In this application scenario, in the program code of the log, once data such as "level ═ 0 or 4", data ═ utity ", Event ID ═ 400, and Task ═ 3 are detected, it is considered that deployment of the utity by the operating system is nearly completed, and the following steps are executed.
It can be understood that: deployment completion or near completion may be considered application installation completion or near completion.
Step 306: after detecting the predetermined information aiming at the utility and waiting for a predetermined time (delay time), such as 30s, triggering the planning task to call the process of the utility so as to execute the first running of the utility application of the UWP version.
After the above steps are completed, the shortcut key function of the keyboard is valid, for example, the flight mode of the electronic device can be opened by operating the key F7 on the keyboard; the key F8 on the keyboard is operated to perform opening/closing of the touch panel.
In the above solution, the state that deployment is close to completion is taken as the predetermined state for explanation, and in step 306, considering that the first operation of the application is preferably executed after deployment is completely completed, after a delay of 30s is detected based on the time when deployment of the utility is close to completion, the first operation of the utility is executed again. Therefore, the method can ensure that the first operation of the utility is executed after the deployment is completed, and the problem that the first operation of the utility cannot be successful due to incomplete deployment is avoided. The predetermined time may also take any other reasonable value, such as 5s or 25 s.
In the above scheme, the first operation of the utility application of the UWP version is performed in a state where the deployment of the application is close to completion or has been completed, where the state where the deployment is close to completion or has been completed is obtained based on detection of a system log (deployment information) generated for the deployment of the application, and compared with a mode in which the first operation of the application is performed manually and/or with a fixed timing time in the related art, the first operation of the application can be intelligently triggered at least by the scheme, and the intelligent mode is applicable to electronic devices of various brands, and has strong usability and better portability.
An embodiment of the present invention further provides an electronic device 700, as shown in fig. 4, the device includes a processor 701 and a storage medium 702; wherein the storage medium 702 is used for storing a computer program;
the processor 701 is configured to, when executing the computer program stored in the storage medium, perform at least the following steps:
identifying the use state of a user of the electronic equipment to obtain an identification result;
operating an operating system of the electronic equipment according to the identification result;
acquiring an event, wherein the event is at least characterized by deployment information of an operating system for the user;
and generating a first instruction at least based on the acquired event, and triggering to run at least one application matched with the user identifier in response to the first instruction.
Wherein, the processor 701 is further configured to perform the following steps:
the deployment information is deployment information generated by an operating system and aiming at the at least one application;
and when the deployment information is detected to have the preset information aiming at the at least one application, generating the first instruction to trigger the application to run for the first time.
Wherein, the processor 701 is further configured to perform the following steps:
the deployment information is deployment information generated by an operating system and aiming at each application of at least two applications;
when it is detected that the predetermined information for one of the applications exists in the deployment information, a first instruction for the one of the applications is generated to trigger the first running of the one of the applications.
In the above scheme, the predetermined information is at least characterized in that the deployment state of the application has reached a predetermined state.
Wherein, the processor 701 is further configured to perform the following steps:
when the identification result represents that the electronic equipment is used by the user for the first time, operating the operating system; or,
and when the identification result indicates that the electronic equipment is not used for the first time by the user and the application is in a preset state, operating the operating system.
As shown in fig. 5, the electronic device 700 of the embodiment of the present invention includes: at least one processor 701, a storage medium 702, at least one network interface 704, and a user interface 703. The various components in the electronic device 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 5 as the bus system 705.
The user interface 703 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It is to be appreciated that the storage medium 702 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The storage medium 702 described in the present embodiment is intended to comprise, without being limited to, these and any other suitable types of memory.
The storage medium 702 in embodiments of the present invention is used to store various types of data to support the operation of the electronic device 700. Examples of such data include: any computer programs for operating on the electronic device 700, such as an operating system 7021 and application programs 7022. The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 may include various applications such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 701 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the storage medium 702, and the processor 701 reads the information in the storage medium 702 to complete the steps of the foregoing method in combination with its hardware.
An embodiment of the present application further provides a storage medium, which may be the storage medium 702 in fig. 5, and is used for storing a computer program, and when the computer program is executed, the computer program executes the foregoing control method.
It should be noted that, in the electronic device provided in the embodiment of the present invention, because a principle of the electronic device for solving the problem is similar to that of the control method, both an implementation process and an implementation principle of the electronic device can be described with reference to the implementation process and the implementation principle of the control method, and repeated details are not repeated.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
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, that is, 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, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, 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.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several 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 methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (9)
1. A method of controlling, the method comprising:
identifying the use state of a user of the electronic equipment to obtain an identification result;
when the identification result represents that the electronic equipment is used by the user for the first time, operating an operating system of the electronic equipment; the initial use comprises: local first login of local registration and local login of non-local registration;
acquiring an event, wherein the event is at least characterized by deployment information of an operating system for the user; the deployment information is deployment information generated by an operating system and aiming at the at least one application; the at least one application is an application of a universal application platform (UWP) version;
and generating a first instruction when the preset information aiming at the at least one application exists in the deployment information, and triggering the at least one application matched with the user identifier to run for the first time in response to the first instruction.
2. The method of claim 1, further comprising:
the deployment information is deployment information generated by an operating system and aiming at each application of at least two applications;
when it is detected that the predetermined information for one of the applications exists in the deployment information, a first instruction for the one of the applications is generated to trigger the first running of the one of the applications.
3. The method according to claim 1 or 2, characterized in that the predetermined information is at least characterized in that the deployment state of the application has reached a predetermined state.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
and when the identification result indicates that the electronic equipment is not used for the first time by the user and the application is in a preset state, operating the operating system.
5. An electronic device, the device comprising a processor and a storage medium; wherein the storage medium is for storing a computer program;
the processor is used for executing the computer program stored in the storage medium, and at least executing the following steps:
identifying the use state of a user of the electronic equipment to obtain an identification result;
when the identification result represents that the electronic equipment is used by the user for the first time, operating an operating system of the electronic equipment; the initial use comprises: local first login of local registration and local login of non-local registration;
acquiring an event, wherein the event is at least characterized by deployment information of an operating system for the user; the deployment information is deployment information generated by an operating system and aiming at the at least one application; the at least one application is an application of a universal application platform (UWP) version;
and generating a first instruction when the preset information aiming at the at least one application exists in the deployment information, and triggering the at least one application matched with the user identifier to run for the first time in response to the first instruction.
6. The electronic device of claim 5, wherein the processor is further configured to perform the steps of:
the deployment information is deployment information generated by an operating system and aiming at each application of at least two applications;
when it is detected that the predetermined information for one of the applications exists in the deployment information, a first instruction for the one of the applications is generated to trigger the first running of the one of the applications.
7. The electronic device of claim 6,
the predetermined information is at least characterized in that the deployment state of the application has reached a predetermined state.
8. The electronic device of any of claims 5-7, wherein the processor is further configured to perform the steps of:
and when the identification result indicates that the electronic equipment is not used for the first time by the user and the application is in a preset state, operating the operating system.
9. A storage medium for storing a computer program which, when executed, performs at least the control method of any one of the preceding claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811157472.2A CN109324808B (en) | 2018-09-30 | 2018-09-30 | Control method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811157472.2A CN109324808B (en) | 2018-09-30 | 2018-09-30 | Control method and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109324808A CN109324808A (en) | 2019-02-12 |
CN109324808B true CN109324808B (en) | 2021-08-17 |
Family
ID=65266220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811157472.2A Active CN109324808B (en) | 2018-09-30 | 2018-09-30 | Control method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109324808B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114416394A (en) * | 2021-12-24 | 2022-04-29 | 联想(北京)有限公司 | A data processing method and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8548919B2 (en) * | 2010-01-29 | 2013-10-01 | Dell Products L.P. | System and method for self-provisioning of virtual images |
CN103793311A (en) * | 2014-02-27 | 2014-05-14 | 联想(北京)有限公司 | Information processing method, information processing device and electronic equipment |
CN107256162A (en) * | 2017-06-13 | 2017-10-17 | 时瑞科技(深圳)有限公司 | Based on Windows visual characteristics and personalized desktop management method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8849717B2 (en) * | 2009-07-09 | 2014-09-30 | Simon Cooper | Methods and systems for upgrade and synchronization of securely installed applications on a computing device |
CN103294490A (en) * | 2012-02-23 | 2013-09-11 | 联想(北京)有限公司 | Configuration information offering method and device as well as method and device for configuring operating system |
CN104469741A (en) * | 2014-11-17 | 2015-03-25 | 小米科技有限责任公司 | Terminal configuration method and device |
CN105827683B (en) * | 2015-09-29 | 2019-01-11 | 维沃移动通信有限公司 | A kind of method, server and electronic equipment that data are synchronous |
CN105657690A (en) * | 2015-12-29 | 2016-06-08 | 小米科技有限责任公司 | Method and device for processing mobile terminal setting information |
CN105786606A (en) * | 2016-03-03 | 2016-07-20 | 深圳市创想天空科技股份有限公司 | Data transferring method and system for intelligent terminals |
WO2018086017A1 (en) * | 2016-11-09 | 2018-05-17 | 达闼科技(北京)有限公司 | Application opening method, electronic device, and management server |
-
2018
- 2018-09-30 CN CN201811157472.2A patent/CN109324808B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8548919B2 (en) * | 2010-01-29 | 2013-10-01 | Dell Products L.P. | System and method for self-provisioning of virtual images |
CN103793311A (en) * | 2014-02-27 | 2014-05-14 | 联想(北京)有限公司 | Information processing method, information processing device and electronic equipment |
CN107256162A (en) * | 2017-06-13 | 2017-10-17 | 时瑞科技(深圳)有限公司 | Based on Windows visual characteristics and personalized desktop management method |
Non-Patent Citations (2)
Title |
---|
The Kinect Digital Out-of-Box Experience;John Solaro;《institute of electrical and electronic engineers》;20110613;全文 * |
面向功能机用户的安卓智能机用户引导系统研究与设计;段虞峰;《cnki优秀硕士学位论文全文库 信息科技辑》;20120315;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109324808A (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210286589A1 (en) | Electronic device for processing multi-modal input, method for processing multi-modal input and server for processing multi-modal input | |
EP3480816B1 (en) | Method for voice recognition and electronic device for performing the same | |
CN108958844B (en) | Application program control method and terminal | |
JP5930236B2 (en) | Web application architecture | |
CN106062763B (en) | A method, device and electronic device for displaying applications and pictures | |
EP3082028B1 (en) | Apparatus and method for providing information via portion of display | |
EP2945058A1 (en) | Processing method and device for application program | |
TWI626593B (en) | Method and device for upgrading software | |
CN108710515A (en) | Application preloading method, device, storage medium and terminal | |
CN107832099A (en) | A kind of client release compatible method, apparatus and storage medium | |
CN108090345B (en) | Linux system external command execution method and device | |
CN106528210A (en) | Application program running method and device | |
CN106203092B (en) | Method and device for intercepting shutdown of malicious program and electronic equipment | |
US10498740B2 (en) | Method, apparatus, and system for creating service account | |
CN109117153A (en) | Processing method, device, terminal and the storage medium of application program | |
CN109324808B (en) | Control method and electronic device | |
CN108958807A (en) | A kind of terminal system starting method and terminal | |
CN106648671B (en) | Application upgrading method and terminal | |
CN113821128B (en) | Terminal device and gesture operation method and medium thereof | |
CN116594698A (en) | System control method, device and readable storage medium | |
CN113805705B (en) | Terminal shortcut key operation method and device | |
CN112256274A (en) | Application program processing method and device and storage medium | |
CN107621997B (en) | Processing method and device | |
CN111160956A (en) | Advertisement playing method and device, electronic equipment and medium | |
CN118502843A (en) | Method, device, electronic device and head-mounted display device for running mini-program |
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 |