CN107203425B - Switching method and device of light application and electronic device - Google Patents

Switching method and device of light application and electronic device Download PDF

Info

Publication number
CN107203425B
CN107203425B CN201710276596.1A CN201710276596A CN107203425B CN 107203425 B CN107203425 B CN 107203425B CN 201710276596 A CN201710276596 A CN 201710276596A CN 107203425 B CN107203425 B CN 107203425B
Authority
CN
China
Prior art keywords
light application
running
light
interface
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710276596.1A
Other languages
Chinese (zh)
Other versions
CN107203425A (en
Inventor
王亚军
马引
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201710276596.1A priority Critical patent/CN107203425B/en
Publication of CN107203425A publication Critical patent/CN107203425A/en
Application granted granted Critical
Publication of CN107203425B publication Critical patent/CN107203425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a switching method and device of light applications and electronic equipment. The method comprises the following steps: acquiring a second light application to be switched; and switching the currently displayed running interface of the first light application into the running interface of the second light application, and storing the light application information of the first light application in a light application running list. According to the invention, when the user uses the light application through the light application platform, a plurality of light applications can be operated simultaneously, different light applications can be switched to use, and the user experience of using the light application is improved.

Description

Switching method and device of light application and electronic device
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for switching light applications, and an electronic apparatus.
Background
The light application is a full-function application (App) which is installed without downloading and can be searched and used (directly loaded and used after searching), has the characteristics of being retrieved and intelligently distributed of the Web application (Web App), has user experience which is more beautiful and even better than that of a Native application (Native App), and can effectively solve the problem that high-quality application and service are in butt joint with the requirements of mobile users. Meanwhile, the development of light application is simpler and more friendly for developers, has lower cost and is easier to popularize. Therefore, light applications are widely used.
In the industry, a light application platform is used to provide a developer with functions of developing and publishing light applications and provide a user with functions of searching and using light applications. However, although there are many light application platforms, each light application platform also relates to many application fields, and many light applications are published for users to use, each light application platform only provides a single light application entry, and a user can only run one light application on the corresponding light application platform.
Disclosure of Invention
It is an object of the present invention to provide a new solution for light application handover.
According to a first aspect of the present invention, there is provided a method for switching a light application, including:
acquiring a second light application to be switched;
switching the currently displayed running interface of the first light application into the running interface of the second light application, storing the light application information of the first light application into a light application running list,
wherein the light application information at least includes an identification and an operating state of the corresponding light application.
Optionally, the step of acquiring a second light application to be switched includes:
acquiring characteristic information of the light application to be switched;
according to the characteristic information, determining the corresponding second light application in all light applications of which the corresponding light application information is stored in the light application running list;
and/or
And searching a corresponding light application platform according to the characteristic information to load the corresponding second light application.
Further optionally, the running status includes at least a running priority of the corresponding light application;
the step of switching the currently displayed running interface of the first light application into the running interface of the second light application comprises the following steps:
exiting the running interface of the first light application and reducing the running priority of the first light application;
and displaying the running interface of the second light application, and setting the running priority of the second light application as the highest priority.
Still further optionally, the running state further includes a running interface state of the corresponding light application;
the step of displaying the running interface of the second light application comprises the following steps:
correspondingly displaying the running interface of the second light application according to the running interface state of the second light application stored in the light application list;
and
and when the running interface state of the second light application is not stored in the light application list, running the second light application and displaying the running interface of the second light application.
According to a second aspect of the present invention, there is provided a light application switching apparatus comprising:
the light application acquisition unit is used for acquiring a second light application to be switched;
an operation interface switching unit, configured to switch an operation interface of a currently displayed first light application to an operation interface of the second light application, and store light application information of the first light application in a light application operation list,
wherein the light application information at least includes an identification and an operating state of the corresponding light application.
Optionally, the light application obtaining unit includes:
the characteristic acquisition unit is used for acquiring the characteristic information of the light application to be switched;
a light application determining unit, configured to determine, according to the feature information, the corresponding second light application from all light applications in which the corresponding light application information has been stored in the light application running list;
and/or
And the light application searching unit is used for searching the corresponding light application platform according to the characteristic information so as to load the corresponding second light application.
Further optionally, the running status includes at least a running priority of the corresponding light application;
the operation interface switching unit includes:
the running interface quitting unit is used for quitting the running interface of the first light application and reducing the running priority of the first light application;
and the operation interface display unit is used for displaying the operation interface of the second light application and setting the operation priority of the second light application as the highest priority.
Still further optionally, the running state further includes a running interface state of the corresponding light application;
the operation interface display unit comprises:
the first display unit is used for correspondingly displaying the running interface of the second light application according to the running interface state of the second light application stored in the light application list;
and
and the second display unit is used for running the second light application and displaying the running interface of the second light application when the running interface state of the second light application is not stored in the light application list.
According to a third aspect of the invention, there is provided an electronic device comprising at least a light-application switching device as described in the second aspect of the invention.
According to a fourth aspect of the invention, there is provided an electronic device comprising a memory and a processor,
the memory is configured to store instructions for controlling the processor to operate to perform the method of switching any of the light applications as provided by the first aspect of the invention.
The inventor of the present invention finds that, in the prior art, there is no light application switching method, device and electronic device, which can support running multiple light applications simultaneously and support switching between different light applications. Therefore, the technical task to be achieved or the technical problems to be solved by the present invention are never thought or anticipated by those skilled in the art, and therefore the present invention is a new technical solution.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a block diagram showing an example of a hardware configuration of an electronic apparatus that can be used to implement an embodiment of the present invention.
Fig. 2 shows one of the flowcharts of the handover method of the light application of the embodiment of the present invention.
Fig. 3 shows a second flowchart of a handover method of a light application of an embodiment of the present invention.
Fig. 4 shows a third flowchart of a handover method of a light application according to an embodiment of the present invention.
Fig. 5 shows the fourth flowchart of the handover method of the light application of the embodiment of the present invention.
Fig. 6 is one of schematic diagrams of an example of a handover method of a light application of an embodiment of the present invention.
Fig. 7 is a second schematic diagram of an example of a handover method for light applications according to an embodiment of the present invention.
Fig. 8 is a third schematic diagram of an example of a handover method for light applications according to an embodiment of the present invention.
Fig. 9 shows a block diagram of a switching device of a light application of an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a block diagram showing a hardware configuration of an electronic apparatus 1000 that can implement an embodiment of the present invention.
The electronic device 1000 may be a laptop, desktop, cell phone, tablet, etc. As shown in fig. 1, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 is capable of wired or wireless communication, for example, and may specifically include Wifi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. A user can input/output voice information through the speaker 1700 and the microphone 1800.
The electronic device shown in fig. 1 is merely illustrative and is in no way meant to limit the invention, its application, or uses. In an embodiment of the present invention, the memory 1200 of the electronic device 1000 is configured to store instructions for controlling the processor 1100 to operate to execute any light application switching method provided by the embodiment of the present invention. It will be appreciated by those skilled in the art that although a plurality of means are shown for the electronic device 1000 in fig. 1, the present invention may relate to only some of the means therein, e.g. the electronic device 1000 relates to only the processor 1100 and the storage means 1200. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
< example >
In this embodiment, the general concept is to provide a method and device for switching light applications, and an electronic device, so that a user can simultaneously run multiple light applications when using the light applications through a light application platform, and can switch to use different light applications, thereby improving the user experience of using the light applications.
< method >
As shown in fig. 2, the method for switching a light application provided in this embodiment includes:
step S2100, acquiring a second light application to be switched;
the second light application is a light application different from the light application currently used by the user through the light application platform, namely, a light application different from the light application corresponding to the running interface displayed by the current light application platform, and is a target light application which the user wants to switch to use.
The light application platform may be embedded in a browser or an application (App) with a browser function, or may be a separate application (App).
In this embodiment, the step of acquiring the second light application to be switched includes:
step S2101, obtain the characteristic information of the light application to be switched;
the feature information of the light application to be switched is information of the light application which can uniquely identify the corresponding light application, for example, the feature information may be an identifier of the light application, and more specifically, the identifier of the light application may be a name of the light application, or a unique application number of the light application, or the feature information may be feature keyword information of the light application, and specifically, the feature information may be any one of a use keyword, a developer name, a name keyword, and the like of the light application, or the feature information may be keyword information which can uniquely represent the light application after being combined.
After acquiring the characteristic information, the step of acquiring the second light application to be switched may be shown in fig. 3, and further includes:
step S2102-1, determining, according to the feature information, the corresponding second light application among all light applications in which the corresponding light application information has been stored in the light application running list.
The light application running list at least comprises identification and running states of corresponding light applications, and all the light applications of the light application information which are stored in the light application running list are all the light applications which are currently run;
in a specific example, a light application selection interface may be generated, which is used to display all light applications that have been currently run (as shown in fig. 6), so that a user may select a target light application to be switched through selection operations such as checking or clicking, and after the user completes the selection operations, the steps of obtaining feature information corresponding to the light application to be switched by the user, and determining a corresponding second light application in all light applications in which corresponding light application information has been stored in a light application running list according to the feature information are correspondingly completed;
in practical applications, there may be a lot of light applications that have already been run, but the size of the display screen (e.g. a mobile phone) of the electronic device used by the user to run the light applications is limited, and the light applications that have already been run need to be displayed in multiple screens, and the user needs to pull down the screen or move the screen to find the target light application to be switched, so the user experience is not good, therefore, in another specific example, a switching application search interface (as shown in fig. 7) may be generated for the user to input the feature information (as described above, for example, the name of the light application, the keyword information uniquely characterizing the light application, etc.) of the target light application, and after the feature information of the target light application input by the user is obtained, according to the feature information in the background, in all light applications that have stored the corresponding light application information in the light application running list, that is, in the light applications that have already been run, determining the corresponding second light application.
In another application scenario, the target light application to be switched by the user is a light application not currently running, and therefore, after the obtaining the feature information, the step of obtaining the second light application to be switched may further include, as shown in fig. 4:
step S2102-2, searching a corresponding light application platform according to the feature information to load the corresponding second light application.
Specifically, through a switching application search interface as shown in fig. 7, a user may input feature information (as described above, for example, a name of a light application, keyword information uniquely representing the light application, and the like) of a target light application to be switched, and then search in a light application platform currently used by the user according to the feature information, find a second light application corresponding to the feature information from all light applications published in the light application platform, and load the second light application for the user to switch.
It should be understood that after the feature information is obtained, the step of obtaining the second light application to be switched may also include, as shown in fig. 5:
step S2102-1, determining, according to the feature information, a corresponding second light application from all light applications in which the corresponding light application information has been stored in the light application running list;
and
step S2102-2, searching a corresponding light application platform according to the feature information to load the corresponding second light application.
In a specific example, as shown in fig. 8, an interface is generated for the user to select whether the target light application to be switched is a new light application (an un-run light application) or an already-run light application, and according to the selection of the user: if the target light application is a new light application, generating an interface as shown in fig. 7 for the user to input characteristic information to load a corresponding second light application after searching in the light application platform, and if the target light application is an already-running light application, generating an interface as shown in fig. 6 for the user to select to determine the corresponding second light application.
Or, in another example, an interface as shown in fig. 7 may be directly generated for a user to input feature information, according to the feature information input by the user, the corresponding second light application is determined in all light applications in which corresponding light application information has been stored in the light application running list, that is, in all light applications that have been run, and when there is no light application corresponding to the feature information in all light applications that have been run, the corresponding light application platform is searched according to the feature information, the second light application corresponding to the feature information is found from all light applications that have been released in the light application platform, and the second light application is loaded for the user to use.
The above description has been made with reference to the drawings and examples to describe how to implement step S2100 to obtain the second light application, and enter step S2200 to switch the currently displayed running interface of the first light application to the running interface of the second light application, and store the light application information of the first light application in the light application running list;
the first light application is the light application which is currently used by a user through the light application platform, and the operation interface of the currently displayed first light application is switched to the operation interface of the second light application, so that the switching of the light application can be realized;
the light application information of the first light application is stored in a light application running list, and by maintaining the light application running list, all the light applications which have been run can be recorded and corresponding running states can be maintained, so that the simultaneous running of a plurality of light applications and the switching between different light applications can be supported, and specifically, the light application information at least comprises the identification and the running states of the corresponding light applications.
In a specific example, the operation state at least includes an operation priority of the corresponding light application, and the step of switching the currently displayed operation interface of the first light application to the operation interface of the second light application includes:
exiting the running interface of the first light application and reducing the running priority of the first light application;
and displaying the running interface of the second light application, and setting the running priority of the second light application as the highest priority.
By setting the running priority of the light application, the running priority of the light application which currently shows the running interface is always the highest priority, and the running priorities of other light applications running in the background are always lower than the highest priority, so that the running efficiency of the light application is higher. Furthermore, different operation priorities can be set for a plurality of light applications running in the background according to specific application scenes, so that the running efficiency of the light applications is further improved.
In addition, when the running interface of the first light application is exited, a selection interface can be generated for a user to select whether to close the first light application, if the user selects to close the first light application, the first light application is closed, and if the light application is stored in the light application list before, the related light application information in the light application running list is cleared.
Further, in the above example, the running state further includes a running interface state of the corresponding light application;
the step of displaying the running interface of the second light application comprises the following steps:
correspondingly displaying the running interface of the second light application according to the running interface state of the second light application stored in the light application list;
and
and when the running interface state of the second light application is not stored in the light application list, running the second light application and displaying the running interface of the second light application.
Specifically, if the second light application is an already-running light application, the running interface state of the second light application when being switched to the background before the second light application is stored in the light application list, and when the second light application is switched back to the second light application, the running interface of the second light application can be correspondingly displayed according to the stored running interface state, that is, the running interface before being switched to the background before the second light application is restored for continuous use by the user, so that the user experience of using the light application is improved;
and if the second light application is not an already-run light application but a newly-loaded light application, the light application list does not store the running interface state of the second light application, and at this time, the second light application can be directly run and the running interface of the second light application can be displayed.
The light application switching method provided in this embodiment has been described above with reference to the drawings and examples, and by acquiring a second light application to be switched, switching an operation interface of a first light application to be displayed to an operation interface of the second light application, and storing light application information of the first light application in a light application operation list, a user can simultaneously operate a plurality of light applications when using the light application through a light application platform, and can switch to use different light applications, thereby improving the user experience of using the light application.
< apparatus >
In the present embodiment, there is also provided a switching apparatus 9000 for light application, as shown in fig. 9, including: the light application obtaining unit 9100 and the running interface switching unit 9200 are used to implement any one of the light application switching methods provided in this embodiment, and are not described herein again.
A light duty switching device 9000 comprising:
a light application acquiring unit 9100, configured to acquire a second light application to be switched;
an operation interface switching unit 9200, configured to switch an operation interface of a first light application currently displayed to an operation interface of the second light application, and store light application information of the first light application in a light application operation list,
wherein the light application information at least includes an identification and an operating state of the corresponding light application.
Optionally, the light application obtaining unit 9100 includes:
a feature obtaining unit 9101, configured to obtain feature information of the light application to be switched;
a light application determining unit 9102, configured to determine, according to the feature information, the corresponding second light application from among all light applications in which the corresponding light application information has been stored in the light application running list;
and/or
A light application searching unit 9103, configured to search, according to the feature information, a corresponding light application platform to load the corresponding second light application.
Optionally, the running state includes at least a running priority of the corresponding light application;
the operation interface switching unit 9200 includes:
an operation interface quitting unit 9201, configured to quit the operation interface of the first light application and reduce the operation priority of the first light application;
and an operation interface display unit 9202 configured to display an operation interface of the second light application, and set an operation priority of the second light application to a highest priority.
Further optionally, the running state further includes a running interface state of the corresponding light application;
the operation interface display unit 9202 includes:
a first display unit 9202-1, configured to correspondingly display an operation interface of the second light application according to the operation interface state of the second light application stored in the light application list;
and
a second displaying unit 9202-2, configured to run the second light application and display the running interface of the second light application when the running interface state of the second light application is not stored in the light application list.
It will be appreciated by those skilled in the art that the lightweight application switching device 9000 may be implemented in a variety of ways. For example, the switching device 9000 of the light application may be implemented by an instruction configuration processor. For example, instructions may be stored in ROM and read from ROM into a programmable device when the device is started to implement the switching device 9000 for light applications. For example, the switching device 9000 of a light application may be cured into a dedicated device (e.g., ASIC). The switching device 9000 of the light application may be divided into units independent of each other, or may be implemented by combining them together. The lightweight application switching device 9000 can be implemented by one of the various implementations described above, or can be implemented by a combination of two or more of the various implementations described above.
In the present embodiment, there is also provided an electronic apparatus including at least a switching apparatus 9000 of a light application as shown in fig. 9. In a specific example, the electronic device may be a light application platform providing light application use functionality.
< entity apparatus >
In this implementation, there is also provided an electronic device including a memory and a processor, the memory storing instructions for controlling the processor to operate so as to execute the switching method of the light application as any one provided in this embodiment.
In a specific example, the electronic device may be the electronic device 1000 shown in fig. 1.
The embodiments of the present invention have been described above with reference to the accompanying drawings, and according to the embodiments, a method, a device, and an electronic device for switching a light application are provided, where a second light application to be switched is obtained, an operation interface of a first light application that is displayed is switched to an operation interface of the second light application, and light application information of the first light application is stored in a light application operation list, so that a user can simultaneously operate a plurality of light applications when using the light application through a light application platform, and can switch to use different light applications, thereby improving user experience in using the light application.
It is well known to those skilled in the art that with the development of electronic information technology such as large scale integrated circuit technology and the trend of software hardware, it has been difficult to clearly divide the software and hardware boundaries of a computer system. As any of the operations may be implemented in software or hardware. Execution of any of the instructions may be performed by hardware, as well as by software. Whether a hardware implementation or a software implementation is employed for a certain machine function depends on non-technical factors such as price, speed, reliability, storage capacity, change period, and the like. Accordingly, it will be apparent to those skilled in the art of electronic information technology that a more direct and clear description of one embodiment is provided by describing the various operations within the embodiment. Knowing the operations to be performed, the skilled person can directly design the desired product based on considerations of said non-technical factors.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (8)

1. A method for switching a light application, comprising:
acquiring a second light application to be switched;
switching the currently displayed running interface of the first light application into the running interface of the second light application, running the first light application in the background, and storing light application information of the first light application in a light application running list,
the light application information at least comprises an identifier and an operation state of the corresponding light application, and the operation state at least comprises an operation priority of the corresponding light application;
the step of switching the currently displayed running interface of the first light application to the running interface of the second light application comprises:
exiting the running interface of the first light application and reducing the running priority of the first light application;
displaying the running interface of the second light application, and setting the running priority of the second light application as the highest priority;
the exiting the running interface of the first light application and the lowering of the running priority of the first light application comprises:
when the running interface of the first light application is exited, generating a selection interface for a user to select whether to close the first light application;
and in the case that the user selects to close the first light application, closing the first light application, and clearing the light application information of the first light application stored in the light application running list.
2. The method of claim 1, wherein the step of obtaining a second light application to be switched comprises:
acquiring characteristic information of the light application to be switched;
according to the characteristic information, determining the corresponding second light application in all light applications of which the corresponding light application information is stored in the light application running list;
and/or
And searching a corresponding light application platform according to the characteristic information to load the corresponding second light application.
3. The method of claim 1,
the running state also comprises a running interface state of the corresponding light application;
the step of displaying the running interface of the second light application comprises the following steps:
correspondingly displaying the running interface of the second light application according to the running interface state of the second light application stored in the light application list;
and
and when the running interface state of the second light application is not stored in the light application list, running the second light application and displaying the running interface of the second light application.
4. A switching device for light applications, comprising:
the light application acquisition unit is used for acquiring a second light application to be switched;
an operation interface switching unit, configured to switch an operation interface of a currently displayed first light application to an operation interface of the second light application, run the first light application in a background, and store light application information of the first light application in a light application running list,
the light application information at least comprises an identifier and an operation state of the corresponding light application, and the operation state at least comprises an operation priority of the corresponding light application;
the operation interface switching unit includes:
the running interface quitting unit is used for quitting the running interface of the first light application and reducing the running priority of the first light application;
the operation interface display unit is used for displaying the operation interface of the second light application and setting the operation priority of the second light application as the highest priority;
the exiting the running interface of the first light application and the lowering of the running priority of the first light application comprises:
when the running interface of the first light application is exited, generating a selection interface for a user to select whether to close the first light application;
and in the case that the user selects to close the first light application, closing the first light application, and clearing the light application information of the first light application stored in the light application running list.
5. The apparatus according to claim 4, wherein the light application acquisition unit comprises:
the characteristic acquisition unit is used for acquiring the characteristic information of the light application to be switched;
a light application determining unit, configured to determine, according to the feature information, the corresponding second light application from all light applications in which the corresponding light application information has been stored in the light application running list;
and/or
And the light application searching unit is used for searching the corresponding light application platform according to the characteristic information so as to load the corresponding second light application.
6. The apparatus of claim 4,
the running state also comprises a running interface state of the corresponding light application;
the operation interface display unit comprises:
the first display unit is used for correspondingly displaying the running interface of the second light application according to the running interface state of the second light application stored in the light application list;
and
and the second display unit is used for running the second light application and displaying the running interface of the second light application when the running interface state of the second light application is not stored in the light application list.
7. An electronic device, characterized in that it comprises at least:
a lightly applied switching device as claimed in any one of claims 4-6.
8. An electronic device, characterized in that,
comprising a memory and a processor, wherein the processor is connected with the memory,
the memory is to store instructions to control the processor to operate to perform the method of any one of claims 1-3.
CN201710276596.1A 2017-04-25 2017-04-25 Switching method and device of light application and electronic device Active CN107203425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710276596.1A CN107203425B (en) 2017-04-25 2017-04-25 Switching method and device of light application and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710276596.1A CN107203425B (en) 2017-04-25 2017-04-25 Switching method and device of light application and electronic device

Publications (2)

Publication Number Publication Date
CN107203425A CN107203425A (en) 2017-09-26
CN107203425B true CN107203425B (en) 2020-11-06

Family

ID=59905572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710276596.1A Active CN107203425B (en) 2017-04-25 2017-04-25 Switching method and device of light application and electronic device

Country Status (1)

Country Link
CN (1) CN107203425B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345487A (en) * 2018-02-11 2018-07-31 广东欧珀移动通信有限公司 Methods of exhibiting, device, storage medium and the electronic equipment of application
CN109101327B (en) * 2018-06-29 2020-09-01 维沃移动通信有限公司 Switching of light application and mobile terminal
CN110058857B (en) * 2019-04-28 2021-08-31 上海连尚网络科技有限公司 Boarded application generation method and apparatus
CN110069186B (en) * 2019-04-30 2021-10-15 上海连尚网络科技有限公司 Method and equipment for displaying operation interface of application
CN110658962A (en) * 2019-09-30 2020-01-07 珠海市魅族科技有限公司 Starting method and device of fast application, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809857A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Information processing method and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019512A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method, system and mobile terminal for switching application programs
CN103336687B (en) * 2013-06-17 2016-09-14 深圳市金立通信设备有限公司 The changing method of a kind of application interface and terminal
CN106293904A (en) * 2015-06-03 2017-01-04 阿里巴巴集团控股有限公司 Realize method, device and the terminal unit of APP switching

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809857A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Information processing method and electronic device

Also Published As

Publication number Publication date
CN107203425A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN107203425B (en) Switching method and device of light application and electronic device
US9727300B2 (en) Identifying the positioning in a multiple display grid
CN107679113B (en) Light application acquisition method and device and electronic device
KR102078753B1 (en) Method for controlling layout and an electronic device thereof
CN107168780B (en) Virtual reality scene loading method and equipment and virtual reality equipment
US10318338B2 (en) Re-launching contextually related application sets
CN105453024B (en) Method for displaying and electronic device thereof
CN107908447B (en) Application switching method and device and virtual reality device
CN107122172B (en) Light application processing method, light application running method, light application equipment and light application equipment
WO2014173141A1 (en) Method of switching desktop subjects of mobile terminal and its switching apparatus
CN104461473A (en) Screen locking wallpaper switching method and device and terminal equipment
KR102024820B1 (en) Desktop sharing method and mobile terminal
US20170161098A1 (en) Method, device, and terminal for switching operating systems
US9996225B2 (en) Displaying nodes on a view screen
CN110781349A (en) Method, equipment, client device and electronic equipment for generating short video
CN104021039A (en) Calling method for APP and browser
CN110753251A (en) Video switching method and device and electronic equipment
CN108966315B (en) Wireless network acquisition method and device and electronic equipment
CN111125480A (en) Background music playing method and equipment, client device and electronic equipment
CN110764849A (en) Rendering method and device for user interface, client device and electronic device
CN111158802B (en) Audio playing method, equipment, client device and electronic equipment
CN110858119B (en) Application interaction method and device and electronic equipment
US20210026913A1 (en) Web browser control feature
CN110837720B (en) Method, device and related product for instruction execution
CN111506847B (en) Webpage display method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200527

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 12 layer self unit 01

Applicant before: GUANGZHOU SHENMA MOBILE INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant