CN109918101A - Terminal and its application component management method, computer readable storage medium - Google Patents
Terminal and its application component management method, computer readable storage medium Download PDFInfo
- Publication number
- CN109918101A CN109918101A CN201910082124.1A CN201910082124A CN109918101A CN 109918101 A CN109918101 A CN 109918101A CN 201910082124 A CN201910082124 A CN 201910082124A CN 109918101 A CN109918101 A CN 109918101A
- Authority
- CN
- China
- Prior art keywords
- application component
- called side
- terminal
- management method
- list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of terminal and its application component management methods, computer readable storage medium, application component in terminal can be monitored, when monitoring that application component is called, the identification information for obtaining called side module, so that the identification information storage that will acquire is into the called side list of application component;The invention also discloses a kind of terminal and computer readable storage mediums, by implementing above scheme, realization automatically records the called side module of application component, situations such as to avoid the called side information of application component by manually recorded error of omission or misremember, promotes the convenience and accuracy of the called side information record of application component.
Description
Technical field
The present invention relates to terminal control fields, more specifically to a kind of terminal and its application component management method, meter
Calculation machine readable storage medium storing program for executing.
Background technique
With the fast development of mobile communication, the function of smart terminal product is not simply as communication tool, more
Be as people amusement tool.Currently, people can use intelligent terminal either in which type of place, or
Reading or game, or chat.In life and work, with the diversification of people's demand, installs, runs at the terminal
Application program type and quantity it is also increasingly various, intelligent terminal also becomes essential in people's life and work and sets
It is standby.Therefore the normal operation of intelligent terminal is just particularly important.
There is vertical more application component activity in intelligent terminal, wherein having a kind of application component is common component,
It can be called by multiple called side modules.For example, realizing that the application component of the desktop theme selection page may also can be more by other
A called side module is called, such as is such as called by theme application, is set using calling etc..At present for each application component
Can be called by which called side module it is all manually recorded by developer, and developer be likely that there are note leakage, misremember or
The case where person has changed developer and can not know, especially for the more application component of called side module.And when using group
When the recalls informations such as the method class name of part are updated by modification, needs also to synchronize each called side module modification and update, and
If called side module cannot be obtained accurately, it just not can guarantee and each called side module notified to modify into what can be synchronized
It updating, the called side module so as to cause non-synchronized update collapses crash when calling or calls unsuccessful serious bug,
Even cause whole system code compilation only.
Summary of the invention
The technical problem to be solved in the present invention is that: the called side information of the application component on intelligent terminal passes through hand at present
Dynamic record and there are the problem of.For the technical problem, a kind of terminal and its application component management method, computer-readable are provided
Storage medium.
In order to solve the above technical problems, the present invention provides a kind of application component management method, the application component manager
Method includes:
When terminal monitoring is called to application component, the identification information of called side module is obtained;
The identification information storage that the terminal will acquire is into the called side list of the application component.
Optionally, the identification information that the terminal will acquire be saved in the called side list of the application component include with
Lower at least one:
The terminal by the identification information of the called side module issue the corresponding management server of the application component with
In the called side list for storing the application component being arranged in the management server;
The terminal local is provided with the called side list of the application component, and the terminal is by the called side module
Identification information storage is in the called side list of the local application component.
Optionally, the identification information includes the packet name of the called side module.
Optionally, the identification information for obtaining called side module includes:
In the content that the terminal is sent when calling the application component from the called side module, the called side is extracted
The packet name of module.
Optionally, after the identification information storage that the terminal will acquire is into the called side list of the application component,
Further include:
The terminal receives the update message of the application component, includes that the application component updates in the update message
Recalls information afterwards;
The terminal according to the update message of the recalls information to each called side module in the called side list into
Row updates, and the update includes that the recalls information of the application component stored to each called side module is updated.
Optionally, the recalls information includes at least one of the following:
The method class name of the application component;
The function name that the interface function of opening is updated to by not opening to the outside world that the application component includes.
Optionally, when the recalls information includes the function name, the recalls information further includes that the function name is corresponding
Access white list, include allowing to access each access letter of the interface function by the function name in the access white list
Number information.
Optionally, the terminal receives the update message of the application component and includes:
The terminal receives the update message from the corresponding management server of the application component.
Further, the present invention also provides a kind of terminal, the terminal includes that processor, memory and communication are total
Line;
The communication bus is for realizing the communication connection between the processor and the memory;
The processor is for executing one or more program stored in memory, to realize application as described above
The step of assembly management method.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize
The step of application component management method as described above.
Beneficial effect
The present invention provides a kind of terminal and its application component management method, computer readable storage medium, in terminal
Application component can be monitored, when monitoring that application component is called, obtain called side module identification information, thus
The identification information storage that will acquire is realized and is carried out certainly to the called side module of application component into the called side list of application component
Dynamic record, thus situations such as avoiding the called side information of application component by manually recorded error of omission or misremembering, promotion is answered
The convenience and accuracy recorded with the called side information of component.
Further, it is based on above-mentioned being the self registering called side list of application component, receives application component in terminal
Include the updated recalls information of application component after, terminal can be according to the update message of the recalls information in called side list
Each called side module be updated, to can guarantee that all called side modules of corresponding component synchronize update, thus
Avoid the called side module because of non-synchronized update when calling collapse crash or call it is unsuccessful or even caused by whole system
Code compilation only the case where occur, the stability and reliability of terminal system are promoted, to promote the satisfaction of user experience.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the terminal applies assembly management method flow schematic diagram that first embodiment of the invention provides;
Fig. 4 is the application component recalls information synchronized update flow diagram that second embodiment of the invention provides;
Fig. 5 is the terminal applies assembly management method flow schematic diagram one that third embodiment of the invention provides;
Fig. 6 is the terminal applies assembly management method flow schematic diagram two that third embodiment of the invention provides;
Fig. 7 is the terminal applies assembly management method flow schematic diagram three that third embodiment of the invention provides;
Fig. 8 is the application component recalls information synchronized update flow diagram that third embodiment of the invention provides;
Fig. 9 is the terminal structure schematic diagram that fourth embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer, and the terminal in the present invention can be obtained using flexible screen
Various flexible terminals.
It will be illustrated by taking flexible mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that
Other than being used in particular for the element of mobile purpose, the construction of embodiment according to the present invention can also apply to fixed type
Flexible terminal.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined, and mobile terminal can be according to the bending property of itself to each component
The change that position, material and function are adapted to.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, various flexible screens and non-flexible screen (namely ordinary screen), such as organic light emission two can be used
Pole pipe (Organic Light-Emitting Diode, OLED), active matrix organic light-emitting diode (Active-matrix
Organic light emitting diode, AMOLED) etc. forms configure display panel 1061.An end in the present embodiment
The display panel that can have is held, may also set up multiple display panels, such as each display panel of front and back, as
The first display screen and second display screen of terminal.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include flexible touch surface
Plate 1071 and other input equipments 1072.Flexible touch panel 1071, also referred to as flexible touch screen are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch surface
Operation on plate 1071 or near touch panel 1071), and corresponding attachment device is driven according to preset formula.Touching
Controlling panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detects user's
Touch orientation, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch detection
Touch information is received on device, and is converted into contact coordinate, then gives processor 110, and can be received processor 110 and be sent
Order and executed.Furthermore, it is possible to be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically
Ground, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, switch key
Deng), trace ball, mouse, one of operating stick etc. or a variety of, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.It should be understood that
Be, the mobile terminal 100 in the present embodiment can for using flexible screen be worth can arbitrarily be bent or according to ad hoc fashion it is curved
Terminal.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
Application component management method provided in this embodiment can be monitored the application component in terminal, work as monitoring
When being called to application component, the identification information of called side module is obtained, so that the identification information storage that will acquire is to using group
In the called side list of part, realization automatically records the called side module of application component, to avoid the tune of application component
With square information by manually recorded situations such as failing to record or misremembering, the convenience of the called side information record of application component is promoted
Property and accuracy.
In order to make it easy to understand, the present embodiment is described further below with reference to a kind of application component management method for example,
It is shown in Figure 3, comprising:
S301: when terminal monitoring to application component is called, the identification information of called side module is obtained.
It should be understood that the terminal in the present embodiment can be mobile phone, tablet computer, laptop, palm PC,
PDA, portable media player, Intelligent bracelet, smartwatch etc. move class intelligent terminal, are also possible to such as number TV, platform
The fixed class intelligent terminal such as formula computer, vehicle-mounted computer.
It can be all monitored for all application components in terminal in the present embodiment, it can also be only for certain applications
Component is monitored.Such as can be monitored only for the application component called by multiple called side modules, it can also only needle
Certain form of application component is monitored.And the it should be understood that function that the application component in the present embodiment is realized
It can flexibly be set according to specific requirements.Such as realize the various functions such as page selection, page duplication, page stickup, sharing
Application component.
In addition, it is to be understood that the called side module in the present embodiment is also possible to the application component of various applications, example
Such as wechat application, Video Applications, QQ application.
In the present embodiment, the identification information of called side module can be the various marks of energy each called side module of unique identification
Information.Such as may include but be not limited to the packet name of called side module, which can be the application applied described in called side module
Packet name can also be only the packet name of called side module itself, as long as can unique identification called side module.
In a kind of example of the present embodiment, when the identification information of called side module includes the packet name of called side module,
A kind of identification information obtaining called side module can include:
In the content that terminal is sent when calling application component from called side module, the packet name of called side module is extracted.At this
In embodiment, called side module can be required to send corresponding content when calling application component, then obtained from related content
Get the identification information of called side module.
S302: in the called side list of the identification information storage that terminal will acquire to application component.
In the present embodiment, the identification information storage of the called side module for the application component that terminal will acquire applies group to this
Mode in the called side list of part can be with flexible setting.Such as, it may include at least one of storage mode in following:
Mode one: the identification information of called side module is issued the corresponding management server of application component to store by terminal
In the called side list for the application component being arranged in management server.
It in this mode, can (management server may be using mentioning in the corresponding management server of each application component
For the management server of quotient, it is also possible to the management server of manufacturer terminal) it is that a called side is respectively set in each application component
List;Terminal gets the mark of the called side module when detecting that the called square module of a certain application component is called in this way
After information, the identification information of the called side module can be issued management clothes with corresponding management server communication by backstage
Business device issues the identification information for including at least application component in the message of management server, and calls the tune of the application component
With the identification information of square module;After management server receives the message, the identification information of application component is therefrom parsed, into
And the corresponding called side list of the application component is found, and the called side module for calling the application component is parsed from the message
Identification information, be then stored in corresponding called side list.When being stored, management server can directly be will acquire
To called side module identification information storage into corresponding called side list, can also first judge in corresponding called side list
Whether same identification information has been stored, if it is not, being deposited into;, whereas if having stored, then may be used
It directly abandons and is not repeating to store.
Mode two: terminal local is provided with the called side list of application component, and terminal is by the identification information of called side module
It is stored in the called side list of local application component.
It in this mode, can be to need each application component monitored that a called side name is respectively set in terminal local
It is single;Terminal gets the mark letter of the called side module when detecting that the called square module of a certain application component is called in this way
After breath, the identification information of the called side module can be then stored in local corresponding called side list.It is being deposited
Chu Shi, the identification information storage for the called side module that terminal can also directly will acquire into corresponding called side list,
Can first judge whether stored same identification information in corresponding called side list, if it is not, being deposited
Enter;, whereas if having stored, then it can directly abandon and not repeat to store.
In addition, it is to be understood that in the present embodiment, can also flexibly be combined to aforesaid way one and mode two
Using the mode that obtains three, for example, a kind of exemplary mode three is as follows:
Mode three: terminal local is provided with the called side list of application component, and terminal is by the identification information of called side module
It is stored in the called side list of local application component;The called side list of application component is directly issued corresponding pipe by terminal
Manage server.
Or,
Terminal local is provided with the called side list of each application component, the corresponding management server (pipe of each application component
Reason server may be the management server of application provider, it is also possible to the management server of manufacturer terminal) it is also each application
A called side list is respectively set in component.Terminal is by the identification information storage of called side module in the tune of local application component
With in square list, and it is synchronous issue corresponding management server, for mode shown in management server pass-through mode one
Corresponding called side module is stored in corresponding called side list.
Mode stored above is all only illustrating of being carried out of the present embodiment, it should be appreciated that can also be according to demand
Flexibly variation setting, herein no longer repeats it.
In addition, it is to be understood that executing each functional steps shown in Fig. 3 in the present embodiment can be by being set to end
An independent plug-in unit or application in end realize that the plug-in unit, which can be applied, can execute Fig. 3 institute to each application component in terminal
The step of showing.Certainly, it can also be realized by each plug-in unit using itself, can then be increased in each application for executing Fig. 3 at this time
Shown in each step plug-in unit, and the plug-in unit of application program itself only application component to itself can execute step shown in Fig. 3.
As it can be seen that the management method of the application component provided through this embodiment is, it can be achieved that the application component in terminal
The identification information of called side module is obtained automatically, thus called side name of the identification information storage that will acquire to application component
Dan Zhong, realization automatically records the called side module of application component, and can further select when memory-type in terminal sheet
It is stored on ground and/or server, to avoid the called side information of application component by manually recorded error of omission or misremember
Situations such as occur, promoted application component called side information record convenience and accuracy.
Second embodiment
In order to make it easy to understand, the present embodiment will be updated on above-described embodiment basis with the recalls information of application component
Process is illustrated.
In the present embodiment, the identification information storage that terminal will acquire is stored into the called side list of application component
Later, it may also include following application component recalls information synchronized update control process, it is shown in Figure 4, comprising:
S401: terminal receives the update message of application component, includes the updated calling letter of application component in update message
Breath.
In the present embodiment, the mode that terminal obtains the update message of application component can be with flexible setting.For example, one kind is shown
In example, the update message of application component can be directly written in developer by exploitation debugging or more new equipment into terminal.Again
For example, in another example, the corresponding management server of application component can occur in the recalls information for detecting application component
When update, the update message to terminal delivery application component of active;Certainly, also in combination with two kinds of application components of above-mentioned example
Update message acquisition modes.
S402: terminal is updated each called side module in called side list according to the update message of recalls information.
In the present embodiment, terminal carries out each called side module in called side list according to the update message of recalls information
Update includes: that the recalls information of the application component stored to each called side module synchronizes update.
It should be understood that the transfer information of application component can be and arbitrarily be related to normal call this is answered in the present embodiment
The information needed for component, for example, the recalls information may include but be not limited at least one of the following in a kind of example:
The method class name of application component;
The function name that the interface function of opening is updated to by not opening to the outside world that application component includes.
For example, when the method class name of application component changes, then management server can be by the party in a kind of example
Method class name and the identification information of corresponding application component issue terminal, and in some instances, and management server can also should
The update that the corresponding called side list of application component issues the recalls information that terminal namely terminal are received from management server disappears
It may include the recalls information after the identification information of application component, update in breath, in the called side list of application component at least
It is a kind of.Such as it in a kind of example may include recalls information after the identification information of application component, update in update message and answer
With the called side list of component.Terminal can extract the identification information and called side of application component from the update message at this time
List synchronizes the corresponding recalls information that each calling works as the application component that module is stored more according to called side list
Newly, in this example namely carry out method class name update;Each called side module subsequent in this way is adjusted to the application component
Used time, so that it may which surface causes to transfer collapse because of the non-synchronized update of method class name, is unsuccessfully arranged and causes whole system compiling not
The case where crossing.
In another example in a kind of example, when a certain interface function of application component is updated to by not opening to the outside world to external-open
When putting, then the identification information of the function name of the interface function and corresponding application component can be issued terminal by management server,
And in some instances, management server the corresponding called side list of the application component can also be issued terminal namely terminal from
It may include the function of the identification information of application component, interface function in the update message for the recalls information that management server receives
Name, at least one of called side list of application component.It such as in a kind of example in update message may include application component
The called side list of recalls information and application component after identification information, update.Terminal can be mentioned from the update message at this time
The identification information and called side list for taking out application component, according to called side list is stored each calling when module, this is answered
Update is synchronized with the function name of the corresponding interface function of component, in this example namely increase stores the interface function
Function name;Each called side module subsequent in this way is when being called the application component, so that it may which surface is not because method class name is same
Step updates and leads to that the interface function that the application component has been opened to the outside world cannot be transferred, so as to cause can not achieve phase
The function of answering.
It in the present embodiment, include by not in recalls information in order to promote the safety and reliability that application component is called
When the function name for the interface function that opening is switched to opening, which can also further comprise the function name
(namely the interface function) corresponding access white list includes allowing to access the interface by the function name in the access white list
Each access function information of function.Namely application component can be for the setting of at least one of its each interface function transferred
White list is accessed, the access function in the white list is only allowed to access, other access functions then denied access, to be promoted
Safety.And also the access white list also can be updated setting at the corresponding each called side module of application component, in this way
Each called side module when transferring the interface function, can first judge itself for calling access function either with or without white in the access
In list, if, then go the transfer that accesses;Otherwise, then it does not execute access to call, so that invalid access be avoided to call hair
It is raw, promote resource utilization.
In addition, it is to be understood that executing each functional steps shown in Fig. 4 in the present embodiment can be by being set to end
An independent plug-in unit in end or application realize, and can be with the plug-in unit or application integration realized in Fig. 3 the same plug-in unit or
Using the plug-in unit, which can be applied, can execute step shown in Fig. 4 to each application component in terminal.Certainly, it can also be answered by each
It is realized with the plug-in unit of itself, can then increase the plug-in unit for executing each step shown in Fig. 4 in each application at this time, and apply journey
The plug-in unit of sequence itself only the application component to itself can execute step shown in Fig. 4.
As it can be seen that can be provided based on first embodiment in the present embodiment is the self registering called side list of application component,
Terminal receive application component include the updated recalls information of application component after, terminal can be according to the recalls information more
New information is updated each called side module in called side list, to can guarantee all called side moulds of corresponding component
Block synchronizes update, thus avoid called side module because of non-synchronized update when calling collapse crash or can not call
Function or even cause whole system code compilation only the case where generation, promote the stability and reliability of terminal system, thus
Promote the satisfaction of user experience.
3rd embodiment
Using terminal as mobile phone below the present embodiment, and it is that example is illustrated that the system of terminal, which is android system,.But it answers
When the terminal in understanding, the present embodiment can also be tablet computer, laptop, palm PC, PDA, portable media
The intelligent terminals such as player, Intelligent bracelet, smartwatch, number TV, desktop computer, vehicle-mounted computer.And in the present embodiment eventually
The system of end operation can run iOS, windows phone, Symbian, BlackBerry OS, web os, windows
The operating systems such as mobile.
Example one:
In this example, a called side list can be arranged for each application component for needing to be monitored in mobile phone side,
The corresponding server side of the application component, which is not done then, to be arranged.The application component management method of mobile phone side in the present embodiment referring to
Shown in Fig. 5, comprising:
S501: mobile phone to needs monitor application component (such as may by multiple called side modules call this kind answer
With component) calling situation be monitored.
S502: when mobile phone monitors that a certain application component is called, obtain called side module packet name (namely mark letter
Breath) identification information.
In the present embodiment, when being called to application component activity it may require that called side module is incoming corresponding
Content context, corresponding plug-in unit or APP can then be obtained by context.getPackageName in the process of implementation in mobile phone
Take the packet name of called side module.
S503: the called side list of the application component is arrived in the packet name storage for the called side module that mobile phone will acquire.
S504: the step is an optional step, and the called side list of the application component is issued the application component by mobile phone
Corresponding management server.Mobile phone can not also execute the step.And mobile phone is when executing the step, it can be in the calling of application component
It just sends when Fang Mingdan updates, or is sent once at interval of preset time period.
S505: it is optional, when management server receives the called side list of application component from mobile phone, carry out corresponding deposit
Storage updates.
Example two:
In this example, mobile phone side can for needing each application component that be monitored to be not provided with called side list, and
Called side list is then arranged in the corresponding server side of the application component.The application component manager of mobile phone side in the present embodiment
Method is shown in Figure 6, comprising:
S601: the application component that mobile phone monitors needs (such as can be in application component or mobile phone all in mobile phone
System application application component) calling situation be monitored.
S602: when mobile phone monitors that a certain application component is called, obtain called side module packet name (namely mark letter
Breath) identification information.
S603: the packet name for the called side module that mobile phone will acquire and the identification information of the application component issue corresponding pipe
Manage server.
S604: when management server is from the packet name for the called side module that mobile phone receives application component, corresponding this applies group
The corresponding called side list of part is updated storage.
Example three:
In this example, called side list can be arranged for each application component for needing to be monitored in mobile phone side, and at this
The corresponding server side of application component is also provided with called side list.The application component management method of mobile phone side in the present embodiment
It is shown in Figure 7, comprising:
S701: the tune for the application component (such as can be the application component that system is applied in mobile phone) that mobile phone monitors needs
It is monitored with situation.
S702: when mobile phone monitors that a certain application component is called, obtain called side module packet name (namely mark letter
Breath) identification information.
In the present embodiment, when being called to application component activity it may require that called side module is incoming corresponding
Content context, corresponding plug-in unit or APP can then be obtained by context.getPackageName in the process of implementation in mobile phone
Take the packet name of called side module.
S703: the packet name for the called side module that mobile phone will acquire and the identification information of the application component issue corresponding pipe
Server is managed, and the packet name that will acquire stores in the local corresponding called side list of the application component.
S704: when management server is from the packet name for the called side module that mobile phone receives application component, corresponding this applies group
The corresponding called side list of part, which synchronizes, to be updated storage.
Example four:
It is in the present embodiment, shown in Figure 8 for the renewal process of the recalls information of application component, comprising:
S801: management server detects the recalls information (such as method class name or interface function etc.) of a certain application component
It updates.
S802: the update message of the recalls information of the application component is issued terminal by management server, and update message includes
The identification information of application component, updated recalls information and called side list.
S803: terminal extracts the identification information and called side list of application component from the update message received,
The corresponding recalls information that each calling works as the application component that module is stored is synchronized into update according to called side list.This
The subsequent each called side module of sample is when being called the application component, so that it may lead because of the non-synchronized update of method class name on surface
It causes to transfer collapse, be unsuccessfully arranged and whole system is caused to compile generation the case where only.
Fourth embodiment
A kind of terminal is present embodiments provided, shown in Figure 9, the terminal in the present embodiment further includes processor 901, deposits
Reservoir 902 and communication bus 903;
Communication bus 903 is for realizing the communication connection between processor 901 and memory 902;
Processor 901 is for executing one or more program stored in memory 902, to realize as above each embodiment
Shown in terminal applies assembly management method the step of.
The present embodiment additionally provides a kind of computer readable storage medium, which can be applied to respectively
In kind electric terminal, it is stored with one or more program, which can be handled by one or more
Device executes, the step of to realize as above terminal applies assembly management method shown in each embodiment.
It should be noted that, in this document, term " includes ", " comprising " or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of application component management method, which is characterized in that the application component management method includes:
When terminal monitoring is called to application component, the identification information of called side module is obtained;
The identification information storage that the terminal will acquire is into the called side list of the application component.
2. application component management method as described in claim 1, which is characterized in that the identification information that the terminal will acquire is protected
It is stored in the called side list of the application component and comprises at least one of the following:
The identification information of the called side module is issued the corresponding management server of the application component to store by the terminal
In the called side list for the application component being arranged on to the management server;
The terminal local is provided with the called side list of the application component, and the terminal is by the mark of the called side module
Information is stored in the called side list of the local application component.
3. application component management method as described in claim 1, which is characterized in that the identification information includes the called side
The packet name of module.
4. application component management method as claimed in claim 3, which is characterized in that the mark letter for obtaining called side module
Breath includes:
In the content that the terminal is sent when calling the application component from the called side module, the called side module is extracted
Packet name.
5. application component management method according to any one of claims 1-4, which is characterized in that the mark that the terminal will acquire
After knowing information storage into the called side list of the application component, further includes:
The terminal receives the update message of the application component, includes that the application component is updated in the update message
Recalls information;
The terminal carries out more each called side module in the called side list according to the update message of the recalls information
Newly, the update includes that the recalls information of the application component stored to each called side module is updated.
6. application component management method as claimed in claim 5, which is characterized in that the recalls information include in following extremely
Few one kind:
The method class name of the application component;
The function name that the interface function of opening is updated to by not opening to the outside world that the application component includes.
7. application component management method as claimed in claim 6, which is characterized in that the recalls information includes the function name
When, the recalls information further includes the corresponding access white list of the function name, includes allowing to pass through in the access white list
The function name accesses each access function information of the interface function.
8. application component management method as claimed in claim 5, which is characterized in that the terminal receives the application component
Update message includes:
The terminal receives the update message from the corresponding management server of the application component.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the communication connection between the processor and the memory;
The processor is for executing one or more program stored in memory, to realize as claim 1-8 is any
The step of application component management method described in item.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 1-8 such as appoints
The step of application component management method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910082124.1A CN109918101A (en) | 2019-01-28 | 2019-01-28 | Terminal and its application component management method, computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910082124.1A CN109918101A (en) | 2019-01-28 | 2019-01-28 | Terminal and its application component management method, computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109918101A true CN109918101A (en) | 2019-06-21 |
Family
ID=66960889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910082124.1A Pending CN109918101A (en) | 2019-01-28 | 2019-01-28 | Terminal and its application component management method, computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109918101A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111240856A (en) * | 2020-01-03 | 2020-06-05 | 北京小米移动软件有限公司 | Message processing method and device and storage medium |
CN111966421A (en) * | 2020-06-29 | 2020-11-20 | 北京百度网讯科技有限公司 | Page component operation monitoring method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020188616A1 (en) * | 2001-06-07 | 2002-12-12 | Chinnici Roberto R. | Database access bridge system and process |
CN105843686A (en) * | 2016-03-29 | 2016-08-10 | 乐视控股(北京)有限公司 | Resource release method and apparatus for singleton component |
CN106326099A (en) * | 2015-07-01 | 2017-01-11 | 阿里巴巴集团控股有限公司 | Method and device used in program tracking and electronic device |
CN106339233A (en) * | 2015-07-13 | 2017-01-18 | 中国移动通信集团公司 | Method and device for updating smart card operating system |
CN106371940A (en) * | 2015-07-21 | 2017-02-01 | 腾讯科技(深圳)有限公司 | Solution method and device for program crash |
CN107423146A (en) * | 2017-07-24 | 2017-12-01 | 北京小米移动软件有限公司 | The method, apparatus and system that control application program is mutually called |
-
2019
- 2019-01-28 CN CN201910082124.1A patent/CN109918101A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020188616A1 (en) * | 2001-06-07 | 2002-12-12 | Chinnici Roberto R. | Database access bridge system and process |
CN106326099A (en) * | 2015-07-01 | 2017-01-11 | 阿里巴巴集团控股有限公司 | Method and device used in program tracking and electronic device |
CN106339233A (en) * | 2015-07-13 | 2017-01-18 | 中国移动通信集团公司 | Method and device for updating smart card operating system |
CN106371940A (en) * | 2015-07-21 | 2017-02-01 | 腾讯科技(深圳)有限公司 | Solution method and device for program crash |
CN105843686A (en) * | 2016-03-29 | 2016-08-10 | 乐视控股(北京)有限公司 | Resource release method and apparatus for singleton component |
CN107423146A (en) * | 2017-07-24 | 2017-12-01 | 北京小米移动软件有限公司 | The method, apparatus and system that control application program is mutually called |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111240856A (en) * | 2020-01-03 | 2020-06-05 | 北京小米移动软件有限公司 | Message processing method and device and storage medium |
CN111240856B (en) * | 2020-01-03 | 2024-04-23 | 北京小米移动软件有限公司 | Message processing method and device and storage medium |
CN111966421A (en) * | 2020-06-29 | 2020-11-20 | 北京百度网讯科技有限公司 | Page component operation monitoring method, device, equipment and storage medium |
CN111966421B (en) * | 2020-06-29 | 2024-01-09 | 北京百度网讯科技有限公司 | Page component operation monitoring method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110351704A (en) | A kind of paging control method, dual-card dual-standby terminal and computer readable storage medium | |
CN109407957A (en) | Screen touch control method, terminal and computer readable storage medium | |
CN109933253A (en) | Method for controlling application starting, terminal and computer readable storage medium | |
CN110069167A (en) | Touch point sweep-out method, mobile terminal and computer readable storage medium | |
CN110096375A (en) | A kind of Application sharing data method, device and computer readable storage medium | |
CN109766119A (en) | Restore subregion upgrade method, terminal and computer readable storage medium | |
CN109254972A (en) | A kind of offline order Word library updating method, terminal and computer readable storage medium | |
CN107846725A (en) | A kind of processing method of notification message, terminal and storage medium | |
CN110351423A (en) | A kind of unread message process control method, terminal and computer readable storage medium | |
CN109918101A (en) | Terminal and its application component management method, computer readable storage medium | |
CN108966162A (en) | Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing | |
CN109068084A (en) | Video calling picture display process, mobile terminal and computer readable storage medium | |
CN109032711A (en) | A kind of screenshot method, terminal and computer readable storage medium | |
CN110191477A (en) | A kind of web search control method, terminal and computer readable storage medium | |
CN108833132A (en) | log acquisition control method, terminal and computer readable storage medium | |
CN110167004A (en) | A kind of network registering method, mobile terminal and computer readable storage medium | |
CN110007817A (en) | A kind of message treatment method and mobile terminal, computer readable storage medium | |
CN109151201A (en) | A kind of Anti-addiction method, mobile terminal and computer storage medium | |
CN110287381A (en) | Lookup method, terminal and the computer readable storage medium of page control node | |
CN110147291A (en) | Terminal and its log management-control method, computer readable storage medium | |
CN110377458A (en) | Data reconstruction method, mobile terminal and computer readable storage medium | |
CN110174987A (en) | A kind of keypress function defines method, double screen terminal and computer-readable medium | |
CN110049184A (en) | A kind of information screen method, terminal and computer readable storage medium | |
CN110069680A (en) | Search processing method, mobile terminal and computer readable storage medium | |
CN109739676A (en) | A kind of operational monitoring method, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190621 |
|
RJ01 | Rejection of invention patent application after publication |