WO2020168570A1 - 快应用的添加方法、装置、电子设备及存储介质 - Google Patents
快应用的添加方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2020168570A1 WO2020168570A1 PCT/CN2019/075946 CN2019075946W WO2020168570A1 WO 2020168570 A1 WO2020168570 A1 WO 2020168570A1 CN 2019075946 W CN2019075946 W CN 2019075946W WO 2020168570 A1 WO2020168570 A1 WO 2020168570A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- quick application
- quick
- client
- application
- sdk
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Definitions
- This application relates to the technical field of electronic equipment, and more specifically, to a fast application adding method, device, electronic equipment and storage medium.
- Electronic devices such as computers and mobile phones, have become one of the most commonly used consumer electronic products in people's daily lives. Users can install applications on electronic devices to implement various functions. For example, they can install information aggregation applications on electronic devices, so as to obtain rich various types of information through the aggregation applications, such as news information, audio and video Information etc. At present, there are some infrequently used applications such as government affairs applications. Users need to implement some special functions through such applications, such as online appointments. However, it is precisely because of its particularity that after the user realizes the required function, it usually does not use it again for a long time, resulting in unnecessary waste of the storage space of the electronic device.
- this application proposes a fast application adding method, device, electronic equipment and storage medium to solve the above-mentioned problems.
- an embodiment of the present application provides a method for adding a quick application, which is applied to a client, and the method includes: monitoring purchase records of equipment purchased through an HTML5 mall page embedded in the client; In the purchase record of a device, confirm the quick application identifier corresponding to the at least one device; according to the quick application identifier, add the quick application corresponding to the quick application identifier to the client.
- an embodiment of the present application provides a quick application adding device, which is characterized in that it is applied to a client, and the device includes: a record monitoring module, a quick application acquisition module, and a quick application adding module, wherein the The record monitoring module is used to monitor the purchase record of the device purchased through the HTML5 mall page embedded in the client; the quick application acquisition module is used to confirm that it corresponds to the at least one device when the purchase record of at least one device is monitored The quick application identification; the quick application adding module is used to add the quick application corresponding to the quick application identification to the client according to the quick application identification.
- an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and It is configured to be executed by the one or more processors, and the one or more programs are configured to execute the quick application adding method provided in the first aspect described above.
- an embodiment of the present application provides a computer-readable storage medium, and the computer-readable storage medium stores program code, and the program code can be called by a processor to execute the fast speed provided in the first aspect. How to add the application.
- the solution provided by this application monitors the purchase record of the device purchased through the HTML5 mall page embedded in the client.
- the quick application identification corresponding to the at least one device is confirmed, according to the quick application identification , Add the quick app corresponding to the quick app identifier to the client.
- the quick application corresponding to the device can be added, saving adding time and improving user experience.
- Fig. 1 shows a schematic structural diagram of a smart home system proposed in an embodiment of the present application.
- FIG. 2 shows a schematic structural diagram of another smart home system proposed by an embodiment of the present application
- FIG. 3 shows a schematic diagram of a fast application engine architecture proposed by an embodiment of the present application.
- FIG. 4 shows a schematic diagram of the operating environment of the method for adding a quick application proposed in an embodiment of the present application.
- Fig. 5 shows a flowchart of a method for adding a quick application according to an embodiment of the present application.
- Fig. 6 shows a flowchart of a method for adding a quick application according to another embodiment of the present application.
- Fig. 7 shows a flowchart of step S220 in the method for adding a quick application according to an embodiment of the present application.
- Fig. 8 shows a schematic diagram of a display effect provided according to an embodiment of the present application.
- Fig. 9 shows a flowchart of a method for adding a quick application according to another embodiment of the present application.
- Fig. 10 shows a flowchart of step S370 in the method for adding a quick application according to an embodiment of the present application.
- Fig. 11 shows a block diagram of a fast application adding device according to an embodiment of the present application.
- Fig. 12 shows a block diagram of a quick application adding module in a quick application adding device according to an embodiment of the present application.
- Fig. 13 is a block diagram of an electronic device for executing a method for adding a quick application according to an embodiment of the present application.
- Fig. 14 is a storage unit for storing or carrying program code for implementing the method for adding a quick application according to the embodiment of the present application.
- Smart home connects various smart home devices in the home (such as air conditioners, lights, refrigerators, washing machines, etc.) through the Internet of Things technology to provide home appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, and environmental monitoring , HVAC control, infrared forwarding and programmable timing control and other controls.
- various smart home devices in the home such as air conditioners, lights, refrigerators, washing machines, etc.
- the Internet of Things technology to provide home appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, and environmental monitoring , HVAC control, infrared forwarding and programmable timing control and other controls.
- household equipment can be air conditioners, lighting fixtures, smart lights, smart cameras, smart sockets, wireless switches, smart curtain motors, smart speakers, and various sensors (such as human sensors, door and window sensors, smoke alarms, etc.).
- the home equipment is managed and controlled through electronic equipment.
- the electronic equipment 100 can establish a wireless connection with the smart gateway 300, and the home equipment 200 can establish a wireless connection with the smart gateway 300 to realize the electronic equipment Data interaction between 100 and household equipment.
- the electronic device 100 and the smart gateway 300 are in communication connection with the server 400, and the electronic device 100 can perform data interaction with household equipment through the server 400 and the smart gateway 300.
- the electronic device 100 may communicate with the first cloud server 402 to realize data interaction with the first cloud server 402.
- the household equipment 200 communicates with the second cloud server 401 through the smart gateway 300 to realize data interaction between the second and the server 401.
- data interaction can be performed between the first cloud server 402 and the second cloud server 401, so that the electronic device 100 can communicate with the home device 200 through the first cloud server 402, the second cloud server 404, and the smart gateway 300. Data interaction.
- the home equipment of different manufacturers usually needs to be controlled by different applications. That is to say, the communication between the applications of the home equipment of different manufacturers and the servers of different manufacturers requires more applications to be installed, which occupies the electronic equipment. More storage space.
- fast application is a new application form based on the hardware platform of the terminal device. It does not need to be installed, it is click-to-use, and it has the original application experience (performance, system integration, interaction, etc.).
- the structure diagram of the fast application engine, the front-end design of the fast application draws on and integrates the design ideas of mainstream front-end frameworks (Vue, React, etc.): build applications in a componentized way, with data binding as the core
- the MVVM design mode uses V-DOM to improve performance, while choosing a concise and clear Vue-like template.
- the inventor found that when adding a quick application of a device, the user is required to select the device manufacturer, type, model and other messages according to the operation, and therefore the user is required to perform cumbersome operations. Therefore, the inventor proposes to add a quick application of the device according to the purchase record of the device purchased by the user on the mall page, which saves the user's operation, and facilitates subsequent operations on the household device, thereby improving the user experience.
- a fast application and a client 110 are running.
- the fast application runs on the fast application engine, and an extended interface 97 provided by the client is set in the fast application engine.
- the client 110 is provided with an extension interface 96 that communicates with the extension interface 97.
- the client 110 can call software development kit (SDK, Software Development Kit) plug-ins of various manufacturers through an extended interface.
- SDK plug-in 111 of manufacturer A, the SDK plug-in 112 of manufacturer B, and the SDK plug-in 113 of manufacturer C in the figure can be called.
- the data processing instructions triggered in the fast application can be transferred to the extended interface 96 in the client through the extension interface 97 set in the fast application engine, and then the data processing instructions are transmitted to the SDK plug-ins of various manufacturers .
- the client 110 may provide an entrance to the fast application, that is, the client 110 can enter the fast application.
- the communication between the fast application and the client 110 may be through a cross-application communication method, such as using AIDL interaction.
- a parameter transfer interface can be set between the client 110 and the embedded fast application for data transfer between the client 110 and the fast application.
- a channel class can be defined between the fast application and the client 110 Interface, all interface functions are implemented using a channel class interface.
- the client 110 may instruct the quick application engine to access the corresponding quick application according to the link of the quick application, thereby displaying the interface of the quick application.
- the interface of the quick app can receive control information, and after the client 110 learns the control information, it transmits the control information to the server of the home device through the above-mentioned SDK to realize the management and control of the home device.
- the quick application engine can also receive the information transmitted by the client 110, and display the information that needs to be displayed on the quick application control page.
- an embodiment of the present application provides a method for adding a quick application, which can be applied to an electronic device, and the method for adding a quick application may include:
- Step S110 Monitor the purchase record of the device purchased through the HTML5 mall page embedded in the client.
- HTML5 mall pages refer to HyperText Markup Language 5 (HTML5) pages that implement mall functions.
- HTML5 is the HTML standard version used to replace the HTML 4.01 and XHTML 1.0 standards formulated in 1999. .
- HTML5 refers to a combination of technologies including HTML, CSS, and JavaScript.
- HTML5 can reduce the browser's need for plug-in-based rich internet application services (plug-in-based rich internet application, RIA), such as Adobe Flash, Microsoft Silverlight, Oracle JavaFX, and provide more standard sets that can effectively enhance web applications .
- RIA plug-in-based rich internet application
- HTML5 pages can be referred to as H5 pages.
- the client in the embodiment of the present application may support H5 page embedding, that is, the H5 page may be embedded in the client.
- H5 page embedding that is, the H5 page may be embedded in the client.
- webview is a browser component.
- the Webkit rendering engine is used internally.
- webview is based on webkit core and can support html5.
- a control corresponding to the HTML5 mall page can be set in the client, and the control can correspond to the link of the HTML5 mall page.
- the control is triggered by a trigger operation, the HTML5 mall page can be accessed, and the HTML5 mall page can be rendered , So as to realize the HTML5 mall page displayed in the client. After the HTML5 mall page is displayed, the purchase of goods can be realized through the HTML5 mall page.
- the HTML5 mall page corresponds to the server of the mall.
- the server of the mall is accessed to realize the purchase of online goods.
- the HTML5 mall page is used to provide users to purchase equipment.
- the mall server can obtain the purchase record of the purchased equipment.
- the above-mentioned device may be a device that can be managed and controlled through a quick application in the client, that is, the client may provide a quick application for managing the devices sold in the above-mentioned mall.
- the purchase record may include equipment information, quantity, and price of the purchased equipment, and the equipment information may include manufacturer information, type information, and model information of the equipment.
- the specific purchase record may not be limited in the embodiment of this application.
- the client may obtain the purchase record of the device purchased through the HTML5 mall page from the server of the mall through the server corresponding to the client, so as to monitor the purchase record of the device purchased through the HTML5 mall page.
- the acquisition of the purchase record of the device purchased through the HTML5 mall page may be acquired in real time, or acquired at a specified interval, or acquired based on a detected control operation.
- the specific method of obtaining the above-mentioned purchase record may not be limited in the embodiment of the present application.
- the client may obtain the purchase record of the device purchased through the HTML5 mall page from the mall server in real time through the server corresponding to the client, so as to accurately monitor the purchase record.
- Step S120 When the purchase record of at least one device is monitored, confirm the quick application identifier corresponding to the at least one device.
- the quick application corresponding to the purchased at least one device may be added.
- Different devices may have different manufacturers, and when managing and controlling the device, the server corresponding to the device needs to be passed. Therefore, the devices of different manufacturers have different applications.
- the quick application may correspond to the quick application identification, and the quick application identification is used as the identification information of the quick application to distinguish different quick applications.
- the specific quick application identifier may not be limited in the embodiment of the present application.
- the quick application identifier may be the identity ID of the quick application.
- the corresponding relationship between the quick application identification and the device can be established, so that when the quick application is added, the quick application identification corresponding to the device can be determined.
- the correspondence between the identifier and the device can be quickly applied, and can be stored in the electronic device where the client is installed in the form of a list. In the list, each device corresponds to a quick application logo.
- the quick application when adding a quick application corresponding to the purchased at least one device, the quick application can be added according to the quick application identifier to add the quick application corresponding to the purchased at least one device for subsequent use of the quick application management And control the purchased equipment. Therefore, the quick application identifier corresponding to the purchased at least one device can be determined to add the quick application corresponding to the quick application identifier.
- the corresponding relationship between the quick app ID and the device information can be used to determine the quick app ID corresponding to the device based on the device information in the purchase record mentioned above, so that the quick app ID can be subsequently used according to the quick app ID.
- the quick application corresponding to the logo is added to the client.
- Step S130 Add a fast application corresponding to the fast application identifier to the client according to the fast application identifier.
- the quick application identification corresponding to the quick application identification can be searched for according to the quick application identification, and the quick application identification corresponding to the quick application identification
- the quick application is added to the client, that is, the quick application corresponding to the device is added, so that the user can subsequently manage and control the purchased device through the quick application of the added device.
- control refers to the encapsulation of data and methods. Controls can have their own properties and methods. Properties are simple visitors of control data, and methods are simple and visible functions of the control.
- the control creation process includes design and development. , Debugging (the so-called 3Ds development process, namely Design, Develop, Debug) work, and then the use of controls.
- the method for adding a quick application is to confirm the quick application identifier corresponding to the purchased at least one device when the purchase record of at least one device purchased through the HTML5 mall page embedded in the client is monitored, and then The quick app corresponding to the quick app logo is added to the client, so that when the user purchases the device through the HTML5 mall page, the quick app corresponding to the purchased device can be added to the client, avoiding the user's subsequent need to go through tedious steps to add Fast application improves user experience.
- FIG. 6 another embodiment of the present application provides a quick application adding method, which can be applied to electronic devices, and the quick application adding method may include:
- Step S210 Monitor the purchase record of the device purchased through the HTML5 mall page embedded in the client.
- step S210 can refer to the content of the above-mentioned embodiment, which will not be repeated here.
- Step S220 When the purchase record of at least one device is monitored, confirm the quick application identifier corresponding to the at least one device.
- step S220 may include:
- Step S221 Obtain device information of the device, where the device information includes at least one of manufacturer information, type information, and model information.
- the device information of the device may be obtained according to the foregoing purchase record.
- the device information may include at least one of manufacturer information, type information, and model information.
- the device information of the device can be obtained, so as to obtain the quick application identifier corresponding to the device according to the device information of the device.
- the specific method for acquiring the manufacturer information of the device may not be limited in the embodiment of the present application.
- Step S222 Based on the device information, obtain a quick application identifier corresponding to the device.
- the electronic device where the client is installed stores the quick application identifier corresponding to each device information, and the corresponding relationship between the device information and the quick application.
- the device information of the device can be used to find the quick application identifier corresponding to the device information of the device from the multiple quick application identifiers by using the above-mentioned corresponding relationship.
- the client can also query the fast application identifier corresponding to the device information from the server according to the device information.
- the specific method for obtaining the quick application identifier corresponding to the device based on the device information may not be limited.
- Step S230 Add an entry control corresponding to the quick application identifier and display it on the interactive interface of the client.
- the entry control corresponding to the quick application identification can be added to the interactive interface of the client, and the entry control is displayed on the interaction of the client Interface.
- the portal control serves as the portal to access the quick application corresponding to the quick application identification.
- the entry control corresponding to the quick application identifier can be searched for, and then the found entry control can be added to the interactive interface of the client.
- the interactive interface that the entry control is specifically added to the client is not limited, and it may be the main interface of the client or other interfaces of the client.
- the icons corresponding to the portal controls of different devices are different, and the portal controls corresponding to the device can be found through the quick application identification corresponding to the device.
- the entry control added to the interactive interface of the client can include the device information of the device, for example, the manufacturer of the device, the type of the device, the model of the device, etc., that is to say, the icon corresponding to the entry control can include the above-mentioned devices information.
- the device name of the device purchased above is "Device 7”.
- the displayed icon of the entry control 155 can show the name of the device "Device 7" . Therefore, among the portal controls of all devices displayed on the client side, it is convenient for the user to know the device corresponding to each portal control.
- Step S240 Establish a correspondence between the entry control and the quick application link corresponding to the quick application identifier, and the quick application link is used to access the quick application corresponding to the quick application identifier.
- the quick application link is used to access the quick application corresponding to the quick application identifier. That is to say, it is necessary to bind the quick application identification and the quick application link corresponding to the quick application identification, so that when the portal control is triggered, the quick application corresponding to the above quick application identification can be accessed according to the quick application link bound to the portal control.
- the aforementioned quick app link used to access the quick app may be a link address corresponding to the startup page of the quick app, or may be a link address corresponding to other pages of the quick app.
- the aforementioned quick application link may be a link address corresponding to the control interface of the device.
- Step S250 When a trigger operation on the entry control is monitored, a software development kit (SDK) corresponding to the quick application identifier is obtained.
- SDK software development kit
- the quick application can be subsequently used.
- subsequent users need to manage and control the device through the quick application, and also need to perform operations such as network access.
- the manufacturer When entering the network, the manufacturer’s network configuration process uses a private protocol. In order not to expose the protocol, it is necessary to use the SDK provided by the manufacturer to implement the equipment network configuration.
- the subsequent fast application interface detects a control instruction, the client will receive an instruction instruction from the fast application to pass the fast application engine, and the instruction instruction is used to instruct the client to send the control instruction to the server by calling the SDK.
- the quick application identifier can be used to obtain the SDK corresponding to the quick application identifier. Since the above quick application identifier corresponds to the device information, the manufacturer SDK corresponding to the device can be obtained.
- obtaining the SDK corresponding to the fast application identifier may include:
- the device of the same manufacturer may have been added before the purchase of the device.
- the device of the same manufacturer may have been added before, so before loading the SDK this time, the SDK corresponding to the application ID has been loaded, that is, the manufacturer's SDK. Therefore, it can be judged whether the client has currently loaded the SDK corresponding to the fast application identifier to determine whether it is necessary to obtain the SDK from the server of the manufacturer.
- the SDK corresponding to the quick application identifier can be obtained from the server. Specifically, the SDK can be obtained from the manufacturer's server through the server corresponding to the client, and then after the server corresponding to the client receives the SDK, it sends it to the client, so that the client can receive the SDK correspondingly.
- Step S260 Load the SDK on the client.
- the SDK after obtaining the SDK corresponding to the aforementioned quick application identifier, the SDK can be loaded on the client.
- the corresponding relationship between the SDK and the aforementioned fast application can be established, so that when the fast application needs to use the SDK, the loaded SDK can be called to complete the corresponding operation.
- the adding method of the quick application may also include:
- prompt information for prompting the user to enter the network for the device is output; and the device enters the network according to the received network entry operation and the SDK.
- a prompt message prompting the user to access the network can be output, so that the user can access the device according to the prompt information.
- the prompt information may include prompting the control device to enter the network configuration mode, select a connected wifi hotspot or enter wifi information (such as name, password, etc.), so that the mobile terminal can send the wifi information to the device entering the network configuration mode .
- the above prompt information is only an example, and does not represent a limitation on the prompt information that prompts the user to connect the device to the network in the embodiment of the present application.
- the specific prompt information can be set according to the network distribution method.
- Network access operations may include wifi information input operations, wifi information selection operations, etc.
- the specific network access operations may not be limited.
- the network access operation can send network access information containing wifi information to the device according to the network access operation, so that the device can connect to the network according to the wifi information, and use the SDK to send device information, address information and other information to the manufacturer's server , So that the manufacturer’s server can control the device.
- quick applications can be added to the purchased device, and the device can be connected to the network.
- the user can quickly access the device to the network, which is convenient for subsequent control of the device.
- Step S270 Query whether the electronic device where the client is installed has a client corresponding to the device.
- the client corresponding to the purchased device refers to the manufacturer of the device.
- the corresponding client After adding the above quick application, it means that the device of the manufacturer can be controlled through the quick application, without the need to control the device through the client corresponding to the device.
- the client corresponding to the aforementioned device can be deleted. Therefore, it is possible to query whether the electronic device has a client corresponding to the purchased device.
- the program installation list can be obtained by requesting system permissions, and then according to the installation list, it is determined whether the client corresponding to the device is installed.
- Step S280 If the client corresponding to the device is installed, output a prompt message for prompting the user whether to delete the client corresponding to the device.
- the user may be prompted to delete the client to save the storage space of the electronic device.
- a pop-up prompt or voice prompt can be used to prompt the user whether to delete the prompt information of the client corresponding to the aforementioned device.
- Step S290 When receiving an instruction to delete the client corresponding to the device, request the system to delete the client corresponding to the device.
- the instruction input by the user can be detected.
- the system can be requested to delete the client corresponding to the above device, so as to save the storage space of the electronic device. effect.
- the method for adding a quick application is to confirm the quick application identifier corresponding to the purchased at least one device when the purchase record of at least one device purchased through the HTML5 mall page embedded in the client is monitored, and then The entry space corresponding to the quick app logo is added to the interactive interface of the client, and the corresponding relationship between the entry control and the quick app link is established.
- the quick application corresponding to the purchased device can be added to the client, which avoids the user's subsequent need to go through tedious steps to add a quick application, which improves the user experience.
- the user is also prompted to delete the client corresponding to the previously installed purchased device, which can save the storage space of the electronic device.
- FIG. 9 another embodiment of the present application provides a quick application adding method, which can be applied to electronic devices, and the quick application adding method may include:
- Step S310 Monitor the purchase record of the device purchased through the HTML5 mall page embedded in the client.
- Step S320 When the purchase record of at least one device is monitored, confirm the quick application identifier corresponding to the at least one device.
- Step S330 Add an entry control corresponding to the quick application identifier and display it on the interactive interface of the client.
- Step S340 Establish a corresponding relationship between the entry control and the quick application link corresponding to the quick application identifier, and the quick application link is used to access the quick application corresponding to the quick application identifier.
- steps S310 to S340 can refer to the content in the previous embodiment, which will not be repeated here.
- Step S350 Obtain a software development kit (SDK) corresponding to the fast application identifier.
- SDK software development kit
- the SDK corresponding to the quick application identifier can be actively acquired and the SDK can be loaded.
- the SDK corresponding to the quick application identifier please refer to the content of the previous embodiment, which will not be repeated here.
- Step S360 Load the SDK on the client.
- step S360 can refer to the content in the previous embodiment, which will not be repeated here.
- the user after loading the SDK, the user can also be prompted to connect to the device and perform the network access process. In addition, the user can also be prompted to delete the client corresponding to the above device. For details, please refer to the content of the above embodiment , I won’t repeat it here.
- Step S370 Arrange entry controls corresponding to all quick applications in the client according to the set rules.
- the portal controls may be arranged so that the user can find the portal controls corresponding to the corresponding device. Therefore, the entry controls corresponding to all quick apps can be arranged according to the set rules.
- step S370 may include:
- Step S371 Classify all the entry controls of the quick application.
- classifying all quick apps may include: classifying the entry controls of all quick apps according to the attribute information of the quick apps, the attribute information includes: the adding time of the quick apps, the manufacturer of the device corresponding to the quick apps, or The frequency of use of fast apps. For example, when the attribute information is the adding time of the quick app, it is divided into multiple time periods according to the time period to which the added time belongs, and each time period is used as a category to classify the entry controls of the quick app.
- the quick app corresponding to the device of the same manufacturer can be used as a category to classify the entry controls of the quick app.
- the attribute information is the frequency of use of the quick application, it can be divided into multiple levels according to the order of the use frequency from high to low, and each level corresponds to a category to classify the entry controls of the quick application.
- Step S372 According to the classification result, move the entry controls of all the quick apps to the folder corresponding to the corresponding classification.
- the classification result is obtained, and then the multiple entry controls of the quick application are moved to the folder corresponding to the corresponding classification according to the classification result.
- the folder can be automatically generated according to the category that appears in the classification result. For example, when five categories of quick application entry controls appear in the classification result, five folders are automatically generated so that the entry controls of different categories of quick application can be placed Into folders corresponding to different categories. After the move is complete, you can also name each folder, either based on the category name of the above classification, or user-defined naming. The specific naming method is not limited.
- the method for adding a quick application is to confirm the quick application identifier corresponding to the purchased at least one device when the purchase record of at least one device purchased through the HTML5 mall page embedded in the client is monitored, and then The entry space corresponding to the quick app logo is added to the interactive interface of the client, and the corresponding relationship between the entry control and the quick app link is established, and the SDK is also loaded to facilitate subsequent network access operations.
- the quick application corresponding to the purchased device can be added to the client, which avoids the user's subsequent need to go through tedious steps to add the quick application and enhance the user experience.
- the entry controls are arranged to increase the cleanliness of the interface so that users can quickly find the corresponding controls.
- the quick application adding device 500 is applied to electronic equipment.
- the quick application adding device 500 includes: a record monitoring module 510, a quick application acquiring module 520, and a quick application adding module 530 .
- the record monitoring module 510 is used to monitor purchase records of devices purchased through the HTML5 mall page embedded in the client; the quick application acquisition module 520 is used to confirm the purchase records of at least one device when the purchase records of at least one device are monitored.
- a quick application identifier corresponding to at least one device; the quick application adding module 530 is configured to add a quick application corresponding to the quick application identifier to the client according to the quick application identifier.
- the quick application adding module 530 includes: a control adding unit 531 and a control binding unit 532.
- the control adding unit 531 is used to add the entry control corresponding to the quick application identifier and display it on the interactive interface of the client;
- the control binding unit 532 is used to establish the entry control and the quick application The corresponding relationship of the quick application link corresponding to the application identifier, where the quick application link is used to access the quick application corresponding to the quick application identifier.
- the device 400 for adding a quick application may also include a toolkit acquisition module and a toolkit loading module.
- the toolkit obtaining module is used to obtain the software development kit (SDK) corresponding to the fast application identifier when the trigger operation of the entry control is monitored; the toolkit loading module is used to load the SDK in the Client.
- SDK software development kit
- the quick application adding module 530 may be specifically configured to: add an entry control corresponding to the quick application identification and display it on the interactive interface of the client; establish the entry control corresponding to the quick application identification The corresponding relationship of the quick application link, the quick application link is used to access the quick application corresponding to the quick application identification; obtain the software development kit (SDK) corresponding to the quick application identification; load the SDK in all The client.
- SDK software development kit
- the toolkit acquisition module or the quick application adding module 530 acquiring the software development kit (SDK) corresponding to the quick application identifier may include: determining whether the client has currently loaded the quick application Identify the corresponding SDK; if it is not loaded, obtain the SDK corresponding to the fast application identifier from the device server; if the SDK has been loaded, obtain the loaded SDK.
- the device 500 for adding a quick application may further include a network access prompt module.
- the network entry prompt module is used for outputting prompt information for prompting the user to enter the network for the device when a trigger operation on the entry control is detected.
- the device 500 for adding a quick application may further include a network access execution module.
- the network access execution module is used to perform network access to the device according to the received network access operation and the SDK.
- the quick application acquisition module 520 may be specifically configured to: acquire device information of the device, where the device information includes at least one of manufacturer information, type information, and model information; based on the device information, Obtain the quick application identifier corresponding to the device.
- the device 500 for adding a quick application may further include an application query module and an application prompt module.
- the application query module is used to query whether the electronic device on which the client is installed has the client corresponding to the device; the application prompt module is used to output a prompt to prompt the user whether to delete the device if the client corresponding to the device is installed The prompt information of the client corresponding to the device.
- the device 500 for adding a quick application may further include an application deletion module.
- the application deletion module is configured to request the system to delete the client corresponding to the device when receiving an instruction to delete the client corresponding to the device.
- the quick application adding device 500 may further include: a control arrangement module.
- the control arrangement module may include an application classification unit and a control movement unit.
- the application classification unit is used to classify the entry controls of all the quick applications; the control moving unit is used to move the entry controls of all the quick applications to the folder corresponding to the corresponding category according to the classification result.
- the application classification unit may be specifically configured to: classify all the entry controls of the quick application according to the attribute information of the quick application, and the attribute information includes: the adding time of the quick application and the information of the device corresponding to the quick application The frequency of use by the manufacturer or fast app.
- the coupling between the modules may be electrical, mechanical or other forms of coupling.
- each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
- the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
- the solution provided by this application monitors the purchase record of a device purchased through the HTML5 mall page embedded in the client, and when the purchase record of at least one device is monitored, confirm the quick application identifier corresponding to the at least one device , According to the quick application identification, add the quick application corresponding to the quick application identification to the client. In this way, when a device is purchased online through the client, the quick application corresponding to the device can be added, saving adding time and improving user experience.
- the electronic device 100 may be an electronic device capable of running application programs, such as a smart phone, a tablet computer, or an e-book.
- the electronic device 100 in this application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs.
- One or more application programs may be stored in the memory 120 and configured to be Or multiple processors 110 execute, and one or more programs are configured to execute the method described in the foregoing method embodiment.
- the processor 110 may include one or more processing cores.
- the processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and calling data stored in the memory 120.
- Various functions and processing data of the electronic device 100 may adopt at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PLA Programmable Logic Array
- the processor 110 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem.
- the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented by a communication chip alone.
- the memory 120 may include random access memory (RAM) or read-only memory (Read-Only Memory).
- the memory 120 may be used to store instructions, programs, codes, code sets or instruction sets.
- the memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions for implementing the following method embodiments, etc.
- the data storage area can also store data (such as phone book, audio and video data, chat record data) created by the terminal 100 during use.
- FIG. 14 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
- the computer-readable medium 800 stores program code, and the program code can be invoked by a processor to execute the method described in the foregoing method embodiment.
- the computer-readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
- the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium.
- the computer-readable storage medium 800 has a storage space for the program code 810 for executing any method steps in the above-mentioned methods. These program codes can be read out from or written into one or more computer program products.
- the program code 810 may be compressed in a suitable form, for example.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (20)
- 一种快应用的添加方法,其特征在于,应用于客户端,所述方法包括:监测通过嵌入所述客户端内的HTML5商城页面购买设备的购买记录;在监测到至少一个设备的购买记录时,确认与所述至少一个设备对应的快应用标识;根据所述快应用标识,将与所述快应用标识对应的快应用添加于所述客户端。
- 根据权利要求1所述的方法,其特征在于,所述将与所述快应用标识对应的快应用添加于所述客户端,包括:将与所述快应用标识对应的入口控件添加并显示于所述客户端的交互界面;建立所述入口控件与所述快应用标识对应的快应用链接的对应关系,所述快应用链接用于访问所述快应用标识对应的快应用。
- 根据权利要求2所述的方法,其特征在于,在所述建立所述入口控件与所述快应用标识对应的快应用链接的对应关系之后,所述方法还包括:在监测到对所述入口控件的触发操作时,获取与所述快应用标识对应的软件开发工具包(SDK,Software Development Kit);将所述SDK加载于所述客户端。
- 根据权利要求1所述的方法,其特征在于,所述将与所述快应用标识对应的快应用添加于所述客户端,包括:将与所述快应用标识对应的入口控件添加并显示于所述客户端的交互界面;建立所述入口控件与所述快应用标识对应的快应用链接的对应关系,所述快应用链接用于访问所述快应用标识对应的快应用;获取与所述快应用标识对应的软件开发工具包(SDK);将所述SDK加载于所述客户端。
- 根据权利要求3或4所述的方法,其特征在于,所述获取与所述快应用标识对应的软件开发工具包(SDK),包括:判断所述客户端当前是否已加载所述快应用标识对应的SDK;如果没有加载,则从设备服务器获取所述快应用标识对应的SDK。
- 根据权利要求5所述的方法,其特征在于,所述获取与所述快应用标识对应的软件开发工具包(SDK),还包括:如果已加载了所述SDK,则获取已加载的所述SDK。
- 根据权利要求3-6任一项所述的方法,其特征在于,在将与所述快应用标识对应的快应用添加于所述客户端之后,所述方法还包括:当检测到对所述入口控件的触发操作时,输出用于提示用户对所述设备进行入网的提示信息。
- 根据权利要求7所述的方法,其特征在于,在所述当检测到对所述入口控件的触发操作时,输出用于提示用户对所述设备进行入网的提示信息之后,所述方法还包括:根据接收到的入网操作以及所述SDK对所述设备进行入网。
- 根据权利要求1-8任一项所述的方法,其特征在于,所述确认与所述至少一个设备对应的快应用标识,包括:获取所述设备的设备信息,所述设备信息包括厂商信息、类型信息以及型号信息中的至少一种;基于所述设备信息,获取与所述设备对应的快应用标识。
- 根据权利要求1-9任一项所述的方法,其特征在于,将与所述快应用标识对应的快应用添加于所述客户端之后,所述方法还包括:查询安装所述客户端的电子设备是否安装有所述设备对应的客户端;如果安装有所述设备对应的客户端,则输出用于提示用户是否删除所述设备对应的客户端的提示信息。
- 根据权利要求10所述的方法,其特征在于,在所述如果安装有所述设备对应的客户端,则输出用于提示用户是否删除所述设备对应的客户端的提示信息之后,所述方法还包括:当接收到指示删除所述设备对应的客户端的指令时,请求系统删除所述设备对应的客户端。
- 根据权利要求1-11任一项所述的方法,其特征在于,在将与所述快应用标识对应的快应用添加于所述客户端之后,所述方法还包括:当检测到对所述快应用的删除操作时,将所述快应用从所述客户端内删除。
- 根据权利要求1-4任一项所述的方法,其特征在于,在将与所述快应用标识对应的快应用添加于所述客户端之后,所述方法还包括:根据设定规则,对所述客户端内的所有快应用对应的入口控件进行排布。
- 根据权利要求13所述的方法,其特征在于,所述根据设定规则,对所述客户端内的所有快应用对应的入口控件进行排布,包括:对所述所有快应用的入口控件进行分类;根据分类结果,将所述所有快应用的入口控件移动至相应分类对应的文件夹中。
- 根据权利要求14所述的方法,其特征在于,所述对所述所有快应用的入口控件进行分类,包括:根据所述快应用的属性信息,对所述所有快应用的入口控件进行分类,所述属性信息包括:快应用的添加时间、快应用对应的设备的厂商、或者快应用的使用频率。
- 一种快应用的添加装置,其特征在于,应用于客户端,所述装置包括:记录监测模块、快应用获取模块以及快应用添加模块,其中,所述记录监测模块用于监测通过嵌入所述客户端内的HTML5商城页面购买设备的购买记录;所述快应用获取模块用于在监测到至少一个设备的购买记录时,确认与所述至少一个设备对应的快应用标识;所述快应用添加模块用于根据所述快应用标识,将与所述快应用标识对应的快应用添加于所述客户端。
- 根据权利要求16所述的装置,其特征在于,所述快应用添加模块包括:控件添加单元以及控件绑定单元,其中,所述控件添加单元用于将与所述快应用标识对应的入口控件添加并显示于所述客户端的交互界面;所述控件绑定单元用于建立所述入口控件与所述快应用标识对应的快应用链接的对应关系,所述快应用链接用于访问所述快应用标识对应的快应用。
- 根据权利要求17所述的装置,其特征在于,所述装置还包括工具包获取模块以及工具包加载模块,其中,所述工具包获取模块用于在监测到对所述入口控件的触发操作时,获取与所述快应用标识对应的软件开发工具包(SDK,Software Development Kit);所述工具包加载模块用于将所述SDK加载于所述客户端。
- 一种电子设备,其特征在于,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求 1-16任一项所述的方法。
- 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-16任一项所述的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/075946 WO2020168570A1 (zh) | 2019-02-22 | 2019-02-22 | 快应用的添加方法、装置、电子设备及存储介质 |
CN201980081078.1A CN113196235A (zh) | 2019-02-22 | 2019-02-22 | 快应用的添加方法、装置、电子设备及存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/075946 WO2020168570A1 (zh) | 2019-02-22 | 2019-02-22 | 快应用的添加方法、装置、电子设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020168570A1 true WO2020168570A1 (zh) | 2020-08-27 |
Family
ID=72143989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/075946 WO2020168570A1 (zh) | 2019-02-22 | 2019-02-22 | 快应用的添加方法、装置、电子设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113196235A (zh) |
WO (1) | WO2020168570A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115633058A (zh) * | 2022-09-30 | 2023-01-20 | 中国第一汽车股份有限公司 | 车载设备的处理方法及处理装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130231991A1 (en) * | 2012-03-05 | 2013-09-05 | Ingersoll-Rand Company | Apparatus, method, and system for conducting a transaction |
CN109284144A (zh) * | 2018-08-27 | 2019-01-29 | 维沃移动通信有限公司 | 一种快应用处理方法及移动终端 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682238B (zh) * | 2017-09-15 | 2020-10-16 | 阿里巴巴(中国)有限公司 | 智能家居平台设备及终端电子设备 |
CN108469968A (zh) * | 2018-02-08 | 2018-08-31 | 维沃移动通信有限公司 | 一种应用程序处理方法及移动终端 |
CN108549568B (zh) * | 2018-04-18 | 2020-01-31 | Oppo广东移动通信有限公司 | 应用入口处理方法、装置、存储介质及电子设备 |
-
2019
- 2019-02-22 WO PCT/CN2019/075946 patent/WO2020168570A1/zh active Application Filing
- 2019-02-22 CN CN201980081078.1A patent/CN113196235A/zh active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130231991A1 (en) * | 2012-03-05 | 2013-09-05 | Ingersoll-Rand Company | Apparatus, method, and system for conducting a transaction |
CN109284144A (zh) * | 2018-08-27 | 2019-01-29 | 维沃移动通信有限公司 | 一种快应用处理方法及移动终端 |
Also Published As
Publication number | Publication date |
---|---|
CN113196235A (zh) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020223854A1 (zh) | 设备配网方法、装置、电子设备及存储介质 | |
US10402483B2 (en) | Screenshot processing device and method for same | |
CN108289110B (zh) | 设备关联方法、装置、终端设备和操作系统 | |
US11204681B2 (en) | Program orchestration method and electronic device | |
US20200357007A1 (en) | Page data acquisition method, apparatus, server, electronic device and computer readable medium | |
US9372885B2 (en) | System and methods thereof for dynamically updating the contents of a folder on a device | |
TW201814510A (zh) | 介面移動方法、裝置、智慧型終端機、伺服器和操作系統 | |
CN109428911A (zh) | 设备控制方法、装置、终端设备和操作系统 | |
CN107948231B (zh) | 基于场景的服务提供方法、系统和操作系统 | |
CN108614689B (zh) | 场景服务的生成方法、装置和终端设备 | |
CN107741844B (zh) | 一种应用安装包的生成方法和装置 | |
WO2020228013A1 (zh) | 账号关联方法、装置、系统、服务器以及存储介质 | |
TW201814545A (zh) | 多服務集成方法、裝置、智慧型終端、伺服器和操作系統 | |
CN109800135B (zh) | 一种信息处理方法及终端 | |
WO2020228033A1 (zh) | Sdk插件的加载方法、装置、移动终端以及存储介质 | |
CN102946343A (zh) | 访问音视频社区虚拟房间的方法和系统 | |
WO2020168568A1 (zh) | 数据处理方法、装置、电子设备及可读存储介质 | |
CN105786455B (zh) | 一种数据处理方法、装置及终端 | |
WO2022228156A1 (zh) | 一种策略编排处理方法、装置、设备、系统及存储介质 | |
CN105183493A (zh) | 网络信息的显示方法和装置 | |
TWI738832B (zh) | 基於場景的應用操作方法、裝置、終端設備和操作系統 | |
WO2020168570A1 (zh) | 快应用的添加方法、装置、电子设备及存储介质 | |
CN111552606B (zh) | 数据处理方法、装置及电子设备 | |
CN107197088A (zh) | 基于安卓移动设备的截图方法与装置 | |
CN112306723B (zh) | 一种应用于小程序的运行信息获取方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19915802 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19915802 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19915802 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.05.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19915802 Country of ref document: EP Kind code of ref document: A1 |