WO2019024709A1 - 用于处理容器的方法、装置和系统 - Google Patents

用于处理容器的方法、装置和系统 Download PDF

Info

Publication number
WO2019024709A1
WO2019024709A1 PCT/CN2018/096770 CN2018096770W WO2019024709A1 WO 2019024709 A1 WO2019024709 A1 WO 2019024709A1 CN 2018096770 W CN2018096770 W CN 2018096770W WO 2019024709 A1 WO2019024709 A1 WO 2019024709A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
package
container
interface content
updated
Prior art date
Application number
PCT/CN2018/096770
Other languages
English (en)
French (fr)
Inventor
郑国斌
杜荆蔚
李春城
沈超
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019024709A1 publication Critical patent/WO2019024709A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to the field of computer software and, in particular, to a method, apparatus and system for processing a container.
  • the user can control the home appliance through the application on the smart terminal.
  • the user can control the operation mode of the air conditioner through the smart phone without manually controlling the operation panel.
  • a control panel ie, a container package
  • the user can control the home appliance through the control panel corresponding to the application.
  • the purpose of updating the control panel is generally achieved by updating the application.
  • the user cannot use the application, only in the application.
  • the application can be used continuously, and the update of the application is generally performed when there is a network, and cannot be updated without the network or the network is poor.
  • the management rules and update rules of different container packages are often different, and it is impossible to uniformly manage all container packages.
  • the container package is all built into the application, so that the memory occupied by the application is relatively large, occupying a relatively large memory of the smart terminal.
  • Embodiments of the present invention provide a method, apparatus, and system for processing a container to at least solve a technology that wastes memory resources when an update of a control panel is required to update an entire application due to a container built in an application. problem.
  • a method for processing a container includes: an application receiving a first triggering operation, the first triggering operation for triggering an application to start loading a container loading interface content; an application In response to the first triggering operation, a package including at least one interface content is remotely acquired and installed at a predetermined address of the application; and the application displays the interface content in the container loading package.
  • a method for processing a container comprising: an application determining whether an update package including updated interface content exists, wherein the updated interface content can be loaded by an application container
  • the application obtains the update package remotely in the case where it is determined that the update package exists; and the application updates the package including at least one interface content that the application has installed by using the update package.
  • a method for processing a container comprising: receiving a query request from an remote terminal for an update package including updated interface content; querying whether an update package exists based on the query request ; and send the results of the query to the remote terminal.
  • a method for processing a container comprising: initiating a container loading interface; acquiring a package including at least one interface content; and displaying the interface content in the container loading package.
  • a storage medium comprising a stored program, wherein a method of controlling a device in which the storage medium is located to execute a processing container is controlled while the program is running.
  • a processor for running a program wherein a method of processing a container is executed while the program is running.
  • a system for processing a container comprising: a processor; and a memory coupled to the processor for providing an instruction to the processor to process the following processing steps: receiving by the application a first triggering operation, the first triggering operation is used to trigger the container loading interface content included in the application startup; and the package includes at least one interface content remotely acquired by the application in response to the first triggering operation, and is installed to the application At the predetermined address; and through the application to display the contents of the interface in the container load package.
  • a system for processing a container comprising: a processor; and a memory coupled to the processor for providing an instruction to the processor to process the following processing steps: determining by the application Whether there is an update package including updated interface content, wherein the updated interface content can be loaded by the application's container; the update package is obtained remotely by the application in the case where it is determined that the update package exists; and the application is updated by the application using the update package A package that has been installed to include at least one interface content.
  • a system for processing a container comprising: a processor; and a memory coupled to the processor for providing an instruction to the processor to process the following steps: receiving from the remote terminal
  • the query includes an update request for the update package of the interface content; whether the update package exists based on the query request; and the result of the query is sent to the remote terminal.
  • a system for processing a container comprising: a processor; and a memory coupled to the processor for providing an instruction to the processor to process a container loading interface Obtaining a package including at least one interface content; and displaying the interface content in the container loading package.
  • an apparatus for processing a container comprising: a receiving module, configured to receive a first triggering operation by an application, where the first triggering operation is used to trigger an application startup
  • the first loading module is configured to: Used to display the content of the interface in the container load package by the application.
  • an apparatus for processing a container comprising: a first determining module, configured to determine, by an application, whether an updated container exists, wherein the updated container is used to load an updated Interface content; a first obtaining module, configured to obtain an updated container from a remote location by the application in the case that it is determined that the updated container exists; and a first update module, configured to use the update package to update the application that has been installed by the application A package that includes at least one interface content.
  • an apparatus for processing a container comprising: an update submodule, configured to receive a query request from an remote terminal for an update package including updated interface content; a query module And a method for querying whether an update package exists based on the query request, and a sending module, configured to send the result of the query to the remote terminal.
  • an apparatus for processing a container comprising: a startup module for launching a container loading interface; an acquisition module for acquiring a package including at least one interface content; and loading A module for displaying content through the interface in the container load package.
  • the application receives the first triggering operation, and the first triggering operation is used to trigger the container loading interface content included in the application startup; the application responds to the first triggering operation from the remote Obtaining a package including at least one interface content, and installing to a predetermined address of the application; and the application uses the interface content in the container loading package to display, and only updates the interface loaded by the container during the process of updating the application Content, without the need to update the entire application, thus achieving the technical effect of updating the application on demand, saving user traffic and improving user experience, thereby solving the problem of updating the control panel caused by the container built into the application. Technical issues that need to update the entire application, wasting memory resources.
  • FIG. 1 is a schematic diagram of a display interface of an optional application according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an optional control panel of a smart home appliance according to an embodiment of the invention.
  • FIG. 3 is a schematic diagram of an optional control panel of a smart home appliance according to an embodiment of the invention.
  • FIG. 4 is a flow chart of an alternative method for processing a container in accordance with an embodiment of the present invention.
  • Figure 5 is a flow chart of a method for processing a container in accordance with an embodiment of the present invention.
  • FIG. 6 is a schematic structural view of an apparatus for processing a container according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of a method for processing a container in accordance with an embodiment of the present invention.
  • Figure 8 is a schematic structural view of an apparatus for processing a container according to an embodiment of the present invention.
  • FIG. 9 is a flow chart of a method for processing a container in accordance with an embodiment of the present invention.
  • Figure 10 is a schematic view showing the structure of an apparatus for processing a container according to an embodiment of the present invention.
  • FIG. 11 is a block diagram showing the hardware structure of a computer terminal according to an embodiment of the present invention.
  • FIG. 12 is a flow chart of a method for processing a container in accordance with an embodiment of the present invention.
  • Figure 13 is a schematic view showing the structure of an apparatus for processing a container according to an embodiment of the present invention.
  • Smart Cloud referred to as the cloud
  • the system can connect devices to clients on user terminals, so that users can pass through the client.
  • the interface intuitively checks the running status of the device, and the user can also issue work orders to the device through the interface on the client.
  • the cloud has powerful data storage, computing and data interface services.
  • Client refers to an application software installed on a terminal (including but not limited to a smart phone, a smart tablet, a personal computer, etc.), and the application software can synchronously update the state of the remotely located device through the network, and the device is Perform remote control.
  • Container refers to the carrier of different types of interfaces loaded in the smart client.
  • the RN page referred to as React Native, which replays the local page, refers to the local page developed by the JavaScript language
  • the H5 page the abbreviation of Html5
  • the Native page local page, which refers to the local page developed in languages such as Objective-C, Java, etc.
  • the Native page correspond to the RN container, the H5 container, and the Native container.
  • a container package refers to a compressed file after processing the code of different types of interfaces (for example, RN page, H5 page, Native page) loaded in the smart client.
  • the user has no perception that the user is not interrupted or affected during the process of using the client. For example, during the process of updating the client, the user still uses the client normally, and does not have an awareness of the background update process.
  • Equipment including smart devices and/or non-smart devices, such as refrigerators, washing machines, air conditioners, rice cookers, and the like.
  • the device control panel in the present application, refers to a display interface in which the user can observe the state of the device and control the device by interacting with the interface.
  • an embodiment of a method for processing a container is also provided.
  • the dynamic configuration of the container package can be realized by the solution proposed in the present application, that is, the change of the control panel is relatively small.
  • you only need to update the container no need to update the entire application.
  • the solution proposed by the present application can download the container according to the user's needs, thereby maximizing the size of the application, thereby saving the user's traffic.
  • smart home appliances have been widely used in people's daily life. Users can remotely control smart home appliances through smart terminals. For example, users can control air conditioners by controlling air conditioner applications on smart phones. Adjust the temperature, humidity, etc. in the room.
  • FIG. 1 a schematic diagram of the display interface of an optional application shown in FIG. 1 is displayed by the user.
  • the interface can view information about smart home appliances (for example, the name and model of the home appliance and whether it is online), and can select smart appliances that need to be controlled. For example, the user chooses to control the 9 Yang Soymilk machine.
  • 2 is a schematic diagram of an optional control panel of the smart home appliance, and the user can control the smart home appliance through the control panel.
  • buttons such as the "pause” button and the “stop” button
  • the modified control interface is shown in Figure 3.
  • the developer needs to change the contents of the container corresponding to the 9 Yang Soymilk. Since the container is built into the application in the prior art, at this time, the developer needs to update the entire application, and after completing the update of the application, the developer releases it to the cloud. If the user wants to use the latest control panel, they need to download the entire application from the cloud and update the application installed on the smart terminal.
  • the applicant has proposed a flow chart of an alternative method for processing a container as shown in FIG. In FIG. 4, by checking whether the cloud includes an update container package, in the case of determining that there is an updated container package in the cloud, downloading the container package to the specified path, and further determining whether the container package is valid, in the updated When the container package is valid, the updated container package is used to update the container package already installed in the application. After that, when the user opens the control panel, the application can load the corresponding container package directly from the specified path. In the above process, only the container package loaded in the container needs to be updated, and the entire application is not required to be updated, thereby realizing the on-demand updating of the application and saving user traffic. And since the application does not need to be updated during the process of updating the container package, the entire process is a user-unaware, thereby improving the technical effect of the user experience.
  • FIG. 5 is a flowchart of a method for processing a container according to a first embodiment of the present invention. The method specifically includes the following steps:
  • Step S502 the application receives a first triggering operation, and the first triggering operation is used to trigger a container loading interface included in the application startup.
  • the application is a client installed on the smart terminal
  • the first triggering operation may be a user's operation on the application, for example, an operation of the user to open the application, or an operation of the user clicking a button in the application.
  • the smart terminal may be, but not limited to, a smart phone, a tablet, a computer, and other wearable devices.
  • the user clicks on the application installed on the smart terminal, and the application starts to start.
  • the application's background processing program detects that the application is started.
  • the application The background handler of the program generates a trigger signal for indicating that the application needs to load the display interface, wherein the application loads the display interface by loading the container package in the container.
  • the user clicks the button on the display interface of the application to enter the next display interface, and the application's background processing program detects that the application has occurred.
  • the jump of the display interface is displayed.
  • the background processing program of the application generates a trigger signal, and the application loads the display interface corresponding to the container package according to the trigger signal.
  • the trigger signal may be used to indicate that the application needs to load the container package, and carries the identification information of the container package to be loaded.
  • the container corresponding to the container package loaded by the application is different, that is, the application loads the container package corresponding to the display interface, wherein the display interface is In the case of the RN (React Native) page, the container loaded by the application is the RN container; when the display interface is the H5 page, the container loaded by the application is the H5 container; when the display interface is the Native page, Next, the container loaded by the application is a Native container.
  • the display interface may be, but not limited to, an RN page, an H5 page, and a Native page.
  • the container loaded by the application may be, but not limited to, an RN container, an H5 container, and a Native container.
  • the application program loads the container package only when receiving the first triggering operation, and the container package can be loaded according to the user's needs. Only the display interface that the user needs to use can load the container package, thereby Maximizes the memory used by the application, which in turn saves user traffic.
  • Step S504 the application acquires a package (ie, a container package) including at least one interface content from the remote in response to the first triggering operation, and installs to a predetermined address of the application.
  • a package ie, a container package
  • the foregoing remote may be, but not limited to, a smart cloud or a cloud
  • an application may obtain a container package of a display interface to be loaded through a smart cloud or a cloud, and load a plurality of different contents included in the container package through the container.
  • a type of page wherein different types of pages can be, but are not limited to, RN pages, H5 pages, and Native pages.
  • the above predetermined address is an address set in advance for mounting the container package.
  • the application after the user clicks on the application installed on the smart terminal, that is, during the startup of the application, the application sends a trigger signal to the smart cloud or the cloud, and the smart cloud or the cloud receives the After the trigger signal, the trigger signal is parsed, and the request for requesting the container package is further determined according to the parsed result.
  • the container package to be loaded is further determined according to the identification information in the trigger signal.
  • the smart cloud or the cloud sends the determined container package to the smart terminal, and installs the container package at the predetermined address of the smart terminal, and finally the application on the smart terminal can load the container package, thereby displaying the container package Corresponding display interface.
  • the container package is obtained from the smart cloud or the cloud, and the obtained container package is loaded, and therefore, the container package is updated.
  • the container package update is relatively small, only the container package needs to be updated, and the entire application is not required to be updated, thereby further saving user traffic and saving memory resources.
  • Step S506 the application uses the container to load the interface content in the at least one package for display.
  • the application installs the obtained container package in a specified path of the smart terminal, after the user opens the application, or in the user's display interface to the application. After the corresponding control performs the corresponding operation and jumps to the next display interface, the display interface of the application will obtain the corresponding display interface according to the container package, that is, the application can directly obtain the corresponding display from the path of the installation container package. interface.
  • the application can still display the corresponding display interface without the network or the network signal is relatively poor, that is, the application at this time
  • the program can directly load the display interface from the specified path of the smart terminal without re-downloading the container package, thereby saving user traffic.
  • the first trigger operation is received by the application, and in response to the first trigger operation, then the package including the plurality of interfaces is acquired from the remote, and the reservation to the application is installed. At the address, finally, the interface in the container loading package is used for display, wherein the first triggering operation is used to trigger the container loading interface included in the application startup.
  • the present application only updates the container package corresponding to the display interface, and does not need to update the entire application, especially the content of the display interface. In the case of small changes, user traffic can be saved in a large amount.
  • only the container package of the display interface to be displayed by the application is loaded, that is, only the container package of the display interface that the user needs to use is updated, and all the updated container packages are not required to be completely downloaded, thereby further saving.
  • User traffic Since the process of updating the container package does not require an update to the application, the entire process is user-insensitive, thereby improving the user experience.
  • the container package that needs to be updated is directly downloaded to the local area of the smart terminal, the application can still load the display interface without a network or a poor network signal, thereby improving the user's reflection effect.
  • the foregoing embodiment of the present application can achieve the purpose of updating only the container package in the process of updating the application without updating the entire application, thereby implementing the application update on demand, saving user traffic, and improving users.
  • the technical effect of the experience effect thereby solving the technical problem that the container is built in the application and needs to update the entire application when updating the control panel, thereby wasting memory resources.
  • the application in the case of loading the updated container, performs the following operations within a predetermined time:
  • Step S50 determining whether there is an update package including the updated interface content, wherein the updated interface content is used to be loaded by the container;
  • Step S52 in the case that it is determined that the update package exists, the update package is obtained from the remote;
  • step S54 the package that the application has installed is updated by using the update package.
  • the application compares the identification information of the container package already stored on the smart terminal local with the container package having the same identification information on the smart cloud or the cloud, and determines whether there is a difference between the two, and determines that there is a difference between the two. Next, determine that there is an update package in the smart cloud or the cloud. At this time, the application obtains the update package from the smart cloud or the cloud, and loads the container package that has been downloaded to the local device of the smart terminal, thereby completing the display interface of the application. Update.
  • the above update package is an updated container package.
  • the predetermined time includes at least one of the following times: when the application starts; when the application jumps from the background to the foreground; when the preset timing time is reached; and in the application from When receiving a message with an update package remotely.
  • the application detects whether the container package on the smart terminal matches the corresponding container package on the smart cloud or the cloud, and if not, the container package An update has occurred and the application loads the updated container package at this time.
  • the user operates the control on the display interface of the application to cause the display interface of the application to switch or jump.
  • the application detects that the display interface has switched or jumped, the application generates a trigger signal, and obtains a container package of the smart cloud or the cloud according to the trigger signal, and further applies the container package on the smart terminal to the container on the smart cloud or the cloud.
  • the package is compared, and if the comparison result indicates a difference between the two, it is determined that the container package has been updated, and the container package of the application is updated by using the container package of the smart cloud or the cloud.
  • a timing time for updating the container package in the application can be an absolute time (for example, 9:00 am every day) or a relative time ( For example, every 2 hours).
  • the timer in the background processor of the application can determine whether the timing time is reached.
  • the application generates a trigger signal, and acquires a container package of the smart cloud or the cloud according to the trigger signal, thereby completing the container package.
  • the process of updating the container package is similar to the above, and will not be described here.
  • the moment when the above application receives the message with the updated container package may be a message with an updated container package sent by the smart cloud or the cloud.
  • the smart cloud or the cloud can generate an update message of the container package update, and send the update message to the smart terminal, and the application receives the update message.
  • the container package is updated.
  • the application can determine whether there is an updated container package, and the smart cloud or the cloud can also determine whether there is an updated container package.
  • the predetermined time may be a combination of any one or more of the above four times, for example, determining whether there is an updated container package when the application is started, and if not, continuing to judge that the application jumps from the background. Whether there is an updated container package when going to the foreground, if not, further judge whether there is an updated container package when the preset timing time is reached, and so on.
  • the priority of the four times is not limited to the priority listed in the above content, and the priority may be set by the developer.
  • the application after obtaining the update to the container, the application further performs the following steps:
  • Step S56 after obtaining the update package, the application verifies the validity of the update package.
  • step S58 the application updates the package that the application has installed by using the update package, if the verification update package is valid.
  • the application obtains the container package information of the updated container package, and verifies the container package information, that is, verifies the validity of the updated container package, wherein the following aspects can be obtained.
  • the application obtains the container package information of the updated container package, and verifies the container package information, that is, verifies the validity of the updated container package, wherein the following aspects can be obtained.
  • To verify the validity of the updated container package whether the updated container package is compatible with the application, whether the updated container package has been maliciously tampered with, whether the updated container package contains a virus, and whether the updated container package is a useless container package.
  • the updated container package is compatible with the application, it is determined that the updated container package is valid; if the updated container package is not maliciously tampering, it is determined that the updated container package is valid; if the updated container package does not contain a virus, Make sure that the updated container package is valid; if the updated container package is not a useless container package, then it is determined that the updated container package is valid. In the case where it is determined that the updated container package is valid, the application's container is updated according to the updated container package.
  • the loading of the at least one container by the application comprises: the application loading the interface content directly from the predetermined address for display by using the container in response to the received second triggering operation.
  • the application directly obtains the corresponding container package from the predetermined address of the application, and loads the display interface according to the container package. It is easy to note that since the container package is directly loaded from the predetermined address, that is, the container package is not required to be downloaded and installed again through the network, the above embodiment can effectively increase the opening speed of the display interface and reduce the opening time of the user waiting interface. , thereby improving the user experience.
  • the operation of the application to update the package that the application has installed by using the update package includes installing the update package to a predetermined address.
  • the application deletes the old container package and installs the updated container package at the address of the old container package, so that the application passes through the old container package.
  • the address can load the updated container package, that is, there is no need to change the path of the application loading container package in this process, thereby reducing the workload of the developer and improving the reliability of the system operation.
  • the method for processing a container further comprises: the application, in response to the received third triggering operation, using the container to load the updated interface content directly from the predetermined address for display.
  • the application cannot download the container package at this time, but the updated container package can be obtained from the predetermined address of the application, and loaded according to the updated container package.
  • UI the user can still see the display interface in an environment where the network signal or the network signal is relatively poor, thereby improving the user experience.
  • the above containers may be a plurality of containers of different types.
  • Different types of containers include, but are not limited to, RN containers, H5 containers, and Native containers. Since the management rules used by different types of containers are the same, that is, in the present application, the rules for the application to load the containers are the loading rules mentioned above. Use uniform management rules for different types of containers to enable applications to better manage containers.
  • the updated interface content can be multiple interface content for different types of containers.
  • a container package can include the contents of an RN page, an H5 page, and a Native page.
  • the pages of different types of containers are managed by the same management rules.
  • the method for processing a container further comprises: the application obtaining a package including the interface content of the control product remotely in response to the operation of purchasing the product; and the application loading the control product by using the container The package of the interface content is displayed.
  • the application sends the purchase information to the remote (ie, smart cloud or cloud), and the smart cloud or the cloud receives the purchase information.
  • the container package of the interface corresponding to the purchase information is queried, and the container package is sent to the smart terminal.
  • the smart terminal stores the container package in a predetermined address, and the application program Obtain the container package of the purchase interface in the predetermined address, and install the container package.
  • the application loads the container package through the container to display the interface.
  • the application receives at least one container package from the remote before starting. That is, in the case of the initial startup of the application, the application uses the default container package to load the display interface. After the display interface is loaded, the application performs an update operation on the container package at a predetermined time.
  • the application when the application is launched, the application pre-downloads the control panel of the currently best-selling smart device into the application, completes the registration of the application (or client), and registers the smart device. After binding with the application, the user can use the latest control panel during the process of controlling the smart device through the display interface in the application, without waiting, thereby improving the user experience.
  • the application is in the process of starting, the application jumps from the background to the foreground, reaches the preset timing time, and when the application receives the message with the updated container package, the container package
  • the update process is relatively short, and during the update process, the user's use of the application is not affected, that is, the application can also implement the timely update of the container package, and the effect of the user without the perceived update during use.
  • the method for processing a container according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but In many cases the former is a better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • an apparatus for processing a container for implementing the method for processing a container of the above-described Embodiment 1, as shown in FIG. 6, the apparatus comprising: a receiving module 601, a first acquisition Module 603 and first load module 605.
  • the receiving module is configured to receive, by the application, a first triggering operation, where the first triggering operation is used to trigger a container loading interface included in the application startup, and the first acquiring module is configured to respond to the first triggering operation by the application, A package including at least one interface content is remotely obtained and installed at a predetermined address of the application; and a first loading module is configured to display, by the application, the interface content in the container loading package.
  • the foregoing receiving module 601, the first obtaining module 603, and the first loading module 605 correspond to the steps S502 to S504 in the first embodiment, and the examples and application scenarios implemented by the three modules and corresponding steps. The same, but not limited to, the content disclosed in the above embodiment 1.
  • the device further includes: a first determining module, a second obtaining module, and a fourth updating module.
  • the first determining module is configured to determine whether there is an update package that includes the updated interface content, where the updated interface content is used to be loaded by the container, and the second obtaining module is configured to obtain the remote update when the update package is determined to exist.
  • first determining module corresponds to step S50 to step S56 in the first embodiment
  • second obtaining module corresponds to step S56 in the first embodiment
  • fourth updating module corresponds to step S50 to step S56 in the first embodiment
  • the three modules are the same as the examples and application scenarios implemented in the corresponding steps.
  • it is not limited to the content disclosed in the first embodiment above.
  • the predetermined time includes at least one of the following times: when the application starts; when the application jumps from the background to the foreground; when the preset timing time is reached; and in the application When the program receives a message with an update package from a remote location.
  • the apparatus for processing a container further includes: a verification module and an update module.
  • the verification module is configured to verify the validity of the update package after the update package is obtained by the application
  • the update module is configured to update the package that the application has installed by using the update package when the update package is valid by the application. .
  • the above-mentioned verification module and the update module correspond to the steps S56 to S58 in the first embodiment, and the two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above-mentioned first embodiment. Public content.
  • the method further includes: a third loading module, configured to display, by the application, the loading interface directly from the predetermined address by using the container in response to the received second triggering operation.
  • the first update module includes: a first installation module, configured to install the update package to a predetermined address.
  • the first update module further includes: a fourth loading module, configured to load, by the application, the updated interface content directly from the predetermined address by using the container in response to the received third triggering operation. display.
  • the containers are a plurality of containers of different types.
  • the updated interface content is a plurality of interface content for different types of containers.
  • the apparatus for processing the container further includes: a third obtaining module, configured to remotely acquire, by the application, a package including the interface content of the control product in response to the operation of purchasing the product; and A five-loading module for displaying, by the application, a package that loads the interface content including the control product by using the container.
  • a method for processing a container such as a flow chart of a method for processing a container as shown in FIG. 7, the method specifically comprising the following steps:
  • Step S702 the application determines whether there is an update package including the updated interface content, wherein the updated interface content is used to be loaded by the application's container;
  • Step S704 the application obtains the update package from the remote side when it is determined that the update package exists.
  • Step S706 the application updates the package including the at least one interface content that the application has installed by using the update package.
  • the application sends an access request to the remote (ie, the smart cloud or the cloud) every predetermined time to obtain the smart cloud or the cloud corresponding to the identification information of the container package in the application.
  • the identification information of the container package wherein the identification information is used to determine whether the container of the smart cloud or the cloud matches the container package of the application, and the identifier information further includes the information of the container package, including but not limited to the container package.
  • the type of the corresponding container for example, H5 container, RN container, Native container, etc.
  • the contents of the container package for example, H5 container, RN container, Native container, etc.
  • the container package of the smart cloud or the cloud After obtaining the identification information of the container package of the smart cloud or the cloud, determining whether the container package of the smart cloud or the cloud matches the container package of the application, and if the two match, further determining whether the contents of the two are the same. If the contents of the two container packages are the same, it is determined that there is no updated container package, otherwise, it is determined that there is an updated container package.
  • the smart cloud or the cloud detects in real time whether the container package located in the smart cloud or the cloud is updated, and when the detection of the smart cloud or the cloud container package is updated (as long as one container package is updated) After the subsequent steps are performed, it continues to detect whether an access request sent by the application is received, and when the access request is received, the identification information of the container package accessed by the application is sent to the application, which needs to be explained.
  • the container package accessed by the application may not be updated at this time.
  • the application matches the identification information of the received container package with the identification information of the container package stored in the specified address of the application to determine whether there is an updated container package.
  • the container package of the application is updated to the updated container package, and the display interface of the application is loaded based on the updated container package.
  • the application determines whether there is an update package including the updated interface content, and if it is determined that the update package exists, the update package is obtained from the remote, and finally the update package is updated.
  • the package that the application has installed includes at least one interface content, wherein the updated interface content is used to load through the application's container.
  • the present application only updates the container package corresponding to the display interface, and does not need to update the entire application, especially the content of the display interface. In the case of small changes, user traffic can be saved in a large amount.
  • the present application only the container package of the display interface to be displayed by the application is loaded, that is, only the container package of the display interface that the user needs to use is updated, and all the updated container packages are not required to be completely downloaded, thereby further saving. User traffic.
  • the container package that needs to be updated is directly downloaded to the local area of the smart terminal, the application can still load the display interface without a network or a poor network signal, thereby improving the user's reflection effect.
  • the foregoing embodiment of the present application can achieve the purpose of updating only the container in the process of updating the application without updating the entire application, thereby implementing the application update on demand, saving user traffic and improving user experience.
  • the technical effect of the effect further solves the technical problem that the entire application is updated when the control panel is updated due to the built-in container in the application, thereby wasting memory resources.
  • the method of processing a container further includes the following steps:
  • Step S80 After obtaining the update package, the application verifies the validity of the update package.
  • step S82 the application updates the package that the application has installed by using the update package, if the verification update package is valid.
  • whether the updated container package is valid can be determined by verifying whether the updated container package meets the preset condition, wherein the preset condition may be, but not limited to, the following four types:
  • the application's container package is updated according to the updated container package.
  • the operation of the application determining whether there is an updated container package is performed at least one of the following times: when the application starts; when the application jumps from the background to the foreground; when the preset timing is reached Time when; and when the application receives a message with an update package.
  • the updated interface content is multiple interface content for different types of containers.
  • the operation of the application to update the package that the application has installed with the update package includes installing the update package to the address of the already installed package.
  • the application deletes the old container package and installs the updated container package at the address of the old container package, so that the application passes through the old container package.
  • the address can load the updated container package, that is, there is no need to change the path of the application loading container package in this process, thereby reducing the workload of the developer and improving the reliability of the system operation.
  • the method for processing a container further comprises: the application, in response to the received triggering operation, utilizing the container to load the updated interface content directly from the address for display.
  • the updated interface content is a plurality of interface content for different types of containers.
  • the application cannot download the container package at this time, but the updated container package can be obtained from the predetermined address of the application, and loaded according to the updated container package.
  • UI the user can still see the display interface in an environment where the network signal or the network signal is relatively poor, thereby improving the user experience.
  • At least one container containing the container package is at least one container of a different type. Since the management rules used by different types of containers are the same, that is, in the present application, the rules for the application to load the containers are the loading rules mentioned above. Use uniform management rules for different types of containers to enable applications to better manage containers.
  • a device for processing a container for implementing the method for processing a container of the above-described Embodiment 3, as shown in FIG. 8, the device comprising: a first determining module 801, An update module 803 and a second update module 805.
  • the first determining module 801 is configured to determine, by the application, whether there is an update package that includes the updated interface content, where the updated interface content is used to be loaded by the application, and the first obtaining module 803 is configured to pass the application. In the case that it is determined that the update package exists, the update package is obtained from the remote; the second update module 805 is configured to update, by the application, the package including the at least one interface content that the application has installed by using the update package.
  • first determining module 801, first obtaining module 803, and second updating module 805 correspond to steps S702 to S706 in Embodiment 3, and examples implemented by the three modules and corresponding steps are
  • the application scenario is the same, but is not limited to the content disclosed in the third embodiment above.
  • the apparatus for processing a container further includes: a first verification module and a third update module.
  • the first verification module is configured to verify the validity of the update package after the update package is obtained by the application
  • the third update module is configured to update the application by using the update package when the verification update package is valid by the application. The package has been installed.
  • the operation of the application determining whether there is an updated container is performed at least one of the following times: at the time the application is launched; when the application jumps from the background to the foreground; upon arrival Pre-set timing time; and when the application receives a message with an update packet from a remote location.
  • the updated interface content is a plurality of interface content for different types of containers.
  • the first update module includes: a first installation module that installs the update package to the address of the already installed package.
  • the apparatus for processing a container further includes: a first loading module, configured to display, by the application, the updated interface content by loading the updated interface content from the address in response to the received triggering operation by the application. .
  • the updated interface content is a plurality of interface content for different types of containers.
  • a method for processing a container such as a flow chart of a method for processing a container as shown in FIG. 9, the method specifically comprising the following steps:
  • Step S902 receiving a query request from the remote terminal for the update package including the updated interface content, wherein the updated interface content is used to be loaded by the container of the application on the remote terminal;
  • Step S904 querying whether there is an update package based on the query request
  • Step S906 the result of the query is sent to the remote terminal.
  • the remote terminal (for example, the smart terminal, including but not limited to a smart phone, a tablet, a computer, etc.) sends a query request for querying the updated container package to the cloud, wherein the query request includes the remote
  • the container package information of the container package in the terminal matches the container package information of the container package in the remote terminal with the container package information of the corresponding container package in the cloud. If the two match, the cloud container package does not exist. Update, in the case of two mismatches, the cloud container package has been updated.
  • the cloud sends the query result to the remote terminal. In the case that the container package in the cloud is updated, the cloud also sends the updated container package information to the remote terminal.
  • the present application only updates the container package corresponding to the display interface, and does not need to update the entire application, especially the content of the display interface. In the case of small changes, user traffic can be saved in a large amount.
  • the present application only the container package of the display interface to be displayed by the application is loaded, that is, only the container package of the display interface that the user needs to use is updated, and all the updated container packages are not required to be completely downloaded, thereby further saving. User traffic.
  • the container package that needs to be updated is directly downloaded to the local area of the smart terminal, the application can still load the display interface without a network or a poor network signal, thereby improving the user's reflection effect.
  • the foregoing embodiment of the present application can achieve the purpose of updating only the container in the process of updating the application without updating the entire application, thereby implementing the application update on demand, saving user traffic and improving user experience.
  • the technical effect of the effect further solves the technical problem that the entire application is updated when the control panel is updated due to the built-in container in the application, thereby wasting memory resources.
  • the method for processing a container further comprises transmitting the update package to the remote terminal based on a download request from the remote terminal.
  • the remote terminal after determining that the updated container package exists in the cloud, the remote terminal sends a download request to the cloud to request to download the updated container package, where the download request includes the identifier information of the updated container package, and the cloud receives the download request.
  • the container package matching the identification information is found according to the identification information in the download request, and the container is sent to the remote terminal, and after receiving the updated container package, the remote terminal installs the updated container package in the predetermined address.
  • the application on the remote terminal can load the updated container package from the predetermined address and display a display interface corresponding to the updated container package.
  • the method for processing a container further comprises:
  • Step S90 detecting whether an update package exists
  • Step S92 when an update packet is detected, a message about the update package is sent to the remote terminal.
  • the cloud detects in real time whether there is an updated container package (ie, an update package) in the local area, and if it detects that there is an updated container package, sends a message about the updated container package to the remote terminal. After receiving the message about the updated container package, the remote terminal sends a download request to the cloud, downloads the updated container package, installs the updated container package, installs it, and loads the display interface according to the installed container package. .
  • an updated container package ie, an update package
  • the updated interface content is a plurality of interface content for different types of containers.
  • the method for processing a container further comprises: in response to an operation of purchasing a product, acquiring a second update package including an interface content of the control product; and transmitting a message to the second remote terminal, indicating The second remote terminal acquires the second update package.
  • the online shopping mall sends the information of the purchased product to the smart
  • the smart cloud or the cloud queries the update package (ie, the second update package) that matches the purchased product, and sends a download message to the second remote terminal, the second remote
  • the terminal downloads the updated container package (ie, the update package) obtained from the purchase signal from the smart cloud or the cloud.
  • a device for processing a container for implementing the method for processing a container of the above-described Embodiment 5, as shown in FIG. 10, the device comprising: a receiving module 1001, a query module 1003 And a sending module 1005.
  • the receiving module 1001 is configured to receive a query request for the update package including the updated interface content from the remote terminal, and the query module 1003 is configured to query whether the update package exists based on the query request, and the sending module 1005 is configured to: The result is sent to the remote terminal.
  • the foregoing receiving module 1001, the querying module 1003, and the sending module 1005 correspond to steps S902 to S906 in the embodiment 5, and the three modules are the same as the examples and application scenarios implemented by the corresponding steps, but not It is limited to the content disclosed in the above fifth embodiment.
  • the apparatus for processing a container further includes: a second sending module, configured to send the update package to the remote terminal based on the download request from the remote terminal.
  • the apparatus for processing a container further includes: a detection module and a third transmission module.
  • the detecting module is configured to detect whether an update package exists
  • the second sending module is configured to send a message about the update package to the remote terminal when the update package is detected.
  • the updated interface content is a plurality of interface content for different types of containers.
  • step S90 to step S92 in the embodiment 5 correspond to step S90 to step S92 in the embodiment 5, and the two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above embodiments.
  • the updated interface content is a plurality of interface content for different types of containers.
  • the apparatus for processing a container further includes: a third acquisition module and a fourth acquisition module.
  • the third obtaining module is configured to obtain a second update package including the interface content of the control product in response to the operation of purchasing the product, and a fourth obtaining module, configured to send a message to the second remote terminal, indicating the second remote terminal Get the second update package.
  • Embodiments of the present invention may provide a computer terminal, which may be any one of computer terminal groups.
  • the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.
  • the computer terminal may be located in at least one network device of the plurality of network devices of the computer network.
  • Fig. 11 is a block diagram showing the hardware configuration of a computer terminal.
  • computer terminal A may include one or more (shown 112a, 112b, ..., 112n in the figure) processor 112 (processor 112 may include, but is not limited to, a microprocessor MCU or programmable A processing device such as a logic device FPGA, a memory 114 for storing data, and a transmission device 116 for communication functions.
  • processor 112 may include, but is not limited to, a microprocessor MCU or programmable A processing device such as a logic device FPGA, a memory 114 for storing data, and a transmission device 116 for communication functions.
  • it can also include: display, input/output interface (I/O interface), universal serial bus (USB) port (which can be included as one of the ports of the I/O interface), network interface, power supply And / or camera.
  • I/O interface input/output interface
  • USB universal serial bus
  • FIG. 11 is merely illustr
  • processors 112 and/or other data processing circuits may be referred to herein generally as "data processing circuits.”
  • the data processing circuit may be embodied in whole or in part as software, hardware, firmware or any other combination.
  • the data processing circuitry can be a single, separate processing module, or incorporated in whole or in part into any of the other components in computer terminal A.
  • the data processing circuit is controlled as a processor (e.g., selection of a variable resistance terminal path connected to the interface).
  • the processor 112 may call the memory stored information and the application program by the transmission device to perform the following steps: receiving, by the application, a first triggering operation, the first triggering operation is used to trigger the application to start the included container loading interface;
  • the program acquires a package including at least one interface content from a remote location and installs it to a predetermined address of the application in response to the first triggering operation; and displays the content of the interface in the container loading package by the application.
  • the memory 114 can be used to store software programs and modules of the application software, such as program instructions/data storage devices corresponding to the method for processing containers in the embodiment of the present application, and the processor 112 runs the software programs and modules stored in the memory 114. Thus, various functional applications and data processing are performed, that is, the above-described method for processing a container is implemented.
  • Memory 114 may include high speed random access memory and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 114 may further include memory remotely located relative to processor 112, which may be coupled to computer terminal A via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 116 is for receiving or transmitting data via a network.
  • the above specific network example may include a wireless network provided by a communication provider of computer terminal A.
  • the transmission device 116 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 116 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the display can be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with the user interface of computer terminal A.
  • LCD liquid crystal display
  • the computer terminal A shown in FIG. 11 above may include hardware components (including circuits), software components (including computer code stored on a computer readable medium), or A combination of both hardware and software components. It should be noted that FIG. 11 is only one example of a specific specific example, and is intended to show the types of components that may be present in the computer terminal A described above.
  • the computer terminal A may execute the program code of the following steps in the method for processing the container: receiving, by the application, a first triggering operation, where the first triggering operation is used to trigger the container loading interface included in the application startup Transmitting, by the application, a package including at least one interface content from a remote location and installing it to a predetermined address of the application; and displaying the interface content in the container by the application using the container.
  • the processor may invoke the memory stored information and the application by the transmission device to perform the steps of: determining whether there is an update package including the updated interface content, wherein the updated interface content is used for loading by the container; and determining that the update package exists Next, get the update package from the remote; and use the update package to update the package that the application has installed.
  • the processor may call the memory stored information and the application by the transmission device to perform the following steps: verifying the validity of the update package after the application obtains the update package; and the application is utilized when verifying that the update package is valid
  • the update package updates the packages that the application has installed.
  • the processor may call the memory stored information and the application by the transmitting device to perform the step of: loading, by the application, the interface content from the predetermined address for display by using the container in response to the received second triggering operation.
  • the processor can call the memory stored information and the application through the transmission device to perform the step of installing the update package to a predetermined address.
  • the processor may invoke the memory stored information and the application by the transmitting device to perform the step of: displaying, by the application, the updated interface content directly from the predetermined address for display by the application in response to the received third triggering operation.
  • the processor may invoke the memory stored information and the application by the transmission device to perform the steps of: obtaining, by the application in response to the operation of purchasing the product, a package including the interface content of the control product from the remote; and loading the container by the application A package that includes the content of the interface that controls the product is displayed.
  • the containers are a plurality of containers of different types.
  • the updated interface content is a plurality of interface content for different types of containers.
  • FIG. 11 is only an illustration, and the computer terminal can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID). ), PAD and other terminal devices.
  • FIG. 11 does not limit the structure of the above electronic device.
  • computer terminal A may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 11, or have a different configuration than that shown in FIG.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be used to save the program code executed by the method for processing a container provided by Embodiment 1 above.
  • the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
  • the storage medium is configured to store program code for performing the following steps: receiving, by the application, a first triggering operation, the first triggering operation is used to trigger a container loading interface included in the application startup Transmitting, by the application, a package including at least one interface content from a remote location and installing it to a predetermined address of the application; and displaying the interface content in the container by the application using the container.
  • the storage medium is configured to store program code for performing the step of determining whether there is an update package including the updated interface content, wherein the updated interface content is for loading by the container;
  • the update package is obtained remotely; and the update package is used to update the package that the application has installed.
  • the storage medium is configured to store program code for performing the following steps: after obtaining the update package by the application, verifying the validity of the update package; and the application verifying that the update package is valid In this case, use the update package to update the packages that the application has installed.
  • the storage medium is configured to store program code for performing: displaying, by the application, the interface content directly from the predetermined address by using the container in response to the received second triggering operation .
  • the storage medium is arranged to store program code for performing the installation of installing the update package to a predetermined address.
  • the storage medium is configured to store program code for performing the following steps: loading the updated interface content directly from the predetermined address by the application in response to the received third triggering operation by the application Display.
  • the storage medium is configured to store program code for performing the following steps: obtaining, by the application in response to the operation of purchasing the product, the package including the interface content of the control product from the remote; and The program uses the container to load a package that includes the contents of the interface that controls the product for display.
  • the updated interface content is a plurality of interface content for different types of containers.
  • Embodiments of the present invention also provide a system for processing a container.
  • the system includes a processor and a memory.
  • the memory is coupled to the processor and is configured to provide the processor with instructions to process the following processing steps:
  • the application receives, by the application, a first triggering operation, the first triggering operation is used to trigger a container loading interface included in the application startup; and the application includes remotely acquiring a package including at least one interface content in response to the first triggering operation, and installing to the package The application's predetermined address; and the application uses the interface content in the container to load the package for display.
  • Embodiments of the present invention also provide a system for processing a container.
  • the system includes a processor and a memory.
  • the memory is coupled to the processor and is configured to provide the processor with instructions to process the following processing steps:
  • Embodiments of the present invention also provide a system for processing a container.
  • the system includes a processor and a memory.
  • the memory is coupled to the processor and is configured to provide the processor with instructions to process the following processing steps:
  • FIG. 12 a flow chart of a method for processing a container, the method specifically comprising the following steps:
  • Step S1202 starting a container loading interface
  • Step S1204 Acquire a package including at least one interface content.
  • step S1206 the interface content in the container loading package is displayed.
  • the application installed on the smart terminal acquires the application through the container when the application is started or when the user controls the display interface of the application by operating the control on the display interface of the application.
  • the interface content of the interface to be displayed wherein the interface content of the display interface is located in the container package, and the application can display the interface content in the container package by loading the interface content in the container package.
  • the above package including at least one interface content is a container package located in the container.
  • the container loading interface is started by the application, and the package including at least one interface content is acquired, and finally the interface content in the container loading package is displayed.
  • the present application only updates the container package corresponding to the display interface, and does not need to update the entire application, especially the content of the display interface. In the case of small changes, user traffic can be saved in a large amount.
  • only the container package of the display interface to be displayed by the application is loaded, that is, only the container package of the display interface that the user needs to use is updated, and all the updated container packages are not required to be completely downloaded, thereby further saving.
  • User traffic Since the process of updating the container package does not require an update to the application, the entire process is user-insensitive, thereby improving the user experience.
  • the container package that needs to be updated is directly downloaded to the local area of the smart terminal, the application can still load the display interface without a network or a poor network signal, thereby improving the user's reflection effect.
  • the foregoing embodiment of the present application can achieve the purpose of updating only the container package in the process of updating the application without updating the entire application, thereby implementing the application update on demand, saving user traffic, and improving users.
  • the technical effect of the experience effect thereby solving the technical problem that the container is built in the application and needs to update the entire application when updating the control panel, thereby wasting memory resources.
  • the above containers are a plurality of containers of different types, and at least one interface content is a plurality of interface contents for different types of containers.
  • the operation of obtaining a package can be obtained as follows:
  • the method for processing a program further includes performing the following operations at a predetermined time:
  • Step S120 determining whether there is an update package including the updated interface content, wherein the updated interface content can be loaded by the container;
  • Step S122 if it is determined that an update package exists, obtaining an update package from a remote location;
  • Step S124 updating the already acquired package by using the update package.
  • the predetermined time includes at least one of the following times: at startup; when jumping from the background to the foreground; when the preset timing time is reached; and when receiving the message with the update package from the remote .
  • the method for processing a program further includes:
  • Step S126 after obtaining the update package, verify the validity of the update package
  • step S128 in the case that the verification update package is valid, the already acquired package is updated by using the update package.
  • the validity of the update package can be verified from the following aspects:
  • the acquired package is updated, which can reduce the installation of the useless package and avoid waste of resources.
  • the acquired package is updated, thereby providing a guarantee for the security of the smart terminal.
  • the updated page content is a plurality of interface contents for different types of containers.
  • the method for processing a program further includes:
  • Step S132 in response to the operation of purchasing the product, acquiring a package including the interface content of the control product from the remote;
  • Step S134 displaying, by using a container, a package including an interface content of the control product.
  • the user can operate the control on the display interface of the smart terminal (for example, clicking an icon of the purchased product on the display interface), at this time, the background processing program of the smart terminal generates a purchase signal, and simultaneously sends the purchase signal to the smart
  • the smart cloud or the cloud parses the received purchase signal, and queries the update package matching the purchase signal according to the parsing result, and sends the download to the smart terminal.
  • the message after receiving the download message, the smart terminal downloads the updated container package (ie, update package) obtained according to the purchase signal from the smart cloud or the cloud.
  • an apparatus for processing a container for implementing the method for processing a container of the above-described Embodiment 12, as shown in FIG. 13, the apparatus comprising: a startup module 1301, an acquisition module 1303 And loading module 1305.
  • the startup module 1301 is configured to start a container loading interface
  • the acquiring module 1303 is configured to obtain a package that includes at least one interface content.
  • the loading module 1305 is configured to display the content of the interface in the container loading package.
  • the foregoing startup module 1301, the acquisition module 1303, and the loading module 1305 correspond to steps S1202 to S1206 in Embodiment 12, and the three modules are the same as the examples and application scenarios implemented by the corresponding steps, but not It is limited to the content disclosed in the above embodiment twelve.
  • the containers are a plurality of containers of different types
  • the at least one interface content is a plurality of interface content for different types of containers.
  • the operation of obtaining the package includes obtaining the package directly from a local predetermined address.
  • the act of obtaining a package includes obtaining the package from a remote location.
  • the means for processing the container at a predetermined time performs the following operations: determining whether there is an update package including the updated interface content, wherein the updated interface content can be loaded by the container; determining that the update package exists In case of, the update package is obtained remotely; and the package that has been acquired is updated with the update package.
  • the predetermined time includes at least one of the following times: at startup; when jumping from the background to the foreground; when the preset timing time is reached; and when receiving the message with the update package from the remote .
  • the apparatus for processing a container further includes: a fifth acquisition module and a fifth update module.
  • the fifth obtaining module is configured to verify the validity of the update package after obtaining the update package
  • the fifth update module is configured to update the already acquired package by using the update package if the verification update package is valid.
  • step S126 corresponds to step S128 in the embodiment 12.
  • the two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above.
  • the updated page content is a plurality of interface contents for different types of containers.
  • the apparatus for processing a container further includes: a sixth acquisition module and a display module.
  • the sixth obtaining module is configured to remotely acquire a package including an interface content of the control product in response to the operation of purchasing the product, and a display module, configured to display, by using the container, a package including the interface content of the control product.
  • the foregoing sixth obtaining module and the display module correspond to the step S132 to the step S134 in the embodiment 12, and the two modules are the same as the example and the application scenario implemented by the corresponding steps, but are not limited to the above embodiment. Twelve publicly available content.
  • Embodiments of the present invention also provide a system for processing a container.
  • the system includes a processor and a memory.
  • the memory is coupled to the processor and is configured to provide the processor with instructions to process the following processing steps:
  • the disclosed technical contents may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program code. .

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Software Systems (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种用于处理容器的方法、装置和系统,该方法包括:应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面(S502),应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处(S504),应用程序利用容器加载包中的界面内容进行显示(S506)。该方法解决了由于容器内置于应用程序中造成的在对控制面板进行更新时需要更新整个应用程序,从而浪费内存资源的技术问题。

Description

用于处理容器的方法、装置和系统
本申请要求2017年08月04日递交的申请号为201710665671.3、发明名称为“用于处理容器的方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机软件领域,具体而言,涉及一种用于处理容器的方法、装置和系统。
背景技术
随着现代科技的快速发展,智能终端越来越多的出现在了人们的日常生活中,给人们的生活、工作和学习提供了方便。尤其是在家电控制方面,用户通过智能终端上的应用程序即可达到控制家用电器的目的,例如,用户可通过智能手机来控制空调的运行模式,而不需要通过手动控制操作面板的方式。
在现有技术中,安装在智能终端上的应用程序中内置有控制面板(即容器包),用户通过应用程序所对应的控制面板可以完成对家电的控制。当家电的运营商需要对控制面板进行更新时,一般通过更新应用程序的方式来达到更新控制面板的目的,然而,在对应用程序进行更新的过程中,用户不能使用应用程序,只有在应用程序更新完之后才能继续使用,并且应用程序的更新一般是在有网络的情况下进行的,而在无网络或者网络较差的情况下,无法更新。此外,不同的容器包的管理规则和更新规则往往是不同的,无法对所有的容器包进行统一的管理。另外,容器包全部内置在应用程序中,使得应用程序所占的内存比较大,占用了智能终端比较大的内存。
针对上述由于容器内置于应用程序中造成的在对控制面板进行更新时需要更新整个应用程序,从而浪费内存资源的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种用于处理容器的方法、装置和系统,以至少解决由于容器内置于应用程序中造成的在对控制面板进行更新时需要更新整个应用程序,从而浪费内存资源的技术问题。
根据本发明实施例的一个方面,提供了一种用于处理容器的方法,包括:应用程序 接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面内容;应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及应用程序利用容器加载包中的界面内容进行显示。
根据本发明实施例的另一方面,还提供了一种用于处理容器的方法,包括:应用程序确定是否存在包括更新的界面内容的更新包,其中更新的界面内容能够通过应用程序的容器加载;应用程序在确定存在更新包情况下,从远程获取更新包;以及应用程序利用更新包更新应用程序已经安装的包括至少一个界面内容的包。
根据本发明实施例的另一方面,还提供了一种用于处理容器的方法,包括:接收来自远程终端的查询包括更新的界面内容的更新包的查询请求;基于查询请求查询是否存在更新包;以及将查询的结果发送至远程终端。
根据本发明实施例的另一方面,还提供了一种用于处理容器的方法,包括:启动容器加载界面;获取包括至少一个界面内容的包;以及容器加载包中的界面内容进行显示。
根据本发明实施例的另一方面,还提供了一种存储介质,该存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行处理容器的方法。
根据本发明实施例的另一方面,还提供了一种处理器,该处理器用于运行程序,其中,程序运行时执行处理容器的方法。
根据本发明实施例的另一方面,还提供了一种处理容器的系统,包括:处理器;以及存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:通过应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面内容;通过应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及通过应用程序利用容器加载包中的界面内容进行显示。
根据本发明实施例的另一方面,还提供了一种处理容器的系统,包括:处理器;以及存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:通过应用程序确定是否存在包括更新的界面内容的更新包,其中更新的界面内容能够通过应用程序的容器加载;通过应用程序在确定存在更新包情况下,从远程获取更新包;以及通过应用程序利用更新包更新应用程序已经安装的包括至少一个界面内容的包。
根据本发明实施例的另一方面,还提供了一种处理容器的系统,包括:处理器;以及存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:接收来自远程终端的查询包括更新的界面内容的更新包的查询请求;基于查询请求查询是否存在更新包;以及将查询的结果发送至远程终端。
根据本发明实施例的另一方面,还提供了一种处理容器的系统,包括:处理器;以及存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:启动容器加载界面;获取包括至少一个界面内容的包;以及容器加载包中的界面内容进行显示。
根据本发明实施例的另一方面,还提供了一种用于处理容器的装置,包括:接收模块,用于通过应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面内容;第一获取模块,用于通过应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及第一加载模块,用于通过应用程序利用容器加载包中的界面内容进行显示。
根据本发明实施例的另一方面,还提供了一种用于处理容器的装置,包括:第一确定模块,用于通过应用程序确定是否存在更新的容器,其中更新的容器用于加载更新的界面内容;第一获取模块,用于通过应用程序在确定存在更新的容器的情况下,从远程获取更新的容器;以及第一更新模块,用于通过应用程序利用更新包更新应用程序已经安装的包括至少一个界面内容的包。
根据本发明实施例的另一方面,还提供了一种用于处理容器的装置,包括:更新子模块,用于接收来自远程终端的查询包括更新的界面内容的更新包的查询请求;查询模块,用于基于查询请求查询是否存在更新包;以及发送模块,用于将查询的结果发送至远程终端。
根据本发明实施例的另一方面,还提供了一种用于处理容器的装置,包括:启动模块,用于启动容器加载界面;获取模块,用于获取包括至少一个界面内容的包;以及加载模块,用于通过容器加载包中的界面内容进行显示。
在本发明实施例中,采用更新容器的方式,应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面内容;应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及应用程序利用容器加载包中的界面内容进行显示,达到了在对应用程序更新的过程中,仅更新容器加载的界面内容,无需更新整个应用程序的目的,从而实现了按需更新应用程序,节省用户流量,提高用户体验效果的技术效果,进而解决了由于容器内置于应用程序中造成的在对控制面板进行更新时需要更新整个应用程序,从而浪费内存资源的技术问题。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明 的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种可选的应用程序的显示界面的示意图;
图2是根据本发明实施例的一种可选的智能家电的控制面板的示意图;
图3是根据本发明实施例的一种可选的智能家电的控制面板的示意图;
图4是根据本发明实施例的一种可选的用于处理容器的方法流程图;
图5是根据本发明实施例的一种用于处理容器的方法流程图;
图6是根据本发明实施例的一种用于处理容器的装置结构示意图;
图7是根据本发明实施例的一种用于处理容器的方法流程图;
图8是根据本发明实施例的一种用于处理容器的装置结构示意图;
图9是根据本发明实施例的一种用于处理容器的方法流程图;
图10是根据本发明实施例的一种用于处理容器的装置结构示意图;
图11是根据本发明实施例的一种计算机终端的硬件结构框图;
图12是根据本发明实施例的一种用于处理容器的方法流程图;以及
图13是根据本发明实施例的一种用于处理容器的装置结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
首先,在对本申请实施例进行描述的过程中出现的部分名词或术语适用于如下解释:
(1)智能云,简称云端,是一套为实现设备的远程控制而提供云服务的后台服务系 统,该系统可将设备与用户终端上的客户端进行连接,从而用户可以通过客户端上的界面直观地查看该设备的运行状态,同时,用户也可通过客户端上的界面向该设备下达工作指令。另外,云端还具有强大的数据存储、计算和数据接口服务能力。
(2)客户端,指用户安装在终端(包括但不限于智能手机、智能平板、个人计算机等)上的应用软件,该应用软件可以通过网络同步更新位于远程的设备的状态,并对该设备进行远程控制。
(3)容器,指智能客户端中所加载的不同类型界面的载体,例如,RN页面(React Native的简称,即重演本地页面,指用JavaScript语言开发的本地页面)、H5页面(Html5的简称,即超文本标记语言第5代)、Native页面(本地页面,指用Objective-C、Java等语言开发的本地页面)所对应的容器分别为RN容器、H5容器、Native容器。
(4)容器包,指智能客户端中所加载的不同类型界面(例如,RN页面、H5页面、Native页面)的代码经过处理后的压缩文件。
(5)用户无感知,指用户在使用客户端的过程中不会被打断或受到影响,例如,在更新客户端的过程中,用户仍正常使用该客户端,并且对后台的更新过程没有感知。
(6)设备,包括智能设备和/或非智能设备,例如,冰箱、洗衣机、空调、电饭煲等。
(7)设备控制面板,在本申请中指显示界面,在该显示界面中,用户可观察到设备的状态,并通过与该界面的交互来控制设备。
(8)路径,指文件保存在设备中的地址。
实施例1
根据本发明实施例,还提供了一种用于处理容器的方法实施例,需要说明的是,通过本申请所提出的方案可以实现容器包的动态配置,即在控制面板的变动比较小的情况下,仅需要更新容器即可,无需更新整个应用程序。此外,本申请所提出的方案可根据用户的需求下载容器,从而可最大化的减少应用程序的大小,进而节省了用户的流量。
随着现代科学技术的快速发展,智能家电在人们的日常生活中得到了广泛的应用,用户可通过智能终端来远程控制智能家电,例如,用户可通过智能手机上控制空调的应用程序来控制空调调节室内的温度、湿度等。
在现有技术中,当用户需要对智能家电进行调节时,需要打开安装在智能终端上的应用程序,如图1所示的一种可选的应用程序的显示界面的示意图,用户通过此显示界面可查看到智能家电的相关信息(例如,家电的名称、型号以及是否处于在线状态), 并可选择需要控制的智能家电,例如,用户选择了控制九阳豆浆机,此时,弹出如图2所示的一种可选的智能家电的控制面板的示意图,用户通过控制面板可完成对智能家电的控制。如果研发人员对需要对控制面板进行更新,例如,需要在图2所示的控制面板上添加两个按钮(例如,“暂停”按钮和“停止”按钮)来控制九阳豆浆机的启停,修改后的控制界面如图3所示。此时,研发人员需要更改九阳豆浆机所对应的容器中的内容。由于在现有技术中容器内置于应用程序中,此时,研发人员需要对整个应用程序进行更新,在完成应用程序的更新之后,研发人员将其发布至云端。如果用户想要使用最新的控制面板,则需要从云端下载整个应用程序,并更新安装在智能终端上的应用程序。而下载整个应用程序,需要耗费用户大量的流量,并且,在下载应用程序的过程中,用户无法继续使用该应用程序,用户的体验效果比较差。此外,在现有技术中,不同容器的管理规则不一样,无法对所有的容器进行统一的管理,即不易对容器进行管理。
在上述业务场景下,申请人经研究提出了图4所示的一种可选的用于处理容器的方法流程图。在图4中,通过查看云端是否存在包括更新容器包,在确定云端存在更新的容器包的情况下,将容器包下载到指定的路径中,并进一步确定容器包是否具有有效性,在更新的容器包具有有效性的情况下,利用更新的容器包更新应用程序中已经安装的容器包。在此之后,当用户打开控制面板时,应用程序可直接从指定的路径中加载对应的容器包。在上述过程中,只需要更新加载于容器中容器包即可,而不需要对整个应用程序进行更新,从而实现了按需更新应用程序,节省用户流量。并且由于在更新容器包的过程不需要对应用程序进行更新,因此整个过程是用户无感知的,从而提高用户体验效果的技术效果。
具体的,根据本发明实施例,提供了如图5所示的用于处理容器的方法。图5是根据本发明实施例一的用于处理容器的方法流程图,该方法具体包括如下步骤:
步骤S502,应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面。
需要说明的是,应用程序为安装在智能终端上的客户端,第一触发操作可以为用户对应用程序的操作,例如,用户打开应用程序的操作,或者用户点击应用程序中的按钮的操作。其中,上述智能终端可以为但不限于智能手机、平板、计算机以及其他可穿戴设备。
在一种可选的实施例中,用户点击安装在智能终端上的应用程序,应用程序开始启动,在应用程序启动的过程中,应用程序的后台处理程序检测到应用程序启动,此时, 应用程序的后台处理程序生成触发信号,该触发信号用于指示应用程序需要加载显示界面,其中,应用程序通过加载容器中的容器包来加载显示界面。
在另一种可选的实施例中,在应用程序启动后,用户点击应用程序的显示界面上的按钮,进入到下一个显示界面的过程中,应用程序的后台处理程序检测到应用程序发生了显示界面的跳转,此时,应用程序的后台处理程序生成触发信号,应用程序根据触发信号来加载与容器包相对应的显示界面。其中,触发信号除可用于指示应用程序需要加载容器包之外,还携带有所要加载的容器包的标识信息。
此外,还需要说明的是,对于不同类型的显示界面,应用程序所加载的容器包所对应的容器是不相同的,即应用程序加载与显示界面相对应的容器包,其中,在显示界面为RN(React Native的简称)页面的情况下,应用程序所加载的容器为RN容器;在显示界面为H5页面的情况下,应用程序所加载的容器为H5容器;在显示界面为Native页面的情况下,应用程序所加载的容器为Native容器。上述显示界面可以为但不限于RN页面、H5页面和Native页面,应用程序所加载的容器可以为但不限于RN容器、H5容器和Native容器。
在上述实施例中,应用程序在接收第一触发操作的情况下才会加载容器包,即可根据用户的需求来加载容器包,只有用户需要用到的显示界面才会加载容器包,从而可最大化减小应用程序所占用的内存,进而节省用户流量。
步骤S504,应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包(即容器包),并安装到应用程序的预定地址处。
需要说明的是,上述远程可以为但不限于智能云或云端,应用程序可通过智能云或云端获取到所要加载的显示界面的容器包,并通过容器来加载容器包中所包含的多个不同类型的页面,其中,不同类型页面可以为但不限于RN页面、H5页面以及Native页面。另外,上述预定地址为预先设定好的用于安装容器包的地址。
在一种可选的实施例中,在用户点击安装在智能终端上的应用程序之后,即在应用程序启动的过程中,应用程序将触发信号发送至智能云或云端,智能云或云端在接收到触发信号之后,对触发信号进行解析处理,根据解析后的结果进一步确定请求容器包的请求是否合法,在确定请求合法的情况下,进一步根据触发信号中的标识信息来确定所要加载的容器包,然后,智能云或云端将确定好的容器包发送至智能终端上,并在智能终端的预定地址处安装容器包,最后在智能终端上的应用程序可加载容器包,进而显示 与容器包相对应的显示界面。
此外,还需要说明的是,通过本申请的上述实施例可知,在本申请中是从智能云或云端上获取容器包,并对获取到的容器包进行加载,因此,在容器包发生更新的情况下,尤其是在容器包更新的变动比较小的情况下,只需要更新容器包,而不需要对整个应用程序进行更新,进一步节省了用户流量,节省了内存资源。
步骤S506,应用程序利用容器加载至少一个包中的界面内容进行显示。
在一种可选的实施例中,在获取到容器包之后,应用程序将获取到的容器包安装在智能终端的指定路径中,在用户打开应用程序之后,或在用户对应用程序的显示界面上的控件进行相应的操作并跳转到下一显示界面之后,应用程序的显示界面将根据容器包获取到对应的显示界面,即应用程序可直接从安装容器包的路径中获取到对应的显示界面。
需要说明的是,由于容器包在下载后将安装在智能终端的指定路径中,因此,在无网络或网络信号比较差的情况下,应用程序仍能显示相应的显示界面,即此时,应用程序可直接从智能终端的指定路径中加载显示界面,而不需要再重新下载容器包,进而节省了用户流量。
基于上述步骤S502至步骤S506所限定的方案,可以获知,通过应用程序接收第一触发操作,并响应于第一触发操作,然后从远程获取包括多个界面的包,并安装到应用程序的预定地址处,最后利用容器加载包中的界面进行显示,其中,第一触发操作用于触发应用程序启动所包括的容器加载界面。
容易注意到的是,在应用程序的显示界面发生更新的情况下,本申请仅对与显示界面相对应的容器包进行更新,而不需要对整个应用程序进行更新,尤其是在显示界面的内容变化较小的情况下,可大量节省用户流量。此外,在本申请中,仅加载应用程序将要显示的显示界面的容器包,即仅更新用户需要用到的显示界面的容器包,而不需要对所有更新的容器包进行全部下载,从而进一步节省了用户流量。由于更新容器包的过程不需要对应用程序进行更新,因此整个过程是用户无感知的,从而提高用户体验效果。最后,由于是将需要更新的容器包直接下载到智能终端的本地上,因此,在无网络或网络信号比较差的情况下,应用程序仍可加载显示界面,从而提高了用户的体现效果。
由上述内容可知,本申请的上述实施例可达到在对应用程序更新的过程中,仅更新容器包,无需更新整个应用程序的目的,从而实现了按需更新应用程序,节省用户流量,提高用户体验效果的技术效果,进而解决了由于容器内置于应用程序中造成的在对控制 面板进行更新时需要更新整个应用程序,从而浪费内存资源的技术问题。
在一种可选的实施例中,应用程序在加载更新的容器的情况下,在预定时间内执行以下操作:
步骤S50,确定是否存在包括更新的界面内容的更新包,其中更新的界面内容用于通过容器加载;
步骤S52,在确定存在更新包的情况下,从远程获取更新包;
步骤S54,利用更新包更新应用程序已经安装的包。
具体的,应用程序对已经存储在智能终端本地上的容器包的标识信息与智能云或云端上具有相同标识信息的容器包进行比较,判断两者是否存在差异,在确定两者存在差异的情况下,确定智能云或云端存在更新包,此时,应用程序再从智能云或云端获取到更新包,并加载已经下载至智能终端本地上的容器包,从而完成了对应用程序的显示界面的更新。其中,上述更新包为更新后的容器包。
需要说明的是,只下载发生更新的容器包,而对无更新的容器包则不进行下载,而是直接加载智能终端本地上的容器包,从而达到了按需更新容器包,节省用户流量的目的,进一步节省了智能终端的内存资源。
此外,还需要说明的是,预定时间包括以下时间中的至少一个时间:在应用程序启动时;在应用程序从后台跳转到前台时;在到达预先设置的定时时间时;以及在应用程序从远程接收到具有更新包的消息时。
在一种可选的实施例中,在每次应用程序启动之后,应用程序便检测智能终端上的容器包与智能云或云端上相对应的容器包是否相匹配,如果不匹配,说明容器包发生了更新,此时,应用程序加载更新后的容器包。
在另一种可选的实施例中,在应用程序启动之后,用户对应用程序的显示界面上的控件进行操作,使应用程序的显示界面发生切换或跳转。在应用程序检测到显示界面发生切换或跳转后,应用程序生成触发信号,并根据触发信号获取到智能云或云端的容器包,进一步对智能终端上的容器包与智能云或云端上的容器包进行比对,在比对结果指示两者存在差异的情况下,确定容器包发生了更新,并利用智能云或云端的容器包对应用程序的容器包进行更新。
还存在另一种可选的实施例,用户可在应用程序中设置对容器包进行更新的定时时间,该定时时间可以为绝对时间(例如,每天的上午9点),也可以为相对时间(例如,每隔2小时)。应用程序的后台处理器中定时器可确定是否达到定时时间,同样,在达 到定时时间时,应用程序生成触发信号,并根据触发信号获取到智能云或云端的容器包,进而完成对容器包的更新,对容器包进行更新的过程与上述内容类似,在此不再赘述。
需要说明的是,上述应用程序接收到具有更新的容器包的消息的时刻可以为智能云或云端所发送的具有更新的容器包的消息。具体的,研发人员在更新完容器包,并将容器包发布到智能云或云端之后,智能云或云端可产生容器包更新的更新消息,并将更新消息发送至智能终端,应用程序在接收到更新消息之后,对容器包进行更新处理。
此外,还需要说明的是,应用程序可确定是否存在更新的容器包,智能云或云端也可确定是否存在更新的容器包。另外,上述预定时间可以为上述四种时间的任意一种或几种的结合,例如,在应用程序启动时,确定是否存在更新的容器包,如果不存在,则继续判断在应用程序从后台跳转到前台时是否存在更新的容器包,如果不存在,则进一步判断在到达预先设置的定时时间时是否存在更新的容器包,以此类推。其中,四种时间的优先级不限于上述内容所列举出的优先级,该优先级可由研发人员自行设定。
在一种可选的实施例中,应用程序在获取到更新到容器之后,还执行如下步骤:
步骤S56,应用程序在获取更新包后,验证更新包的有效性;
步骤S58,应用程序在验证更新包有效的情况下,利用更新包更新应用程序已经安装的包。
具体的,应用程序在获取到更新的容器包之后,获取到更新的容器包的容器包信息,并对容器包信息进行校验,即验证更新的容器包的有效性,其中,可以从以下方面来验证更新的容器包的有效性:更新的容器包是否与应用程序兼容,更新的容器包是否被恶意篡改,更新的容器包中是否包含病毒以及更新的容器包是否为无用的容器包。具体的,如果更新的容器包与应用程序兼容,则确定更新的容器包有效;如果更新的容器包没有被恶意篡改,则确定更新的容器包有效;如果更新的容器包中不包含病毒,则确定更新的容器包有效;如果更新的容器包不是无用的容器包,则确定更新的容器包有效。在确定更新的容器包有效的情况下,根据更新的容器包对应用程序的容器进行更新。
在一种可选的实施例中,应用程序加载至少一个容器的操作包括:应用程序响应于所接收的第二触发操作,利用容器直接从预定地址处加载界面内容进行显示。
具体的,在至少一个容器包安装在应用程序中的预定地址处的情况下,如果此时用户对显示界面中的控件进行了相关的操作(即第二触发操作),并使得显示界面发生了切换,此时应用程序直接从应用程序的预定地址处获取到对应的容器包,并根据该容器包加载显示界面。容易注意到的是,由于是从预定地址处直接加载容器包,即不需要通 过网络再次下载并安装容器包,因此,上述实施例可有效提高显示界面的打开速度,减少用户等待界面的打开时间,进而提高了用户的体验。
在一种可选的实施例中,应用程序利用更新包更新应用程序已经安装的包的操作包括:将更新包安装到预定地址处。
具体的,应用程序在获取到更新后的容器包之后,删除之前旧的容器包,并将更新后的容器包安装在之前旧容器包所在的地址处,这样,应用程序通过旧容器包所在的地址即可加载更新后的容器包,即在这个过程中不需要应更改应用程序加载容器包的路径,从而减少了研发人员的工作量,并提高了系统运行的可靠性。
在另一种可选的实施例中,用于处理容器的方法还包括:应用程序响应于所接收的第三触发操作,利用容器直接从预定地址处加载更新的界面内容进行显示。
具体的,在无网络信号或网络信号比较差的情况下,此时应用程序无法下载容器包,但可从应用程序的预定地址处获取到更新后的容器包,并根据更新后的容器包加载显示界面。通过上述实施例,可实现在网络信号或网络信号比较差的环境下,用户仍能看到显示界面,从而提高了用户体验。
需要说明的是,上述容器可以为不同类型的多个容器。不同类型的容器包括但不限于:RN容器、H5容器以及Native容器。由于不同类型的容器所使用的管理规则是相同的,即在本申请中,应用程序加载容器的规则均为上述所提到的加载规则。对不同类型的容器使用统一的管理规则,使得的应用程序对容器进行更好的管理。
相应的,更新的界面内容可以为用于不同类型容器的多个界面内容。例如,容器包可以包括RN页面、H5页面以及Native页面的内容。从而对不同类型容器的页面采用相同的管理规则进行管理。
在一种可选的实施例中,用于处理容器的方法还包括:应用程序响应于购买产品的操作,从远程获取包括控制产品的界面内容的包;以及应用程序利用容器加载包括控制产品的界面内容的包进行显示。
具体的,用户点击图1中的商城图标,应用程序接收到购买产品的购买信息,此时,应用程序将购买信息发送至远程(即智能云或云端),智能云或云端在接收到购买信息之后,查询得到与购买信息相对应的界面的容器包,并将该容器包发送至智能终端,智能终端在接收到购买界面的容器包后,将该容器包存储在预定地址中,应用程序从预定地址中获取到购买界面的容器包,并安装容器包。在容器包安装完成之后,应用程序通过容器加载容器包以对界面进行显示。
需要说明的是,应用程序在启动时预先从远程接收至少一个容器包。即在应用程序初始启动的情况下,应用程序采用默认的容器包来加载显示界面。在显示界面加载完成之后,应用程序再在预定时间执行对容器包的更新操作。
在一种可选的实施例中,在应用程序启动时,应用程序将目前比较畅销的智能设备的控制面板预先下载到应用程序中,在完成应用程序(或客户端)的注册以及将智能设备与应用程序进行绑定之后,用户在通过应用程序中的显示界面来控制智能设备的过程中,可使用到最新的控制面板,无需等待,进而提高了用户的体验。
此外,还需要说明的是,由于是在应用程序启动的过程中、应用程序从后台跳转到前台、到达预先设置的定时时间以及在应用程序接收到具有更新的容器包的消息时对容器包进行更新,更新的过程比较短,并且在更新的过程中,用户对应用程序的使用不受影响,即本申请还可以实现容器包的及时更新,以及用户在使用过程中无感知更新的效果。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的用于处理容器的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例2
根据本发明实施例,还提供了一种用于实施上述实施例1的用于处理容器的方法的用于处理容器的装置,如图6所示,该装置包括:接收模块601、第一获取模块603以及第一加载模块605。
其中,接收模块,用于通过应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面;第一获取模块,用于通过应用程序响应于第一触发 操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及第一加载模块,用于通过应用程序利用容器加载包中的界面内容进行显示。
此处需要说明的是,上述接收模块601、第一获取模块603以及第一加载模块605对应于实施例1中的步骤S502至步骤S504,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例一所公开的内容。
在一种可选的实施例中,装置还包括:第一确定模块、第二获取模块以及第四更新模块。其中,第一确定模块,用于确定是否存在包括更新的界面内容的更新包,其中更新的界面内容用于通过容器加载;第二获取模块,用于在确定存在更新包情况下,从远程获取更新包;第四更新模块,用于利用利用更新包更新应用程序已经安装的包。
此处需要说明的是,上述第一确定模块、第二获取模块以及第四更新模块对应于实施例1中的步骤S50至步骤S56,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例一所公开的内容。
在一种可选的实施例中,预定时间包括以下时间中的至少一个时间:在应用程序启动时;在应用程序从后台跳转到前台时;在到达预先设置的定时时间时;以及在应用程序从远程接收到具有更新包的消息时。
在一种可选的实施例中,用于处理容器的装置还包括:验证模块以及更新模块。其中,验证模块,用于通过应用程序在获取更新包后,验证更新包的有效性;更新模块,用于通过应用程序在验证更新包有效的情况下,利用更新包更新应用程序已经安装的包。
此处需要说明的是,上述验证模块以及更新模块对应于实施例1中的步骤S56至步骤S58,两个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例一所公开的内容。
在一种可选的实施例中,还包括:第三加载模块,用于通过应用程序响应于所接收的第二触发操作,利用容器直接从预定地址处加载界面进行显示。
在一种可选的实施例中,第一更新模块包括:第一安装模块,用于将更新包安装到预定地址处。
在一种可选的实施例中,第一更新模块还包括:第四加载模块,用于通过应用程序响应于所接收的第三触发操作,利用容器直接从预定地址处加载更新的界面内容进行显示。
在一种可选的实施例中,容器为不同类型的多个容器。
在一种可选的实施例中,更新的界面内容为用于不同类型容器的多个界面内容。
在一种可选的实施例中,用于处理容器的装置还包括:第三获取模块,用于通过应用程序响应于购买产品的操作,从远程获取包括控制产品的界面内容的包;以及第五加载模块,用于通过应用程序利用容器加载包括控制产品的界面内容的包进行显示。
实施例3
根据本发明实施例,还提供了一种用于处理容器的方法,如图7所示的一种用于处理容器的方法流程图,该方法具体包括如下步骤:
步骤S702,应用程序确定是否存在包括更新的界面内容的更新包,其中,更新的界面内容用于通过应用程序的容器加载;
步骤S704,应用程序在确定存在更新包的情况下,从远程获取更新包;
步骤S706,应用程序利用更新包更新应用程序已经安装的包括至少一个界面内容的包。
在一种可选的实施例中,应用程序每隔预定时间向远程(即智能云或云端)发送访问请求,以获取到与应用程序中的容器包的标识信息相对应的位于智能云或云端的容器包的标识信息,其中,标识信息中除用于确定智能云或云端的容器是否与应用程序的容器包匹配外,标识信息中还包含有容器包的信息,包括但不限于容器包所对应的容器的类型(例如,H5容器、RN容器、Native容器等)以及容器包所包含的内容。在获取到智能云或云端的容器包的标识信息之后,判断智能云或云端的容器包是否与应用程序的容器包相匹配,在两者相匹配的情况下,进一步确定两者的内容是否相同,如果两个容器包的内容相同,则确定不存在更新的容器包,否则,确定存在更新的容器包。
在另一种可选的实施例中,智能云或云端实时检测位于智能云或云端的容器包是否发生更新,当检测到智能云或云端的容器包发生了更新(只要有一个容器包发生更新便执行后续步骤)之后,继续检测是否接收到应用程序发送的访问请求,在接收到访问请求的情况下,将应用程序所访问的容器包的标识信息发送至应用程序中,需要说明的是,此时应用程序所访问的容器包可能并没有更新。应用程序根据接收到的容器包的标识信息与存储于应用程序的指定地址中的容器包的标识信息进行匹配,来确定是否存在更新的容器包。
需要说明的是,在确定存在更新的容器包的情况下,将应用程序的容器包更新为更新的容器包,并基于更新后的容器包加载应用程序的显示界面。
基于上述步骤S702至步骤S706所限定的方案,可以获知,通过应用程序确定是否存在包括更新的界面内容的更新包,在确定存在更新包的情况下,从远程获取更新包, 最后利用更新包更新应用程序已经安装的包括至少一个界面内容的包,其中,更新的界面内容用于通过应用程序的容器加载。
容易注意到的是,在应用程序的显示界面发生更新的情况下,本申请仅对与显示界面相对应的容器包进行更新,而不需要对整个应用程序进行更新,尤其是在显示界面的内容变化较小的情况下,可大量节省用户流量。此外,在本申请中,仅加载应用程序将要显示的显示界面的容器包,即仅更新用户需要用到的显示界面的容器包,而不需要对所有更新的容器包进行全部下载,从而进一步节省了用户流量。最后,由于是将需要更新的容器包直接下载到智能终端的本地上,因此,在无网络或网络信号比较差的情况下,应用程序仍可加载显示界面,从而提高了用户的体现效果。
由上述内容可知,本申请的上述实施例可达到在对应用程序更新的过程中,仅更新容器,无需更新整个应用程序的目的,从而实现了按需更新应用程序,节省用户流量,提高用户体验效果的技术效果,进而解决了由于容器内置于应用程序中造成的在对控制面板进行更新时需要更新整个应用程序,从而浪费内存资源的技术问题。
在一种可选的实施例中,处理容器的方法还包括如下步骤:
步骤S80,应用程序在获取更新包后,验证更新包的有效性;
步骤S82,应用程序在验证更新包有效的情况下,利用更新包更新应用程序已经安装的包。
需要说明的是,可通过验证更新的容器包是否满足预设条件来确定更新的容器包是否有效,其中,预设条件可以为但不限于以下四种:
①更新的容器包是否与应用程序兼容;
②更新的容器包是否没有被恶意篡改;
③更新的容器包中是否不包含有病毒;
④更新的容器包是否为有用的容器。
如果更新的容器包满足上述全部的预设条件,则确定更新的容器包有效。在确定更新的容器包有效的情况下,根据更新的容器包对应用程序的容器包进行更新。
需要说明的是,应用程序确定是否存在更新的容器包的操作在包括以下时间中的至少一个时间执行:在应用程序启动时;在应用程序从后台跳转到前台时;在到达预先设置的定时时间时;以及在应用程序接收到具有更新包的消息时。此外,更新的界面内容为用于不同类型容器的多个界面内容。
在一种可选的实施例中,应用程序利用更新包更新应用程序已经安装的包的操作包 括:将更新包安装到已经安装的包的地址处。
具体的,应用程序在获取到更新后的容器包之后,删除之前旧的容器包,并将更新后的容器包安装在之前旧容器包所在的地址处,这样,应用程序通过旧容器包所在的地址即可加载更新后的容器包,即在这个过程中不需要应更改应用程序加载容器包的路径,从而减少了研发人员的工作量,并提高了系统运行的可靠性。
在一种可选的实施例中,用于处理容器的方法还包括:应用程序响应于所接收的触发操作,利用容器直接从地址处加载更新的界面内容进行显示。
在一种可选的实施例中,更新的界面内容为用于不同类型容器的多个界面内容。
具体的,在无网络信号或网络信号比较差的情况下,此时应用程序无法下载容器包,但可从应用程序的预定地址处获取到更新后的容器包,并根据更新后的容器包加载显示界面。通过上述实施例,可实现在网络信号或网络信号比较差的环境下,用户仍能看到显示界面,从而提高了用户体验。
需要说明的是,至少一个包含容器包的容器为不同类型的至少一个容器。由于不同类型的容器所使用的管理规则是相同的,即在本申请中,应用程序加载容器的规则均为上述所提到的加载规则。对不同类型的容器使用统一的管理规则,使得的应用程序对容器进行更好的管理。
实施例4
根据本发明实施例,还提供了一种用于实施上述实施例3的用于处理容器的方法的用于处理容器的装置,如图8所示,该装置包括:第一确定模块801、第一更新模块803以及第二更新模块805。
其中,第一确定模块801,用于通过应用程序确定是否存在包括更新的界面内容的更新包,其中更新的界面内容用于通过应用程序的容器加载;第一获取模块803,用于通过应用程序在确定存在更新包情况下,从远程获取更新包;第二更新模块805,用于通过应用程序利用更新包更新应用程序已经安装的包括至少一个界面内容的包。
此处需要说明的是,上述第一确定模块801、第一获取模块803以及第二更新模块805对应于实施例3中的步骤S702至步骤S706,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例三所公开的内容。
在一种可选的实施例中,用于处理容器的装置还包括:第一验证模块以及第三更新模块。其中,第一验证模块,用于通过应用程序在获取更新包后,验证更新包的有效性;第三更新模块,用于通过应用程序在验证更新包有效的情况下,利用更新包更新应用程 序已经安装的包。
此处需要说明的是,上述第一验证模块以及第三更新模块对应于实施例3中的步骤S80至步骤S82,两个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例三所公开的内容。
在一种可选的实施例中,应用程序确定是否存在更新的容器的操作在包括以下时间中的至少一个时间执行:在应用程序启动时;在应用程序从后台跳转到前台时;在到达预先设置的定时时间时;以及在应用程序从远程接收到具有更新包的消息时。
在一个可选的实施例中,更新的界面内容为用于不同类型容器的多个界面内容。
在一种可选的实施例中,第一更新模块包括:第一安装模块,将更新包安装到已经安装的包的地址处。
在一种可选的实施例中,用于处理容器的装置还包括:第一加载模块,用于通过应用程序响应于所接收的触发操作,利用容器直接从地址处加载更新的界面内容进行显示。
在一种可选的实施例中,更新的界面内容为用于不同类型容器的多个界面内容。
实施例5
根据本发明实施例,还提供了一种用于处理容器的方法,如图9所示的一种用于处理容器的方法流程图,该方法具体包括如下步骤:
步骤S902,接收来自远程终端的查询包括更新的界面内容的更新包的查询请求,其中,所述更新的界面内容用于通过所述远程终端上的应用程序的容器加载;
步骤S904,基于查询请求查询是否存在更新包;
步骤S906,将查询的结果发送至远程终端。
在一种可选的实施例中,远程终端(例如,智能终端,包括但不限于智能手机、平板、电脑等)向云端发送查询更新的容器包的查询请求,其中,查询请求中包含有远程终端中的容器包的容器包信息,将远程终端中的容器包的容器包信息与云端中相对应的容器包的容器包信息进行匹配,在两者匹配的情况下,说明云端的容器包没有更新,在两个不匹配的情况下,说明云端的容器包发生了更新。云端将查询结果发送至远程终端,其中,在云端的容器包发生更新的情况下,云端还将更新的容器包的信息发送至远程终端。
基于上述步骤S902至步骤S906所限定的方案,可以获知,通过接收来自远程终端的查询包括更新的界面内容的更新包的查询请求,基于查询请求查询是否存在更新包,将查询结果发送至远程终端。
容易注意到的是,在应用程序的显示界面发生更新的情况下,本申请仅对与显示界面相对应的容器包进行更新,而不需要对整个应用程序进行更新,尤其是在显示界面的内容变化较小的情况下,可大量节省用户流量。此外,在本申请中,仅加载应用程序将要显示的显示界面的容器包,即仅更新用户需要用到的显示界面的容器包,而不需要对所有更新的容器包进行全部下载,从而进一步节省了用户流量。最后,由于是将需要更新的容器包直接下载到智能终端的本地上,因此,在无网络或网络信号比较差的情况下,应用程序仍可加载显示界面,从而提高了用户的体现效果。
由上述内容可知,本申请的上述实施例可达到在对应用程序更新的过程中,仅更新容器,无需更新整个应用程序的目的,从而实现了按需更新应用程序,节省用户流量,提高用户体验效果的技术效果,进而解决了由于容器内置于应用程序中造成的在对控制面板进行更新时需要更新整个应用程序,从而浪费内存资源的技术问题。
在一种可选的实施例中,用于处理容器的方法还包括:基于来自远程终端的下载请求,将更新包发送至远程终端。
具体的,在确定云端存在更新的容器包之后,远程终端向云端发送下载请求,以请求下载更新的容器包,其中,下载请求中包含有更新的容器包的标识信息,云端在接收到下载请求后,根据下载请求中的标识信息查找到与标识信息相匹配的容器包,并将该容器发送至远程终端,远程终端在接收到更新的容器包之后,将更新的容器包安装在预定地址中,远程终端上的应用程序可从预定地址中加载更新的容器包,并显示与更新的容器包相对应的显示界面。
在另一种可选的实施例中,用于处理容器的方法还包括:
步骤S90,检测是否存在更新包;
步骤S92,当检测到更新包时,向远程终端发送关于更新包的消息。
具体的,云端实时检测本地是否存在更新的容器包(即更新包),在检测到存在更新的容器包的情况下,向远程终端发送关于更新的容器包的消息。远程终端在接收到关于更新的容器包的消息之后,向云端发送下载请求,并下载更新的容器包,在下载更新的容器包之后,对其进行安装,并根据安装后的容器包加载显示界面。
在一种可选的实施例中,更新的界面内容为用于不同类型容器的多个界面内容。
在另一种可选的实施例中,用于处理容器的方法还包括:响应于购买产品的操作,获取包括控制产品的界面内容的第二更新包;以及向第二远程终端发送消息,指示第二远程终端获取第二更新包。
具体的,用户通过操作第二远程终端的显示界面上的控件在网上购买物品(例如,点击显示界面上的购买产品的图标),此时,网络商城会将该用户购买产品的信息发送至智能云或云端,智能云或云端在接收到购买产品的信息之后,会查询到与购买的产品相匹配的更新包(即第二更新包),并向第二远程终端发送下载消息,第二远程终端在接收到下载消息之后,从智能云或云端下载根据购买信号得到的更新的容器包(即更新包)。
实施例6
根据本发明实施例,还提供了一种用于实施上述实施例5的用于处理容器的方法的用于处理容器的装置,如图10所示,该装置包括:接收模块1001、查询模块1003以及发送模块1005。
其中,接收模块1001,用于接收来自远程终端的查询包括更新的界面内容的更新包的查询请求;查询模块1003,用于基于查询请求查询是否存在更新包;发送模块1005,用于将查询的结果发送至远程终端。
此处需要说明的是,上述接收模块1001、查询模块1003以及发送模块1005对应于实施例5中的步骤S902至步骤S906,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例五所公开的内容。
在一种可选的实施例中,用于处理容器的装置还包括:第二发送模块,用于基于来自远程终端的下载请求,将更新包发送至远程终端。
在一种可选的实施例中,用于处理容器的装置还包括:检测模块以及第三发送模块。其中,检测模块,用于检测是否存在更新包;第二发送模块,用于当检测到更新包时,向远程终端发送关于更新包的消息。
在一种可选的实施例中,更新的界面内容为用于不同类型容器的多个界面内容。
此处需要说明的是,上述检测模块以及第二发送模块对应于实施例5中的步骤S90至步骤S92,两个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例五所公开的内容。
在一种可选的实施例中,更新的界面内容为用于不同类型容器的多个界面内容。
在一种可选的实施例中,用于处理容器的装置还包括:第三获取模块以及第四获取模块。其中,第三获取模块,用于响应于购买产品的操作,获取包括控制产品的界面内容的第二更新包;以及第四获取模块,用于向第二远程终端发送消息,指示第二远程终端获取第二更新包。
实施例7
本发明的实施例可以提供一种计算机终端,该计算机终端可以是计算机终端群中的任意一个计算机终端设备。可选地,在本实施例中,上述计算机终端也可以替换为移动终端等终端设备。
可选地,在本实施例中,上述计算机终端可以位于计算机网络的多个网络设备中的至少一个网络设备。
图11示出了一种计算机终端的硬件结构框图。如图11所示,计算机终端A可以包括一个或多个(图中采用112a、112b,……,112n来示出)处理器112(处理器112可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器114、以及用于通信功能的传输装置116。除此以外,还可以包括:显示器、输入/输出接口(I/O接口)、通用串行总线(USB)端口(可以作为I/O接口的端口中的一个端口被包括)、网络接口、电源和/或相机。本领域普通技术人员可以理解,图11所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,计算机终端A还可包括比图11中所示更多或者更少的组件,或者具有与图11所示不同的配置。
应当注意到的是上述一个或多个处理器112和/或其他数据处理电路在本文中通常可以被称为“数据处理电路”。该数据处理电路可以全部或部分的体现为软件、硬件、固件或其他任意组合。此外,数据处理电路可为单个独立的处理模块,或全部或部分的结合到计算机终端A中的其他元件中的任意一个内。如本申请实施例中所涉及到的,该数据处理电路作为一种处理器控制(例如与接口连接的可变电阻终端路径的选择)。
处理器112可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:通过应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面;通过应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及通过应用程序利用容器加载包中的界面内容进行显示。
存储器114可用于存储应用软件的软件程序以及模块,如本申请实施例中的用于处理容器的方法对应的程序指令/数据存储装置,处理器112通过运行存储在存储器114内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的用于处理容器的方法。存储器114可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器114可进一步包括相对于处理器112远程设置的存储器,这些远程存储器可以通过网络连接 至计算机终端A。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置116用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端A的通信供应商提供的无线网络。在一个实例中,传输装置116包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置116可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
显示器可以例如触摸屏式的液晶显示器(LCD),该液晶显示器可使得用户能够与计算机终端A的用户界面进行交互。
此处需要说明的是,在一些可选实施例中,上述图11所示的计算机终端A可以包括硬件元件(包括电路)、软件元件(包括存储在计算机可读介质上的计算机代码)、或硬件元件和软件元件两者的结合。应当指出的是,图11仅为特定具体实例的一个实例,并且旨在示出可存在于上述计算机终端A中的部件的类型。
在本实施例中,上述计算机终端A可以执行用于处理容器的方法中以下步骤的程序代码:通过应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面;通过应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及通过应用程序利用容器加载包中的界面内容进行显示。
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:确定是否存在包括更新的界面内容的更新包,其中更新的界面内容用于通过容器加载;在确定存在更新包情况下,从远程获取更新包;以及利用更新包更新应用程序已经安装的包。
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:通过应用程序在获取更新包后,验证更新包的有效性;以及应用程序在验证更新包有效的情况下,利用更新包更新应用程序已经安装的包。
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:通过应用程序响应于所接收的第二触发操作,利用容器直接从预定地址处加载界面内容进行显示。
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:将更新包安装到预定地址处。
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:通过应用程序响应于所接收的第三触发操作,利用容器直接从预定地址处加载更新的界面内容进行显示。
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:通过应用程序响应于购买产品的操作,从远程获取包括控制产品的界面内容的包;以及通过应用程序利用容器加载包括控制产品的界面内容的包进行显示。
在一种可选的实施例中,容器为不同类型的多个容器。
在一种可选的实施例中,更新的界面内容为用于不同类型容器的多个界面内容。
本领域普通技术人员可以理解,图11所示的结构仅为示意,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图11其并不对上述电子装置的结构造成限定。例如,计算机终端A还可包括比图11中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图11所示不同的配置。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
实施例8
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以用于保存上述实施例一所提供的用于处理容器的方法所执行的程序代码。
可选地,在本实施例中,上述存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,或者位于移动终端群中的任意一个移动终端中。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:通过应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面;通过应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及通过应用程序利用容器加载包中的界面内容进行显示。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:确定是否存在包括更新的界面内容的更新包,其中更新的界面内容用于通过容器加载;在确定存在更新包情况下,从远程获取更新包;以及利用更新包更新应用程序已经安装的 包。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:通过应用程序在获取更新包后,验证更新包的有效性;以及应用程序在验证更新包有效的情况下,利用更新包更新应用程序已经安装的包。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:通过应用程序响应于所接收的第二触发操作,利用容器直接从预定地址处加载界面内容进行显示。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:将更新包安装到预定地址处。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:通过应用程序响应于所接收的第三触发操作,利用容器直接从预定地址处加载更新的界面内容进行显示。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:通过应用程序响应于购买产品的操作,从远程获取包括控制产品的界面内容的包;以及通过应用程序利用容器加载包括控制产品的界面内容的包进行显示。
可选地,更新的界面内容为用于不同类型容器的多个界面内容。
实施例9
本发明的实施例还提供了一种处理容器的系统。该系统包括处理器和存储器。其中,存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:
通过应用程序接收第一触发操作,第一触发操作用于触发应用程序启动所包括的容器加载界面;通过应用程序响应于第一触发操作,从远程获取包括至少一个界面内容的包,并安装到应用程序的预定地址处;以及通过应用程序利用容器加载包中的界面内容进行显示。
实施例10
本发明的实施例还提供了一种处理容器的系统。该系统包括处理器和存储器。其中,存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:
通过应用程序确定是否存在包括更新的界面内容的更新包,其中更新的界面内容用于通过应用程序的容器加载;通过应用程序在确定存在更新包情况下,从远程获取更新包;以及通过应用程序利用更新包更新应用程序已经安装的包括至少一个界面内容的包。
实施例11
本发明的实施例还提供了一种处理容器的系统。该系统包括处理器和存储器。其中,存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:
接收来自远程终端的查询包括更新的界面内容的更新包的查询请求;基于查询请求查询是否存在更新包;以及将查询的结果发送至远程终端。
实施例12
根据本发明实施例,还提供了一种用于处理容器的方法,如图12所示的一种用于处理容器的方法流程图,该方法具体包括如下步骤:
步骤S1202,启动容器加载界面;
步骤S1204,获取包括至少一个界面内容的包;
步骤S1206,容器加载包中的界面内容进行显示。
在一种可选的实施例中,安装在智能终端上的应用程序在启动时或者用户通过操作应用程序的显示界面上的控件,使得应用程序的显示界面发生切换时,应用程序通过容器获取到包含所要显示界面的界面内容,其中,显示界面的界面内容位于容器包中,应用程序通过加载容器包中的界面内容,即可显示容器包中的界面内容。
需要说明的是,上述包括至少一个界面内容的包即为位于容器中的容器包。
基于上述步骤S1202至步骤S1206所限定的方案,可以获知,通过应用程序启动容器加载界面,并获取包括至少一个界面内容的包,最后通过容器加载包中的界面内容进行显示。
容易注意到的是,在应用程序的显示界面发生更新的情况下,本申请仅对与显示界面相对应的容器包进行更新,而不需要对整个应用程序进行更新,尤其是在显示界面的内容变化较小的情况下,可大量节省用户流量。此外,在本申请中,仅加载应用程序将要显示的显示界面的容器包,即仅更新用户需要用到的显示界面的容器包,而不需要对所有更新的容器包进行全部下载,从而进一步节省了用户流量。由于更新容器包的过程不需要对应用程序进行更新,因此整个过程是用户无感知的,从而提高用户体验效果。最后,由于是将需要更新的容器包直接下载到智能终端的本地上,因此,在无网络或网络信号比较差的情况下,应用程序仍可加载显示界面,从而提高了用户的体现效果。
由上述内容可知,本申请的上述实施例可达到在对应用程序更新的过程中,仅更新容器包,无需更新整个应用程序的目的,从而实现了按需更新应用程序,节省用户流量,提高用户体验效果的技术效果,进而解决了由于容器内置于应用程序中造成的在对控制面板进行更新时需要更新整个应用程序,从而浪费内存资源的技术问题。
此外,还需要说明的是,上述容器为不同类型的多个容器,并且至少一个界面内容为用于不同类型容器的多个界面内容。另外,获取包的操作可以通过如下方式获得:
①直接从本地的预定地址获取包;
②从远程获取包。
在一种可选的实施例中,用于处理程序的方法还包括在预定时间执行以下操作:
步骤S120,确定是否存在包括更新的界面内容的更新包,其中更新的界面内容能够通过容器加载;
步骤S122,在确定存在更新包的情况下,从远程获取更新包;以及
步骤S124,利用更新包更新已经获取的包。
需要说明的是,预定时间包括以下时间中的至少一个时间:在启动时;在从后台跳转到前台时;在到达预先设置的定时时间时;以及在从远程接收到具有更新包的消息时。
在另一种可选的实施例中,用于处理程序的方法还包括:
步骤S126,在获取更新包后,验证更新包的有效性;
步骤S128,在验证更新包有效的情况下,利用更新包更新已经获取的包。
具体的,可以从以下几个方面验证更新包的有效性:
①更新的容器包是否与应用程序兼容;
②更新的容器包是否被恶意篡改;
③更新的容器包中是否包含病毒;
④更新的容器包是否为无用的容器包。
需要说明的是,在验证更新包有效之后,才对已经获取的包进行更新,可以减少无用包的安装,避免资源的浪费。另外,在确定更新包为安全的更新包之后,才对已经获取的包进行更新,从而为智能终端的安全提供了保证。
此外,还需要说明的是,更新的页面内容为用于不同类型容器的多个界面内容。
在另一种可选的实施例中,用于处理程序的方法还包括:
步骤S132,响应于购买产品的操作,从远程获取包括控制产品的界面内容的包;
步骤S134,利用容器加载包括控制产品的界面内容的包进行显示。
具体的,例如用户可以通过操作智能终端的显示界面上的控件(例如,点击显示界面上的购买产品的图标),此时,智能终端的后台处理程序产生购买信号,同时将购买信号发送至智能云或云端,智能云或云端在接收到购买信号之后,智能云或云端对接收到的购买信号进行解析处理,并根据解析结果查询到与购买信号相匹配的更新包,并向 智能终端发送下载消息,智能终端在接收到下载消息之后,从智能云或云端下载根据购买信号得到的更新的容器包(即更新包)。
实施例13
根据本发明实施例,还提供了一种用于实施上述实施例12的用于处理容器的方法的用于处理容器的装置,如图13所示,该装置包括:启动模块1301、获取模块1303以及加载模块1305。
其中,启动模块1301,用于启动容器加载界面;获取模块1303,用于获取包括至少一个界面内容的包;加载模块1305,用于通过容器加载包中的界面内容进行显示。
此处需要说明的是,上述启动模块1301、获取模块1303以及加载模块1305对应于实施例12中的步骤S1202至步骤S1206,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例十二所公开的内容。
在一种可选的实施例中,容器为不同类型的多个容器,并且至少一个界面内容为用于不同类型容器的多个界面内容。
在一种可选的实施例中,获取包的操作包括直接从本地的预定地址获取包。
在一种可选的实施例中,获取包的操作包括从远程获取包。
在一种可选的实施例中,在预定时间用于处理容器的装置执行以下操作:确定是否存在包括更新的界面内容的更新包,其中更新的界面内容能够通过容器加载;在确定存在更新包的情况下,从远程获取更新包;以及利用更新包更新已经获取的包。
需要说明的是,预定时间包括以下时间中的至少一个时间:在启动时;在从后台跳转到前台时;在到达预先设置的定时时间时;以及在从远程接收到具有更新包的消息时。
在一种可选的实施例中,用于处理容器的装置还包括:第五获取模块以及第五更新模块。其中,第五获取模块,用于在获取更新包后,验证更新包的有效性;第五更新模块,用于在验证更新包有效的情况下,利用更新包更新已经获取的包。
此处需要说明的是,上述第五获取模块以及第五更新模块对应于实施例12中的步骤S126至步骤S128,两个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例十二所公开的内容。
需要说明的是,更新的页面内容为用于不同类型容器的多个界面内容。
在一种可选的实施例中,用于处理容器的装置还包括:第六获取模块以及显示模块。其中,第六获取模块,用于响应于购买产品的操作,从远程获取包括控制产品的界面内容的包;以及显示模块,用于利用容器加载包括控制产品的界面内容的包进行显示。
此处需要说明的是,上述第六获取模块以及显示模块对应于实施例12中的步骤S132至步骤S134,两个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例十二所公开的内容。
实施例14
本发明的实施例还提供了一种处理容器的系统。该系统包括处理器和存储器。其中,存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:
启动容器加载界面;获取包括至少一个界面内容的包;以及容器加载包中的界面内容进行显示。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、 随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (40)

  1. 一种用于处理容器的方法,其特征在于,包括:
    应用程序接收第一触发操作,所述第一触发操作用于触发所述应用程序启动所包括的容器加载界面;
    所述应用程序响应于所述第一触发操作,从远程获取包括至少一个界面内容的包,并安装到所述应用程序的预定地址处;以及
    所述应用程序利用所述容器加载所述包中的界面内容进行显示。
  2. 根据权利要求1所述的方法,其特征在于,还包括所述应用程序在预定时间执行以下操作:
    确定是否存在包括更新的界面内容的更新包,其中所述更新的界面内容能够通过所述容器加载;
    在确定存在更新包的情况下,从远程获取所述更新包;以及
    利用所述更新包更新所述应用程序已经安装的所述包。
  3. 根据权利要求2所述的方法,其特征在于,所述预定时间包括以下时间中的至少一个时间:
    在所述应用程序启动时;
    在所述应用程序从后台跳转到前台时;
    在到达预先设置的定时时间时;以及
    在所述应用程序从远程接收到具有所述更新包的消息时。
  4. 根据权利要求2所述的方法,其特征在于,还包括:
    所述应用程序在获取所述更新包后,验证所述更新包的有效性;以及
    所述应用程序在验证所述更新包有效的情况下,利用所述更新包更新所述应用程序已经安装的所述包。
  5. 根据权利要求1所述的方法,其特征在于,还包括:所述应用程序响应于所接收的第二触发操作,利用所述容器直接从所述预定地址处加载所述界面内容进行显示。
  6. 根据权利要求2至4中任意一项所述的方法,其特征在于,所述应用程序利用所述更新包更新所述应用程序已经安装的所述包的操作包括:将所述更新包安装到所述预定地址处。
  7. 根据权利要求6所述的方法,其特征在于,还包括:所述应用程序响应于所接收的第三触发操作,利用容器直接从所述预定地址处加载所述更新的界面内容进行显 示。
  8. 根据权利要求1-4中任一项所述的方法,其特征在于,所述容器为不同类型的多个容器。
  9. 根据权利要求2-4中任一项所述的方法,其特征在于,所述更新的界面内容为用于不同类型容器的多个界面内容。
  10. 根据权利要求1所述的方法,其特征在于,还包括:
    所述应用程序响应于购买产品的操作,从远程获取包括控制所述产品的界面内容的包;以及
    所述应用程序利用所述容器加载包括控制所述产品的界面内容的所述包进行显示。
  11. 一种用于处理容器的方法,其特征在于,包括:
    应用程序确定是否存在包括更新的界面内容的更新包,其中所述更新的界面内容能够通过所述应用程序的容器加载;
    所述应用程序在确定存在更新包的情况下,从远程获取所述更新包;以及
    所述应用程序利用所述更新包更新所述应用程序已经安装的包括至少一个界面内容的包。
  12. 根据权利要求11所述的方法,其特征在于,还包括:
    所述应用程序在获取所述更新包后,验证所述更新包的有效性;以及
    所述应用程序在验证所述更新包有效的情况下,利用所述更新包更新所述应用程序已经安装的所述包。
  13. 根据权利要求12所述的方法,其特征在于,所述应用程序确定是否存在更新包的操作在包括以下时间中的至少一个时间执行:
    在所述应用程序启动时;
    在所述应用程序从后台跳转到前台时;
    在到达预先设置的定时时间时;以及
    在所述应用程序从远程接收到具有所述更新包的消息时。
  14. 根据权利要求11至13中任意一项所述的方法,其特征在于,所述应用程序利用所述更新包更新所述应用程序已经安装的所述包的操作包括:将所述更新包安装到已经安装的所述包的地址处。
  15. 根据权利要求14所述的方法,其特征在于,还包括:所述应用程序响应于所接收的触发操作,利用所述容器直接从所述地址处加载所述更新的界面内容进行显示。
  16. 根据权利要求11所述的方法,其特征在于,所述更新的界面内容为用于不同类型容器的多个界面内容。
  17. 一种用于处理容器的方法,其特征在于,包括:
    接收来自远程终端的查询包括更新的界面内容的更新包的查询请求,其中,所述更新的界面内容用于通过所述远程终端上的应用程序的容器加载;
    基于所述查询请求查询是否存在更新包;以及
    将查询的结果发送至所述远程终端。
  18. 根据权利要求17所述的方法,其特征在于,还包括:
    基于来自远程终端的下载请求,将所述更新包发送至所述远程终端。
  19. 根据权利要求17所述的方法,其特征在于,还包括:
    检测是否存在更新包;以及
    当检测到更新包时,向所述远程终端发送关于更新包的消息。
  20. 根据权利要求17所述的方法,其特征在于,所述更新的界面内容为用于不同类型容器的多个界面内容。
  21. 根据权利要求17所述的方法,其特征在于,还包括:
    响应于购买产品的操作,获取包括控制所述产品的界面内容的第二更新包;以及
    向第二远程终端发送消息,指示所述第二远程终端获取所述第二更新包。
  22. 一种用于处理容器的方法,其特征在于,包括:
    启动容器加载界面;
    获取包括至少一个界面内容的包;以及
    所述容器加载所述包中的界面内容进行显示。
  23. 根据权利要求22所述的方法,其特征在于,所述容器为不同类型的多个容器,并且所述至少一个界面内容为用于不同类型容器的多个界面内容。
  24. 根据权利要求22或23所述的方法,其特征在于,获取所述包的操作包括直接从本地的预定地址获取所述包。
  25. 根据权利要求22或23所述的方法,其特征在于,获取所述包的操作包括从远程获取所述包。
  26. 根据权利要求22或23所述的方法,其特征在于,还包括在预定时间执行以下操作:
    确定是否存在包括更新的界面内容的更新包,其中所述更新的界面内容能够通过所 述容器加载;
    在确定存在更新包的情况下,从远程获取所述更新包;以及
    利用所述更新包更新已经获取的所述包。
  27. 根据权利要求26所述的方法,其特征在于,所述预定时间包括以下时间中的至少一个时间:
    在启动时;
    在从后台跳转到前台时;
    在到达预先设置的定时时间时;以及
    在从远程接收到具有所述更新包的消息时。
  28. 根据权利要求26所述的方法,其特征在于,还包括:
    在获取所述更新包后,验证所述更新包的有效性;以及
    在验证所述更新包有效的情况下,利用所述更新包更新已经获取的所述包。
  29. 根据权利要求26所述的方法,其特征在于,所述更新的页面内容为用于不同类型容器的多个界面内容。
  30. 根据权利要求22所述的方法,其特征在于,还包括:
    响应于购买产品的操作,从远程获取包括控制所述产品的界面内容的包;以及
    利用所述容器加载包括控制所述产品的界面内容的所述包进行显示。
  31. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1至30中任意一项所述的方法。
  32. 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至30中任意一项所述的方法。
  33. 一种处理容器的系统,其特征在于,包括:
    处理器;以及
    存储器,与所述处理器连接,用于为所述处理器提供处理以下处理步骤的指令:
    通过应用程序接收第一触发操作,所述第一触发操作用于触发所述应用程序启动所包括的容器加载界面内容;
    通过所述应用程序响应于所述第一触发操作,从远程获取包括至少一个界面内容的包,并安装到所述应用程序的预定地址处;以及
    通过所述应用程序利用所述容器加载所述包中的界面内容进行显示。
  34. 一种处理容器的系统,其特征在于,包括:
    处理器;以及
    存储器,与所述处理器连接,用于为所述处理器提供处理以下处理步骤的指令:
    通过应用程序确定是否存在包括更新的界面内容的更新包,其中所述更新的界面内容能够通过所述应用程序的容器加载;
    通过所述应用程序在确定存在更新包的情况下,从远程获取所述更新包;以及
    通过所述应用程序利用所述更新包更新所述应用程序已经安装的包括至少一个界面内容的包。
  35. 一种处理容器的系统,其特征在于,包括:
    处理器;以及
    存储器,与所述处理器连接,用于为所述处理器提供处理以下处理步骤的指令:
    接收来自远程终端的查询包括更新的界面内容的更新包的查询请求;
    基于所述查询请求查询是否存在更新包;以及
    将查询的结果发送至所述远程终端。
  36. 一种处理容器的系统,其特征在于,包括:
    处理器;以及
    存储器,与所述处理器连接,用于为所述处理器提供处理以下处理步骤的指令:
    启动容器加载界面;
    获取包括至少一个界面内容的包;以及
    所述容器加载所述包中的界面内容进行显示。
  37. 一种用于处理容器的装置,其特征在于,包括:
    接收模块,用于通过应用程序接收第一触发操作,所述第一触发操作用于触发所述应用程序启动所包括的容器加载界面内容;
    第一获取模块,用于通过所述应用程序响应于所述第一触发操作,从远程获取包括至少一个界面内容的包,并安装到所述应用程序的预定地址处;以及
    第一加载模块,用于通过所述应用程序利用所述容器加载所述包中的界面内容进行显示。
  38. 一种用于处理容器的装置,其特征在于,包括:
    第一确定模块,用于通过应用程序确定是否存在更新的容器,其中所述更新的容器用于加载更新的界面内容;
    第一获取模块,用于通过所述应用程序在确定存在更新的容器的情况下,从远程获 取所述更新的容器;以及
    第一更新模块,用于通过所述应用程序利用所述更新包更新所述应用程序已经安装的包括至少一个界面内容的包。
  39. 一种用于处理容器的装置,其特征在于,包括:
    更新子模块,用于接收来自远程终端的查询包括更新的界面内容的更新包的查询请求;
    查询模块,用于基于所述查询请求查询是否存在更新包;以及
    发送模块,用于将查询的结果发送至所述远程终端。
  40. 一种用于处理容器的装置,其特征在于,包括:
    启动模块,用于启动容器加载界面;
    获取模块,用于获取包括至少一个界面内容的包;以及
    加载模块,用于通过所述容器加载所述包中的界面内容进行显示。
PCT/CN2018/096770 2017-08-04 2018-07-24 用于处理容器的方法、装置和系统 WO2019024709A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710665671.3A CN109388066A (zh) 2017-08-04 2017-08-04 用于处理容器的方法、装置和系统
CN201710665671.3 2017-08-04

Publications (1)

Publication Number Publication Date
WO2019024709A1 true WO2019024709A1 (zh) 2019-02-07

Family

ID=65233396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/096770 WO2019024709A1 (zh) 2017-08-04 2018-07-24 用于处理容器的方法、装置和系统

Country Status (2)

Country Link
CN (1) CN109388066A (zh)
WO (1) WO2019024709A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130104114A1 (en) * 2011-10-20 2013-04-25 David Scott Reiss Update Application User Interfaces on Client Devices
CN104123151A (zh) * 2013-04-28 2014-10-29 百度在线网络技术(北京)有限公司 移动终端中应用程序的插件管理方法、装置和移动终端
CN104636172A (zh) * 2015-03-09 2015-05-20 联想(北京)有限公司 一种应用升级方法和装置
CN105867963A (zh) * 2015-12-14 2016-08-17 乐视云计算有限公司 应用程序更新方法及装置
CN106502699A (zh) * 2016-11-03 2017-03-15 腾讯科技(深圳)有限公司 一种应用页面处理方法、装置及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8429642B1 (en) * 2006-06-13 2013-04-23 Trend Micro Incorporated Viral updating of software based on neighbor software information
CN102368214B (zh) * 2011-10-17 2013-12-25 深圳和而泰智能控制股份有限公司 界面自动生成方法及系统
US9383988B2 (en) * 2012-07-03 2016-07-05 Salesforce, Inc. System and method for using directed acyclic graph (DAG) for application updates
CN105607935B (zh) * 2015-12-24 2019-12-13 北京奇虎科技有限公司 应用程序更新方法及其终端、服务器
CN106791123A (zh) * 2016-12-27 2017-05-31 努比亚技术有限公司 用户终端及应用处理方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130104114A1 (en) * 2011-10-20 2013-04-25 David Scott Reiss Update Application User Interfaces on Client Devices
CN104123151A (zh) * 2013-04-28 2014-10-29 百度在线网络技术(北京)有限公司 移动终端中应用程序的插件管理方法、装置和移动终端
CN104636172A (zh) * 2015-03-09 2015-05-20 联想(北京)有限公司 一种应用升级方法和装置
CN105867963A (zh) * 2015-12-14 2016-08-17 乐视云计算有限公司 应用程序更新方法及装置
CN106502699A (zh) * 2016-11-03 2017-03-15 腾讯科技(深圳)有限公司 一种应用页面处理方法、装置及系统

Also Published As

Publication number Publication date
CN109388066A (zh) 2019-02-26

Similar Documents

Publication Publication Date Title
US10893094B2 (en) System and method for appliance detection and app configuration
US11669342B2 (en) Profile transmission method, related device, and storage medium
CN109076331B (zh) 电子设备和电子设备的控制方法
CN102255887B (zh) 对应多移动装置的线上服务的提供方法与系统
US20190052476A1 (en) Smart appliance control method and smart appliance
CN105376107B (zh) 终端测试方法和代理服务器
WO2019062912A1 (zh) 显示模式切换方法及装置、终端、存储介质
US20130325939A1 (en) Terminal management system and method for managing a terminal
EP2757741A2 (en) Smart home system using portable device
EP2804393A1 (en) Remote control method, intelligent terminal and intelligent remote control system
WO2018129515A1 (en) Method, system and device for connecting devices
US20140052573A1 (en) System for purchasing and managing an item using a terminal and a refrigerator using the same
WO2019024754A1 (zh) 页面加载的方法、装置和系统
US20110219429A1 (en) Online service providing system, method, server and mobile device thereof, and computer program product
CN110457154B (zh) 异常服务处理方法及装置、存储介质、通信终端
CN105517015A (zh) 一种wifi产品空中下载OTA升级方法、装置及终端
US20150317059A1 (en) Application management method for a mobile terminal and the mobile terminal
JP2017501517A (ja) アプリケーションプログラムをプッシュするための方法、装置、およびシステム、ならびにデバイス
CN112579264B (zh) 一种应用程序跳转的方法、终端及计算机存储介质
US9946728B2 (en) Cloud service system and method thereof
US20160241630A1 (en) Method and apparatus for downloading a file
US8812293B2 (en) Apparatus and method for changing language in mobile communication terminal
US20140282058A1 (en) Electronic device with a funiction of applying applications of different operating systems, system and method thereof
KR101797812B1 (ko) 다수의 장치들을 제어하기 위한 자동실행방법, 어플리케이션 및 설정서버
US20150178068A1 (en) Electric product and method for updating firmware of the same

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: 18840900

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: 18840900

Country of ref document: EP

Kind code of ref document: A1