CN111913722A - Third-party application program management method and device applied to robot - Google Patents

Third-party application program management method and device applied to robot Download PDF

Info

Publication number
CN111913722A
CN111913722A CN202010540867.1A CN202010540867A CN111913722A CN 111913722 A CN111913722 A CN 111913722A CN 202010540867 A CN202010540867 A CN 202010540867A CN 111913722 A CN111913722 A CN 111913722A
Authority
CN
China
Prior art keywords
application program
party application
name
party
request
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.)
Pending
Application number
CN202010540867.1A
Other languages
Chinese (zh)
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 Aijieli Technology Development Co ltd
Original Assignee
Beijing Aijieli Technology Development 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 Beijing Aijieli Technology Development Co ltd filed Critical Beijing Aijieli Technology Development Co ltd
Priority to CN202010540867.1A priority Critical patent/CN111913722A/en
Publication of CN111913722A publication Critical patent/CN111913722A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Manipulator (AREA)

Abstract

The embodiment of the invention provides a third-party application program management method and device applied to a robot. The method comprises the following steps: acquiring a request of a user for opening a shell application program; finding a third party application program name and an activity page name from a mapping table between the shell application program and the third party application program according to the request; and opening an application page of the third-party application program according to the third-party application program name and the activity page name thereof, and sending prompt information. According to the scheme, after the request of the user for opening the shell application program is obtained, the third-party application program name and the activity page name are found from the mapping table between the shell application program and the third-party application program, the application page of the third-party application program is further opened, the prompt information is sent, various third-party application programs installed by the robot are conveniently and effectively managed, and the user experience is improved.

Description

