CN111611023B - Control method and device of intelligent equipment, electronic equipment and storage medium - Google Patents

Control method and device of intelligent equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN111611023B
CN111611023B CN202010348162.XA CN202010348162A CN111611023B CN 111611023 B CN111611023 B CN 111611023B CN 202010348162 A CN202010348162 A CN 202010348162A CN 111611023 B CN111611023 B CN 111611023B
Authority
CN
China
Prior art keywords
application program
list
application
installation
white list
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
CN202010348162.XA
Other languages
Chinese (zh)
Other versions
CN111611023A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu 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 Baidu Online Network Technology Beijing Co Ltd, Shanghai Xiaodu Technology Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN202010348162.XA priority Critical patent/CN111611023B/en
Publication of CN111611023A publication Critical patent/CN111611023A/en
Application granted granted Critical
Publication of CN111611023B publication Critical patent/CN111611023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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/44594Unloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a control method and device of intelligent equipment, electronic equipment and a storage medium, and relates to the technical field of application and installation. The scheme is as follows: sending the first list to a server; acquiring an installation instruction returned by the server, wherein the installation instruction is generated by the server according to the difference between each application program identifier in the first list and a white list application program identifier in a preset white list, and the installation instruction comprises an installation file of the first application program in the preset white list; if the current available space of the intelligent equipment is smaller than the running space of the installation file of the first application program, deleting at least one application program in the first list according to the black-and-white list attribute of each application program in the first list and/or the historical use data of each application program; and loading and running the installation file of the first application program. The method realizes intelligent management of the intelligent equipment space, reduces user operation, reduces the management cost of the user, and improves the safety of the intelligent equipment.

Description

Control method and device of intelligent equipment, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to the field of application and installation technologies, and in particular, to a method and an apparatus for controlling an intelligent device, an electronic device, and a storage medium.
Background
At present, with the rapid development of artificial intelligence and the continuous improvement of living standard of people, intelligent equipment becomes a necessary product in life. The user can carry out voice interaction with the intelligent equipment, or utilize intelligent voice equipment to broadcast music, news etc..
Along with the gradually strong function of the intelligent equipment, higher and higher requirements are put forward on the storage performance of the intelligent equipment. At present, a user mainly manages the storage space of the intelligent device, and the intelligent device is complex to operate and high in cost.
Disclosure of Invention
The application provides a control method and device of an intelligent device, an electronic device and a storage medium, and aims to solve the problems of complex operation and high cost of management of a storage space of the intelligent device in the related art.
According to a first aspect, there is provided a control method of an intelligent device, comprising:
sending a first list to a server, wherein the first list comprises application program identifiers installed in the intelligent equipment;
acquiring an installation instruction returned by the server, wherein the installation instruction is generated by the server according to the difference between each application program identifier in the first list and a white list application program identifier in a preset white list, and the installation instruction comprises an installation file of a first application program in the preset white list;
if the current available space of the intelligent equipment is smaller than the running space of the installation file of the first application program, deleting at least one application program in the first list according to the black and white list attribute of each application program in the first list and/or according to the historical use data of each application program in the first list; and the number of the first and second groups,
and loading and running the installation file of the first application program.
The control method of the smart device according to the embodiment of the present application transmits the first list to the server, wherein, the first list comprises the identifiers of all the application programs installed by the intelligent equipment, then the installation instruction returned by the server is obtained, wherein, the installation instruction is generated by the server according to the difference between each application program identifier in the first list and the white list application program identifier in the preset white list, the installation instruction comprises the installation file of the first application program in the preset white list, if the current available space of the intelligent device is smaller than the operating space of the installation file of the first application program, deleting at least one application program in the first list according to the black-and-white list attribute of each application program in the first list and/or according to the historical use data of each application program in the first list, and then loading and running the installation file of the first application program. Therefore, the installed application program list is sent to the server, the installation files of the uninstalled white list application programs are obtained from the server, when the space is insufficient, the application programs are automatically deleted according to the black and white list attributes and/or the historical use data of the local application programs, and then the white list application programs are installed, so that the intelligent management of the space of the intelligent equipment is realized, the user operation is reduced, the management cost of the user is reduced, and the safety of the intelligent equipment is improved.
According to a second aspect, there is provided a control method of a smart device, comprising:
acquiring a first list sent by intelligent equipment, wherein the first list comprises application program identifiers installed in the intelligent equipment;
inquiring whether each application program identifier in the first list contains each white list application program identifier in a preset white list; and the number of the first and second groups,
if the first list does not contain the first application program in the preset white list, returning an installation instruction to the intelligent device, wherein the installation instruction comprises an installation file of the first application program, so that the intelligent device runs the installation file of the first application program.
According to the control method of the intelligent device, the first list sent by the intelligent device is obtained, wherein the first list comprises the identifiers of all the application programs installed by the intelligent device, whether the identifiers of all the application programs in the first list contain the identifiers of all the white list application programs in a preset white list or not is inquired, if the first list does not contain the first application program in the preset white list, an installation instruction is returned to the intelligent device, wherein the installation instruction comprises an installation file of the first application program, and therefore the intelligent device runs the installation file of the first application program. Therefore, the installed file of the white list application program to be installed is issued to the intelligent equipment by comparing the list of the installed application program identifications uploaded by the intelligent equipment with the preset white list, so that the intelligent equipment automatically installs the white list application program, the intelligent management of the space of the intelligent equipment is realized, the user operation is reduced, the management cost of the user is reduced, and the safety of the intelligent equipment is improved.
According to a third aspect, there is provided a control apparatus of an intelligent device, comprising:
the device comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a first list to a server, and the first list comprises application program identifiers installed in the intelligent equipment;
a first obtaining module, configured to obtain an installation instruction returned by the server, where the installation instruction is generated by the server according to a difference between each application identifier in the first list and a whitelist application identifier in a preset whitelist, and the installation instruction includes an installation file of a first application in the preset whitelist;
a deleting module, configured to delete at least one application program in the first list according to a black-and-white list attribute of each application program in the first list and/or according to historical usage data of each application program in the first list when a current available space of the smart device is smaller than an operating space of an installation file of the first application program; and the number of the first and second groups,
and the installation module is used for loading and running the installation file of the first application program.
The control apparatus of the smart device according to the embodiment of the present application sends the first list to the server, wherein, the first list comprises the identifiers of all the installed application programs of the intelligent equipment, the installation instruction returned by the server is obtained, wherein, the installation instruction is generated by the server according to the difference between each application program identifier in the first list and the white list application program identifier in the preset white list, the installation instruction comprises the installation file of the first application program in the preset white list, if the current available space of the intelligent device is smaller than the operating space of the installation file of the first application program, deleting at least one application program in the first list according to the black-and-white list attribute of each application program in the first list and/or according to the historical use data of each application program in the first list, and loading and running the installation file of the first application program. Therefore, the installed application program list is sent to the server, the installation files of the uninstalled white list application programs are obtained from the server, when the space is insufficient, the application programs are automatically deleted according to the black and white list attributes and/or the historical use data of the local application programs, and then the white list application programs are installed, so that the intelligent management of the space of the intelligent equipment is realized, the user operation is reduced, the management cost of the user is reduced, and the safety of the intelligent equipment is improved.
According to a fourth aspect, there is provided a control apparatus of an intelligent device, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first list sent by intelligent equipment, and the first list comprises application program identifiers installed in the intelligent equipment;
the query module is used for querying whether each application program identifier in the first list contains each white list application program identifier in a preset white list; and the number of the first and second groups,
and the sending module is used for returning an installation instruction to the intelligent device when the first list does not contain the first application program in the preset white list, wherein the installation instruction comprises an installation file of the first application program, so that the intelligent device runs the installation file of the first application program.
The control device of the intelligent device in the embodiment of the application, by obtaining a first list sent by the intelligent device, where the first list includes identifiers of applications installed by the intelligent device, queries whether the identifiers of the applications in the first list include identifiers of the applications in a preset white list, and returns an installation instruction to the intelligent device if the identifiers of the applications in the first list do not include a first application in the preset white list, where the installation instruction includes an installation file of the first application, so that the intelligent device runs the installation file of the first application. Therefore, the installed file of the white list application program to be installed is issued to the intelligent equipment by comparing the list of the installed application program identifications uploaded by the intelligent equipment with the preset white list, so that the intelligent equipment automatically installs the white list application program, the intelligent management of the space of the intelligent equipment is realized, the user operation is reduced, the management cost of the user is reduced, and the safety of the intelligent equipment is improved.
According to a fifth aspect, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for controlling a smart device according to the first aspect of the embodiments described above, or to perform the method for controlling a smart device according to the second aspect of the embodiments described above.
According to a sixth aspect, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program for causing a computer to execute the method for controlling a smart device according to the first aspect embodiment or the method for controlling a smart device according to the second aspect embodiment described above.
According to the embodiment of the application, the installed application program list is sent to the server, the installation files of the uninstalled white list application programs are obtained from the server, when the space is insufficient, the application programs are automatically deleted according to the black and white list attributes and/or the historical use data of the local application programs, and then the white list application programs are installed, so that the intelligent management of the space of the intelligent equipment is realized, the user operation is reduced, the management cost of the user is reduced, the safety of the intelligent equipment is improved, and the problems of complicated operation and high cost of the management of the storage space of the intelligent equipment in the related technology are solved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a schematic flowchart of a control method for an intelligent device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another control method for an intelligent device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another control method for an intelligent device according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a display of an inquiry statement provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of another control method for an intelligent device according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of another control method for an intelligent device according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an interaction between an intelligent device and a server according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a control apparatus of an intelligent device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another control apparatus of an intelligent device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another control apparatus of an intelligent device according to an embodiment of the present application;
fig. 11 is a block diagram of an electronic device according to a control method of an intelligent device according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
A control method and apparatus for an intelligent device, an electronic device, and a storage medium according to embodiments of the present application are described below with reference to the accompanying drawings.
The embodiment of the application provides a control method of an intelligent device, aiming at the problems of complex operation and high cost of management of a storage space of the intelligent device in the related art.
According to the control method of the intelligent device, the installed application program list is sent to the server, the installation files of the white list application programs which are not installed are obtained from the server, when the space is insufficient, the application programs are automatically deleted according to the black and white list attributes and/or the historical use data of the local application programs, and then the white list application programs are installed, so that the intelligent management of the space of the intelligent device is achieved, the user operation is reduced, the management cost of a user is reduced, and the safety of the intelligent device is improved.
Fig. 1 is a schematic flowchart of a control method for an intelligent device according to an embodiment of the present application.
The control method of the intelligent device in the embodiment of the application can be executed by the intelligent device such as an intelligent sound box, a mobile phone, a computer and the like, so that intelligent management of the space of the intelligent device is realized.
As shown in fig. 1, the method for controlling the smart device includes:
step 101, a first list is sent to a server.
In this embodiment, when the smart device is in the power-on state, the locally installed applications may be counted at preset time intervals, such as every day or every month, and the installed applications are identified to form a list, which is referred to as a first list, and sent to the server. It will be appreciated that the first list includes an identification of all applications that the smart device has installed.
The application identifier may be an identifier that can characterize uniqueness of the application, such as a name of the application, a serial number of the application, and the like.
Step 102, obtaining an installation instruction returned by the server, wherein the installation instruction comprises an installation file of a first application program in a preset white list.
In this embodiment, the installation instruction returned by the server is generated by the server according to the difference between each application program identifier in the first list and a whitelist application program identifier in a preset whitelist.
Specifically, a white list is preset in the server, where the white list includes a white list application identifier, and the white list application list may be determined by the server according to the use condition of the application installed on each intelligent device, the security of the application, the evaluation of the application, and the like, for example, the application with the use rate greater than a preset threshold or with high security is added to the white list. As can be seen, the white list on the server may be continually updated.
The server receives a first list sent by the intelligent device, compares the first list with a white list to inquire whether the application program identifiers in the first list contain the white list application program identifiers in the white list, namely, whether the intelligent device installs the white list application programs in the white list, and if the white list application programs which are not installed exist, an installation instruction can be generated according to the white list application program identifiers which are not contained in the first list.
The installation instruction comprises an installation file of a first application program in a preset white list. Here, the first application is a white list application in a preset white list which is not installed in the intelligent device.
For example, the first list includes the identifications of the application A, B, C, D of four applications, that is, the application installed on the smart device is A, B, C, D four applications, the white list preset on the server includes the identifications of A, B, C, D, E five white list applications, it is obvious that the first list does not include the identification of the application E, and then the installation instruction returned by the server includes the installation file of the application E.
And 103, if the current available space of the intelligent device is smaller than the running space of the installation file of the first application program, deleting at least one application program in the first list according to the black and white list attribute of each application program in the first list and/or according to the historical use data of each application program in the first list.
In practical applications, as the number of applications installed in a smart device increases, the available space may be limited. In order not to affect the installation of the first application program, the intelligent device determines the current available space, compares the current available space with the size of the running space of the installation file of the first application program, and if the current available space of the intelligent device is smaller than the running space of the installation file of the first application program, it indicates that the intelligent device cannot install the first application program due to insufficient space, and therefore, some installed application programs need to be deleted.
In this embodiment, the application installed in the intelligent device has a black-and-white list attribute, for example, the black-and-white list attribute includes a white list attribute and a black list attribute, and according to the black-and-white list attribute, it may be determined whether each installed application is a white list application or a black list application, and when determining an application to be deleted, it may determine a black list application in the first list according to the black-and-white list attribute of each application in the first list, and then delete the black list application. For another example, the blacklist attribute includes a whitelist attribute, and if the application program can be determined to be a whitelist application program or a non-whitelist application program according to the blacklist attribute of the application program, the non-whitelist program can be deleted. Wherein, the non-white list application program refers to an application program of which the attribute is not the white list attribute.
In practical applications, the usage frequency of some applications of the smart device may be relatively low, or applications with usage frequency lower than a preset number of times may be deleted according to historical usage data of locally installed applications, such as the usage frequency of each application in the last month or half year.
Of course, at least one application in the first list may be deleted according to the black-and-white list attribute of each application in the first list and the historical usage data of each application. For example, blacklisted or non-whitelisted applications, as well as the least frequently used applications, may be deleted.
When the application program is deleted, one application program can be deleted first, whether the current available space of the intelligent device after the application program is deleted is larger than the running space of the first application program or not is judged, and if the current available space of the intelligent device after the application program is deleted is larger than the running space of the first application program, the deletion of the installed application program can be stopped. And if not, continuing to delete the application programs in the first list until the current available space of the intelligent device is larger than the running space of the installation file of the first application program.
Step 104, loading and running the installation file of the first application program.
And under the condition that the current available space of the intelligent equipment is larger than the running space of the installation file of the first application program, the intelligent equipment acquires the installation file of the first application program from the installation instruction, and loads and runs the installation file of the first application program so as to install the first application program. Therefore, the intelligent device can be installed in the application program in the white list preset by the server, so that the intelligent management of the space is realized, and the safety of the intelligent device is ensured and the user requirements are met due to the white list application program.
For example, as an application scenario, the control method of the smart device according to the embodiment of the present application may be applied to a smart speaker, where the smart speaker may send a list of identifiers of applications installed in the smart speaker to a server, and obtain an installation instruction returned by the server, where the installation instruction includes an installation file of an application in a preset white list, where the application is not installed in the smart speaker, and if a current available space of the smart speaker is insufficient, that is, the current available space is smaller than an operation space of an application to be installed, according to black-and-white list attributes and/or historical usage data of the installed application, at least one installed application is deleted, and then an installation file of the application to be installed is loaded and operated, so as to install the application. Therefore, intelligent management of the intelligent sound box space is achieved.
In the above embodiment, the smart device sends the first list to the server, obtains the installation instruction from the server, and then installs the application program. It should be noted that the smart device may also obtain a preset white list from the server periodically, for example, every day or every month, and then determine that the applications belonging to the white list are not installed according to the installed applications and the white list, and then send a request for obtaining installation files of the applications to the server to obtain the installation files from the server, and then install the applications.
According to the control method of the intelligent device, the installed application program list is sent to the server, the installation files of the white list application programs which are not installed are obtained from the server, when the space is insufficient, the application programs are automatically deleted according to the black and white list attributes and/or the historical use data of the local application programs, and then the white list application programs are installed, so that the intelligent management of the space of the intelligent device is achieved, the user operation is reduced, the management cost of a user is reduced, and the safety of the intelligent device is improved.
In practical applications, users will usually install some applications actively. In order to improve the quality of the installed application program, in an embodiment of the present application, before sending the first list to the server, a file request may be sent to the server, and the server issues a corresponding instruction to the smart device according to the situation of the application program requested by the user. Fig. 2 is a schematic flowchart of another control method for an intelligent device according to an embodiment of the present disclosure.
As shown in fig. 2, before sending the first list to the server, the method further includes:
in step 201, an application use request is obtained.
In this embodiment, the user may send an instruction to install the application program to the smart device, so that the smart device may obtain an application program use request, where the use request includes an identifier of the second application program. It will be appreciated that the second application is an application that the user requested to be installed.
Specifically, the user may search and install the application program in the application program store through the display screen of the smart device, and at this time, the smart speaker may also obtain an application program use request, where the use request includes an identifier of the application program to be installed.
Step 202, a file request is sent to a server.
After the intelligent device obtains the application program use request, the intelligent device can send a file request to the server according to the identifier of the second application program included in the use request, wherein the file request includes the identifier of the second application program, and the second application program is the application program requested to be used by the user.
And step 203, acquiring a list uploading instruction returned by the server.
After the server obtains the file request, the identifier of the second application program may be matched with the identifier of the white list application program in the preset white list, and it is determined whether the second application program is the white list application program in the preset white list, that is, it is determined whether the second application program requested by the user is the white list application program. And if the second application program is not the white list application program, namely the second application program is a non-white list application program, and the second application program is used cautiously, generating a list uploading instruction and sending the list uploading instruction to the intelligent equipment.
Or the server determines that the score or the evaluation corresponding to the second application program is low, generates a list uploading instruction and sends the list uploading instruction to the intelligent device. The list uploading instruction is used for instructing the intelligent equipment to send the installed application program information to the server.
The intelligent device obtains a list uploading instruction returned by the server, then sends the first list to the server, and simultaneously sends the information of the current available space to the server so that the server determines the application programs in the white list which are not installed by the intelligent device. And when the server determines that the current available space of the intelligent device is larger than the running spaces of the second application program and the installation file of the first application program, returning an installation instruction containing the second application program and an installation instruction containing the first application program to the intelligent device. Therefore, the intelligent device can install not only the application program requested by the user, but also the white list application program in the preset white list.
Or, the server may determine whether the application installed in the smart device is an important application according to the first list, where the important application may be an application with a higher usage frequency in the smart device. If the smart device has installed the critical application, the server may not return the installation file of the requested second application, return a reminder to alert the user that the requested application is not a whitelist application or is low-scoring, not recommended for use, and return an installation instruction containing the first application to cause the smart speaker to install the first application.
In this embodiment of the application, before sending the first list to the server, an application program use request may also be obtained, where the use request includes an identifier of the second application program, a file request is sent to the server, where the file request includes the identifier of the second application program, and then a list upload instruction returned by the server is obtained, where the list upload instruction is generated by the server when it is determined that the second application program is a non-white list application program. Therefore, when the requested application program is a non-white list application program, the intelligent device sends the installed application program list to the server, so that a corresponding installation instruction can be obtained from the server, intelligent management of the intelligent device space is achieved, and the quality of the installed application program is improved.
In order to improve the intelligence of the device usage, in one embodiment of the present application, the above-mentioned application usage request may be obtained through voice recognition.
Specifically, the intelligent device has a voice recognition function, a user can input an application program to be installed through voice, and the intelligent device recognizes collected voice data and determines an application program use request. Then, a file request is sent, and the file request includes the identifier of the second application program, that is, the file request includes the identifier of the application program to be requested by the user for use.
Such as smart speaker, the user inputs the application to be installed through voice interaction, such as voice input "i want to install application a", then the smart enabled speaker obtains the request for using application a through voice recognition.
In the embodiment of the application, when the application use request is acquired, the application use request can be determined by identifying the acquired voice data. Therefore, when the user inconveniently inputs the application program to be installed through manual input, the application program request to be installed can be input through voice, so that the intelligence of the intelligent device is improved, and the interaction mode of the user and the intelligent device is enriched.
In order to meet the use requirement of the user on the application program, when the application program requested by the user does not belong to the application programs in the white list, in an embodiment of the application, the server may further include an identifier of a replacement application program in the installation instruction generated according to a difference between the first list and the preset white list, so as to recommend the application program that can replace the second application program requested by the user. Fig. 3 is a schematic flowchart of another control method for an intelligent device according to an embodiment of the present application, which is described below with reference to fig. 3.
As shown in fig. 3, after obtaining the installation instruction returned by the server, the method further includes:
step 301, an application program replacement query statement is played, wherein the query statement includes an identifier of the replacement application program.
In this embodiment, the intelligent device sends a file request to the server according to the obtained application program use request. And when the server determines that the second application program in the file request is a non-white list application program according to the file request, generating a list uploading instruction and sending the list uploading instruction to the intelligent equipment. The intelligent device acquires the list uploading instruction and sends the first list to the server.
In practical applications, there may be multiple applications of the same type, but there is usually a difference in performance and evaluation between the applications of the same type.
The server determines a white list application program, namely a first application program, which is not installed in the intelligent device according to the first list and a preset white list, and judges whether the type of the first application program is the same as that of the second application program or not so as to determine whether the first application program can replace the second application program or not. The first application may replace the second application if the first application is the same type as the second application.
If the first application program is multiple, whether the first application program with the same type as the second application program exists is judged, and if the first application program exists, the return instruction comprises the identification and installation files of the replacing application program and installation files of other first application programs.
Or, the server judges whether a white list application program with the same type as the second application program exists in a preset white list according to the identifier of the second application program included in the file request, and if the white list application program exists, the server can be used as a replacement application program of the second application program. Then, whether other white list applications which are not installed in the intelligent device exist in the preset white list or not is determined. If the application program exists, the installation instruction returned by the server comprises the identification and the installation file of the replacement application program and the installation file of other white list application programs which are not installed by the intelligent equipment.
And after the intelligent device acquires the installation instruction which is returned by the server and contains the identifier of the replacement application program, playing an application program replacement inquiry statement to inquire whether the user performs replacement or not. Wherein the query statement includes an identification of the replacement application.
For example, the user requests application a and the replacement application b, and may play the query statement "replace a with b".
Step 302, if the application program replacement confirmation message is acquired, the installation file of the replacement application program in the confirmation message is loaded and operated.
The user can input a voice answer sentence according to the query sentence, the intelligent device identifies the collected voice data, and if the application program replacement confirmation message is obtained, the installation file of the replacement application program in the confirmation message is loaded and operated. If the user inputs a message which is not replaced, the intelligent device does not load the installation file of the replacement application program.
For example, if the smart speaker plays the query sentence "replace a with b", and if the user inputs "yes" or "replace" or the like by voice, which indicates that the user confirms to replace a with the application b, the smart device loads and runs the installation file of the application b to install the application b.
If the smart device has a display screen, the query statement may also be displayed while it is being played. Fig. 4 is a schematic display diagram of an inquiry statement according to an embodiment of the present application. In fig. 4, the display screen 410 shows an inquiry sentence "do a replaced with b? "and the corresponding answers" yes "and" no ", the user may input the answer by voice, or if the display screen 410 also has a touch function, the user may determine whether to replace by triggering the answer.
It is understood that, if the replacement application is different from the first application, that is, the installation instruction includes the identifier and the installation file of the replacement application and the installation file of the first application, then the smart device may also load and run the installation file of the first application.
In this embodiment of the application, the installation instruction returned by the server may further include an identifier of the replacement application, and then after the installation instruction returned by the server is obtained, an application replacement query statement may also be played, where the query statement includes the identifier of the replacement application, and if an application replacement confirmation message is obtained, the installation file of the replacement application in the confirmation message is loaded and run. Therefore, when the application program requested by the user is not the white list application program or the score is low, the replacement application program can be recommended to replace the application program requested by the user through other application programs, the use requirement of the user on the requested application program is met, and the quality of the installed application program is improved.
In order to implement the foregoing embodiments, an embodiment of the present application further provides a method for controlling an intelligent device, where the method for controlling the intelligent device may be executed by a server. Fig. 5 is a schematic flowchart of another control method for an intelligent device according to an embodiment of the present application.
As shown in fig. 5, the control method of the smart device includes:
step 501, a first list sent by the intelligent device is obtained, wherein the first list includes identifiers of application programs installed in the intelligent device.
In this embodiment, when the smart device is in the power-on state, the locally installed applications may be counted at preset time intervals, such as every day or every month, and the installed applications are identified to form a list, which is referred to as a first list, and sent to the server. Thus, the server may obtain the first list sent by the smart device. It will be appreciated that the first list includes an identification of all applications that the smart device has installed.
Step 502, inquiring whether each application program identifier in the first list contains each white list application program identifier in a preset white list.
Specifically, a white list is preset in the server, where the white list includes a white list application identifier, and the white list application list may be determined by the server according to the use condition of the application installed on each intelligent device, the security of the application, the score of the application, and the like, for example, the application with the use rate greater than a preset threshold or with high security is added to the white list. As can be seen, the white list on the server may be continually updated.
The server receives a first list sent by the intelligent device, compares the first list with a white list to inquire whether the application program identifiers in the first list contain the white list application program identifiers in the white list, namely, whether the intelligent device installs the white list application programs in the white list.
Step 503, if the first list does not include the first application program in the preset white list, returning an installation instruction to the intelligent device.
If the first list has the white list application programs which are not installed, an installation instruction can be generated according to the white list application program identification which is not contained in the first list, so that the intelligent device can install the white list application programs.
The installation instruction comprises an installation file of a first application program in a preset white list. Here, the first application is a white list application in a preset white list which is not installed in the intelligent device.
For example, the first list includes the identifications of the application A, B, C, D of four applications, that is, the application installed on the smart device is A, B, C, D four applications, the white list preset on the server includes the identifications of A, B, C, D, E five white list applications, it is obvious that the first list does not include the identification of the application E, and then the installation instruction returned by the server includes the installation file of the application E.
According to the control method of the intelligent device, the list of the installed application program identifications uploaded by the intelligent device is compared with the preset white list, the installation files of the white list application programs to be installed are issued to the intelligent device, so that the intelligent device automatically installs the white list application programs, intelligent management of the space of the intelligent device is achieved, user operation is reduced, management cost of a user is reduced, and safety of the intelligent device is improved.
In practical applications, users will usually install some applications actively. In order to improve the quality of the installed application program, in an embodiment of the present application, before the first list sent by the intelligent device is obtained, a file request sent by the intelligent device may be obtained, so as to issue a corresponding instruction to the intelligent device according to the situation of the application program requested by the user. Fig. 6 is a schematic flowchart of another control method for an intelligent device according to an embodiment of the present application.
As shown in fig. 6, the control method of the smart device includes:
step 601, obtaining a file request sent by the intelligent device, where the file request includes an identifier of the second application program.
In this embodiment, the user may send an instruction to install the application program to the smart device, so that the smart device may obtain an application program use request, where the use request includes an identifier of the second application program. It will be appreciated that the second application is an application that the user requested to be installed.
Specifically, the user may search and install the application program in the application program store through the display screen of the smart device, and at this time, the smart speaker may also obtain an application program use request, where the use request includes an identifier of the application program to be installed.
Or, the application program is requested to be installed through a voice input mode. Such as smart speaker, the user inputs the application to be installed through voice interaction, such as voice input "i want to install application a", then the smart enabled speaker obtains the request for using application a through voice recognition.
After the intelligent device obtains the application program use request, the intelligent device can send a file request to the server according to the identifier of the second application program included in the use request, so that the server can obtain the file request of the intelligent device. The file request comprises an identifier of a second application program, and the second application program is an application program requested to be used by a user.
Step 602, it is determined that the preset white list does not include the identifier of the second application.
After the server obtains the file request, the server may match the identifier of the second application program with the identifier of the application program in the preset white list, and determine whether the second application program is an application program in the preset white list, so as to determine whether the preset white list includes the identifier of the second application program, that is, determine whether the second application program requested by the user is a white list application program.
Step 603, a first list sent by the intelligent device is obtained, where the first list includes identifiers of applications installed in the intelligent device.
And if the second application program is not the white list application program, namely the second application program is a non-white list application program, and the second application program is used cautiously, generating a list uploading instruction and sending the list uploading instruction to the intelligent equipment. Or the server determines that the score or the evaluation corresponding to the second application program is low, generates a list uploading instruction and sends the list uploading instruction to the intelligent device. The list uploading instruction is used for instructing the intelligent equipment to send the installed application program information to the server.
The intelligent device acquires a list uploading instruction returned by the server and then sends a first list to the server, so that the server acquires the first list, wherein the first list comprises the installed application program identifiers of the intelligent device.
Step 604, querying whether each application identifier in the first list includes each white list application identifier in a preset white list.
In this embodiment, step 604 is similar to step 502 described above, and therefore is not described herein again.
Step 605, if the first list does not include the first application program in the preset white list, and the current available space of the intelligent device is greater than or equal to the running space of the second application program and the installation file of the first application program, returning an installation instruction including the installation files of the first application program and the second application program to the intelligent device.
In this embodiment, if the first list does not include the first application program in the preset white list, the server returns an installation instruction to the intelligent device, where the installation instruction includes an installation instruction of the first application program.
The server can also obtain the current available space information sent by the intelligent device, compare whether the current available space of the intelligent device is larger than the size of the running space of the installation files of the first application program and the second application program, namely judge whether the current available space of the intelligent device can install the first application program and the second application program. If the current available space of the intelligent device is larger than or equal to the running space of the second application program and the installation file of the first application program, the server can return the identification of the second application program and the installation instruction of the installation file, which contain the user request, to the intelligent device.
That is to say, in this embodiment, one of the applications to be installed by the smart device is an application requested by the user, that is, a second application, and the other is a white list application determined by the server according to the installed application of the smart device and a preset white list, that is, a first application, and the white list application is not installed by the smart device. When the current available space of the intelligent device is larger than or equal to the running space of the second application program and the installation file of the first application program, the installation files of the first application program and the second application program can be simultaneously issued to the intelligent device.
It should be noted that, the server may send an installation instruction, where the installation instruction includes installation files of the first application and the second application at the same time, or send installation instructions that include installation files of the first application and installation files of the second application, respectively, which is not limited in this embodiment.
It can be understood that if the first list contains all the application identifiers in the preset white list, the server only returns an installation instruction containing the installation file of the second application when the currently available space of the intelligent device is larger than the running space of the installation file of the second application.
In the embodiment of the application, before acquiring the first list sent by the intelligent device, a file request sent by the intelligent device may also be acquired, wherein the file request includes an identifier of a second application program, and it is determined that a preset white list does not include the identifier of the second application program; after querying whether each application program identifier in the first list contains each white list application program in a preset white list, if the current available space of the intelligent device is larger than or equal to the running space of the installation files of the second application program and the first application program, returning an installation instruction containing the installation files of the second application program to the intelligent device. Therefore, when the current available space of the intelligent equipment meets the operating space of the application program requested by the user and the installation file of the white list application program which is not installed by the intelligent equipment, the installation instruction of the installation file of the application program containing the user request and the installation instruction of the white list application program which is not installed are issued to the intelligent equipment, so that the use requirement of the application program required by the user is met, the white list application program can be automatically installed, and the intelligent management of the space of the intelligent equipment is realized.
In practical applications, as smart devices become more powerful, the current available space of the smart device may not be sufficient to meet the space requirements of user-requested applications and uninstalled whitelist applications. Based on this, in an embodiment of the present application, if the current available space of the smart device is smaller than the running spaces of the second application and the installation file of the first application, it may be determined whether an application in the first list is not in the preset white list, that is, whether the smart device installs an application that is not in the preset white list. If so, indicating that a non-whitelisted application, referred to herein as a third application, is installed on the smart device, the smart device may return an installation instruction containing the installation file for the second application.
After the intelligent device obtains the installation instruction returned by the server, the third application program can be deleted, and then the installation file of the first application program and the installation file of the second application program are loaded and operated so as to install the first application program and the second application program.
For example, the current available space of the intelligent device is 300M, the running space of the application a requested by the user is 152M, the running space of the white-list application E not installed in the intelligent device is 190M, the current available space is insufficient, and the intelligent device has a non-white-list application, then an installation instruction containing an installation file of the application a is returned, the intelligent device deletes the non-white-list application, and then installs the application a and the application E.
In the embodiment of the application, if the current available space of the intelligent device is smaller than the running spaces of the second application program and the installation file of the first application program, and the third application program in the first list is not in the preset white list, an installation instruction containing the installation file of the second application program is returned to the intelligent device. Therefore, when the current available space of the intelligent device cannot simultaneously install the application program requested by the user and the white list application program, the installed non-white list application program can be automatically deleted, and then the application program requested by the user and the white list application program are installed, so that the use requirement of the application program requested by the user is met, the white list application program is also installed, and the intelligent management of the space of the intelligent device is realized.
In order to improve the quality of the application installed by the smart device, when the application requested by the user is installed, in an embodiment of the present application, after determining that the preset white list does not include the identifier of the second application, it may be queried whether the preset white list includes other applications of the same type as the second application.
If the preset white list contains the application program with the same type as the second application program, which is called as a fourth application program, the server returns an installation instruction containing an installation file of the fourth application program to the intelligent device, so that the intelligent device recommends the fourth application program with the same type as the second application program to the user and inquires whether to replace the second application program by the fourth application program. If the replacement is confirmed, the smart device installs the fourth application and the first application according to the currently available space. Therefore, the fourth application program and the first application program installed by the intelligent device belong to the white list application program, and the quality of the installed application programs is improved.
Or, when the score of the second application is lower, whether the preset white list contains the same type of application as the second application or not can be queried. If the type of the fourth application program in the preset white list is the same as that of the second application program, returning an installation instruction containing an installation file of the fourth application program to the intelligent device to recommend the fourth application program, and replacing the application program with a lower score requested by the user through the fourth application program.
In this embodiment of the application, after it is determined that the preset white list does not include the identifier of the second application, it may be further queried whether the preset white list includes other applications of the same type as the second application, and if the type of the fourth application in the preset white list is the same as the type of the second application, an installation instruction including an installation file of the fourth application is returned to the intelligent device. Therefore, when the application program requested by the user does not belong to the white list application program, the same type of application program is recommended to the user for replacement, and when the replacement is determined, the replacement application program installed on the intelligent device and the first application program both belong to the white list application program, so that the quality of the installed application program is improved.
In practical applications, the applications installed in the smart device may also all be white list applications, and in an embodiment of the present application, the preset white list includes identifiers of all applications in the first list, and the current available space of the smart device is smaller than the running space of the installation file of the first application. That is, all the applications installed on the smart device are white-list applications, and the current available space of the smart device is not enough to install other white-list applications, at this time, according to the application score or the usage rate, it may be determined that at least one application in the first list has a lower priority than the first application, and then an installation instruction containing the installation file of the first application is returned to the smart device.
The installation instruction comprises an installation file of the first application program and also comprises an application program identifier of which the priority is lower than that of the first application program in the first list.
Because there may be a plurality of application programs with priorities lower than the first application program, the intelligent device may delete the application program with the lowest priority first according to the priority information carried by the installation instruction, determine whether the current available space of the intelligent device is larger than the running space of the installation file of the first application program, and if so, load and run the installation file of the first application program. And if not, continuing to delete the application program with the low secondary priority until the current available space of the intelligent device is larger than the running space of the installation file of the first application program.
Or the server determines the application program identifier of which the priority is lower than that of the first application program and which needs to be deleted by the intelligent device according to the current available space of the intelligent device and the running space of the installation file of the first application program, and sends the application program identifier to the intelligent device, so that the intelligent device deletes the application programs of which the priority is lower than that of the first application program.
In order to improve the intelligence, before deleting the installed applications to install the first application, the intelligent device may also play an inquiry statement to inquire whether the user deletes the applications to install other applications. Then, the operation is performed according to the acquired message.
For example, the smart speaker plays an inquiry sentence "the currently available space is insufficient, ask whether to delete the application B to install the application C". If the user answers "yes," then the smart speaker deletes application B and then loads and runs the installation file for application C. If the user answers "no," then the smart sound box does not delete applications that are lower priority than the first application. If the smart sound box has a display screen, the query sentence can be displayed while the query sentence is played.
In this embodiment of the application, if the preset white list includes the identifiers of all the applications in the first list, and the current remaining available space of the smart device is smaller than the running space of the installation file of the first application, before an installation instruction is returned to the smart device, it is determined that the priority of at least one application in the first list is smaller than the priority of the first application. Therefore, when the application programs installed on the intelligent equipment are all white list application programs, the server determines the application program with the priority lower than that of the first application program to be installed, so that the intelligent equipment can install the first application program after deleting the application program with the priority lower than that of the first application program, and the intelligence of the intelligent equipment space management is improved.
For explaining the above embodiments, the following description is made with reference to fig. 7, and fig. 7 is a schematic diagram of interaction between an intelligent device and a server according to an embodiment of the present application.
In fig. 7, step 741, the user 710 inputs the application to be downloaded by voice; step 742, the intelligent device 720 identifies the acquired voice data and determines an application program use request, wherein the use request includes an identifier of a second application program; step 743, the intelligent device 720 sends a file request to the server 730; step 744, when determining that the preset white list does not include the identifier of the second application program, the server 730 generates a list uploading instruction; step 745, the server 730 sends a list uploading instruction to the intelligent device 720; 746, the intelligent device 720 sends a first list to the server 730, where the first list includes identifiers of the applications installed in the intelligent device 720; step 747, the server 730 generates an installation instruction according to the difference between each application identifier in the first list and the white list application identifier in the preset white list, where the installation instruction includes an installation file of the first application in the preset white list, and if the current available space of the intelligent device 720 is greater than or equal to the running spaces of the second application and the installation file of the first application, the installation instruction includes an installation file of the second application; step 748, the server 730 sends an installation instruction to the intelligent device 720; step 749, the smart device 720 installs the first application and the second application, specifically loads and runs the installation files of the first application and the second application.
In order to implement the foregoing embodiments, an embodiment of the present application further provides a control apparatus for an intelligent device, where the apparatus may be configured in an electronic device, such as an intelligent device. Fig. 8 is a schematic structural diagram of a control apparatus of an intelligent device according to an embodiment of the present application.
As shown in fig. 8, the control apparatus 800 of the smart device includes: a sending module 810, a first obtaining module 820, a deleting module 830, and an installing module 840.
A sending module 810, configured to send a first list to a server, where the first list includes identifiers of application programs installed in an intelligent device;
a first obtaining module 820, configured to obtain an installation instruction returned by the server, where the installation instruction is generated by the server according to a difference between each application identifier in the first list and a whitelist application identifier in a preset whitelist, and the installation instruction includes an installation file of a first application in the preset whitelist;
a deleting module 830, configured to delete at least one application program in the first list according to a black-and-white list attribute of each application program in the first list and/or according to historical usage data of each application program in the first list when a current available space of the intelligent device is smaller than an operating space of an installation file of the first application program; and the number of the first and second groups,
the installation module 840 is used for loading and running the installation file of the first application program.
Fig. 9 is a schematic structural diagram of another control apparatus of an intelligent device according to an embodiment of the present application. In a possible implementation manner of the embodiment of the present application, as shown in fig. 9, the apparatus may further include:
a second obtaining module 850, configured to obtain an application use request, where the use request includes an identifier of a second application;
the sending module 810 is further configured to send a file request to the server, where the file request includes an identifier of the second application program; and the number of the first and second groups,
the first obtaining module 820 is further configured to obtain a list uploading instruction returned by the server, where the list uploading instruction is generated when the server determines that the second application is a non-white list application.
In a possible implementation manner of the embodiment of the present application, the second obtaining module 850 is specifically configured to:
and identifying the acquired voice data and determining the application program use request.
In a possible implementation manner of the embodiment of the present application, the installation instruction further includes an identifier of a replacement application, where the apparatus may further include:
the playing module is used for playing an application program replacing inquiry statement, wherein the inquiry statement comprises an identifier of the replacing application program; and the number of the first and second groups,
the installation module 840 is configured to load and run the installation file of the replacement application in the confirmation message when the application replacement confirmation message is acquired.
It should be noted that the explanation of the foregoing embodiment of the method for controlling an intelligent device on the intelligent device side is also applicable to the control apparatus of the intelligent device in this embodiment, and therefore, the explanation is not repeated here.
The control apparatus of the smart device according to the embodiment of the present application sends the first list to the server, wherein, the first list comprises the identifiers of all the installed application programs of the intelligent equipment, the installation instruction returned by the server is obtained, wherein, the installation instruction is generated by the server according to the difference between each application program identifier in the first list and the white list application program identifier in the preset white list, the installation instruction comprises the installation file of the first application program in the preset white list, if the current available space of the intelligent device is smaller than the operating space of the installation file of the first application program, deleting at least one application program in the first list according to the black-and-white list attribute of each application program in the first list and/or according to the historical use data of each application program in the first list, and loading and running the installation file of the first application program. Therefore, the installed application program list is sent to the server, the installation files of the uninstalled white list application programs are obtained from the server, when the space is insufficient, the application programs are automatically deleted according to the black and white list attributes and/or the historical use data of the local application programs, and then the white list application programs are installed, so that the intelligent management of the space of the intelligent equipment is realized, the user operation is reduced, the management cost of the user is reduced, and the safety of the intelligent equipment is improved.
In order to implement the foregoing embodiments, another control apparatus for an intelligent device is further provided in an embodiment of the present application, where the apparatus may be configured in an electronic device, such as a server. Fig. 10 is a schematic structural diagram of a control apparatus of an intelligent device according to an embodiment of the present application.
As shown in fig. 10, the control apparatus 900 of the smart device includes: an obtaining module 910, a querying module 920 and a sending module 930.
An obtaining module 910, configured to obtain a first list sent by an intelligent device, where the first list includes identifiers of application programs installed in the intelligent device;
the query module 920 is configured to query whether each application identifier in the first list includes each white list application identifier in a preset white list; and the number of the first and second groups,
the sending module 930 is configured to, when the first list does not include the first application program in the preset white list, return an installation instruction to the intelligent device, where the installation instruction includes an installation file of the first application program, so that the intelligent device runs the installation file of the first application program.
In a possible implementation manner of this embodiment of the application, the obtaining module 910 is further configured to obtain a file request sent by the smart device, where the file request includes an identifier of the second application program; and the number of the first and second groups,
the query module 920 is configured to determine that the preset white list does not include the identifier of the second application program; wherein the content of the first and second substances,
the sending module 930 is further configured to return an installation instruction including the installation file of the second application program to the smart device when the current available space of the smart device is greater than or equal to the running spaces of the installation files of the second application program and the first application program.
In a possible implementation manner of this embodiment, the sending module 930 is further configured to:
and when the current available space of the intelligent equipment is smaller than the running spaces of the second application program and the installation files of the first application program, and the third application program in the first list is not in a preset white list, returning an installation instruction containing the installation files of the second application program to the intelligent equipment.
In a possible implementation manner of the embodiment of the present application, the query module 920 is further configured to query whether a preset white list includes other application programs of the same type as the second application program;
the sending module 930 is further configured to return an installation instruction including an installation file of the fourth application program to the intelligent device when the type of the fourth application program in the preset white list is the same as the type of the second application program.
In a possible implementation manner of the embodiment of the present application, the preset white list includes identifiers of all application programs in the first list, and a current available space of the smart device is smaller than an operating space of an installation file of the first application program, where the apparatus may further include:
a determining module for determining that the priority of at least one application in the first list is less than the priority of the first application.
It should be noted that the explanation of the foregoing embodiment of the method for controlling an intelligent device on the server side is also applicable to the control apparatus of the intelligent device in this embodiment, and therefore, the explanation is not repeated here.
The control device of the intelligent device in the embodiment of the application, by obtaining a first list sent by the intelligent device, where the first list includes identifiers of applications installed by the intelligent device, queries whether the identifiers of the applications in the first list include identifiers of the applications in a preset white list, and returns an installation instruction to the intelligent device if the identifiers of the applications in the first list do not include a first application in the preset white list, where the installation instruction includes an installation file of the first application, so that the intelligent device runs the installation file of the first application. Therefore, the installed file of the white list application program to be installed is issued to the intelligent equipment by comparing the list of the installed application program identifications uploaded by the intelligent equipment with the preset white list, so that the intelligent equipment automatically installs the white list application program, the intelligent management of the space of the intelligent equipment is realized, the user operation is reduced, the management cost of the user is reduced, and the safety of the intelligent equipment is improved.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 11 is a block diagram of an electronic device according to a control method of an intelligent device according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 11, the electronic apparatus includes: one or more processors 1001, memory 1002, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of the GU I on an external input/output device (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 11 illustrates an example of one processor 1001.
The memory 1002 is a non-transitory computer readable storage medium provided herein. The memory stores instructions executable by at least one processor, so that the at least one processor executes the control method of the intelligent device provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the control method of a smart device provided by the present application.
The memory 1002, as a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the control method of the smart device in the embodiment of the present application (for example, the sending module 810, the first obtaining module 820, the deleting module 830, and the installing module 840 shown in fig. 8). The processor 1001 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 1002, that is, implements the control method of the smart device in the above-described method embodiment.
The memory 1002 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the control electronics of the smart device, and the like. Further, the memory 1002 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1002 may optionally include memory located remotely from the processor 1001, which may be connected to the electronics of the control method of the smart device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the control method of the smart device may further include: an input device 1003 and an output device 1004. The processor 1001, the memory 1002, the input device 1003, and the output device 1004 may be connected by a bus or other means, and fig. 11 illustrates an example of connection by a bus.
The input device 1003 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device of the control method of the smart device, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 1004 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the installed application program list is sent to the server, the installation files of the white list application programs which are not installed are obtained from the server, when the space is insufficient, the application programs are automatically deleted according to the black and white list attributes and/or the historical use data of the local application programs, and then the white list application programs are installed, so that the intelligent management of the space of the intelligent equipment is achieved, the user operation is reduced, the management cost of a user is reduced, and the safety of the intelligent equipment is improved.
In the description of the present specification, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (12)

1. A control method of an intelligent device is characterized by comprising the following steps:
sending a first list to a server, wherein the first list comprises application program identifiers installed in the intelligent equipment;
before the sending the first list to the server, the method further includes:
acquiring an application program use request, wherein the use request comprises an identifier of a second application program;
sending a file request to the server, wherein the file request comprises an identifier of the second application program; and the number of the first and second groups,
obtaining a list uploading instruction returned by the server, wherein the list uploading instruction is generated when the server determines that the second application program is a non-white list application program;
acquiring an installation instruction returned by the server, wherein the installation instruction is generated by the server according to the difference between each application program identifier in the first list and a white list application program identifier in a preset white list, and the installation instruction comprises an installation file of a first application program in the preset white list;
the installation instruction also includes an identification of the replacement application, wherein,
after the obtaining of the installation instruction returned by the server, the method further includes:
playing an application program replacement inquiry statement, wherein the inquiry statement comprises an identifier of the replacement application program; and the number of the first and second groups,
if the application program replacement confirmation message is acquired, loading and operating the installation file of the replacement application program in the confirmation message;
if the current available space of the intelligent equipment is smaller than the running space of the installation file of the first application program, deleting at least one application program in the first list according to the black and white list attribute of each application program in the first list and/or according to the historical use data of each application program in the first list; and the number of the first and second groups,
and loading and running the installation file of the first application program.
2. The method of claim 1, wherein said obtaining an application use request comprises:
and identifying the acquired voice data and determining the application program use request.
3. A control method of an intelligent device is characterized by comprising the following steps:
acquiring a first list sent by intelligent equipment, wherein the first list comprises application program identifiers installed in the intelligent equipment;
before the obtaining of the first list sent by the smart device, the method further includes:
acquiring a file request sent by the intelligent equipment, wherein the file request comprises an identifier of a second application program; and the number of the first and second groups,
determining that the preset white list does not contain the identifier of the second application program; wherein the content of the first and second substances,
after querying whether each application identifier in the first list includes each whitelist application in a preset whitelist list, the method further includes:
if the current available space of the intelligent equipment is larger than or equal to the running space of the second application program and the installation file of the first application program, returning an installation instruction containing the installation file of the second application program to the intelligent equipment; after determining that the preset white list does not contain the identifier of the second application program, the method further includes:
inquiring whether the preset white list contains other application programs with the same type as the second application program;
if the type of a fourth application program in the preset white list is the same as that of the second application program, returning an installation instruction containing an installation file of the fourth application program to the intelligent equipment;
inquiring whether each application program identifier in the first list contains each white list application program identifier in a preset white list; and the number of the first and second groups,
if the first list does not contain the first application program in the preset white list, returning an installation instruction to the intelligent device, wherein the installation instruction comprises an installation file of the first application program, so that the intelligent device runs the installation file of the first application program.
4. The method of claim 3, wherein after said querying whether each application identifier in the first list contains a predetermined whitelist of whitelist applications, further comprising:
and if the current available space of the intelligent equipment is smaller than the running spaces of the second application program and the installation files of the first application program, and the third application program in the first list is not in the preset white list, returning an installation instruction containing the installation files of the second application program to the intelligent equipment.
5. The method according to any one of claims 3-4, wherein the predefined whitelist includes an identification of all applications in the first list, and wherein the current available space of the smart device is less than the runtime space of the installation file of the first application,
before returning an installation instruction to the intelligent device, the method further comprises the following steps:
determining that a priority of at least one application in the first list is less than a priority of the first application.
6. A control device of an intelligent device, comprising:
the device comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a first list to a server, and the first list comprises application program identifiers installed in the intelligent equipment;
a first obtaining module, configured to obtain an installation instruction returned by the server, where the installation instruction is generated by the server according to a difference between each application identifier in the first list and a whitelist application identifier in a preset whitelist, and the installation instruction includes an installation file of a first application in the preset whitelist;
a deleting module, configured to delete at least one application program in the first list according to a black-and-white list attribute of each application program in the first list and/or according to historical usage data of each application program in the first list when a current available space of the smart device is smaller than an operating space of an installation file of the first application program; and the number of the first and second groups,
the installation module is used for loading and running the installation file of the first application program;
the device further comprises:
the second obtaining module is used for obtaining an application program using request, wherein the using request comprises an identifier of a second application program;
the sending module is further configured to send a file request to the server, where the file request includes an identifier of the second application program; and the number of the first and second groups,
the first obtaining module is further configured to obtain a list uploading instruction returned by the server, where the list uploading instruction is generated by the server when it is determined that the second application program is a non-white list application program;
the installation instruction further comprises an identifier of a replacement application program, wherein the device further comprises:
the system comprises a playing module, a receiving module and a processing module, wherein the playing module is used for playing an application program replacing inquiry statement, and the inquiry statement comprises an identifier of the replacing application program; and the number of the first and second groups,
and the installation module is used for loading and operating the installation file of the replaced application program in the confirmation message when the confirmation message of replacing the application program is obtained.
7. The apparatus of claim 6, wherein the second obtaining module is specifically configured to:
and identifying the acquired voice data and determining the application program use request.
8. A control device of an intelligent device, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first list sent by intelligent equipment, and the first list comprises application program identifiers installed in the intelligent equipment;
the query module is used for querying whether each application program identifier in the first list contains each white list application program identifier in a preset white list; and the number of the first and second groups,
a sending module, configured to return an installation instruction to the intelligent device when the first list does not include the first application program in the preset white list, where the installation instruction includes an installation file of the first application program, so that the intelligent device runs the installation file of the first application program;
the obtaining module is further configured to obtain a file request sent by the intelligent device, where the file request includes an identifier of a second application program; and the number of the first and second groups,
the query module is configured to determine that the preset white list does not include the identifier of the second application program; wherein the content of the first and second substances,
the sending module is further configured to return an installation instruction including the installation file of the second application program to the intelligent device when the current available space of the intelligent device is greater than or equal to the running spaces of the installation files of the second application program and the first application program;
the query module is further configured to query whether the preset white list includes other application programs of the same type as the second application program;
the sending module is further configured to return an installation instruction including an installation file of a fourth application program to the intelligent device when the type of the fourth application program in the preset white list is the same as the type of the second application program.
9. The apparatus of claim 8, wherein the sending module is further configured to:
and when the current available space of the intelligent equipment is smaller than the running spaces of the installation files of the second application program and the first application program, and a third application program in the first list is not in the preset white list, returning an installation instruction containing the installation file of the second application program to the intelligent equipment.
10. The apparatus of any of claims 8-9, wherein the predefined whitelist includes an identification of all applications in the first list, and wherein the current available space of the smart device is less than a runtime space of an installation file of the first application, wherein the apparatus further comprises:
a determining module for determining that a priority of at least one application in the first list is less than a priority of the first application.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of controlling a smart device of any of claims 1-2 or the method of controlling a smart device of any of claims 3-5.
12. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the control method of the smart device according to any one of claims 1 to 2 or the control method of the smart device according to any one of claims 3 to 5.
CN202010348162.XA 2020-04-28 2020-04-28 Control method and device of intelligent equipment, electronic equipment and storage medium Active CN111611023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010348162.XA CN111611023B (en) 2020-04-28 2020-04-28 Control method and device of intelligent equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010348162.XA CN111611023B (en) 2020-04-28 2020-04-28 Control method and device of intelligent equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111611023A CN111611023A (en) 2020-09-01
CN111611023B true CN111611023B (en) 2022-02-01

Family

ID=72199798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010348162.XA Active CN111611023B (en) 2020-04-28 2020-04-28 Control method and device of intelligent equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111611023B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260909B (en) * 2020-10-20 2021-12-21 深圳市欧瑞博科技股份有限公司 Intelligent device position detection method and device, electronic device and storage medium
CN112306513A (en) * 2020-12-24 2021-02-02 智道网联科技(北京)有限公司 Installation method and device of third-party application, computing equipment and storage medium
CN113076077B (en) * 2021-03-29 2024-06-14 北京梧桐车联科技有限责任公司 Method, device and equipment for installing vehicle-mounted program
CN113190803B (en) * 2021-06-30 2021-11-02 深圳传音控股股份有限公司 Processing method, apparatus and storage medium
CN113973275B (en) * 2021-10-28 2023-06-27 中国联合网络通信集团有限公司 Data processing method, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867970A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application installing system and method for handheld device
CN105912925A (en) * 2016-04-05 2016-08-31 周奇 Method and system for preventing mobile terminal from automatically installing related applications
CN106355083A (en) * 2016-09-27 2017-01-25 武汉米企通网络科技有限公司 Method for authenticating installation software by control APP
CN108763243A (en) * 2018-03-27 2018-11-06 广东欧珀移动通信有限公司 Application program recommends method, apparatus, mobile terminal and server
US10437577B2 (en) * 2018-02-02 2019-10-08 Verizon Patent And Licensing Inc. Systems and methods for mobile application installation
CN110516436A (en) * 2019-08-29 2019-11-29 蓝书房作业本科技(深圳)有限公司 Learning machine application program installation method, device, learning machine and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8214895B2 (en) * 2007-09-26 2012-07-03 Microsoft Corporation Whitelist and blacklist identification data
CN105005735B (en) * 2015-08-25 2018-01-16 广东欧珀移动通信有限公司 Downloading management method and download management device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867970A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application installing system and method for handheld device
CN105912925A (en) * 2016-04-05 2016-08-31 周奇 Method and system for preventing mobile terminal from automatically installing related applications
CN106355083A (en) * 2016-09-27 2017-01-25 武汉米企通网络科技有限公司 Method for authenticating installation software by control APP
US10437577B2 (en) * 2018-02-02 2019-10-08 Verizon Patent And Licensing Inc. Systems and methods for mobile application installation
CN108763243A (en) * 2018-03-27 2018-11-06 广东欧珀移动通信有限公司 Application program recommends method, apparatus, mobile terminal and server
CN110516436A (en) * 2019-08-29 2019-11-29 蓝书房作业本科技(深圳)有限公司 Learning machine application program installation method, device, learning machine and storage medium

Also Published As

Publication number Publication date
CN111611023A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN111611023B (en) Control method and device of intelligent equipment, electronic equipment and storage medium
CN110660390B (en) Intelligent device wake-up method, intelligent device and computer readable storage medium
CN112328816B (en) Media information display method and device, electronic equipment and storage medium
CN109597853B (en) Business scene element serial number generation method, device, medium and computer equipment
CN108989397B (en) Data recommendation method and device and storage medium
CN110865855A (en) Applet processing method and related device
CN112073994A (en) Method and device for over-the-air upgrading, electronic equipment and readable storage medium
CN111083058B (en) Content distribution network service flow limiting method and electronic equipment
CN111651141B (en) Method and device for showing landing page of applet, electronic equipment and storage medium
CN110139118B (en) Function running method and device of application program, electronic equipment and storage medium
CN112016068A (en) Account control method, device, equipment and computer readable storage medium
CN110362598B (en) Data query method and device, storage medium and electronic equipment
CN110995480A (en) Block chain network deployment method, device, electronic equipment and medium
CN111814067B (en) Friend recommendation method, device, equipment and storage medium
CN110765075A (en) Storage method and equipment of automatic driving data
CN112311597A (en) Message pushing method and device
CN112069137B (en) Method, device, electronic equipment and computer readable storage medium for generating information
CN111478953B (en) Self-construction method, device, system, equipment and storage medium of server cluster
CN112559867A (en) Business content output method, device, equipment, storage medium and program product
CN112201257A (en) Information recommendation method and device based on voiceprint recognition, electronic equipment and storage medium
CN113163257B (en) Screen projection method, device, equipment and storage medium
CN107608722B (en) Application program downloading method and device
CN110321241A (en) A kind of method for restarting and terminal device of application program
CN114860131A (en) Control method, device, equipment, medium and product for vehicle-mounted multimedia application
CN112579032B (en) Intelligent device guiding method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210428

Address after: 100085 Beijing, Haidian District, No. ten on the ground floor, No. 10 Baidu building, layer three

Applicant after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District, No. ten on the ground floor, No. 10 Baidu building, layer three

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant