CN116974587A - Application deployment method, electronic device, storage medium and chip system - Google Patents

Application deployment method, electronic device, storage medium and chip system Download PDF

Info

Publication number
CN116974587A
CN116974587A CN202210425276.9A CN202210425276A CN116974587A CN 116974587 A CN116974587 A CN 116974587A CN 202210425276 A CN202210425276 A CN 202210425276A CN 116974587 A CN116974587 A CN 116974587A
Authority
CN
China
Prior art keywords
application
application program
terminal equipment
sub
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210425276.9A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210425276.9A priority Critical patent/CN116974587A/en
Publication of CN116974587A publication Critical patent/CN116974587A/en
Pending legal-status Critical Current

Links

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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

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 Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application is applicable to the technical field of terminals, and provides an application program deployment method, electronic equipment, a storage medium and a chip system, wherein the method comprises the following steps: acquiring function information of second terminal equipment, wherein the second terminal equipment is connected with the first terminal equipment; according to the function information, at least one application identifier is obtained from an application server; acquiring a target application program from an application server according to at least one application identifier, wherein the target application program comprises at least one sub-application program, and the at least one sub-application program is matched with the function information of the second terminal equipment; and sending the corresponding sub-application program in the target application program to the second terminal equipment. The first terminal equipment can complete driving of each second terminal equipment through each sub-application program, resources occupied by the target application program can be reduced, the resource utilization rate of each second terminal equipment can be improved, and the flexibility of expansion connection between the first terminal equipment and a large number of second terminal equipment can be improved.

Description

Application deployment method, electronic device, storage medium and chip system
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a deployment method of an application program, an electronic device, a storage medium, and a chip system.
Background
Along with the continuous development of the terminal equipment, the terminal equipment can be connected with other terminal equipment through a preset application program and work together with other terminal equipment for the same service, so that the cooperative work among a plurality of equipment is realized.
In the related art, a terminal device may first install an application program for multi-device management, and then may establish a connection with other terminal devices through the application program. Correspondingly, the terminal equipment can set the operation executed by each terminal equipment by using the arrangement function of the application program and combining the functions of each terminal equipment through the installed application program, so as to complete the control of other terminal equipment.
However, as the terminal device establishes connection with more and more other terminal devices, when the terminal device controls the other terminal devices through the application program, the application program needs to occupy a large amount of system resources of the terminal device, which is not beneficial for the terminal device to establish connection with more other terminal devices.
Disclosure of Invention
The application provides a deployment method of an application program, electronic equipment, a storage medium and a chip system, which solve the problems that the application program in the prior art needs to occupy a large amount of system resources of terminal equipment and is unfavorable for establishing connection between the terminal equipment and more terminal equipment.
In order to achieve the above purpose, the application adopts the following technical scheme:
in a first aspect, there is provided a method of deploying an application, the method comprising:
acquiring function information of second terminal equipment, wherein the second terminal equipment is connected with first terminal equipment, and the function information is used for representing functions of the second terminal equipment;
according to the function information, at least one application identifier is obtained from an application server, wherein the application identifier is used for indicating a target application program matched with the function information;
acquiring the target application program from the application server according to at least one application identifier, wherein the target application program comprises at least one sub-application program, and at least one sub-application program is matched with the function information of the second terminal device;
and sending the sub-application program corresponding to the target application program to the second terminal equipment.
The first terminal equipment can drive each second terminal equipment through each sub-application program, so that each second terminal equipment can work cooperatively according to a preset process, resources occupied by the target application program in the first terminal equipment can be reduced, the resource utilization rate of each second terminal equipment can be improved, and the flexibility of expansion connection between the first terminal equipment and a large number of second terminal equipment can be improved.
In a first possible implementation manner of the first aspect, the obtaining, according to the function information, at least one application identifier from an application server includes:
transmitting the function information to the application server;
and receiving at least one application identifier fed back by the application server, wherein the application identifier is obtained by searching the application server according to the function information sent by the first terminal equipment.
By sending the function information to the application server, the application server can search a target application program matched with the function information in a plurality of pre-stored application programs according to the function information, and then feed back the application identification of the target application program to the first terminal device, so that the accuracy and the flexibility of the first terminal device for acquiring the application identification can be improved.
In a second possible implementation manner of the first aspect, the obtaining, according to at least one of the application identifiers, the target application program from the application server includes:
displaying at least one application identifier;
if the acquisition operation triggered by the target application identifier in at least one application identifier is detected, generating and sending a downloading request to the application server, wherein the downloading request comprises the target application identifier;
and receiving the target application program fed back by the application server, wherein the target application program is obtained by searching the application server according to the downloading request sent by the first terminal equipment.
By displaying at least one application identifier and acquiring the corresponding target application program from the application server according to the acquisition operation triggered by the target application identifier, the accuracy of acquiring the target application program by the first terminal device can be improved without acquiring the application program corresponding to each application identifier.
In a third possible implementation manner of the first aspect, the sending, to the second terminal device, the corresponding sub-application in the target application includes:
according to the dependency information respectively corresponding to each sub-application program included in the target application program, combining the function information of the second terminal equipment to determine the sub-application program corresponding to the second terminal equipment, wherein the dependency information is used for representing the terminal equipment on which the sub-application program depends;
and sending the sub-application program corresponding to the second terminal equipment.
And the function information corresponding to each dependent information is searched and obtained by combining the obtained function information of each second terminal device through the dependence information respectively corresponding to each sub-application program, so that the second terminal device corresponding to each sub-application program is determined, the corresponding application program can be accurately sent to each second terminal device, and a large amount of redundant data does not need to be sent to each second terminal device.
With reference to any one of the foregoing possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, before the acquiring the function information of the second terminal device, the method further includes:
Responding to the triggered connection operation, and searching the second terminal equipment;
and establishing a connection relationship between the first terminal equipment and the second terminal equipment.
With reference to any one of the foregoing possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, after the sending, to the second terminal device, the corresponding sub-application in the target application, the method further includes:
and based on the target application program, driving the second terminal equipment to operate in combination with the sub-application program installed by the second terminal equipment.
By disposing the sub-application program in the second terminal equipment, the sub-application program can utilize the resources of the second terminal equipment to complete driving of the second terminal equipment, so that the resource utilization rate of each second terminal equipment can be improved, and the resource idling of the second terminal equipment is reduced.
In a second aspect, there is provided a method of deploying an application, the method comprising:
acquiring an application identifier of a target application program matched with function information according to the function information sent by the first terminal equipment, wherein the function information is used for representing a function of the second terminal equipment;
Feeding back the application identifier to the first terminal equipment;
and feeding back the target application program corresponding to the application identifier to the first terminal equipment according to a downloading request sent by the first terminal equipment, wherein the downloading request comprises the application identifier.
The application server receives the function information of each second terminal device sent by the first terminal device, can determine application identifiers of target application programs matched with the first terminal device and each second terminal device, feeds back each application identifier to the first terminal device, and finally feeds back the target application program corresponding to the application identifier in the download request to the first terminal device according to the download request comprising the application identifier sent by the first terminal device, so that the first terminal device can distribute sub-application programs corresponding to each second terminal device in the target application program to each second terminal device, the first terminal device can complete driving of each second terminal device through each sub-application program, so that each second terminal device can work cooperatively according to a preset process, resources occupied by the target application program in the first terminal device can be reduced, the resource utilization rate of each second terminal device can be improved, and the flexibility of expansion connection between the first terminal device and a large number of second terminal devices can be improved.
In a first possible implementation manner of the second aspect, the method further includes:
receiving at least one application program, wherein each application program comprises at least one sub-application program, and each application program and each sub-application program correspond to dependency information;
and for each application program, establishing an index between the application program and the corresponding dependent information according to the dependent information corresponding to the application program and the dependent information corresponding to each sub-application program in the application program.
Based on the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the acquiring an application identifier of the target application program matched with the function information includes:
searching the dependency information matched with the function information in the index between the application program and the corresponding dependency information;
taking the application program corresponding to the dependency information as the target application program;
and acquiring the application identification of the target application program.
The application server can quickly and accurately search for the application program matched with the function information by establishing indexes between the application program and each sub-application program and the corresponding dependency information and combining the received function information according to the established indexes, so that the efficiency of searching for the target application program and the application identifier can be improved.
In a third aspect, a method for deploying an application program is provided, the method comprising:
receiving function information sent by a first terminal device through an application management server, wherein the function information is used for representing functions of a second terminal device;
acquiring an application identifier of a target application program matched with the function information according to the function information forwarded by the application management server;
the application management server feeds back the application identification of the target application program, and feeds back the application identification to the first terminal equipment through the application management server;
and feeding back the target application program corresponding to the application identifier to the first terminal equipment according to a downloading request sent by the first terminal equipment, wherein the downloading request comprises the application identifier.
The application market server receives the function information of each second terminal device sent by the first terminal device through the application management server, can determine application identifiers of target application programs matched with the first terminal device and each second terminal device, feeds back each application identifier to the first terminal device through the application management server, and finally feeds back the target application program corresponding to the application identifier in the download request to the first terminal device according to the download request comprising the application identifier sent by the first terminal device, so that the first terminal device can distribute sub-application programs corresponding to each second terminal device in the target application program to each second terminal device, the first terminal device can complete driving of each second terminal device through each sub-application program, so that each second terminal device can work cooperatively according to a preset flow, resources occupied by the target application programs in the first terminal device can be reduced, the resource utilization rate of each second terminal device can be improved, and the flexibility of the first terminal device and a large number of second terminal devices in expansion connection can be improved.
In a first possible implementation manner of the third aspect, the method further includes:
receiving at least one application program, wherein each application program comprises at least one sub-application program, and each application program and each sub-application program correspond to dependency information;
and for each application program, establishing an index between the application program and the corresponding dependent information according to the dependent information corresponding to the application program and the dependent information corresponding to each sub-application program in the application program.
Based on the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the obtaining an application identifier of the target application program matched with the function information includes:
searching the dependency information matched with the function information in the index between the application program and the corresponding dependency information;
taking the application program corresponding to the dependency information as the target application program;
and acquiring the application identification of the target application program.
The application market server can quickly and accurately search for the application program matched with the function information by establishing indexes between the application program and each sub-application program and the corresponding dependency information and combining the received function information according to the established indexes, so that the efficiency of searching for the target application program and the application identifier can be improved.
In a fourth aspect, there is provided an apparatus for deploying an application, the apparatus comprising:
the first acquisition module is used for acquiring the function information of the second terminal equipment, the second terminal equipment is connected with the first terminal equipment, and the function information is used for representing the functions of the second terminal equipment;
the second acquisition module is used for acquiring at least one application identifier from the application server according to the function information, wherein the application identifier is used for indicating a target application program matched with the function information;
a third obtaining module, configured to obtain, according to at least one application identifier, the target application program from the application server, where the target application program includes at least one sub-application program, and at least one sub-application program matches with the function information of the second terminal device;
and the sending module is used for sending the sub-application program corresponding to the target application program to the second terminal equipment.
In a first possible implementation manner of the fourth aspect, the second obtaining module is specifically configured to send the function information to the application server; and receiving at least one application identifier fed back by the application server, wherein the application identifier is obtained by searching the application server according to the function information sent by the first terminal equipment.
In a second possible implementation manner of the fourth aspect, the third obtaining module is specifically configured to display at least one application identifier; if the acquisition operation triggered by the target application identifier in at least one application identifier is detected, generating and sending a downloading request to the application server, wherein the downloading request comprises the target application identifier; and receiving the target application program fed back by the application server, wherein the target application program is obtained by searching the application server according to the downloading request sent by the first terminal equipment.
In a third possible implementation manner of the fourth aspect, the sending module is specifically configured to determine, in combination with the function information of the second terminal device, a sub-application corresponding to the second terminal device according to dependency information corresponding to each sub-application included in the target application, where the dependency information is used to indicate a terminal device on which the sub-application depends; and sending the sub-application program corresponding to the second terminal equipment.
With reference to any one of the foregoing possible implementation manners of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the apparatus further includes:
The searching module is used for responding to the triggered connection operation and searching the second terminal equipment;
the establishing module is used for establishing the connection relation between the first terminal equipment and the second terminal equipment.
With reference to any one of the foregoing possible implementation manners of the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the apparatus further includes:
and the driving module is used for driving the second terminal equipment to operate based on the target application program and the sub-application program installed by the second terminal equipment.
In a fifth aspect, there is provided an application deployment apparatus, the apparatus comprising:
the first acquisition module is used for acquiring an application identifier of a target application program matched with the function information according to the function information sent by the first terminal equipment, wherein the function information is used for representing a function of the second terminal equipment;
the first feedback module is used for feeding back the application identifier to the first terminal equipment;
and the second feedback module is used for feeding back the target application program corresponding to the application identifier to the first terminal equipment according to the downloading request sent by the first terminal equipment, wherein the downloading request comprises the application identifier.
In a first possible implementation manner of the fifth aspect, the apparatus further includes:
the receiving module is used for receiving at least one application program, each application program comprises at least one sub-application program, and each application program and each sub-application program correspond to dependency information;
the establishing module is used for establishing an index between the application program and the corresponding dependent information according to the dependent information corresponding to the application program and the dependent information corresponding to each sub-application program in the application program for each application program.
With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the first obtaining module is specifically configured to find dependency information that matches the function information in an index between the application program and the corresponding dependency information; taking the application program corresponding to the dependency information as the target application program; and acquiring the application identification of the target application program.
In a sixth aspect, there is provided an application deployment apparatus, the apparatus comprising:
the first receiving module is used for receiving the function information sent by the first terminal equipment through the application management server, wherein the function information is used for representing the functions of the second terminal equipment;
The acquisition module is used for acquiring an application identifier of a target application program matched with the function information according to the function information forwarded by the application management server;
the first feedback module is used for feeding back the application identifier of the target application program to the application management server and feeding back the application identifier to the first terminal equipment through the application management server;
and the second feedback module is used for feeding back the target application program corresponding to the application identifier to the first terminal equipment according to the downloading request sent by the first terminal equipment, wherein the downloading request comprises the application identifier.
In a first possible implementation manner of the sixth aspect, the apparatus further includes:
the second receiving module is used for receiving at least one application program, each application program comprises at least one sub-application program, and each application program and each sub-application program correspond to dependency information;
the establishing module is used for establishing an index between the application program and the corresponding dependent information according to the dependent information corresponding to the application program and the dependent information corresponding to each sub-application program in the application program for each application program.
Based on the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the obtaining module is specifically configured to find, in an index between the application program and the corresponding dependency information, dependency information that matches the function information; taking the application program corresponding to the dependency information as the target application program; and acquiring the application identification of the target application program.
In a seventh aspect, there is provided an electronic device comprising: a processor configured to execute a computer program stored in a memory, to cause the electronic device to implement the deployment method of an application according to any one of the first, second, or third aspects.
In an eighth aspect, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the deployment method of an application of any of the first, second, or third aspects.
A ninth aspect provides a chip system comprising a memory and a processor executing a computer program stored in the memory to implement the deployment method of an application as in any of the first, second, or third aspects.
It will be appreciated that the advantages of the fourth to ninth aspects may be found in the relevant description of the first to third aspects, and are not repeated here.
Drawings
FIG. 1A shows a hardware framework schematic for a master device to manage a plurality of slave devices;
FIG. 1B shows a logical schematic of a master device;
fig. 2A is a system schematic diagram of a deployment system related to a deployment method of an application according to an embodiment of the present application;
fig. 2B is a system schematic diagram of a deployment system related to a deployment method of an application according to an embodiment of the present application;
FIG. 2C is a schematic diagram of a deployment system according to an embodiment of the present application;
FIG. 3A is a schematic diagram of a data structure of an application according to an embodiment of the present application;
FIG. 3B shows a schematic diagram of a data structure of a sub-application;
FIG. 3C is a schematic diagram illustrating a data structure of another application according to an embodiment of the present application;
FIG. 4 is a diagram illustrating an index between an application and dependency information according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of a deployment method of an application provided in an embodiment of the present application;
fig. 6 is a schematic diagram of an index relationship between a terminal device and function information according to an embodiment of the present application;
FIG. 7 is a flowchart of determining a target application according to an embodiment of the present application;
fig. 8 is an interface schematic diagram of a display interface of a terminal device according to an embodiment of the present application;
FIG. 9 is a schematic flow chart diagram of another method for deploying an application program according to an embodiment of the present application;
FIG. 10 is an interface schematic diagram of a connection interface according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known methods of installing applications, methods of driving terminal devices by applications, and electronic devices are omitted so as not to obscure the description of the present application with unnecessary detail.
The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary.
With the continuous development of terminal devices, different terminal devices can be applied in various scenes. Correspondingly, each application scene can also comprise a plurality of terminal devices. And the terminal devices respectively have different functions so as to finish different operations and realize different services.
Moreover, the plurality of terminal devices may be connected to each other so that at least one second terminal device (hereinafter, simply referred to as a slave device) connected to the first terminal device among the plurality of terminal devices is controlled by the first terminal device (hereinafter, simply referred to as a master device) among the plurality of terminal devices.
The master device is provided with an application program (hereinafter referred to as an application program for short) for managing the slave devices, and the master device can manage and arrange the slave devices through the application program in combination with functions of the slave devices, so that the slave devices are controlled to execute different operations according to a set sequence, and the functions matched with the application scenes are realized.
Further, the master device may be connected to one slave device or may be connected to a plurality of slave devices. When a master device is connected to a different number of slave devices, the applications run by the master device may manage the slave devices in different ways. For example, when the master device is connected to one slave device, if the master device is a mobile phone and the slave device is an air conditioner, the mobile phone can control the air conditioner through an application program, such as starting/stopping, adjusting temperature, adjusting mode, and the like.
When the master device is connected with the plurality of slave devices, the master device can manage the plurality of slave devices according to different application scenes through the application program, so that the plurality of slave devices can be mutually matched to realize the functions corresponding to the same scene. For example, in a smart home scenario, a mobile phone may set an "away from home" function for an air conditioner, a lighting lamp, and a sweeping robot through an application program. When a user goes out, the mobile phone can start the function of leaving home through the application program, so that the air conditioner is controlled to stop running, the lighting lamp is turned off, the floor sweeping robot is started to start working, and the like, and the function of leaving home of each device in an intelligent home scene is realized.
Referring to fig. 1A and 1B, fig. 1A illustrates a hardware framework diagram of a master device managing a plurality of slave devices, and fig. 1B illustrates a logic diagram of the master device. The master device in fig. 1A is a mobile phone, and the slave device includes a printer and a sound box. As shown in fig. 1B, the mobile phone may set a "play after printing" function in the application program in the service layer according to the detected operation, that is, the printer sends out a prompt sound after printing, so as to inform the user that printing is completed. This function corresponds to the "play audio" function and the "print file" function in the device function layer.
Correspondingly, the mobile phone can control the operation of the sound box in the driving layer through a sound box driver loaded in an Operating System (OS). Similarly, the mobile phone can also control the printer to run through the printer driver loaded by the OS in the driving layer. In addition, the mobile phone can be connected with the sound box of the equipment layer through the Bluetooth protocol at the protocol layer. Similarly, the handset may also connect to the printer of the device layer at the protocol layer via a wireless fidelity (wireless fidelity, wiFi) protocol. And if the mobile phone detects that the function of playing the prompt tone after the printing is finished is started, the mobile phone can drive the sound box to play the prompt tone after the printer is driven to print.
It is known that the master device is realized by a single application installed in the master device in the process of realizing the set function by the slave device. And a plurality of drivers corresponding to the slave devices can be included in the application program, so as to drive the operation of each slave device, thereby occupying a great deal of OS capability of the master device. As the number of slave devices increases, the resources occupied by the master device are also increasing, which is disadvantageous for the extension of the slave devices.
In addition, with the update of the slave device, the master device also needs to update the installed application program, thereby updating the driver corresponding to the slave device. In addition, the application program for controlling the slave device is concentrated on the master device, and the dependency on the master device is high.
Therefore, the application provides an application program deployment method, which can respectively generate sub-application programs matched with the functions of each slave device according to different functions of different slave devices by redefining the packaging and release specifications of the application program, so that each sub-application program can be deployed to each slave device through the master device without driving each slave device through the master device, and further, the occupation of resources of the master device can be reduced.
The following describes a deployment system related to a deployment method of an application program provided by an embodiment of the present application. Referring to fig. 2A, fig. 2A is a system schematic diagram of a deployment system related to a deployment method of an application according to an embodiment of the present application, where the deployment system may include: a first terminal device 210, at least one second terminal device 220, an application server 230.
The first terminal device 210 may be connected to not only the respective second terminal devices 220 but also the application server 230. Moreover, the first terminal device 210 is a master device and the second terminal device 220 is a slave device.
In addition, the application server 230 is used to provide an application program, and the application server 230 may also feed back to the master device an application program that matches the functions of the respective slave devices.
Specifically, the master device may connect with slave devices located in the same scene and acquire function information of the respective slave devices, so that the function set of the master device may be updated. Thereafter, the host device may send the updated set of functions to the application server 230.
The function information is used to represent functions of the slave devices, and the function set may include not only the function information of the master device but also the function information of each slave device. The master device may update the function set according to the increased or decreased slave devices when each slave device connected to the master device changes.
For example, the master device is a mobile phone, and the slave device includes: the printer and the sound box can also comprise the printing function of the printer and the audio playing function of the sound box besides the functions of the mobile phone.
Accordingly, the application server 230 may receive the updated function set sent by the host device, and search at least one application program matching the updated function set in the application server 230 according to the updated function set. The application server 230 may then feed back to the host device the application identification corresponding to the matched application.
Wherein the application identification is used to indicate an application program that matches the set of functions.
The master device may then obtain, from the application server 230, the application program corresponding to the application identifier according to the fed-back application identifier. And then, the master device can determine the slave devices corresponding to the sub-application programs in the application programs respectively according to the dependency information of the sub-application programs in the application programs and combining the function information of the slave devices, so that the master device can distribute different sub-application programs to the slave devices, and the slave devices can install the received sub-application programs to complete the deployment of the sub-application programs in the slave devices.
The application server 230 may include a plurality of applications, and each application may include a plurality of sub-applications, so that the combination of the plurality of sub-applications may be matched with different combinations between the master device and the respective slave devices in different scenarios.
Moreover, both the application and the sub-application may include dependency information, which is added by a developer of the application at the time of development, and which is used to represent a terminal device or a function on which the application or the sub-application depends.
For example, for the function of playing the alert sound after printing, the master device may be a mobile phone, and the slave device may be a speaker and a printer. Accordingly, the application program may include: the first sub-application program and the second sub-application program, the dependency information of the first sub-application program can indicate that the first sub-program depends on the hardware device with the audio playing function, the dependency information of the second sub-application program can indicate that the second sub-program depends on the hardware device with the printing function, namely, the first sub-program depends on the sound box, and the second sub-application program depends on the printer. Correspondingly, the mobile phone can distribute the first sub-application program to the sound box and distribute the second sub-application program to the printer, so that the sound box installs the first sub-application program and the printer installs the second sub-application program, and the deployment of each sub-application program is completed.
It should be noted that, in practical application, referring to fig. 2B, the application server 230 may include: an application marketplace server 2301 and an application management server 2302, the application marketplace server 2301 and the application management server 2302 are connected, and the application marketplace server 2301 and the application management server 2302 are both connected to the first terminal device 210.
The application marketplace server 2301 is configured to provide an application program to a host device, and the application management server 2302 is configured to feed back, to the host device, an application identifier of the application program that matches the function set according to the function set fed back by the host device.
Moreover, the application marketplace server 2301 and the application management server 2302 may be integrated in the same hardware device, or may be distributed in different hardware devices, and the distribution manner of the application marketplace server 2301 and the application management server 2302 in the embodiment of the present application is not limited.
Referring to fig. 2C, fig. 2C is a logic schematic diagram of a deployment system according to an embodiment of the present application, where the deployment system may include: a hybrid function application layer, a device function application layer, a protocol layer, and a device layer.
Wherein, the mixed function application layer may include an application program, the device function application layer may include a sub-application program, and the protocol layer may include: the device layer may include various slave devices, such as protocols for connecting the master device and the slave devices, bluetooth protocols and WiFi protocols, etc.
Unlike the above-mentioned setting of the "play after print alert" function, the host device may set the "play after print alert" function for the application program in the mixed function application layer according to the triggered operation. Correspondingly, the sub-application programs positioned on different slave devices can drive the slave devices through the included driving program, so that the slave devices can finish the operation of playing audio or printing according to the driving program.
In summary, according to the deployment method of the application program provided by the embodiment of the application, the master device determines the sub-application program matched with each slave device according to the dependency information of each sub-application program in the application program and combines the function information of each slave device, and distributes the matched sub-application program to each slave device, so that each slave device is driven by each sub-application program, the resources occupied by the application program installed by the master device can be reduced, and the number of slave devices connected with the master device can be increased.
In addition, by deploying the sub-application program on the slave device, the sub-application program can utilize the resources of the slave device to complete driving of the slave device, so that the resource utilization rate of each slave device can be improved, and the resource idling of the slave device is reduced.
The following describes an application deployment method provided in the embodiment of the present application by taking a mobile phone as a master device and other terminal devices as slave devices as examples. Before introducing the deployment method of the application program, the application program for distributed deployment may be described.
Fig. 3A is a schematic diagram of a data structure of an application program according to an embodiment of the present application, where, as shown in fig. 3A, an application program (app) may include: capability, libs, resources, dependence, multiple sub-applications (apps) and pack.
The capability is used for storing programs for scheduling a plurality of functions to realize each service. For example, the "play alert after print" function involves the ability to use two slaves: the audio is printed and played, and a program for realizing this function may be stored in capability.
libs are used to store third party libraries on which the implementation functions depend. For example, libraries stored in libs may be universal base libraries (SSL libraries, IO libraries, etc.).
resources are used to store resource files. For example, icons and configuration files may be stored in resources.
dependency is used to declare the function of the dependent device, i.e. the dependency information corresponding to the application and sub-application. For example, a printing function, an audio playing function, a video playing function, a temperature acquiring function, a temperature adjusting function, a humidity acquiring function, a water immersion detecting function, a high temperature alarm function, a smoke detecting function, and the like.
The pack. Info is used to declare information such as basic information of the application, package decompression format, and applicable device type.
In addition, at least one sub-application program may be included in the apps, as shown in fig. 3B, fig. 3B shows a schematic data structure of the sub-application program, where the sub-application program may include: capability, libs, resources, dependence, interface and pack.
The capability, libs, resources, dependence and pack. Info of the sub-application are similar to capability, libs, resources, dependence and pack. Info of the application and are not described in detail herein.
The interface is used to declare functions that the sub-application implements externally. The interface may include: information describing the type of the interface, the calling mode of the interface, and the parameter information of the interface, etc., the embodiment of the application is not limited to this.
For example, referring to fig. 3C, fig. 3C is a schematic data structure of another application provided in an embodiment of the present application, and the application shown in fig. 3C may include: as can be seen from fig. 3C, the data structure of the application is similar to that of each sub-application.
In the development process of the application program, a sub-application program matching the functions of each terminal device may be generated according to different functions of each terminal device. And combining the sub-application programs corresponding to the terminal equipment according to a plurality of functions required by different scenes to obtain the application programs matched with the different scenes.
Specifically, for each terminal device, an application programming interface (application programming interface, API) corresponding to the function can be acquired according to the function of the terminal device, so that a sub-application matched with the terminal device can be developed according to the API.
Then, according to the functions required by different scenes, the terminal equipment corresponding to each required function can be determined, and the sub-application programs corresponding to each terminal equipment are combined by combining the APIs of the corresponding terminal equipment, so that the application program matched with the scene can be generated.
Furthermore, dependency information may be added to the combined application program, indicating the function of the terminal device on which the application program depends, so that the application server may determine an application program matching the current scene according to the dependency information. In addition, the master device may also distribute each sub-application to the corresponding slave device according to the dependency information.
Further, after the application program is obtained by combining the sub-application programs, the application program can be uploaded to the application server. Accordingly, after receiving the uploaded application, the application server may construct an index according to the dependency information of the application, so that the application server may determine, according to the index, an application that matches different scenarios.
For example, referring to fig. 4, fig. 4 is a schematic diagram of an index between an application program and dependency information provided in an embodiment of the present application, and after receiving the application program, an application server may obtain dependency information corresponding to the application program and each included sub-application program respectively. Then, the application server may first establish an index between the application program and the corresponding dependency information, and then, based on the application program in the index, establish an index between each sub-application program and the corresponding dependency information, so as to obtain an index schematic diagram as shown in fig. 4.
Fig. 5 is a schematic flowchart of an application deployment method according to an embodiment of the present application, which may be applied to the deployment system shown in fig. 2A and described above, by way of example and not limitation, and see fig. 5, where the method includes:
step 501, the first terminal device is connected to at least one second terminal device.
The first terminal equipment is a master equipment, and the second terminal equipment is a slave equipment. For example, the first terminal device may be a mobile phone or a tablet computer, and the second terminal device may include: printers, speakers, and other devices with connection functions, the second terminal device is not limited in this embodiment of the present application.
If the master device detects a triggered connection operation under the condition that the master device and the slave device are located in the same network (such as a local area network), the master device may first search for other terminal devices in the local area network according to the connection operation. If the master device finds other terminal devices in the local area network, the master device can establish a connection relationship with the found other terminal devices according to the triggered connection operation, namely, the master device establishes a connection relationship with the found slave device.
Wherein, the master device and the slave device can adopt different modes to establish connection. For example, a connection relationship may be established by using a WiFi connection, a bluetooth connection, or an infrared connection, and the connection manner between the master device and the slave device is not limited in the embodiment of the present application.
Step 502, the first terminal device obtains the function information of each second terminal device, and updates the function set of the first terminal device.
Wherein the function information is used to indicate the function of the second terminal device. The function set of the first terminal device may include: the function information of the first terminal device and the function information of the plurality of second terminal devices, that is, the function set is used to indicate functions respectively possessed by the master device and the respective slave devices. For example, the master device is a mobile phone, and the slave device includes: the printer and the sound box can also comprise the printing function of the printer and the audio playing function of the sound box besides the functions of the mobile phone.
After the master device establishes a connection relationship with each slave device, for each slave device, the master device may perform device function negotiation with the slave device, that is, the master device obtains the function information of the slave device, so that in a subsequent step, the master device may obtain an application program matched with the function of the slave device according to the function possessed by the slave device.
Specifically, the master device may transmit request information for requesting function information of the slave device to the slave device. The slave device may receive the request information, and according to the request information, combine the hardware device of the slave device with the function corresponding to the hardware device to generate the function information of the slave device, and then feed back the function information to the master device. Correspondingly, the master device can receive the function information fed back by each slave device, complete the collection of the function information of each slave device, and update the function set of the master device based on each function information.
Step 503, the first terminal device sends the function set of the first terminal device to the application server.
Corresponding to step 502, after the master device updates the function set, the master device may determine, according to the updated function set, an application program matching the master device and each slave device in combination with an index between the application program and the dependency information, which are pre-built in the application server. Thus, the host device may first send the updated set of functions to the application server.
In addition, the main device may also carry the device identifier of the main device in the function set during the process of sending the function set to the application server, so that in the subsequent step, the application server may feed back the application identifier of the application program obtained by searching to the main device according to the device identifier. The device identifier is used to indicate the master device, for example, the device identifier may be an internet protocol (internet protocol, IP) address, a media access control (medium access control, MAC) address, or other information capable of uniquely indicating the master device, which is not limited in the embodiment of the present application.
In practical application, the function information recorded in the function set may be functions that can be provided by the master device and the slave device, may be device models corresponding to the master device and the slave device, and may also be other information corresponding to the master device and the slave device. Of course, the function information of the master device and the slave device may be recorded in other manners, and the embodiment of the present application does not limit the manner of recording the function information.
For example, the function information may be: the first slave device has a printing function, and the second slave device has an audio playing function; the function information may also be: the first slave device has a device model number X1, and the second slave device has a device model number Y2.
In addition, the embodiment of the present application is only described by taking the case that the master device sends the function set to the application server as an example, but in practical application, the master device may only send the function information acquired in step 502 to the application server, and the mode that the master device sends the function information or the function set to the application server is not limited in the embodiment of the present application.
Step 504, the application server searches for a target application program matched with the function set, and feeds back an application identifier of the target application program to the first terminal device.
The dependency information of the target application program is matched with each function information in the function set, and the master device can drive each connected slave device through the target application program. The application identifier is used to indicate the target application program, for example, the application identifier may be the name of the target application program or other information capable of uniquely determining the target application program, and the embodiment of the application is not limited to the application identifier.
The application server may receive the function set sent by the main device, and determine at least one target application program matched with the function set according to each function information included in the function set and in combination with a pre-established index between each application program and the dependency information.
In an alternative embodiment, the application server may receive the function set sent by the master device, and determine function information corresponding to the master device and each slave device in the function set. Then, the application server may traverse each dependency information in the pre-established index to determine the dependency information matched with the function set, so that an application program corresponding to the dependency information may be used as a target application program, and further, at least one target application program may be determined in the above manner. And then, the application server can feed back the application identifiers corresponding to the target application programs to the main equipment according to the equipment identifiers carried by the function set.
Specifically, after receiving the function set sent by the master device, the application server may compare, according to an index relationship (such as an index relationship shown in fig. 4) between each application program and dependency information (such as dependency information shown in fig. 3A, 3B, and 3C) that are previously established, each function information in the function set with dependency information corresponding to each application program, and determine whether the function information matches the dependency information. The application server can determine the matching degree between the function set and each application program according to the comparison results, so that at least one target application program can be determined from the application programs according to the matching degree obtained by comparison.
In addition, in the process of traversing the dependency information, there may be a match between the dependency information of the application program and each function information in the function set, or a match between the dependency information of the application program and part of the function information in the function set, and in the process of determining the target application program, whether the application program is to be used as the target application program may be determined according to the matching ratio of the dependency information and the function information. If the ratio is greater than or equal to a preset threshold, the application corresponding to the dependency information may be regarded as the target application.
For example, the application server may pre-establish indexes between 3 groups of application programs and dependency information, where the ratio of dependency information in the first group of indexes to each function information in the received function set is 100%, the ratio of dependency information in the second group of indexes to each function information in the received function set is 86%, the ratio of dependency information in the third group of indexes to each function information in the received function set is 70%, and the preset threshold is 85%, and the application server may set the application programs corresponding to the first group of indexes and the second group of indexes as target application programs.
In addition, if the device models corresponding to the master device and the slave device are recorded in the function information, the application server may determine whether the application program matches each device model in the function information according to the basic information corresponding to each application program and the applicable device type information (such as pack. Info information shown in fig. 3A, 3B and 3C) in the process of determining the target application program, and whether the application program can run in the terminal device indicated by each device model in the function information, so that the application server may determine to indicate one target application program.
Note that, in step 503, the application server may determine the target application program only according to the received function information, which corresponds to the master device transmitting only the acquired function information. Specifically, the application server may determine, from the function information, a plurality of dependency information that matches the function information, so that an application corresponding to each of the dependency information may be regarded as a target application.
In addition, in practical applications, the application server may include: the application market server is used for providing each application program, and the application management server is used for determining the target application program.
After the master device is connected with the slave device and obtains the function information of the slave device, the function information of the master device and the function information of the slave device can be reported to the application management server and the function information of the slave device can be carried with the device identifier of the master device. Correspondingly, the application management server can establish an index relation between the master device and the function set according to the received device identification and each piece of function information, and establish an index relation between each slave device and the corresponding function information based on the index relation between the master device and the function set.
For example, referring to fig. 6, fig. 6 is a schematic diagram illustrating an index relationship between a terminal device and function information according to an embodiment of the present application, where a master device is connected to a slave device 1 and a slave device 2, respectively, and indexes between the master device and a function set, and indexes between the slave device 1 and the slave device 2 and different function information, respectively, are established in an application management server. After the master device is connected with the slave device 3, the master device may report the function information 3 of the slave device 3 to the application management server, and then the application management server may find out an index corresponding to the master device according to the function information 3 reported by the master device and combining the device identifier of the master device, update the found index, and add the corresponding relationship between the slave device 3 and the function information 3 to the index.
The following describes a process in which the application marketplace server and the application management server determine a target application program, taking the application marketplace server and the application management server as examples.
Specifically, the application management server may receive the function information sent by the master device, search an index corresponding to the master device according to the device identifier of the master device carried in the function information, update the function set in the searched index according to the received function information, and add the correspondence between the newly added slave device and the function information in the index to obtain an updated function set and an updated index.
Of course, if the application management server receives the updated function set of the master device, the application management server may also update the index corresponding to the master device stored in the application management server according to the device identifier of the master device in combination with the updated function set.
And then, the application management server can search the matched target application programs according to the newly-added function information and/or the updated function set and combining with each application program in the application market server. Referring to fig. 7, fig. 7 is a schematic flow chart of determining a target application program according to an embodiment of the present application.
1. The application management server updates an index corresponding to the master device.
2. The application management server forwards the function information of the slave device to the application marketplace server.
3. And the application market server searches the target application program matched with the function information according to the function information, and feeds back an application identifier corresponding to the target application program to the application management server.
Wherein the application identification is used to indicate the target application program. For example, the application identifier may be the name of the target application program, and the embodiment of the present application does not limit the application identifier.
4. The application management server sends the updated function set to the application marketplace server.
5. And the application market server searches the target application program matched with the updated function set again according to the updated function set, and feeds back an application identifier corresponding to the target application program to the application management server.
Specifically, the application management server may update the function set corresponding to the master device according to the sent function information or the updated function set, to obtain the updated function set, thereby completing updating the index corresponding to the master device. Then, the application management server may forward the received function information to the application market server, and the application market server determines at least one target application program matched with the function information through the received function information, obtains an application identifier corresponding to each target application program, and feeds back the application identifier of each target application program to the application management server.
In order to obtain more application programs which are more accurately matched with the updated function set, the application management server can also send the updated function set to the application market server, the application market server determines at least one target application program matched with the updated function set through the updated function set, obtains application identifiers corresponding to each target application program, and feeds back the application identifiers of the target application programs to the application management server.
The above description will be given taking, as an example, the application management server sending the function information to the application marketplace server first, and then sending the updated function set to the application marketplace server. In practical application, the application management server may send the updated function set to the application market server first, then send the function information to the application market server, and also send the function information and the updated function set to the application market server at the same time.
It should be noted that, in practical application, the slave device in step 501 may already have a connection with a part of the slave devices before connecting with the master device, and the function of the slave device connected with the master device in step 501 may be the same as or similar to a part of the function set of the master device.
Therefore, in the process of updating the function set, if the application management server determines that the newly added function is the same as or similar to the original function, the application management server can consider that the slave devices with the same or similar functions can be combined, so that better experience effect is provided for the user through the combined slave devices.
For example, if the newly added function is a function of playing audio data and the function set of the master device already includes a function of playing audio data, the application management server may consider that each slave device having the audio playing function may constitute a combined device having a stereo sound effect.
Or if the newly added function is a function of playing video data and the function set of the master device already includes the function of playing video data, the application management server can consider that each slave device with the video playing function can splice the screens of playing video data, so as to obtain the combined device with larger screen.
Alternatively, if the newly added function is a lighting function and the lighting function is already included in the function set of the master device, the application management server may consider that each slave device having the lighting function may be combined, and a combined device capable of presenting a plurality of lighting effects may be obtained.
In addition, in the embodiment of the present application, the update of the function set after the connection between the slave device and the master device is set up is described as an example, but in practical application, the slave device may also disconnect from the master device, so that part of functions in the function set are missing, and the master device may also update the function set of the master device in a similar manner as described above.
Step 505, the first terminal device obtains, from the application server, a target application program corresponding to at least one application identifier according to the plurality of application identifiers.
The master device may receive the multiple application identifiers fed back by the application server, and download the target application program corresponding to the at least one application identifier according to the triggered acquisition operation, so as to complete the installation of the target application program, so that in a subsequent step, the master device may distribute the sub-application programs in the target application program to each slave device.
Specifically, after receiving the plurality of application identifiers, the master device may display the target application program corresponding to each application identifier. If the acquisition operation triggered by a certain target application program is detected, the master device may send a download request to the application server, where the download request may include an application identifier corresponding to the triggered target application program.
Correspondingly, the application server can search a target application program corresponding to the application identifier according to the received downloading request and the carried application identifier. The application server may then feed back the data packets of the target application to the host device. Finally, the master device may run the installer in the data packet according to the received data packet, and construct the data structure shown in fig. 3A and fig. 3C, thereby completing the installation of the target application.
For example, after receiving the application identifier fed back by the application server, the master device may first display a display interface shown in fig. 8 to the user, where the display interface includes an icon, a name, and an installation option corresponding to each application identifier. If the acquisition operation triggered by the installation option corresponding to the 'sports health' is detected, the display state of the installation option corresponding to the 'sports health' in the display interface can be switched from a background-free state to a dark background state so as to indicate that the 'sports health' is started to be downloaded. Accordingly, the host device may send a download request to the application server, where the download request is used to request the application server for the target application corresponding to the installation option. The host device may then receive the target application fed back by the application server and install the target application.
Step 506, the first terminal device distributes the sub-application program to each second terminal device according to the dependency information.
After the master device installs the target application program, the sub-application program corresponding to each slave device can be determined according to the dependency information of the target application program and the function information of each slave device, so that the corresponding sub-application program is distributed to each slave device.
Specifically, the master device may acquire the dependency information of each sub-application in the target application, and then may compare the function information of each sub-application acquired in advance with the dependency information of each sub-application to determine the sub-device corresponding to each sub-application. And then, the master device can distribute the corresponding sub-application program to each slave device according to the sub-application program corresponding to the slave device. Correspondingly, each slave device can also receive the corresponding sub-application program, run the corresponding installation program of the sub-application program, and construct the data structure shown in fig. 3B, so as to complete the installation of the sub-application program, so that in the subsequent step, the master device can complete the driving of each slave device through each sub-application program, and each slave device can jointly complete the work for multiple scenes.
For example, if the index of the target application is as shown in fig. 4, the index of the master device and each slave device is as shown in fig. 6, the dependency information 1 shown in fig. 4 is a dependency print device, and the dependency information 2 shown in fig. 6 is a dependency audio playback device, and the function information 1 shown in fig. 6 is a print function, and the function information 2 is an audio playback function, the master device, after comparing each dependency information and each function information, can determine that the dependency information 1 matches the function information 1, and that the dependency information 2 matches the function information 2, and can thus distribute the sub-application 1 to the slave device 1 and the sub-application 2 to the slave device 2.
Step 507, the first terminal device drives the second terminal device through the sub-application program.
After the slave device installs the corresponding sub-application program, the master device may call the sub-application program installed in each slave device based on the target application program in combination with the call mode and interface information (such as interface information shown in fig. 3B) of each sub-application program, so that each slave device is driven by each sub-application program, so that each slave device may perform different operations according to the set order, thereby completing the cooperative work of each slave device.
Specifically, after each sub-application program is deployed on each slave device, the master device may determine a function to be started according to the triggered operation. If the first function started only needs to be completed by a certain slave device, the master device can send an instruction to the slave device through the target application program. After receiving the instruction, the slave device can be driven to complete the operation by a sub-application program installed in the slave device, so that the first function is realized.
If the opened second function needs to be completed by a plurality of slave devices together, the master device can firstly send a first instruction to the first slave device through the target application program according to the arrangement sequence corresponding to the second function, and the first slave device can drive the first slave device to instruct the first instruction through the installed first sub-application program so as to complete corresponding operation. And then, the first slave device can feed back the information of the completion of execution to the target application program of the master device through the first sub-application program.
Correspondingly, the master device may receive information fed back by the first slave device, and the target application program may send a second instruction to the second slave device according to the received information, so as to drive the second slave device to execute a corresponding operation through a second sub-application program installed in the second slave device, and feed back the executed information to the master device.
Thereafter, the master device and the respective slave devices may cycle through the above-described processes until the plurality of slave devices collectively implement the second function.
For example, the target application program is provided with a function of playing a prompt tone after printing corresponding to fig. 2A and 2B, and the mobile phone (main device) detects that the function of playing the prompt tone after printing is triggered and started, so that the target application program installed in the mobile phone can send a printing instruction to the printer through the mobile phone according to a preset sequence, the printer can receive the printing instruction, and the printer is driven to execute printing action through a second sub-application program installed in the printer. And after the printer finishes printing, the second sub-application program can feed back the information of finishing printing to the mobile phone through the printer.
Correspondingly, the mobile phone can receive information fed back by the printer, and the target application program can send a playing instruction to the sound box through the mobile phone according to the information. The sound box can receive the playing instruction and drive the sound box to execute playing action through a first sub-application program installed on the sound box. And then, the sound box can feed back the information after the playing is finished to the mobile phone, the mobile phone can receive the information, and the target application program determines that the function of playing the prompt tone after the printing is finished according to the information.
In summary, according to the deployment method of the application program provided by the embodiment of the application, the function information of each slave device is obtained, the target application program matched with the master device and each slave device is determined, and the sub-application program corresponding to each slave device in the target application program is distributed to each slave device, so that the master device can complete driving of each slave device through each sub-application program, each slave device can work cooperatively according to a preset process, resources occupied by the target application program in the master device can be reduced, the resource utilization rate of each slave device can be improved, and the flexibility of expansion connection between the master device and a large number of slave devices can be improved.
In addition, by deploying the sub-application program on the slave device, the sub-application program can utilize the resources of the slave device to complete driving of the slave device, so that the resource utilization rate of each slave device can be improved, and the resource idling of the slave device is reduced.
In the above embodiment, the android system is taken as an example, but in practical application, the terminal device may also be equipped with other operating systems (such as hong mo system), and the deployment method of the application program will be described again by taking the other operating systems as examples.
Fig. 9 is a schematic flowchart of another method for deploying an application, provided by an embodiment of the present application, which may be applied to the deployment system shown in fig. 2A and described above, referring to fig. 9, by way of example and not limitation, and the method includes:
step 901, the first terminal device is connected to at least one second terminal device.
The first terminal equipment is a master equipment, and the second terminal equipment is a slave equipment.
When the master device and the slave devices are located in the same network, the master device can establish a connection relationship with each slave device through a communication module of the current network. Specifically, if the master device detects a triggered connection operation, the master device may start a device connection function and search for each slave device in the current network. The master device may then present icons corresponding to the respective slave devices to the user in the connection interface. If the master device detects the connection operation triggered by the icon of a certain slave device, the master device can establish a connection relationship with the slave device through the communication module of the current network.
For example, referring to fig. 10, fig. 10 is an interface schematic diagram of a connection interface provided in an embodiment of the present application, where a master device shown in the connection interface is a mobile phone, and a slave device includes: intelligent screen, notebook computer, panel computer, wireless earphone and audio amplifier. If the connection operation of the sound box icon and the tablet computer icon to the mobile phone icon is detected, the mobile phone can establish a connection relationship with the sound box and the tablet computer.
Further, the mobile phone can set the tablet personal computer and the voice box to work cooperatively through a setting interface of the equipment connection function. For example, the tablet computer may be set to run a music playing application program, and sound played by the music playing application program in the tablet computer is played through the sound box.
Step 902, the first terminal device acquires the function information of each second terminal device, and updates the function set of the first terminal device.
Step 903, the first terminal device sends the function set of the first terminal device to the application server.
Step 904, the application server searches for a target application program matched with the function set, and feeds back an application identifier of the target application program to the first terminal device.
In step 905, the first terminal device obtains, from the application server, a target application program corresponding to at least one application identifier according to the plurality of application identifiers.
Step 906, the first terminal device distributes the sub-application program to each second terminal device according to the dependency information.
Step 907, the first terminal device drives the second terminal device through the sub-application.
The process from step 902 to step 907 is similar to the process from step 502 to step 507, and will not be described herein.
In summary, according to the deployment method of the application program provided by the embodiment of the application, the function information of each slave device is obtained, the target application program matched with the master device and each slave device is determined, and the sub-application program corresponding to each slave device in the target application program is distributed to each slave device, so that the master device can complete driving of each slave device through each sub-application program, each slave device can work cooperatively according to a preset process, resources occupied by the target application program in the master device can be reduced, the resource utilization rate of each slave device can be improved, and the flexibility of expansion connection between the master device and a large number of slave devices can be improved.
In addition, by deploying the sub-application program on the slave device, the sub-application program can utilize the resources of the slave device to complete driving of the slave device, so that the resource utilization rate of each slave device can be improved, and the resource idling of the slave device is reduced.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Corresponding to the application deployment method described in the foregoing embodiments, the application deployment device provided in the embodiment of the present application further has a function of implementing the application deployment method corresponding to any one of fig. 1A to fig. 10, which is not described herein.
The terminal device according to the embodiment of the present application is described below. Referring to fig. 11, fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
The terminal device can include a processor 1110, an external memory interface 1120, an internal memory 1121, a universal serial bus (universal serial bus, USB) interface 1130, a charge management module 1140, a power management module 1141, a battery 1142, an antenna 1, an antenna 2, a mobile communication module 1150, a wireless communication module 1160, an audio module 1170, a speaker 1170A, a receiver 1170B, a microphone 1170C, an ear-piece interface 1170D, a sensor module 1180, a key 1190, a motor 1191, an indicator 1192, a camera 1193, a display 1194, and a subscriber identity module (subscriber identification module, SIM) card interface 1195, among others. The sensor module 1180 may include a pressure sensor 1180A, a gyroscope sensor 1180B, a barometric sensor 1180C, a magnetic sensor 1180D, an acceleration sensor 1180E, a distance sensor 1180F, a proximity sensor 1180G, a fingerprint sensor 1180H, a temperature sensor 1180J, a touch sensor 1180K, an ambient light sensor 1180L, a bone conduction sensor 1180M, and the like.
It will be appreciated that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the application, the terminal device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 1110 may include one or more processing units, such as: the processor 1110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can be a neural center and a command center of the terminal equipment. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in processor 1110 for storing instructions and data. In some embodiments, the memory in processor 1110 is a cache memory. The memory may hold instructions or data that has just been used or recycled by the processor 1110. If the processor 1110 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided, reducing the latency of the processor 1110, and thus improving the efficiency of the system.
In some embodiments, processor 1110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The USB interface 1130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 1130 may be used to connect a charger to charge a terminal device, or may be used to transfer data between the terminal device and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other terminal devices, such as AR devices, etc.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only illustrative, and does not limit the structure of the terminal device. In other embodiments of the present application, the terminal device may also use different interfacing manners in the foregoing embodiments, or a combination of multiple interfacing manners.
The charge management module 1140 is used to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 1140 may receive a charging input of a wired charger through the USB interface 1130. In some wireless charging embodiments, the charge management module 1140 may receive a wireless charging input through a wireless charging coil of a terminal device. The charging management module 1140 may also provide power to the terminal device through the power management module 1141 while charging the battery 1142.
The power management module 1141 is configured to connect the battery 1142, the charge management module 1140 and the processor 1110. The power management module 1141 receives input from the battery 1142 and/or the charge management module 1140 and provides power to the processor 1110, the internal memory 1121, the external memory, the display 1194, the camera 1193, the wireless communication module 1160, and the like. The power management module 1141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance), and other parameters. In other embodiments, the power management module 1141 may also be disposed in the processor 1110. In other embodiments, the power management module 1141 and the charge management module 1140 may be provided in the same device.
The wireless communication function of the terminal device may be implemented by the antenna 1, the antenna 2, the mobile communication module 1150, the wireless communication module 1160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 1150 may provide a solution for wireless communication including 2G/3G/4G/5G or the like applied on a terminal device. The mobile communication module 1150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 1150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, etc., on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 1150 may amplify the signal modulated by the modem processor and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves. In some embodiments, at least some of the functional modules of the mobile communication module 1150 may be disposed in the processor 1110. In some embodiments, at least some of the functional modules of the mobile communication module 1150 may be provided in the same device as at least some of the modules of the processor 1110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 1170A, receiver 1170B, etc.), or displays images or video through display 1194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 1150 or other functional module, independent of the processor 1110.
The wireless communication module 1160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. for application on a terminal device. The wireless communication module 1160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 1160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 1110. The wireless communication module 1160 may also receive a signal to be transmitted from the processor 1110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, the terminal device's antenna 1 is coupled to the mobile communication module 1150 and the antenna 2 is coupled to the wireless communication module 1160 so that the terminal device may communicate with the network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal device implements display functions through the GPU, the display 1194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display 1194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 1110 may include one or more GPUs that execute program instructions to generate or change display information.
The display 1194 is used to display images, videos, or the like. The display 1194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device may include 1 or N display screens 1194, where N is a positive integer greater than 1.
The terminal device may implement shooting functions through an ISP, a camera 1193, a video codec, a GPU, a display 1194, an application processor, and the like.
The ISP is used to process the data fed back by the camera 1193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be located in the camera 1193.
The camera 1193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the terminal device may include 1 or N cameras 1193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal device selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, etc.
Video codecs are used to compress or decompress digital video. The terminal device may support one or more video codecs. In this way, the terminal device may play or record video in multiple encoding formats, for example: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of terminal equipment can be realized through NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 1120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device. The external memory card communicates with the processor 1110 via an external memory interface 1120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 1121 may be used to store computer executable program code including instructions. The processor 1110 executes various functional applications of the terminal device and data processing by executing instructions stored in the internal memory 1121. The internal memory 1121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the terminal device (such as audio data, phonebook, etc.), etc. In addition, the internal memory 1121 may include a high-speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), or the like.
The terminal device may implement audio functionality through an audio module 1170, a speaker 1170A, a receiver 1170B, a microphone 1170C, an ear-headphone interface 1170D, and an application processor, etc. Such as music playing, recording, etc.
The audio module 1170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 1170 may also be used to encode and decode audio signals. In some embodiments, the audio module 1170 may be disposed in the processor 1110, or some functional modules of the audio module 1170 may be disposed in the processor 1110.
The speaker 1170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device may listen to music, or to hands-free conversations, through the speaker 1170A.
A receiver 1170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device receives a call or voice message, it can receive voice by placing the receiver 1170B close to the human ear.
Microphone 1170C, also referred to as a "microphone" or "microphone", is used to convert acoustic signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 1170C through his mouth, inputting a sound signal to the microphone 1170C. The terminal device may be provided with at least one microphone 1170C. In other embodiments, the terminal device may be provided with two microphones 1170C, which may also implement noise reduction in addition to collecting sound signals. In other embodiments, the terminal device may be further provided with three, four or more microphones 1170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording, etc.
The earphone interface 1170D is used to connect a wired earphone. Earphone interface 1170D may be a USB interface 1130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The keys 1190 include a power on key, a volume key, etc. The keys 1190 may be mechanical keys. Or may be a touch key. The terminal device may receive key inputs, generating key signal inputs related to user settings of the terminal device and function control.
The motor 1191 may generate a vibratory alert. The motor 1191 may be used for incoming call vibration alerting or touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 1191 may also correspond to different vibration feedback effects by touch operations applied to different areas of the display 1194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 1192 may be an indicator light that may be used to indicate a state of charge, a change in charge, an indication message, a missed call, a notification, etc.
The SIM card interface 1195 is for connecting a SIM card. The SIM card may be inserted into the SIM card interface 1195 or removed from the SIM card interface 1195 to enable contact and separation with the terminal device. The terminal device may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 1195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 1195 may be plugged into multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 1195 may also be compatible with different types of SIM cards. SIM card interface 1195 may also be compatible with external memory cards. The terminal equipment interacts with the network through the SIM card to realize the functions of communication, data communication and the like. In some embodiments, the terminal device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal device and cannot be separated from the terminal device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the system embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a terminal device, a recording medium, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
Finally, it should be noted that: the foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A method for deploying an application, the method comprising:
acquiring function information of second terminal equipment, wherein the second terminal equipment is connected with first terminal equipment, and the function information is used for representing functions of the second terminal equipment;
according to the function information, at least one application identifier is obtained from an application server, wherein the application identifier is used for indicating a target application program matched with the function information;
acquiring the target application program from the application server according to at least one application identifier, wherein the target application program comprises at least one sub-application program, and at least one sub-application program is matched with the function information of the second terminal device;
and sending the sub-application program corresponding to the target application program to the second terminal equipment.
2. The method of claim 1, wherein the obtaining at least one application identifier from an application server according to the function information comprises:
transmitting the function information to the application server;
and receiving at least one application identifier fed back by the application server, wherein the application identifier is obtained by searching the application server according to the function information sent by the first terminal equipment.
3. The method of claim 1, wherein said obtaining said target application from said application server based on at least one of said application identities comprises:
displaying at least one application identifier;
if the acquisition operation triggered by the target application identifier in at least one application identifier is detected, generating and sending a downloading request to the application server, wherein the downloading request comprises the target application identifier;
and receiving the target application program fed back by the application server, wherein the target application program is obtained by searching the application server according to the downloading request sent by the first terminal equipment.
4. The method according to claim 1, wherein said sending the corresponding sub-application of the target application to the second terminal device comprises:
According to the dependency information respectively corresponding to each sub-application program included in the target application program, combining the function information of the second terminal equipment to determine the sub-application program corresponding to the second terminal equipment, wherein the dependency information is used for representing the terminal equipment on which the sub-application program depends;
and sending the sub-application program corresponding to the second terminal equipment.
5. The method according to any one of claims 1 to 4, wherein before said acquiring the function information of the second terminal device, the method further comprises:
responding to the triggered connection operation, and searching the second terminal equipment;
and establishing a connection relationship between the first terminal equipment and the second terminal equipment.
6. The method according to any one of claims 1 to 5, wherein after said sending the corresponding sub-application of the target application to the second terminal device, the method further comprises:
and based on the target application program, driving the second terminal equipment to operate in combination with the sub-application program installed by the second terminal equipment.
7. A method for deploying an application, the method comprising:
Acquiring an application identifier of a target application program matched with function information according to the function information sent by the first terminal equipment, wherein the function information is used for representing a function of the second terminal equipment;
feeding back the application identifier to the first terminal equipment;
and feeding back the target application program corresponding to the application identifier to the first terminal equipment according to a downloading request sent by the first terminal equipment, wherein the downloading request comprises the application identifier.
8. The method of claim 7, wherein the method further comprises:
receiving at least one application program, wherein each application program comprises at least one sub-application program, and each application program and each sub-application program correspond to dependency information;
and for each application program, establishing an index between the application program and the corresponding dependent information according to the dependent information corresponding to the application program and the dependent information corresponding to each sub-application program in the application program.
9. The method of claim 8, wherein the obtaining the application identification of the target application that matches the function information comprises:
Searching the dependency information matched with the function information in the index between the application program and the corresponding dependency information;
taking the application program corresponding to the dependency information as the target application program;
and acquiring the application identification of the target application program.
10. A method for deploying an application, the method comprising:
receiving function information sent by a first terminal device through an application management server, wherein the function information is used for representing functions of a second terminal device;
acquiring an application identifier of a target application program matched with the function information according to the function information forwarded by the application management server;
the application management server feeds back the application identification of the target application program, and feeds back the application identification to the first terminal equipment through the application management server;
and feeding back the target application program corresponding to the application identifier to the first terminal equipment according to a downloading request sent by the first terminal equipment, wherein the downloading request comprises the application identifier.
11. The method according to claim 10, wherein the method further comprises:
Receiving at least one application program, wherein each application program comprises at least one sub-application program, and each application program and each sub-application program correspond to dependency information;
and for each application program, establishing an index between the application program and the corresponding dependent information according to the dependent information corresponding to the application program and the dependent information corresponding to each sub-application program in the application program.
12. The method of claim 11, wherein the obtaining the application identification of the target application program that matches the function information comprises:
searching the dependency information matched with the function information in the index between the application program and the corresponding dependency information;
taking the application program corresponding to the dependency information as the target application program;
and acquiring the application identification of the target application program.
13. An electronic device, comprising: a processor for running a computer program stored in a memory to cause the electronic device to implement the deployment method of an application as claimed in any one of claims 1 to 6, 7 to 9, or 10 to 12.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the deployment method of an application according to any one of claims 1 to 6, claims 7 to 9, or claims 10 to 12.
15. A chip system comprising a memory and a processor executing a computer program stored in the memory to implement the deployment method of an application as claimed in any one of claims 1 to 6, 7 to 9, or 10 to 12.
CN202210425276.9A 2022-04-21 2022-04-21 Application deployment method, electronic device, storage medium and chip system Pending CN116974587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210425276.9A CN116974587A (en) 2022-04-21 2022-04-21 Application deployment method, electronic device, storage medium and chip system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210425276.9A CN116974587A (en) 2022-04-21 2022-04-21 Application deployment method, electronic device, storage medium and chip system

Publications (1)

Publication Number Publication Date
CN116974587A true CN116974587A (en) 2023-10-31

Family

ID=88483662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210425276.9A Pending CN116974587A (en) 2022-04-21 2022-04-21 Application deployment method, electronic device, storage medium and chip system

Country Status (1)

Country Link
CN (1) CN116974587A (en)

Similar Documents

Publication Publication Date Title
CN110769394B (en) Video call method and electronic equipment
CN110320811B (en) Access method of intelligent household equipment and electronic equipment
CN115209194B (en) Terminal equipment, method and system for realizing one touch screen through remote controller
CN113630297B (en) Method and terminal for controlling first equipment
CN111405681B (en) Wi-Fi Aware link establishment method, wi-Fi Aware link establishment system, electronic equipment and storage medium
CN111010693B (en) Method for providing wireless fidelity network access service and electronic equipment
CN113438354B (en) Data transmission method and device, electronic equipment and storage medium
CN110602686B (en) Method for using remote SIM module and electronic equipment
CN113039822B (en) Method and equipment for establishing data channel
CN112335294B (en) Emergency call method and user terminal
CN115103304B (en) Position information calling method and device
CN116133165A (en) Headset connection system, method, headset, electronic device, and readable storage medium
CN117425227A (en) Method and device for establishing session based on WiFi direct connection
CN116974587A (en) Application deployment method, electronic device, storage medium and chip system
CN116261124A (en) Data transmission method and device, electronic equipment and intelligent terminal
CN114285737B (en) Method and device for configuring device
CN114338891B (en) Communication method and device
CN114449492B (en) Data transmission method and terminal equipment
CN115119214B (en) Stereo networking method, system and related device
WO2023025059A1 (en) Communication system and communication method
CN115412387A (en) Audio playing method and system and electronic equipment
CN115802326A (en) Bluetooth connection method and electronic equipment
CN118301240A (en) Message sending and displaying method and device, server and terminal equipment
CN116744275A (en) Communication method, electronic equipment and device
CN117640618A (en) Service downloading method, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination