CN108132844A - Plug-in download method and device - Google Patents

Plug-in download method and device Download PDF

Info

Publication number
CN108132844A
CN108132844A CN201611093571.XA CN201611093571A CN108132844A CN 108132844 A CN108132844 A CN 108132844A CN 201611093571 A CN201611093571 A CN 201611093571A CN 108132844 A CN108132844 A CN 108132844A
Authority
CN
China
Prior art keywords
plug
unit
download
file lock
lock
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.)
Granted
Application number
CN201611093571.XA
Other languages
Chinese (zh)
Other versions
CN108132844B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611093571.XA priority Critical patent/CN108132844B/en
Publication of CN108132844A publication Critical patent/CN108132844A/en
Application granted granted Critical
Publication of CN108132844B publication Critical patent/CN108132844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/524Deadlock detection or avoidance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

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

Abstract

The invention discloses a kind of plug-in download method and devices, belong to field of computer technology.The method includes:When the second process requested downloads installation plug-in unit, detect in process ID file lock corresponding with plug-in unit whether be stored with process ID;Process ID file lock is used to lock to the process corresponding to the process ID of storage, and process ID is used for identification process;When process ID file lock is stored with the process ID of the first process, the first process is inquired to operating system according to the process ID of the first process and whether there is;In the absence of the first process, determine that the first process exception exits, the process ID stored in process ID file lock is revised as to the process ID of the second process;Continue to execute the download installation procedure of plug-in unit.The present invention locks to process by using by the mode of process ID write-in process ID file lock so that when the first process exception exits, the second process can continue to perform the download installation procedure of plug-in unit, solve the problems, such as deadlock.

Description

Plug-in download method and device
Technical field
The present embodiments relate to field of computer technology, more particularly to a kind of plug-in download method and device.
Background technology
In order to avoid installation kit is excessive, some expanded functions of application program are realized by way of dynamic download plug-in unit 's.By taking Android system as an example, plug-in unit is to follow the program that the application programming interfaces of certain specification are write out, for using journey Expanded function is realized on the basis of the original function of sequence, plug-in unit is necessarily dependent upon application program and could run, and being only by plug-in unit can not Normal operation.
When the function of having multiple process needs that same plug-in unit is used to provide in an application program, and the plug-in unit is not yet When downloading installation, it may appear that multiple processes download the situation for installing the plug-in unit simultaneously.Due to same in same application The download installation path of plug-in unit is identical, if two processes download same plug-in unit simultaneously, it may appear that the problem of downloading mistake.It is existing Have in technology, avoid the problem that multi-process Parallel download causes download mistake by file lock mechanism.Specifically, to each Process provides file lock, and with the ability locked to process, the first process for obtaining file lock performs this document lock after locking Plug-in download installation procedure, the second process that there is no file lock are suspended, that is, are waited for.
Due to locking since the first process, to the first process plug-in download installation procedure be finished during, Remaining second process waited for is all suspended automatically, if the first process malfunction in the process of implementation it is abnormal exit, then first into Cheng Buhui unlocks file lock, and the second sequence lasts of waiting are suspended, and the second process can not continue to execute or re-execute plug-in unit Installation procedure is downloaded, the problem of so as to which deadlock occur.
Invention content
In order to solve after the process locked in the prior art exits extremely in the process of implementation, the sequence lasts of waiting are hung It rises, can not continue to execute or re-execute the download installation procedure of plug-in unit, the problem of so as to which deadlock occur, the embodiment of the present invention carries A kind of plug-in download method and device is supplied.The technical solution is as follows:
In a first aspect, a kind of plug-in download method is provided, the method includes:
When the second process requested downloads installation plug-in unit, detect and whether deposited in process ID file lock corresponding with the plug-in unit Contain process ID;The process ID file lock is used to lock to the process corresponding to the process ID of storage, the process ID For identifying the process;
When the process ID file lock is stored with the process ID of the first process, according to the process ID of first process to Operating system is inquired first process and be whether there is;
In the absence of first process, determine that first process exception exits, it will be in the process ID file lock The process ID of storage is revised as the process ID of second process;
Continue to execute the download installation procedure of the plug-in unit.
Second aspect, provides a kind of plug-in download device, and described device includes:
First detection module, for when the second process requested download installation plug-in unit when, detection it is corresponding with the plug-in unit into Whether process ID is stored in journey ID file locks;The process ID file lock be used for corresponding to the process ID of storage into Cheng Shangsuo, the process ID are used to identify the process;
Enquiry module detects that the process ID file lock is stored with the first process for working as the first detection module During process ID, first process is inquired to operating system according to the process ID of first process and whether there is;
First modified module for working as in the absence of the enquiry module inquires first process, determines described One process exception exits, and the process ID stored in the process ID file lock is revised as to the process of second process ID;
Download module, for continuing to execute the download installation procedure of the plug-in unit.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
It locks by using by the mode of the process ID write-in process ID file lock of the first process to the first process so that need Download same plug-in unit the second process can according in the process ID to operating system in process ID file lock search first into Journey whether there is, if being not present, show that exception exits the first process in midway, then again writes the process ID of the second process Enter locking, continue to execute the download installation procedure of plug-in unit, avoid locking the first process exception exit after, others second into Journey is suspended and can not continue to execute the situation of the download installation procedure of plug-in unit, so as to solve file lock meeting of the prior art The problem of deadlock.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the method flow diagram of plug-in download method provided in one embodiment of the invention;
Fig. 2A is the method flow diagram of plug-in download method provided in another embodiment of the present invention;
Fig. 2 B are the sides for the download installation procedure that the second process provided in one embodiment of the invention continues to execute plug-in unit Method flow chart;
Fig. 2 C are the schematic diagrams of schematical plug-in download method provided in one embodiment of the invention;
Fig. 3 is the block diagram of plug-in download device provided in one embodiment of the invention;
Fig. 4 is the block diagram of plug-in download device provided in section Example of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
For the ease of the understanding to various embodiments of the present invention, related terms are explained first:
Plug-in unit:It is to follow the program that the application programming interfaces of certain specification are write out, for realizing the expansion of application program Open up function.
Process ID:For the unique mark process in multiple processes of operating system.
Process ID file lock:For storage process ID, and lock to the process corresponding to the process ID of storage.Specifically, When process ID is written into, process ID file lock locks to the corresponding process of the process ID, when process ID is deleted or is changed When, the corresponding process unlock to process ID of process ID file lock.
Host application:Application program with the permission for downloading installation plug-in unit.After one plug-in unit of installation is downloaded, place Primary application program obtains the function of extension on the basis of original function.
Nonhost application program:Application program without the permission for downloading installation plug-in unit, but can be by sharing host The installed plug-in unit of application program obtains the function of extension.
Shared drive:It is the memory space that different processes realize interprocess communication.When a process is in shared drive After data are written, another process can read the data in the shared drive.
Fig. 1 is the method flow diagram of plug-in download method provided in one embodiment of the invention.The present embodiment is inserted with this Part method for down loading is applied to come in the terminal for being equipped with host application for example, alternatively, should applied to host is equipped with It is illustrated in the terminal of program and nonhost application program.As shown in Figure 1, the plug-in download method includes:
Step 101, it when the second process requested downloads installation plug-in unit, detects in process ID file lock corresponding with the plug-in unit Whether process ID is stored with.
Process ID file lock is used to lock to the process corresponding to the process ID of storage, and process ID is used to identify the process.
One plug-in unit corresponds to a process ID file lock, and the name of process ID file lock is usually related to plug-in unit, for example makes Corresponding process ID file lock is named with the K values of plug-in unit.First download install the plug-in unit process usually require create with The corresponding process ID file lock of plug-in unit, and process ID file lock is named according to scheduled naming rule, it needs to download later and be somebody's turn to do Other processes of plug-in unit can find corresponding process ID file lock according to the title of process ID file lock.
Process ID is stored in process ID file lock, shows there is the process locked in process ID file lock.If into Predetermined value (such as -1) is stored in journey ID file locks, then shows had the first process to install plug-in download, and It normally exits, when the second process needs use the plug-in unit, installed plug-in unit can be directly used, without again Download installation.
Step 102, when process ID file lock is stored with the process ID of the first process, according to the process ID of the first process to Operating system is inquired the first process and be whether there is.
Under normal circumstances, the first process is when downloading installation plug-in unit, by the process ID write-in process ID text of the first process Part is locked, and is locked by process ID file lock to the first process;First process is after download installs, by the process ID of the first process It is wiped from process ID file lock, the first process is unlocked by process ID file lock.But if the first process midway is abnormal Exit, then the process ID of first process it is possible that can be retained in process ID lock in, do not wiped in time.
When the process ID that the first process is stored in process ID file lock, the second process will continue to according to the first process ID The first process is inquired to operating system whether there is, so that it is determined that whether the first process is in normal operating condition.If first Process exists in an operating system, then shows that the first process is in normal operating condition, the second process exits;If the first process It is not present in an operating system, then shows that the first process is exited in midway exception, enter step 103.
Step 103, it in the absence of the first process, determines that the first process exception exits, will be stored in process ID file lock Process ID be revised as the process ID of the second process.
When the first process exits, either normally exit or it is abnormal exit, all inquired in operating system less than this One process.
Therefore, if the process ID in process ID file lock exists, but the second process is looked into according to the process ID to operating system It askes to the first process and is not present, then show that exception exits the first process in midway.
Second process overrides the first process stored originally by the process ID write-in process ID file lock of the second process Process ID, then process ID file lock the first process is unlocked, again to the second process lock.
Step 104, the download installation procedure of the plug-in unit is continued to execute.
Since the first process exits extremely, the partial data of plug-in unit may be downloaded, therefore in the second process After lock, it can continue to download and the plug-in unit be installed according to the data downloaded, without all re-downloading the plug-in unit.
In conclusion plug-in download method provided in an embodiment of the present invention, writes by using by the process ID of the first process The mode for entering process ID file lock locks to the first process so that needs the second process for downloading same plug-in unit can be according to process The first process is searched in process ID to operating system in ID file locks to whether there is, if being not present, has shown the first process In midway, exception exits, then the process ID of the second process is written again and locks, continue to execute the download installation procedure of plug-in unit, keep away After the first process exception for having exempted to lock exits, other second processes are suspended and can not continue to execute the download installation of plug-in unit The situation of flow, so as to solve the problems, such as that file lock of the prior art can deadlock.
Fig. 2A is the method flow diagram of plug-in download method provided in another embodiment of the present invention.The present embodiment is with this Plug-in download method is applied to come in the terminal for being equipped with host application for example, alternatively, applied to host is equipped with It is illustrated in the terminal of application program and nonhost application program.As shown in Figure 2 A, which includes:
Step 201, when the second process requested downloads installation plug-in unit, whether application program corresponding with the second process is detected For host application.
Since host application has the permission for downloading installation plug-in unit, nonhost application program does not have download installation and inserts The permission of part.Therefore when the second process asks to download installation plug-in unit to operating system, operating system first determines the second process pair Whether the application program answered is host application, and the permission for installing the plug-in unit is downloaded to determine whether the second process has.
Step 202, when application program corresponding with the second process is host application, whether the plug-in unit is detected In host application.
When the corresponding application program of the second process is host application, show that the second process has plug-in download installation Permission.At this point, operating system, which allows the second process to download, installs the plug-in unit.Before the plug-in unit is installed in download, the second process Detect whether the plug-in unit is already installed in host application;When detecting that the plug-in unit is already installed in host application When, the second process can directly use the plug-in unit.
When plug-in unit is not yet mounted in host application, then step 203 is performed.
Step 203, it when the plug-in unit is not yet mounted in host application, detects whether to exist corresponding with the plug-in unit Process ID file lock.
Since a plug-in unit corresponds to a process ID file lock, the second process detection whether there is and the plug-in unit pair The process ID file lock answered;If there is no process ID file locks corresponding with the plug-in unit, 204 are entered step;If in the presence of with this The corresponding process ID file lock of plug-in unit, then enter step 205.
Step 204, when there is no during process ID file lock corresponding with the plug-in unit, creating process ID file lock, and by the The process ID file lock that the process ID write-in of two processes creates performs the download installation procedure of plug-in unit.
When there is no during process ID file lock corresponding with the plug-in unit, showing that the plug-in unit was not downloaded, therefore second Process creation process ID file lock corresponding with plug-in unit, and name the process ID file lock according to scheduled naming rule.Process The name of ID file locks is usually related to plug-in unit, for example corresponding process ID file lock can be named using the K values of plug-in unit.
The process ID file lock pair is written after process ID file lock is created, by the process ID of the second process in second process Second process is locked.
Step 205, when there is process ID file lock corresponding with the plug-in unit, process ID text corresponding with the plug-in unit is detected Whether process ID is stored in part lock.
Process ID file lock is used to lock to the process corresponding to the process ID of storage, and process ID is used to identify the process.
If process ID file lock exists, show that the plug-in unit was downloaded or had been downloaded, if the first process is normal The download installation procedure of plug-in unit is performed, the first process can delete the process in the process ID file lock when the first process exits Process ID is revised as predetermined value (such as -1) by ID, therefore, if not having process in the second process detection to process ID file lock ID is stored with predetermined value, then shows had the first process to install the plug-in download, and normally exit, when second When process needs use the plug-in unit, mounted plug-in unit can be directly used, without downloading installation again.
Step 206, when process ID file lock is stored with the process ID of the first process, according to the process ID of the first process to Operating system is inquired the first process and be whether there is.
Under normal circumstances, the first process is when downloading installation plug-in unit, by the process ID write-in process ID text of the first process Part is locked, and is locked by process ID file lock to the first process;First process is after download installs, by the process ID of the first process It is wiped from process ID file lock, the first process is unlocked by process ID file lock.But if the first process midway is abnormal Exit, then the process ID of first process it is possible that can be retained in process ID lock in, do not wiped in time.
When the process ID that the first process is stored in process ID file lock, the second process will continue to according to the first process ID The first process is inquired to operating system whether there is, so that it is determined that whether the first process is in normal operating condition.If first Process exists in an operating system, then shows that the first process is in normal operating condition, the second process exits;If the first process It is not present in an operating system, then shows that the first process is exited in midway exception, enter step 207.
Step 207, it in the absence of the first process, determines that the first process exception exits, will be stored in process ID file lock Process ID be revised as the process ID of the second process.
After the locking of the first process, moved back if the first process is abnormal during plug-in download installation procedure is performed Go out, since the first process fails to perform the operation that the process ID in process ID file lock is deleted or modified, lead to process ID file Process ID in lock still remains, therefore process ID file lock is still the state of locking, but the download installation procedure of plug-in unit be by It interrupts.
When the first process exits, either normally exit or it is abnormal exit, all inquired in operating system less than this One process.Therefore, if the process ID in process ID file lock exists, but the second process is inquired according to the process ID to operating system It is not present to the first process, then shows that the first process exception exits.
Second process overrides the first process stored originally by the process ID write-in process ID file lock of the second process Process ID, then process ID file lock the first process is unlocked, again to the second process lock.
Step 208, the download installation procedure of the plug-in unit is continued to execute.
Since the first process exits extremely, the partial data of plug-in unit may be downloaded, therefore in the second process After lock, the second process can continue to download and install the plug-in unit according to the data downloaded, without all re-downloading The plug-in unit.
Optionally, the second process continues to execute the download installation procedure of plug-in unit, the step of can including as shown in Figure 2 B:
Step 208a obtains the plug-in download installation progress of the first process by shared drive.
Shared drive is the memory space that the first process and the second process realize interprocess communication.
Shared drive is a kind of realization method in realization inter-process communication mechanisms between the different processes of operating system.
During the download installation procedure for performing plug-in unit, the download of plug-in unit can be installed into first process by the first process Degree is stored to shared drive, and when the first process exception exits, the second process can be to getting the first process in shared drive Plug-in unit download installation progress.
Step 208b continues to download and installs the plug-in unit according to the plug-in download installation progress of acquisition.
Second process can continue to download after the download installation progress of plug-in unit is got according to the data downloaded Plug-in unit is installed.Such as first process exited extremely when plug-in download is to 50%, the second process then can be after 50% continues download The data in face.
The download installation progress of the plug-in unit is recorded in shared drive step 208c.
Second process perform plug-in unit download installation procedure when, also can simultaneously by the download installation progress of plug-in unit store to Shared drive.
Optionally, when third process requested downloads installation plug-in unit, if third process detection is carrying out to the second process The download installation procedure of plug-in unit, then third process by accessing shared drive, install by the download that can efficiently get plug-in unit Progress.
If the second process has normally performed the download installation procedure of plug-in unit, the second process can be to process ID file lock solution Lock.Optionally, the second process is completed to unlock by way of step 209 or step 210.
Step 209, when download installation procedure is finished, the process of the second process in deletion process ID file locks ID。
Process ID in second process-kill process ID file lock.
Step 210, when download installation procedure is finished, the process ID of the second process in process ID file lock is repaiied It is changed to predetermined value.
Process ID in second process modification process ID file lock, i.e., be revised as predetermined value, which uses by process ID Installation procedure is downloaded in expression to be finished.Optionally, which is a process ID value not actually existed, such as- 1。
In practical applications, only host application just has the permission for downloading installation plug-in unit, but when nonhost should When using plug-in unit with program needs, the process of plug-in unit how is used for nonhost application program, refers to step 211 to step Rapid 212 description.
Step 211, when application program corresponding with the second process is nonhost application program, whether the plug-in unit is detected Through being mounted in host application.
Since nonhost application program does not have the permission for downloading installation plug-in unit, but can share in host application Plug-in unit through installation, therefore whether the second process detection host application installs the plug-in unit.
Step 212, when the plug-in unit is already installed in host application, it is slotting that this is shared from host application Part.
If host application is fitted without the plug-in unit, nonhost application program can not use the plug-in unit.
To plug-in download method in this present embodiment, it can combine and refer to plug-in download Method And Principle shown in fig. 2 C Figure.S201 is first carried out, judges whether it is host application;If the judging result of S201 is yes, S202 is performed, judges to insert Whether part is installed;If the judging result of S202 is no, S203 is performed, judges that process ID file lock whether there is;If S203's Judging result is yes, then performs S204, judges that process ID whether there is;If the judging result of S204 is yes, S205 is performed, is sentenced The disconnected corresponding process of process ID whether there is;If the judging result of S205 is yes, S211 is performed, under shared drive memory card Carry installation progress;If the judging result of S201 is no, S206 is performed, whether inquiry host application installs the plug-in unit;If The judging result of S206 is yes, then performs S207, shares mounted plug-in unit, successfully terminates;If the judging result of S206 is no, Then unsuccessfully terminate;If the judging result of S203 is no, S208 is performed, creates process ID file lock, the locking of this process ID is written, Then S210 is performed, performs plug-in download installation procedure, then perform S211, shared drive memory card downloads installation progress;If S205 judging results are no, then perform S209, and the locking of this process ID is written, then performs S210, perform plug-in download installation stream Journey, then S211 is performed, the download installation progress of shared drive memory card.
In conclusion plug-in download method provided in an embodiment of the present invention, writes by using by the process ID of the first process The mode for entering process ID file lock locks to the first process so that needs the second process for downloading same plug-in unit can be according to process The first process is searched in process ID to operating system in ID file locks to whether there is, if being not present, has shown the first process In midway, exception exits, then the process ID of the second process is written again and locks, continue to execute the download installation procedure of plug-in unit, keep away After the first process exception for having exempted to lock exits, other second processes are suspended and can not continue to execute the download installation of plug-in unit The situation of flow, so as to solve the problems, such as that file lock of the prior art can deadlock.
In addition, by detecting whether there is process ID file lock corresponding with plug-in unit, if being not present, the second process can be fast Speed determines that other no processes install the plug-in unit in download, then the second process can create process ID file lock, and perform and insert The download installation procedure of part.
In addition, whether it is host application by detecting the corresponding application program of the second process, it may be determined that go out second Whether process has the download installation permission of plug-in unit.
In addition, by when the corresponding application program of the second process is nonhost application program, host application is detected Whether the plug-in unit is installed, if host application installs the plug-in unit, nonhost application program can be shared using the plug-in unit.
In addition, by while the download installation procedure for performing plug-in unit, the download installation progress of plug-in unit is written shared Memory so that other need the download that the process of the plug-in unit is used by accessing shared drive, can efficiently to get plug-in unit Installation progress information.When the first process exception exits, the download that the second process gets plug-in unit from shared drive is installed into Degree can continue to download according to the download installation progress of acquisition and install the plug-in unit.
In addition, by when download installation procedure is finished, the process ID in process ID file lock is deleted or modified, makes Other processes using the plug-in unit must be needed to be not present by the process ID in process ID file lock is detected or for predetermined value When, determine that the plug-in unit has downloaded installation.
In practical application scene, web browser can provide WEB-browsing services, webpage for third party application Browsing service is in addition to providing basic web page browsing function for third party application, additionally it is possible to be provided for third party application Other such as video playings, word document are opened, the expanded function of pdf documents opening various types File Open, in order to avoid The installation kit of WEB-browsing services is excessive, and expanded function is realized by way of dynamic download plug-in unit, that is, works as third-party application When program needs use a certain expanded function, it is corresponding slotting that terminal can send the expanded function to the server of web browser Part downloads request, and the installation kit of plug-in unit is sent to terminal by the server of web browser, after plug-in download installation, third party The expanded function can be used in application program.
The terminal said herein can include smart mobile phone, tablet computer, pocket computer on knee and desk-top calculating Machine etc., terminal can run the various application programs including host application and nonhost application program.
The server of web browser is the network platform for providing web page browsing function and other expanded functions, clothes Business device can be a server or the server cluster being made of several servers, each clothes in server cluster Data between business device can share or cloud computing service center.Physics realization of the embodiment of the present invention to server Mode is not limited.
It is connected between terminal and server by communication network.Optionally, communication network is cable network or wireless network.
Due to only having host application to have the permission for downloading installation plug-in unit, above-mentioned can download installs plug-in unit Third party application is host application, in addition, also only having host application to have download installation WEB-browsing services The permission of kernel, and the WEB-browsing services kernel of installation can be shared away.Nonhost application program could be used that net Page browsing service, but use WEB-browsing services kernel that host application shares and host application mounted Plug-in unit.
It should be noted that the plug-in unit between host application is not shared mutually, i.e., under each host application is independent Installation plug-in unit is carried, without the shared plug-in unit using other host applications.
Optionally, host application includes instant messaging application program.
In instant messaging application, there is a situation where that multiple processes browse webpage using WEB-browsing services, when more Process is concurrently using the function that a certain plug-in unit is needed to realize, and when the plug-in unit not yet downloads installation, it may appear that peace is downloaded in multi-process Plug the situation of part.In same application program, the download installation path of same card is identical, when multiple processes are downloaded simultaneously Plug-in unit is installed, can cause to download mistake.
In order to avoid plug-in download mistake, the first process creation and plug-in unit pair of first execution plug-in download installation procedure Process ID file lock locking is written in the process ID of first process by the process ID file lock answered, and performs the download peace of plug-in unit Flow is filled, while the first process stores the download installation progress of plug-in unit to shared drive, and the plug-in unit has been performed in the first process Download installation procedure after, the first process by the process ID in process ID file lock be deleted or modified for predetermined value unlock, then Other processes can directly use mounted plug-in unit, without downloading again when needing using the plug-in unit.
If the first process malfunctions during the download installation procedure for performing plug-in unit, the first process can exit extremely, Then when there is the second process to need the function of realizing using the plug-in unit, need to download the second process of installation same card into Enter, since the first process has created process ID file lock corresponding with the plug-in unit, then the second process can be detected the presence of inserts with this The corresponding process ID file lock of part, while can also detect in the process ID file lock that there are process IDs, existing process ID and to be It is unlocked and the process ID do not wiped when first process exception exits due to not having, the second process is according to the process ID to operating system Corresponding with the process ID the first process of inquiry whether there is, since the first process exception exits, query result for there is no with Corresponding first process of the process ID, then the process ID of the second process is written the process ID file lock and locked by the second process, And continue to execute the download installation procedure of plug-in unit.Since the first process has performed the download of plug-in unit before mistake occurs and exits Installation procedure may download the partial data of plug-in unit, therefore the second process can be obtained to shared drive under plug-in unit Installation progress is carried, continues to download the plug-in unit according to installation progress is downloaded.In the download installation process of plug-in unit, the second process is simultaneously The download installation progress of plug-in unit is stored to shared drive.When the second process complete plug-in unit download installation procedure after, second into The process ID of second process in process ID file lock is deleted or modified and is unlocked for predetermined value by journey, and then other processes are needing to make During with the plug-in unit, mounted plug-in unit can be directly used, without downloading the plug-in unit again.
Fig. 3 is the block diagram of plug-in download device provided in one embodiment of the invention.The present embodiment is inserted with this Part download apparatus is applied to come in the terminal for being equipped with host application for example, alternatively, should applied to host is equipped with It is illustrated in the terminal of program and nonhost application program.As shown in figure 3, the plug-in download device includes:First inspection Survey module 310, enquiry module 320, the first modified module 330 and download module 340.
First detection module 310, be used to implement above-mentioned steps 101, step 205 and it is any other implicit or it is disclosed with Detect relevant function.
Enquiry module 320 is used to implement above-mentioned steps 102, step 206 and any other implicit or disclosed and inquiry Relevant function.
First modified module 330, be used to implement above-mentioned steps 103, step 207 and it is any other implicit or it is disclosed with Change relevant function.
Download module 340 is used to implement above-mentioned steps 104, step 208 and any other implicit or disclosed and download Relevant function.
Optionally, which further includes:Second detection module, creation module, third detection module, the 4th detection module, 5th detection module, sharing module, removing module and the second modified module.
Second detection module is used to implement above-mentioned steps 203 and any other implicit or disclosed relevant with detection Function.
Creation module is used to implement above-mentioned steps 204 and any other implicit or disclosed and relevant function of establishment.
Third detection module is used to implement above-mentioned steps 201 and any other implicit or disclosed relevant with detection Function.
4th detection module is used to implement above-mentioned steps 202 and any other implicit or disclosed relevant with detection Function.
5th detection module is used to implement above-mentioned steps 211 and any other implicit or disclosed relevant with detection Function.
Sharing module is used to implement above-mentioned steps 212 and any other implicit or disclosed and shared relevant function.
Removing module is used to implement above-mentioned steps 209 and any other implicit or disclosed and relevant function of deletion.
Second modified module is used to implement above-mentioned steps 210 and any other implicit or disclosed relevant with detection Function.
Optionally, download module 340, including:Acquiring unit, download unit and recording unit.
Acquiring unit is used to implement above-mentioned steps 208a and any other implicit or disclosed and relevant work(of acquisition Energy.
Download unit is used to implement above-mentioned steps 208b and any other implicit or disclosed and relevant work(of download Energy.
Recording unit is used to implement above-mentioned steps 208c and any other implicit or disclosed with recording relevant work( Energy.
It should be noted that:The plug-in download device provided in above-described embodiment is in download plug-in, only with above-mentioned each work( Can module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions Module is completed, i.e., the internal structure of terminal is divided into different function modules, described above all or part of to complete Function.In addition, the plug-in download device that above-described embodiment provides belongs to same design with plug-in download embodiment of the method, it is specific Realization process refers to embodiment of the method, and which is not described herein again.
Shown in Figure 4, it illustrates the structure boxes of the plug-in download device provided in section Example of the present invention Figure.The plug-in download device 400 is used to implement the plug-in download method of above-described embodiment offer.Device 400 in the present invention can To include one or more following component parts:For performing computer program instructions to complete the processing of various flows and method Device, for information and storage program instruction random access memory (RAM) and read-only memory (ROM), for store data with The memory of information, I/O equipment, interface, antenna etc..Specifically:
Device 400 can include RF (Radio Frequency, radio frequency) circuit 410, memory 420, input unit 430, Display unit 440, sensor 450, voicefrequency circuit 460, WiFi (wireless fidelity, Wireless Fidelity) module 470, place Manage the components such as device 480, power supply 482, camera 490.It will be understood by those skilled in the art that the plug-in download dress shown in Fig. 4 Put the restriction of structure not structure paired terminal, can include than illustrate more or fewer components or the certain components of combination or The different component arrangement of person.
Each component parts of device 400 is specifically introduced with reference to Fig. 4:
RF circuits 410 can be used for receive and send messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 480;In addition, the data for designing uplink are sent to base station.In general, RF circuit packets Include but be not limited to antenna, at least one amplifier, transceiver, coupler, LNA (Low Noise Amplifier, low noise Amplifier), duplexer etc..In addition, RF circuits 410 can also communicate with network and other equipment by radio communication.The nothing Line communication can use any communication standard or agreement, including but not limited to GSM (Global System of Mobile Communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet without Line service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), electronics Mail, SMS (Short Messaging Service, short message service) etc..
Memory 420 can be used for storage software program and module, and processor 480 is stored in memory 420 by operation Software program and module, so as to executive device 400 various function application and data processing.Memory 420 can be main Including storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function should With program (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses institute according to device 400 Data (such as audio data, phone directory etc.) of establishment etc..In addition, memory 420 can include high-speed random access memory, It can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-states are deposited Memory device.
Input unit 430 can be used for receiving the number inputted or character information and generation and the user setting of device 400 And the key signals input that function control is related.Specifically, input unit 430 may include touch panel 431 and other inputs Equipment 432.Touch panel 431, also referred to as touch screen, collect user on it or neighbouring touch operation (for example user makes With the operation of any suitable object such as finger, stylus or attachment on touch panel 431 or near touch panel 431), and Corresponding attachment device is driven according to preset formula.Optionally, touch panel 431 may include touch detecting apparatus and touch Touch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the letter that touch operation is brought Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then processor 480 is given, and the order that processor 480 is sent can be received and performed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 431.It is defeated in addition to touch panel 431 Other input equipments 432 can also be included by entering unit 430.Specifically, other input equipments 432 can include but is not limited to physics It is one or more in keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc..
Display unit 440 can be used for display by information input by user or be supplied to the information of user and device 400 Various menus.Display unit 440 may include display panel 441, optionally, LCD (Liquid Crystal may be used Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come Display panel 441 is configured.Further, touch panel 431 can cover display panel 441, when touch panel 431 is detected at it On or near touch operation after, send to processor 480 with determine touch event type, be followed by subsequent processing device 480 according to touch The type for touching event provides corresponding visual output on display panel 441.Although in Fig. 4, touch panel 431 and display surface Plate 441 is input and the input function that the component independent as two carrys out realization device 400, but in certain embodiments, it can Function is output and input so that touch panel 431 and display panel 441 is integrated and realization device 400.
Device 400 may also include at least one sensor 450, such as gyro sensor, magnetic induction sensor, light sensing Device, motion sensor and other sensors.Specifically, optical sensor may include ambient light sensor and proximity sensor, In, ambient light sensor can adjust the brightness of display panel 441 according to the light and shade of ambient light, and proximity sensor can be in device 400 when being moved in one's ear, closes display panel 441 and/or backlight.As one kind of motion sensor, acceleration transducer can The size of (generally three axis) acceleration is detected in all directions, size and the direction of gravity are can detect that when static, can be used for Identify application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), the Vibration identification correlation work(of electronic equipment posture Energy (such as pedometer, percussion) etc.;Barometer, hygrometer, thermometer, the infrared ray sensor that can also configure as device 400 Etc. other sensors, details are not described herein.
Voicefrequency circuit 460, loud speaker 461, microphone 462 can provide the audio interface between user and device 400.Audio The transformed electric signal of the audio data received can be transferred to loud speaker 461, sound is converted to by loud speaker 461 by circuit 460 Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 462, after being received by voicefrequency circuit 460 Audio data is converted to, then after audio data output processor 480 is handled, through RF circuits 410 to be sent to such as another end Audio data is exported to memory 420 to be further processed by end.
WiFi belongs to short range wireless transmission technology, and device 400 can help user's transceiver electronics by WiFi module 470 Mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 4 is shown WiFi module 470, but it is understood that, and must be configured into for device 400 is not belonging to, completely it can exist as needed Do not change in the range of disclosed essence and omit.
Processor 480 is the control centre of device 400, utilizes each of various interfaces and the entire electronic equipment of connection Part is stored in memory by running or performing the software program being stored in memory 420 and/or module and call Data in 420, the various functions of executive device 400 and processing data, so as to carry out integral monitoring to electronic equipment.It is optional , processor 480 may include one or more processing units;Preferably, processor 480 can integrate application processor and modulatedemodulate Processor is adjusted, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 480.
Device 400 further includes the power supply 482 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 480 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
Camera 490 is generally by groups such as camera lens, imaging sensor, interface, digital signal processor, CPU, display screens Into.Wherein, camera lens is fixed on the top of imaging sensor, can be focused on by adjusting camera lens manually to change;Imaging sensor " film " of traditional camera is equivalent to, is the heart of camera collection image;Interface is used for camera using winding displacement, plate to plate Connector, spring connection mode are connect with electronic equipment mainboard, and the image of acquisition is sent to the memory 420;Number Signal processor is handled the image of acquisition by mathematical operation, and the analog image of acquisition is converted to digital picture and is led to It crosses interface and is sent to memory 420.
Although being not shown, device 400 can also be including bluetooth module etc., and details are not described herein.
Device 400 in addition to including one or more processor 480, further included memory and one or more Program, one or more program are stored in memory, and are configured to be performed by one or more processor.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, which can be Computer readable storage medium included in memory in above-described embodiment;Can also be individualism, without supplying eventually Computer readable storage medium in end.There are one the computer-readable recording medium storages or more than one program, this one A either more than one program is used for performing above-mentioned plug-in download method by one or more than one processor.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (12)

  1. A kind of 1. plug-in download method, which is characterized in that the method includes:
    When the second process requested downloads installation plug-in unit, detect and whether be stored in process ID file lock corresponding with the plug-in unit Process ID;The process ID file lock is used to lock to the process corresponding to the process ID of storage, and the process ID is used for Identify the process;
    When the process ID file lock is stored with the process ID of the first process, according to the process ID of first process to operation The first process whether there is described in system queries;
    It in the absence of first process, determines that first process exception exits, will be stored in the process ID file lock The process ID be revised as the process ID of second process;
    Continue to execute the download installation procedure of the plug-in unit.
  2. 2. according to the method described in claim 1, it is characterized in that, in detection process ID file corresponding with the plug-in unit Whether it is stored with before process ID in lock, the method further includes:
    Detect whether there is the process ID file lock corresponding with the plug-in unit;
    When there is the process ID file lock corresponding with the plug-in unit, detection process corresponding with the plug-in unit is performed The step of whether process ID being stored in ID file locks;
    When there is no during the process ID file lock corresponding with the plug-in unit, create the process ID file lock, and by described in The process ID file lock is written in the process ID of second process.
  3. 3. according to the method described in claim 2, it is characterized in that, detect whether there is institute corresponding with the plug-in unit described Before stating process ID file lock, the method further includes:
    Whether detection application program corresponding with second process is host application, under the host application has Carry the permission for installing the plug-in unit;
    When application program corresponding with second process is the host application, detect whether the plug-in unit has pacified In the host application;
    When the plug-in unit is not yet mounted in the host application, detect whether exist and the plug-in unit pair described in execution The step of process ID file lock answered.
  4. 4. according to the method described in claim 3, it is characterized in that, detect whether there is institute corresponding with the plug-in unit described After stating process ID file lock, the method further includes:
    When application program corresponding with second process is nonhost application program, detect whether the plug-in unit has been installed In host application;
    When the plug-in unit is already installed in the host application, described insert is shared from the host application Part.
  5. 5. method according to any one of claims 1 to 4, which is characterized in that the download peace for continuing to execute the plug-in unit Flow is filled, including:
    The plug-in download installation progress of first process is obtained by shared drive, the shared drive is first process The memory space of interprocess communication is realized with second process;
    Continue to download according to the plug-in download installation progress of acquisition and the plug-in unit is installed;
    The download installation progress of the plug-in unit is recorded in the shared drive.
  6. 6. the method according to Claims 1-4, which is characterized in that in the download installation for continuing to execute the plug-in unit After flow, further include:
    When the download installation procedure is finished, the process of second process in the process ID file lock is deleted ID;
    Alternatively,
    When the download installation procedure is finished, the process ID of second process in the process ID file lock is repaiied Predetermined value is changed to, the predetermined value is used to represent that the download installation procedure is finished.
  7. 7. a kind of plug-in download device, which is characterized in that described device includes:
    First detection module, for when the second process requested downloads installation plug-in unit, detecting process ID corresponding with the plug-in unit Whether process ID is stored in file lock;The process ID file lock is used for the process corresponding to the process ID of storage Lock, the process ID are used to identify the process;
    Enquiry module detects that the process ID file lock is stored with the process of the first process for working as the first detection module During ID, first process is inquired to operating system according to the process ID of first process and whether there is;
    First modified module, for working as in the absence of the enquiry module inquires first process, determine described first into Cheng Yichang is exited, and the process ID stored in the process ID file lock is revised as to the process ID of second process;
    Download module, for continuing to execute the download installation procedure of the plug-in unit.
  8. 8. device according to claim 7, which is characterized in that described device further includes:
    Second detection module, for detecting whether in the presence of the process ID file lock corresponding with the plug-in unit;
    The first detection module, be additionally operable to when second detection module detect the presence of it is corresponding with the plug-in unit it is described into During journey ID file locks, detect in process ID file lock corresponding with the plug-in unit whether be stored with process ID;
    Creation module detects that there is no the process ID files corresponding with the plug-in unit for working as second detection module During lock, the process ID file lock is created, and the process ID file lock is written into the process ID of second process.
  9. 9. device according to claim 8, which is characterized in that described device further includes:
    Whether third detection module is host application for detecting application program corresponding with second process, described Host application has the permission downloaded and install the plug-in unit;
    4th detection module detects that application program corresponding with second process is institute for working as the third detection module When stating host application, detect whether the plug-in unit is already installed in the host application;
    Second detection module is additionally operable to detect that the plug-in unit is not yet mounted on the host when the 4th detection module When in application program, detect whether there is the process ID file lock corresponding with the plug-in unit.
  10. 10. device according to claim 9, which is characterized in that described device further includes:
    5th detection module detects that application program corresponding with second process is non-for working as the third detection module During host application, detect whether the plug-in unit is already installed in host application;
    Sharing module detects that the plug-in unit is already installed in the host application for working as the 5th detection module When, the plug-in unit is shared from the host application.
  11. 11. according to any device of claim 7 to 10, which is characterized in that the download module, including:
    Acquiring unit, for passing through the plug-in download installation progress that shared drive obtains first process, the shared drive It is the memory space that first process and second process realize interprocess communication;
    Download unit installs described insert for continuing to download according to the plug-in download installation progress that the acquiring unit obtains Part;
    The shared drive is recorded in recording unit, the download installation progress of the plug-in unit for the download unit to be downloaded In.
  12. 12. the device according to claim 7 to 10, which is characterized in that described device further includes:
    Removing module, for when the download installation procedure is finished, deleting described the in the process ID file lock The process ID of two processes;
    Second modified module, for when it is described download installation procedure be finished when, described in the process ID file lock The process ID of second process is revised as predetermined value, and the predetermined value is used to represent that the download installation procedure is finished.
CN201611093571.XA 2016-12-01 2016-12-01 Plug-in downloading method and device Active CN108132844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611093571.XA CN108132844B (en) 2016-12-01 2016-12-01 Plug-in downloading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611093571.XA CN108132844B (en) 2016-12-01 2016-12-01 Plug-in downloading method and device

Publications (2)

Publication Number Publication Date
CN108132844A true CN108132844A (en) 2018-06-08
CN108132844B CN108132844B (en) 2020-11-10

Family

ID=62388206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611093571.XA Active CN108132844B (en) 2016-12-01 2016-12-01 Plug-in downloading method and device

Country Status (1)

Country Link
CN (1) CN108132844B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475171A (en) * 2019-01-23 2020-07-31 阿里巴巴集团控股有限公司 Application program component downloading method and device and electronic equipment
CN111552524A (en) * 2020-05-06 2020-08-18 Oppo(重庆)智能科技有限公司 Plug-in loading method and device and computer readable storage medium
CN112162795A (en) * 2020-10-09 2021-01-01 广州博冠信息科技有限公司 Plug-in starting method and device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205392A1 (en) * 2000-11-07 2004-10-14 Yuguang Wu Generic fault-tolerant locking mechanism for multiprocessor systems
CN1965281A (en) * 2004-06-09 2007-05-16 西姆毕恩软件有限公司 Computing device with multiple progress structure for operating inserter program code module
CN101126977A (en) * 2007-08-28 2008-02-20 激动集团股份有限公司 ISAPI based WEB static page generation method
US20090300644A1 (en) * 2008-05-30 2009-12-03 International Business Machines Corporation Method to Detect a Deadlock Condition by Monitoring Firmware Inactivity During the System IPL Process
CN102567097A (en) * 2011-12-29 2012-07-11 Tcl王牌电器(惠州)有限公司 Method and terminal for downloading multiple tasks
US20150058862A1 (en) * 2006-12-28 2015-02-26 International Business Machines Corporation High performance locks
CN105278942A (en) * 2014-07-23 2016-01-27 腾讯科技(深圳)有限公司 Component management method and apparatus
CN105357266A (en) * 2015-09-30 2016-02-24 山东乾云启创信息科技股份有限公司 Universal SOCKET communication and process management platform applied to multiple scenes and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205392A1 (en) * 2000-11-07 2004-10-14 Yuguang Wu Generic fault-tolerant locking mechanism for multiprocessor systems
CN1965281A (en) * 2004-06-09 2007-05-16 西姆毕恩软件有限公司 Computing device with multiple progress structure for operating inserter program code module
US20150058862A1 (en) * 2006-12-28 2015-02-26 International Business Machines Corporation High performance locks
CN101126977A (en) * 2007-08-28 2008-02-20 激动集团股份有限公司 ISAPI based WEB static page generation method
US20090300644A1 (en) * 2008-05-30 2009-12-03 International Business Machines Corporation Method to Detect a Deadlock Condition by Monitoring Firmware Inactivity During the System IPL Process
CN102567097A (en) * 2011-12-29 2012-07-11 Tcl王牌电器(惠州)有限公司 Method and terminal for downloading multiple tasks
CN105278942A (en) * 2014-07-23 2016-01-27 腾讯科技(深圳)有限公司 Component management method and apparatus
CN105357266A (en) * 2015-09-30 2016-02-24 山东乾云启创信息科技股份有限公司 Universal SOCKET communication and process management platform applied to multiple scenes and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHEN MING JIANG 等: "A Survey on Load Testing of Large-Scale Software Systems", 《 IEEE TRANSACTIONS ON SOFTWARE ENGINEERING》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475171A (en) * 2019-01-23 2020-07-31 阿里巴巴集团控股有限公司 Application program component downloading method and device and electronic equipment
CN111475171B (en) * 2019-01-23 2024-04-12 阿里巴巴集团控股有限公司 Application program component downloading method and device and electronic equipment
CN111552524A (en) * 2020-05-06 2020-08-18 Oppo(重庆)智能科技有限公司 Plug-in loading method and device and computer readable storage medium
CN111552524B (en) * 2020-05-06 2023-10-13 Oppo(重庆)智能科技有限公司 Plug-in loading method and device and computer readable storage medium
CN112162795A (en) * 2020-10-09 2021-01-01 广州博冠信息科技有限公司 Plug-in starting method and device, computer equipment and storage medium
CN112162795B (en) * 2020-10-09 2023-12-12 广州博冠信息科技有限公司 Plug-in starting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN108132844B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN103617165B (en) Picture loading method, device and terminal
US9584476B2 (en) Safety protection method, firewall, terminal device and computer-readable storage medium
CN103279288B (en) Data transmission method, device and terminal unit
CN103455348B (en) Subarea adjustment, device, terminal, server and system
CN108228894A (en) Check the method, apparatus and terminal for using file recently
US20160109936A1 (en) Display control method and protective cover in electronic device
WO2015062413A1 (en) Terminal account managing method and device cross-reference to related applications
US11176228B2 (en) Application interface display method, apparatus, and terminal, and storage medium
US20210278937A1 (en) Method for Browsing Application Folder and Electronic Device
US10216404B2 (en) Method of securing image data and electronic device adapted to the same
CN108153778A (en) Webpage store method, webpage read method and device
CN108009033B (en) Touch simulation method and device and mobile terminal
US20210382850A1 (en) Album display method, electronic device, and storage medium
CN106547844A (en) A kind for the treatment of method and apparatus of user interface
EP3843356A1 (en) Management method for model files and terminal device
CN110457935A (en) A kind of authority configuring method and terminal device
CN103631625A (en) Data acquisition method, user terminal, server and system
CN110263077A (en) Method, mobile terminal and the storage medium of file in a kind of acquisition mobile terminal
US20170046524A1 (en) Electronic device for controlling file system and operating method thereof
CN108090345A (en) Linux system external command performs method and device
CN108270757A (en) A kind of user account switching method, device, client and system
CN108132844A (en) Plug-in download method and device
CN109491670A (en) A kind of page display method and terminal device
US10540415B2 (en) Apparatus and method for managing history information in an electronic device
CN106708555B (en) A kind of method and apparatus loading plug-in unit

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
GR01 Patent grant
GR01 Patent grant