Third-party application program management method and device applied to robot
Technical Field
The invention relates to the technical field of robot application, in particular to a third-party application program management method and device applied to a robot.
Background
With the continuous development of Artificial Intelligence, AI (Artificial Intelligence) technology has become the key direction of technological change, and robots bearing Artificial Intelligence have gradually come to our eyes from science fiction imagination and come to ordinary family life. These robots can be basically classified into cleaning robots, accompanying robots, and intelligent home appliances.
As a qualified accompanying robot, most manufacturers are positioned to enrich the product functions, the functions and the application programs of the star chess cloth cannot be developed by the robot manufacturers, and the optimal scheme is to introduce the existing application programs in the market and embed the existing application programs into the robots. For example, the robot manufacturer only needs to complete the whole architecture and core functions such as interaction mode, semantic recognition and scene switching, and other additional functions can be completed by introducing third-party applications (applications developed by non-native robot manufacturers). For example, the video and audio functions need to be added to the robot, and the video app, the music app and the like are only transplanted into the robot, so that the functions can be realized; and if a weather forecast function needs to be added to the robot, the weather forecast function can be realized only by transplanting a weather app into the robot and the like.
With the increase of functions of the robot, the number of third-party applications installed in the robot is increasing, and how to uniformly allocate the third-party applications without affecting the core functions thereof and how to properly manage the third-party applications becomes an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide a third-party application program management method and device applied to a robot, and aims to solve the problem that the existing robot is lack of management due to too many third-party application programs.
In order to solve the technical problems, the technical scheme of the invention is as follows:
according to one aspect of the invention, a third-party application program management method applied to a robot is provided, and comprises the following steps:
acquiring a request of a user for opening a shell application program;
finding a third party application program name and an activity page name from a mapping table between the shell application program and the third party application program according to the request;
and opening an application page of the third-party application program according to the third-party application program name and the activity page name thereof, and sending prompt information.
Further, still include:
receiving a closing request of a third-party application program;
and closing the third-party application program according to the closing request.
Further, the step of finding the third party application name and the activity page name from the mapping table between the shell application and the third party application according to the request comprises:
acquiring authority information of a third-party application program;
and opening an application page of the third-party application program according to the permission information, the third-party application program name and the activity page name.
Further, the step of finding the third party application name and the activity page name from the mapping table between the shell application and the third party application according to the request further includes:
and according to the request, inquiring whether the name of the third-party application program exists in a mapping table between the shell application program and the third-party application program, and if not, exiting the shell application program.
Further, the step of opening the application page of the third-party application program according to the third-party application program name and the activity page name thereof and sending the prompt message includes:
acquiring preset rule information;
and loading the rule information to an application page of the third-party application program.
In a second aspect of the present invention, there is provided a third-party application management apparatus applied to a robot, including:
the first acquisition module is used for acquiring a request of a user for opening a shell application program;
the searching module is used for finding the third-party application program name and the activity page name from the mapping table between the shell application program and the third-party application program according to the request;
and the processing module is used for opening the application page of the third-party application program according to the third-party application program name and the activity page name thereof and sending prompt information.
Further, still include:
the receiving module is used for receiving a closing request of the third-party application program;
and the processing module is used for closing the third-party application program according to the closing request.
Further, still include:
the second acquisition module is used for acquiring the authority information of the third-party application program;
and the processing module is used for opening the application page of the third-party application program according to the authority information, the third-party application program name and the activity page name thereof.
Further, the processing module is further configured to exit the shell application when the name of the third-party application is not queried in the mapping table between the shell application and the third-party application by the lookup module according to the request.
Further, the processing module is specifically configured to:
acquiring preset rule information;
and loading the rule information to an application page of the third-party application program.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, after the request of the user for opening the shell application program is obtained, the third-party application program name and the activity page name are found from the mapping table between the shell application program and the third-party application program, the application page of the third-party application program is further opened, the prompt information is sent, various third-party application programs installed by the robot are conveniently and effectively managed, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of a third-party application management method applied to a robot according to a first embodiment of the present invention;
fig. 2 is a device connection diagram of a third-party application management apparatus applied to a robot according to a first embodiment of the present invention;
fig. 3 is a flowchart of a third-party application management method applied to a robot according to a first embodiment of the present invention;
fig. 4 is a flowchart of a third-party application management method applied to a robot in the second embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
As shown in fig. 1, an embodiment of the present invention provides a third-party application management method applied to a robot, including:
s1, acquiring a request of a user for opening a shell application program;
s2, according to the request, finding out the name of the third party application program and the name of activity (activity page) from the mapping table between the shell application program and the third party application program;
and S3, opening the application page of the third-party application program according to the third-party application program name and the activity page name thereof, and sending prompt information.
According to the method and the device, after the request of the user for opening the shell application program is obtained, the third-party application program name and the activity page name are found from the mapping table between the shell application program and the third-party application program, the application page of the third-party application program is further opened, the prompt information is sent, various third-party application programs installed by the robot are managed conveniently and effectively, and the user experience is improved.
In an optional embodiment of the present invention, the method further comprises:
receiving a closing request of a third-party application program;
and closing the third-party application program according to the closing request.
According to the requirements of the user, the third-party application program can be opened, when the user receives the prompt message and wants to close the third-party application program, the embodiment of the invention can also quickly respond to the closing request to close the third-party application program, is beneficial to improving the user experience, and has the advantages of convenience and low cost.
In an optional embodiment of the present invention, after the step S2 finds the third party application name and the activity page name from the mapping table between the shell application and the third party application according to the request, the method includes:
acquiring authority information of a third-party application program;
and opening an application page of the third-party application program according to the permission information, the third-party application program name and the activity page name.
The two of the microphone and the camera are particularly critical authorities in the robot, because the microphone and the camera are always taken over by the core layer by default to monitor the voice instruction and the orientation of the user at any time, and once the authority of the third-party application is out of control, the function of the core layer can be unavailable, so that all the third-party applications must use the authorities under supervision. When a third-party application program is installed on the robot, installation information of the third-party application program and permission information which can be used by the third-party application program need to be recorded, if a user needs to open a certain third-party application program, whether the permission information of the third-party application program can use a microphone and a camera or not is inquired from prestored permission information, and if the permission information of the third-party application program can use the microphone and the camera when the third-party application program is opened and used, the microphone and the camera can be used. The flexibility of management is improved.
In an optional embodiment of the present invention, the step of finding the third party application name and the activity page name from the mapping table between the shell application and the third party application according to the request further includes:
and according to the request, inquiring whether the name of the third-party application program exists in a mapping table between the shell application program and the third-party application program, and if not, exiting the shell application program.
If the third-party application program name does not exist in the mapping table between the shell application program and the third-party application program, the fact that the third-party application program is not installed in the robot is indicated, at the moment, the shell application program is quitted, meanwhile, prompt information can be sent to a user, and user experience is improved.
In an optional embodiment of the present invention, the step of opening the application page of the third-party application according to the third-party application name and the activity page name thereof, and sending the prompt message includes:
acquiring preset rule information;
and loading the rule information to an application page of the third-party application program.
If the user or the robot manufacturer also customizes a special rule, the rule can be loaded on an application page of a third-party application program, and the rule can contain when and what way to play the customized content, so that various requirements of the user are met.
As shown in fig. 2, an embodiment of the present invention provides a third-party application management apparatus applied to a robot, including:
the first acquisition module is used for acquiring a request of a user for opening a shell application program;
the searching module is used for finding the third-party application program name and the activity page name from the mapping table between the shell application program and the third-party application program according to the request;
and the processing module is used for opening the application page of the third-party application program according to the third-party application program name and the activity page name thereof and sending prompt information.
According to the method and the device, after the request of the user for opening the shell application program is obtained, the third-party application program name and the activity page name are found from the mapping table between the shell application program and the third-party application program, the application page of the third-party application program is further opened, the prompt information is sent, various third-party application programs installed by the robot are managed conveniently and effectively, and the user experience is improved.
In an optional embodiment of the present invention, the method further comprises:
the receiving module is used for receiving a closing request of the third-party application program;
and the processing module is used for closing the third-party application program according to the closing request.
According to the requirements of the user, the third-party application program can be opened, when the user receives the prompt message and wants to close the third-party application program, the embodiment of the invention can also quickly respond to the closing request to close the third-party application program, is beneficial to improving the user experience, and has the advantages of convenience and low cost.
In an optional embodiment of the present invention, the method further comprises:
the second acquisition module is used for acquiring the authority information of the third-party application program;
and the processing module is used for opening the application page of the third-party application program according to the authority information, the third-party application program name and the activity page name thereof.
The two of the microphone and the camera are particularly critical authorities in the robot, because the microphone and the camera are always taken over by the core layer by default to monitor the voice instruction and the orientation of the user at any time, and once the authority of the third-party application is out of control, the function of the core layer can be unavailable, so that all the third-party applications have to use the authorities under supervision. When a third-party application program is installed on the robot, installation information of the third-party application program and permission information which can be used by the third-party application program need to be recorded, if a user needs to open a certain third-party application program, whether the permission information of the third-party application program can use a microphone and a camera or not is inquired from prestored permission information, and if the permission information of the third-party application program can use the microphone and the camera when the third-party application program is opened and used, the microphone and the camera can be used. The flexibility of management is improved.
In an optional embodiment of the present invention, the processing module is further configured to exit the shell application when the name of the third party application is not queried in the mapping table between the shell application and the third party application by the lookup module according to the request.
If the third-party application program name does not exist in the mapping table between the shell application program and the third-party application program, the fact that the third-party application program is not installed in the robot is indicated, at the moment, the shell application program is quitted, meanwhile, prompt information can be sent to a user, and user experience is improved.
In an optional embodiment of the present invention, the processing module is specifically configured to:
acquiring preset rule information;
and loading the rule information to an application page of the third-party application program.
If the user or the robot manufacturer also customizes a special rule, the rule can be loaded on an application page of a third-party application program, and the rule can contain when and what way to play the customized content, so that various requirements of the user are met.
It should be noted that the apparatus is an apparatus corresponding to the method described in fig. 1, and all the implementations of the illustrated method are applicable to the embodiment of the apparatus, and the same technical effects can be achieved.
Referring to fig. 3, a workflow of a third-party application management method applied to a robot according to an embodiment of the present invention is as follows:
a user clicks a button on a robot body or wants to open a certain third-party application program through voice, at the moment, the shell application program acquires an opening request, and according to the request, a third-party application program name and an activity page name are found from a mapping table between the shell application program and the third-party application program, the mapping table between the shell application program and the third-party application program is an installation record table for the third-party application program when the third-party application program is installed, the third-party application program name corresponds to a program package of the third-party application program, and the activity page name is a home page of the third-party application program, namely, a page displayed when the third-party application program is opened; and if the name of the third-party application program is not inquired from the mapping table between the shell application program and the third-party application program, the robot is indicated that the third-party application program is not installed, and the shell application program is exited at the moment. Finding the program package according to the name of the third-party application program, opening the application page of the third-party application program according to the program package and the activity page name of the third-party application program, and sending prompt information to a user, wherein the prompt information can be displayed on a screen of the robot in a floating window mode for selection of the user, if the user selects to close, the third-party application program is closed, and if the user selects to determine, the third-party application program is continuously opened.
In addition, the two of the microphone and the camera are particularly critical authorities in the robot, because the microphone and the camera are always taken over by the core layer by default to monitor the user voice command and the user direction at any time, and once the authority of the third-party application is out of control, the function of the core layer can be unavailable, so that all the third-party applications must use the authorities under supervision. When a third-party application program is installed on the robot, installation information of the third-party application program and permission information which can be used by the third-party application program need to be recorded, if a user needs to open a certain third-party application program, whether the permission information of the third-party application program can use a microphone and a camera or not is inquired from prestored permission information, and if the permission information of the third-party application program can use the microphone and the camera when the third-party application program is opened and used, the microphone and the camera can be used. The flexibility of management is improved.
Example two
As shown in fig. 4, as the usage time and frequency of the third-party application program in the robot increase, customized contents, such as product publicity, platform advertisement, etc., can be inserted into the third-party application program according to the needs of the robot manufacturer, user, etc., so as to increase exposure and income. The third-party application program is not modifiable for a robot manufacturer, and needs to be implemented by a shell application program when the user needs to open the third-party application program, and if the third-party application program can be found from a mapping table between the shell application program and the third-party application program, the detection is passed, and at this time, preset rule information is obtained, wherein the rule information can include when and what way to play what kind of content, and the rule information is loaded on an application page of the third-party application program. This is advantageous in order to increase the applicability and flexibility of the method and apparatus of the present invention.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A third-party application program management method applied to a robot is characterized by comprising the following steps:
acquiring a request of a user for opening a shell application program;
finding a third party application program name and an activity page name from a mapping table between the shell application program and the third party application program according to the request;
and opening an application page of the third-party application program according to the third-party application program name and the activity page name thereof, and sending prompt information.
2. The method for managing a third-party application applied to a robot according to claim 1, further comprising:
receiving a closing request of a third-party application program;
and closing the third-party application program according to the closing request.
3. The third party application management method applied to a robot according to claim 2, wherein the step of finding the third party application name and the activity page name from the mapping table between the shell application and the third party application according to the request comprises:
acquiring authority information of a third-party application program;
and opening an application page of the third-party application program according to the permission information, the third-party application program name and the activity page name.
4. The method of claim 3, wherein the step of finding the third party application name and the activity page name from the mapping table between the shell application and the third party application according to the request further comprises:
and according to the request, inquiring whether the name of the third-party application program exists in a mapping table between the shell application program and the third-party application program, and if not, exiting the shell application program.
5. The method of claim 2, wherein the step of opening an application page of the third-party application according to the name of the third-party application and the activity page name thereof and sending the notification message comprises:
acquiring preset rule information;
and loading the rule information to an application page of the third-party application program.
6. A third-party application management apparatus applied to a robot, comprising:
the first acquisition module is used for acquiring a request of a user for opening a shell application program;
the searching module is used for finding the third-party application program name and the activity page name from the mapping table between the shell application program and the third-party application program according to the request;
and the processing module is used for opening the application page of the third-party application program according to the third-party application program name and the activity page name thereof and sending prompt information.
7. The third-party application management apparatus for a robot according to claim 6, further comprising:
the receiving module is used for receiving a closing request of the third-party application program;
and the processing module is used for closing the third-party application program according to the closing request.
8. The third party application management apparatus for a robot according to claim 7, further comprising:
the second acquisition module is used for acquiring the authority information of the third-party application program;
and the processing module is used for opening the application page of the third-party application program according to the authority information, the third-party application program name and the activity page name thereof.
9. The device of claim 8, wherein the processing module is further configured to exit the shell application when the name of the third-party application is not found from the mapping table between the shell application and the third-party application according to the request.
10. The device of claim 7, wherein the processing module is specifically configured to:
acquiring preset rule information;
and loading the rule information to an application page of the third-party application program.
CN202010540867.1A 2020-06-15 2020-06-15 Third-party application program management method and device applied to robot Pending CN111913722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010540867.1A CN111913722A (en) 2020-06-15 2020-06-15 Third-party application program management method and device applied to robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010540867.1A CN111913722A (en) 2020-06-15 2020-06-15 Third-party application program management method and device applied to robot

Publications (1)

Publication Number Publication Date
CN111913722A true CN111913722A (en) 2020-11-10

Family

ID=73237511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010540867.1A Pending CN111913722A (en) 2020-06-15 2020-06-15 Third-party application program management method and device applied to robot

Country Status (1)

Country Link
CN (1) CN111913722A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885763A (en) * 2012-12-21 2014-06-25 腾讯科技(深圳)有限公司 Operating system resource access method and system
AU2016204641A1 (en) * 2015-07-06 2017-02-02 Moses Josh Kakumba Infer a users interests and intentions by analyzing their interaction and behavior with content accessed in the past, present & future
US20180018155A1 (en) * 2016-07-18 2018-01-18 Google Inc. Post-install application interaction
CN107656762A (en) * 2017-10-13 2018-02-02 上海酷屏信息技术有限公司 A kind of method and system that third party's function is realized in APP
CN107977243A (en) * 2017-11-27 2018-05-01 海尔优家智能科技(北京)有限公司 A kind of third party's interface call method and device
CN108803892A (en) * 2017-05-04 2018-11-13 北京搜狗科技发展有限公司 A kind of method and apparatus for calling third party application in input method
CN109241765A (en) * 2018-07-17 2019-01-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the right management method of application program, device
CN110543789A (en) * 2018-05-29 2019-12-06 腾讯科技(深圳)有限公司 method and device for adapting handle and third-party application program and storage medium
CN110795174A (en) * 2019-10-31 2020-02-14 成都西加云杉科技有限公司 Application program interface calling method, device, equipment and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885763A (en) * 2012-12-21 2014-06-25 腾讯科技(深圳)有限公司 Operating system resource access method and system
AU2016204641A1 (en) * 2015-07-06 2017-02-02 Moses Josh Kakumba Infer a users interests and intentions by analyzing their interaction and behavior with content accessed in the past, present & future
US20180018155A1 (en) * 2016-07-18 2018-01-18 Google Inc. Post-install application interaction
CN108803892A (en) * 2017-05-04 2018-11-13 北京搜狗科技发展有限公司 A kind of method and apparatus for calling third party application in input method
CN107656762A (en) * 2017-10-13 2018-02-02 上海酷屏信息技术有限公司 A kind of method and system that third party's function is realized in APP
CN107977243A (en) * 2017-11-27 2018-05-01 海尔优家智能科技(北京)有限公司 A kind of third party's interface call method and device
CN110543789A (en) * 2018-05-29 2019-12-06 腾讯科技(深圳)有限公司 method and device for adapting handle and third-party application program and storage medium
CN109241765A (en) * 2018-07-17 2019-01-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the right management method of application program, device
CN110795174A (en) * 2019-10-31 2020-02-14 成都西加云杉科技有限公司 Application program interface calling method, device, equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BENNYS: "打开第三方App方法整理", pages 1 - 5, Retrieved from the Internet <URL:《https://www.jianshu.com/p/da5710999523》> *

Similar Documents

Publication Publication Date Title
US9967514B2 (en) Recording system
AU781357B2 (en) Methods and apparatus for managing an application according to an application lifecycle
US8522299B2 (en) Virtual personal video recorder
US7685297B2 (en) Resource control
US20030097659A1 (en) Interrupting the output of media content in response to an event
EP1378810A2 (en) System and methods to regulate use of consumer devices and services
US20080288866A1 (en) Mobile device carrousel systems and methods
US20090231128A1 (en) Method and apparatus for alert management
CN109313901A (en) Information processing unit, reception device and information processing method
US20050251437A1 (en) Adapting an interest profile on a media system
US7673088B2 (en) Multi-tasking interference model
WO2020048498A1 (en) Startup video playing method and system, and shutdown video playing method and system
AU2019283975A1 (en) Predictive media routing
US10397296B2 (en) Comment link for shared streaming media content
CN111913722A (en) Third-party application program management method and device applied to robot
CN108650521A (en) A kind of live broadcasting method, device and multimedia play system
CN106131680B (en) TV notice display duration adjusting, device and television system
CN107423125A (en) A kind of camera shooting control method and shooting control system for intelligent terminal
KR100750160B1 (en) Method and apparatus for reserving a function of device on UPnP
US20080056299A1 (en) Apparatus and method of providing data broadcasting service of filtering out data broadcasting services that include applications from a plurality of stored data broadcasting services
JP3768914B2 (en) Functional planning system
US8744532B2 (en) System and method for customizable playback of communication device alert media
CN113225495B (en) Method and device for eliminating video playing noise
CN113986183B (en) Volume adjusting method and device for intelligent household equipment
Kalaoja et al. The Vocabulary Ontology Engineering for the Semantic Modelling of Home Services.

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