CN103713943B - Native terminal operating system based application function realization method and device - Google Patents

Native terminal operating system based application function realization method and device Download PDF

Info

Publication number
CN103713943B
CN103713943B CN201310626745.4A CN201310626745A CN103713943B CN 103713943 B CN103713943 B CN 103713943B CN 201310626745 A CN201310626745 A CN 201310626745A CN 103713943 B CN103713943 B CN 103713943B
Authority
CN
China
Prior art keywords
application
module
operating system
interface
specified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310626745.4A
Other languages
Chinese (zh)
Other versions
CN103713943A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310626745.4A priority Critical patent/CN103713943B/en
Publication of CN103713943A publication Critical patent/CN103713943A/en
Application granted granted Critical
Publication of CN103713943B publication Critical patent/CN103713943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a native terminal operating system based application function realization method and device, and belongs to the field of terminal devices. A terminal operating system comprises a native operating system and a designated system framework, the native operating system comprises multiple first interfaces, the native operating system comprises multiple second interfaces and multiple application modules, and each second interface is used for invoking the corresponding first interface in the native operating system. The method includes: when the designated application module is activated, invoking the designated second interface corresponding to the designated application module; when the designated second interface is invoked, invoking the designated first interface so as to realize functions of the designated application module. Under the condition that the native terminal operating system is undamaged, the purpose of running other systems in a terminal is achieved without updating, and damage cannot be caused to data in the native terminal operating system.

Description

Application function implementation method and device based on the primary operating system of terminal
Technical field
The disclosure is directed to field of terminal equipment, especially with respect to field of mobile terminals, specifically with regard to a kind of base In the application function implementation method and device of the primary operating system of terminal.
Background technology
Android(Android)System is the operating system of a kind of freedom and open source code, is mainly used for mobile device, Such as smart mobile phone and panel computer.System in order to experience personalization, can carry out brush machine, brush machine to mobile phone according to user's request It is similar with computer refitting system equivalent to refitting system.By brush machine, experience brand-new is determined in the very first time can to cause user The system of inhibition and generation, the various experience of mobile phone and function ultimate attainment performance is obtained.However, the refresh process technology of correlation technique Threshold is high, and brush machine risk is big, and easily terminal data is caused to damage.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of application work(based on the primary operating system of terminal Can implementation method and device.
On the one hand, a kind of application function implementation method based on the primary operating system of terminal, terminal operating system have been passed through Including primary operating system and appointing system framework, the primary operating system includes multiple first interfaces, the appointing system Framework includes multiple second interfaces and multiple application modules, and each second interface is used to call in the primary operating system First interface, methods described includes:When specified application module is activated, specified second interface is called, it is described to specify second to connect Mouth is corresponding with the specified application module;When called with the specified second interface, specified first interface is called, to realize The function of specified application module.
When specified application module is activated, before calling specified second interface, methods described also includes:It is when receiving During system switching command, the desktop that the primary operating system is provided is switched to into the desktop that the appointing system framework is provided, institute There is provided the appointing system framework current included multiple application icons on the desktop for stating the offer of appointing system framework;When described When any one in multiple application icons is clicked, application module corresponding with the application icon is activated.
When specified application module is activated, before calling specified second interface, methods described also includes:Receive application peace Dress bag, the application installation package includes the installation file of appointing system framework;In the primary operating system, operation is described should With installation kit, the appointing system framework is installed in the primary operating system.
Methods described also includes:In the running of the plurality of application module, in monitoring the plurality of application module The size of memory source shared by each application module;Memory source is taken and runs on one more than the application module of predetermined threshold value Process;Memory source is taken and runs a process less than multiple application modules of the predetermined threshold value.
The plurality of application module includes one or more in address list module, SMS module and dial module.
On the other hand, present disclose provides a kind of application function based on the primary operating system of terminal realizes device, terminal Operating system includes primary operating system and appointing system framework, and the primary operating system includes multiple first interfaces, described Appointing system framework includes multiple second interfaces and multiple application modules, and each second interface is used to call the primary operation First interface in system, described device includes:
Calling module, for when specified application module is activated, calling specified second interface, the specified second interface It is corresponding with the specified application module;When called with the specified second interface, specified first interface is called, to realize referring to Determine the function of application module.
Described device also includes:Handover module, for when system switching command is received, by the primary operating system The desktop of offer switches to the desktop that the appointing system framework is provided, and on the desktop that the appointing system framework is provided institute is provided State the current included multiple application icons of appointing system framework;Active module, for when appointing in the plurality of application icon One it is clicked when, activate corresponding with application icon application module.
Described device also includes:Receiver module, for receiving application installation package, the application installation package includes appointing system The installation file of framework;Module is installed, in the primary operating system, running the application installation package, will be described Appointing system framework is installed in the primary operating system.
Described device also includes:PROCESS CONTROL MODULE, in the running of the plurality of application module, monitoring institute State the size of memory source shared by each application module in multiple application modules;Memory source is taken into answering more than predetermined threshold value A process is run on module;Memory source is taken to enter less than multiple application modules operation one of the predetermined threshold value Journey.
The plurality of application module includes one or more in address list module, SMS module and dial module.
Some beneficial effects of the disclosure can include:By in the case where the primary operating system of terminal is not destroyed, inciting somebody to action Appointing system framework is installed on terminal in the form of an application, is provided by the appointing system framework and is realizing specifying application function When transmission between application module and terminal are realized, without the need for brush machine, that is, realize the purpose in terminal operating other systems, no Data under the primary operating system of terminal are caused to damage.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited It is open.
Description of the drawings
Accompanying drawing described herein is used for providing further understanding of the disclosure, constitutes the part of the application, not Constitute restriction of this disclosure.In the accompanying drawings:
Fig. 1 is a kind of exemplary stream of application function implementation method based on the primary operating system of terminal that the disclosure is provided Cheng Tu.
Fig. 2 is the exemplary of the application function implementation method that the another kind that the disclosure is provided is based on the primary operating system of terminal Flow chart.
Fig. 3 is the structural representation that a kind of application function based on the primary operating system of terminal that the disclosure is provided realizes device Figure.
Fig. 4 is the structural representation of the terminal device involved by the disclosure.
By above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, hereinafter will be described in more detail.These accompanying drawings It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Purpose, technical scheme and advantage to make the disclosure becomes more apparent, right with reference to embodiment and accompanying drawing The disclosure is described in further details.Here, the exemplary embodiment of the disclosure and its illustrate for explaining the disclosure, but and Not as restriction of this disclosure.
The embodiment of the present disclosure provides a kind of application function implementation method based on the primary operating system of terminal, below in conjunction with attached Figure is described in detail to the disclosure.
In one embodiment, terminal operating system includes primary operating system and appointing system framework, the primary operation System includes multiple first interfaces, and the appointing system framework includes multiple second interfaces and multiple application modules, and each second Interface is used to call the first interface in the primary operating system,
Wherein, the primary operating system refers to the operating system that terminal is installed originally, for example, can be the primary operation of Google The operating system of system, or the primary operating system customizing based on Google, such as rice shaddock operating system, Samsung mobile phone behaviour Make system, hammer mobile phone operating system etc..
As shown in figure 1, being included based on the application function implementation method of the primary operating system of terminal:
In step S101, when specified application module is activated, call specified second interface, the specified second interface with The specified application module correspondence, the method for the present embodiment is used in terminal.
In step s 102, when called with the specified second interface, specified first interface is called, is answered with realizing specifying With the function of module.
The method that the embodiment of the present disclosure is provided, by the case where the primary operating system of terminal is not destroyed, will specify System framework is installed on terminal in the form of an application, by the appointing system framework provide when realizing specifying application function Transmission between application module and terminal realization, without the need for brush machine, that is, realizes the purpose in terminal operating other systems, not to end The data under primary operating system are held to cause to damage.
In another embodiment, as shown in Fig. 2 the application function implementation method bag based on the primary operating system of terminal Include:
In step s 201, terminal receives application installation package, and the application installation package includes the installation text of appointing system framework Part.
Wherein, server end can be from appointing system(Such as MIUI ROM)In pull out ccf layer(framework), frame Rack-layer is an extendible framework, there is provided each application module needs in the appointing system interface, UI controls or public module With independent multiple application modules etc., as needed public module in application is drawn into ccf layer at any time.Using normal packing Mode, the installation file of the appointing system framework is packaged into into an independent APK, by terminal downloads.
It should be noted that the primary operating system of terminal includes multiple first interfaces, the appointing system framework includes many Individual second interface and multiple application modules, each second interface is used to call the first interface in the primary operating system, should Multiple application modules include one or more in address list module, SMS module and dial module.
In step S202, in the primary operating system, the application installation package is run, by the appointing system framework peace Loaded in the primary operating system.
Because the appointing system framework is downloaded in the form of application installation package, therefore, running the application installation package can be by Appointing system framework is installed on primary operating system in the form of an application, and the simply application has in fact been nested multiple suitable In the sub- application using built-in function.
Certainly, the disclosure is illustrated by taking appointing system framework when mounted existing application module as an example, true On, server end can also provide AKU, and AKU includes the application module for needing to be nested in the appointing system framework Or the application module for needing to be removed from appointing system framework etc. so that application can as needed enter Mobile state increase and decrease.
The application module included in appointing system framework can include following core application:Desktop application module, is used for Appointing system desktop is presented;Dialing application module, for the dialing interface and dial feature of the appointing system, note application to be presented Module, for note interface and the transmitting-receiving SMS of the appointing system to be presented.It is, of course, also possible to provide some other functions should With module, enable a user to, according to personal use habit, at any time enter the application module in currently assigned system framework Row adds and deletes.
In step S203, when system switching command is received, the desktop that the primary operating system is provided is switched to The desktop that the appointing system framework is provided, provides the appointing system framework and is currently wrapped on the desktop that the appointing system framework is provided The multiple application icons for including.
Due to appointing system framework be in the form of an application in primary operating system, therefore, the appointing system Framework can correspond to an application icon on primary operating system desktop, when the application icon is clicked(That is to say and connect Receive system switching command), the appointing system framework is activated, and shows that the switching appointing system framework is provided from current desktop Desktop, provides the appointing system framework current included multiple application icons on the desktop that the appointing system framework is provided.
The process can regard the process that primary operating system desktop is covered with appointing system framework as, by referring to into this The desktop of system framework offer is provided, the similar operation with appointing system can be provided the user.
In step S204, when any one in the plurality of application icon is clicked, activate corresponding with the application icon Application module.
In embodiments of the present invention, only illustrate so that an application module corresponds to a second interface as an example, and thing In reality, an application module includes various application functions, that is to say in the different application function command for performing the application module When, can call at least one second interface or first interface, to perform corresponding function.
In step S205, when specified application module is activated, call specified second interface, the specified second interface with The specified application module correspondence, the specified application module is any one application module in appointing system framework.
In step S206, when called with the specified second interface, specified first interface is called, answered with realizing specifying With the function of module.
For specified application module, due to its internal operation logic, the interface that it can be called can include referring to Determine the second interface in system framework, the first interface in primary operating system can also be included, for first interface, Ke Yizhi Connect and be called, and if the presence without appointing system framework, it is intended that application module cannot call some functional interfaces, because This, due in appointing system framework have can between be connected in the second interface that specified application module is called, can cause The specified application module runs on the primary operating system.
In the disclosed embodiments, can also comprise the following steps:In the running of the plurality of application module, monitoring The size of memory source shared by each application module in the plurality of application module;Memory source is taken into answering more than predetermined threshold value A process is run on module;Memory source is taken and runs a process less than multiple application modules of the predetermined threshold value. Wherein, the predetermined threshold value can be set by technical staff, and the embodiment of the present disclosure is not especially limited.What the disclosure was provided specifies System framework can adopt the management of process mechanism of dynamic flexible, each application module as needed to determine the need for fortune Row is in independent process.Process is an operational management unit of Android system, is an independent sand tank model, during operation It is independent of each other each other, resource management, memory management is all independent, it is not necessary to rely on whole system, enhances its flexibility.It is logical Cross the monitoring of the size of shared memory source when application modules are run so that although some application module EMS memory occupations are big, Because it is distributed in independent process operation, other application module is not interfered with yet.This management of process mechanism also has one Individual important effect is exactly to reduce the occupancy to system CPU as far as possible, reduces the occupancy of internal memory, reduces power consumption, it is ensured that whole system The fluency of system operation.
In another embodiment of the present disclosure, can be so that in the running of the plurality of application module, monitoring system be provided The size that source consumes, when system resources consumption is more than predetermined threshold value, actively terminates the process in running background, substantially continues The mechanism of Android system management of process.
Fig. 3 is the knot that a kind of application function based on the primary operating system of terminal that the embodiment of the present disclosure is provided realizes device Structure schematic diagram.Terminal operating system includes primary operating system and appointing system framework, and the primary operating system includes multiple First interface, the appointing system framework includes multiple second interfaces and multiple application modules, and each second interface is used to adjust With the first interface in the primary operating system, referring to Fig. 3, the device includes:
Calling module 301, it is described to specify second for when specified application module is activated, calling specified second interface Interface is corresponding with the specified application module;When called with the specified second interface, specified first interface is called, with reality Now specify the function of application module.
In another embodiment of the present disclosure, described device also includes:
Handover module, for the desktop switching for when system switching command is received, the primary operating system being provided To the desktop that the appointing system framework is provided, on the desktop that the appointing system framework is provided the appointing system framework is provided Current included multiple application icons;
Active module, for when any one in the plurality of application icon is clicked, activating and the application icon Corresponding application module.
In another embodiment of the present disclosure, described device also includes:
Receiver module, for receiving application installation package, the application installation package includes the installation file of appointing system framework;
Module is installed, in the primary operating system, the application installation package being run, by the appointing system Framework is installed in the primary operating system.
In another embodiment of the present disclosure, described device also includes:
PROCESS CONTROL MODULE, in the running of the plurality of application module, monitoring the plurality of application module In memory source shared by each application module size;Memory source is taken and runs on one more than the application module of predetermined threshold value Individual process;Memory source is taken and runs a process less than multiple application modules of the predetermined threshold value.
In another embodiment of the present disclosure, the plurality of application module includes address list module, SMS module and dialing One or more in module.
Fig. 4 is terminal device in the embodiment of the present invention(Can be requesting party's terminal or associated terminal)Structural representation Figure.Referring to Fig. 4, the terminal can be used for the method for implementing to be provided in above-described embodiment.Preferably:
Terminal device 400 can include communication unit 110, include one or more computer-readable recording mediums Memory 120, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WIFI(Wireless Fidelity, Wireless Fidelity)Module 170, include one or the processor 180 and power supply of more than one processing core 190 grade parts.It will be understood by those skilled in the art that the terminal device structure illustrated in figure does not constitute the limit to terminal device It is fixed, part more more or less of than diagram can be included, or some parts are combined, or different part arrangements.Wherein:
Communication unit 110 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, the communication unit 110 Can be RF(Radio Frequency, radio frequency)Circuit, router, modem, etc. network communication equipment.Especially, when When communication unit 110 is RF circuits, after the downlink information of base station is received, transfer at one or more than one processor 180 Reason;In addition, up data is activation will be related to base station.Usually as communication unit RF circuits include but is not limited to antenna, At least one amplifier, tuner, one or more oscillators, subscriber identity module(SIM)Card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, communication unit 110 can also be by wireless Communication communicates with network and other equipment.The radio communication can use arbitrary 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 radio service)、CDMA(Code Division Multiple Access, code Divide multiple access)、WCDMA(Wideband Code Division Multiple Access, WCDMA)、LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service)Deng. Memory 120 can be used to store software program and module, and processor 180 is stored in the software journey of memory 120 by operation Sequence and module, so as to perform various function application and data processing.Memory 120 can mainly include storing program area and deposit Storage data field, wherein, the application program that storing program area can be needed for storage program area, at least one function(Such as sound is broadcast Playing function, image player function etc.)Deng;Storage data field can be stored and use created data according to terminal device 400(Than Such as voice data, phone directory)Deng.Additionally, memory 120 can include high-speed random access memory, can also include non- Volatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Accordingly Ground, memory 120 can also include Memory Controller, to provide processor 180 and input block 130 to memory 120 Access.
Input block 130 can be used for the numeral or character information of receives input, and produce and user's setting and function The relevant keyboard of control, mouse, action bars, optics or trace ball signal input.Preferably, input block 130 may include to touch Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, can collect use Family is thereon or neighbouring touch operation(Such as user is using any suitable objects such as finger, stylus or annex in touch-sensitive table Operation on face 131 or near Touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional , Touch sensitive surface 131 may include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation brings is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection means, and is converted into contact coordinate, then give processor 180, and can receiving processor 180 The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Preferably, Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、 One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for display by the information of user input or be supplied to the information and terminal device of user 400 various graphical user interface, these graphical user interface can be come by figure, text, icon, video and its any combination Constitute.Display unit 140 may include display floater 141, optionally, can adopt LCD(Liquid Crystal Display, Liquid crystal display)、OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode)Display is configured etc. form Panel 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detect thereon or near Touch operation after, processor 180 is sent to determine the type of touch event, with preprocessor 180 according to touch event Type provides corresponding visual output on display floater 141.Although in the diagram, Touch sensitive surface 131 is with display floater 141 Realize as two independent parts input and input function, but in some embodiments it is possible to by Touch sensitive surface 131 with Display floater 141 is integrated and realization is input into and output function.
Terminal device 400 may also include at least one sensor 150, such as optical sensor, motion sensor and other Sensor.Optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater 141, proximity transducer can be closed and show when terminal device 400 is moved in one's ear Panel 141 and/or backlight.As one kind of motion sensor, in the detectable all directions of Gravity accelerometer(Generally Three axles)The size of acceleration, can detect that size and the direction of gravity when static, can be used to recognize the application of mobile phone attitude(Than Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;Extremely The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that can also configure in terminal device 400, Will not be described here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and terminal device 400. Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 161 by voicefrequency circuit 160, be changed by loudspeaker 161 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is connect by voicefrequency circuit 160 Voice data is converted to after receipts, then after voice data output processor 180 is processed, Jing RF circuits 110 are such as another to be sent to One terminal device, or voice data is exported to memory 120 so as to further process.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone and terminal device 400.
In order to realize radio communication, wireless communication unit 170, the wireless communication unit can be configured with the terminal device 170 can be WIFI module.WIFI belongs to short range wireless transmission technology, and terminal device 400 can by wireless communication unit 170 Sent and received e-mail with help user, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net is accessed.Although showing wireless communication unit 170 in figure, but it is understood that, it is simultaneously not belonging to terminal device 400 Must be configured into, can omit in the essential scope for do not change invention as needed completely.
Processor 180 is the control centre of terminal device 400, using various interfaces and connection whole mobile phone each Part, by operation or performs and is stored in software program and/or module in memory 120, and calls and be stored in memory Data in 120, perform the various functions and processing data of terminal device 400, so as to carry out integral monitoring to mobile phone.It is optional , processor 180 may include one or more processing cores;Preferably, processor 180 can integrated application processor and modulatedemodulate Processor is adjusted, wherein, application processor mainly processes operating system, user interface and application program etc., modem processor It is main to process radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Terminal device 400 also includes the power supply 190 powered to all parts(Such as battery), it is preferred that power supply can lead to Cross power-supply management system logically contiguous with processor 180, so as to by power-supply management system realize management charge, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal device 400 can also include camera, bluetooth module etc., will not be described here.In this reality In applying example, terminal device also includes memory, and one or more than one program, one of them or more than one Program storage in memory, and be configured to by one either more than one computing device it is one or more than one Program bag contains the instruction for carrying out method provided in an embodiment of the present invention.
Additionally, typically, the mobile terminal described in the disclosure can be various hand-held terminal devices, such as mobile phone, individual number Word assistant (PDA) etc., therefore the protection domain of the disclosure should not limit as certain certain types of mobile terminal.
Additionally, the computer program for being also implemented as being performed by CPU according to disclosed method.In the computer journey When sequence is performed by CPU, the above-mentioned functions limited in disclosed method are performed.
Additionally, said method step and system unit can also utilize controller and cause controller reality for storage The computer readable storage devices of the computer program of existing above-mentioned steps or Elementary Function are realized.
In addition, it should be appreciated that computer readable storage devices (for example, memory) as herein described can be volatile Property memory or nonvolatile memory, or both volatile memory and nonvolatile memory can be included.As example Son and it is nonrestrictive, nonvolatile memory can include read-only storage (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory.Volatile memory can include arbitrary access Memory (RAM), the RAM can serve as external cache.Nonrestrictive as an example, RAM can be with more The form of kind is obtained, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), strengthen SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and directly RambusRAM (DRRAM).Institute The storage device of disclosed aspect is intended to the memory of including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, the various illustrative logical blocks with reference to described by disclosure herein, mould Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate This interchangeability of part and software, enters with regard to the function of various exemplary components, square, module, circuit and step to it General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and applying To the design constraint of whole system.Those skilled in the art can in a variety of ways realize described for every kind of concrete application Function, but this realize that decision should not be interpreted as causing a departure from the scope of the present disclosure.
Various illustrative logical blocks, module and circuit with reference to described by disclosure herein can be utilized and are designed to Perform the following part of function described here to realize or perform:General processor, digital signal processor (DSP), special collection Into circuit (ASIC), field programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, divide Vertical nextport hardware component NextPort or any combinations of these parts.General processor can be microprocessor, but alternatively, process Device can be any conventional processors, controller, microcontroller or state machine.Processor can also be implemented as computing device Combination, for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessors combine DSP core or any Other this configurations.
The step of method or algorithm with reference to described by disclosure herein can be directly contained in hardware, by processor holds In capable software module or in combination of the two.Software module may reside within RAM memory, flash memory, ROM storages Device, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art it is any its In the storage medium of its form.Exemplary storage medium is coupled to processor so that processor can be from the storage medium Middle reading information writes information to the storage medium.In an alternative, the storage medium can be with processor collection Into together.Processor and storage medium may reside within ASIC.ASIC may reside within user terminal.In a replacement In scheme, processor and storage medium can be resident in the user terminal as discrete assembly.
In one or more exemplary designs, the function can be real in hardware, software, firmware or its any combination It is existing.If realized in software, computer-readable can be stored in using the function as one or more instructions or code Transmit on medium or by computer-readable medium.Computer-readable medium includes computer-readable storage medium and communication media, The communication media includes contributing to for computer program being sent to any medium of another position from position.Storage medium It can be any usable medium that can be accessed by a general purpose or special purpose computer.It is nonrestrictive as an example, the computer Computer-readable recording medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or other magnetic Property storage device, or can be used for carrying or storage form program code and can for needed for instruction or data structure Any other medium accessed by universal or special computer or universal or special processor.Additionally, any connection can It is properly termed as computer-readable medium.For example, if using coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or the wireless technology of such as infrared ray, radio and microwave to send softwares from website, server or other remote sources, Then the wireless technology of above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, the first, radio of DSL or such as infrared and microwave is included in The definition of medium.As used herein, disk and CD include compact disk (CD), laser disk, CD, digital versatile disc (DVD) the usual magnetically reproduce data of, floppy disk, Blu-ray disc, wherein disk, and CD is using laser optics ground reproduce data.On The combination for stating content should also be as being included in the range of computer-readable medium.
Although content disclosed above shows the exemplary embodiment of the disclosure, it should be noted that without departing substantially from power On the premise of profit requires the scope of the present disclosure for limiting, may be many modifications and change.According to described herein open real Function, step and/or the action for applying the claim to a method of example is not required to the execution of any particular order.Although additionally, the disclosure Element can describe in individual form or require, be unless explicitly limited odd number it is also contemplated that multiple.
Above-described specific embodiment, purpose of this disclosure, technical scheme and beneficial effect have been carried out further Describe in detail, should be understood that the specific embodiment that the foregoing is only the disclosure, be not used to limit the disclosure Protection domain, all within the spirit and principle of the disclosure, any modification, equivalent substitution and improvements done etc. all should be included Within the protection domain of the disclosure.

Claims (8)

1. a kind of application function implementation method based on the primary operating system of terminal, it is characterised in that the primary operating system Including multiple first interfaces, methods described includes:
Application installation package is received, the application installation package includes the installation file of appointing system framework, the appointing system framework Including multiple second interfaces and multiple application modules, each second interface is used to call first in the primary operating system Interface;
In the primary operating system, the application installation package is run, the appointing system framework is installed on into the original In raw operating system;
When specified application module is activated, specified second interface, the specified second interface and the specified application mould are called Block correspondence;
When called with the specified second interface, specified first interface is called, to realize specifying the function of application module.
2. method according to claim 1, it is characterised in that when specified application module is activated, call specified second Before interface, methods described also includes:
When system switching command is received, the desktop that the primary operating system is provided is switched to into the appointing system framework The desktop of offer, provide on the desktop that the appointing system framework is provided the appointing system framework it is current it is included it is multiple should Use icon;
When any one in the plurality of application icon is clicked, application module corresponding with the application icon is activated.
3. method according to claim 1, it is characterised in that methods described also includes:
In the running of the plurality of application module, internal memory shared by each application module in the plurality of application module is monitored The size of resource;
Memory source is taken and runs on a process more than the application module of predetermined threshold value;
Memory source is taken and runs a process less than multiple application modules of the predetermined threshold value.
4. method according to claim 1, it is characterised in that the plurality of application module includes address list module, note One or more in module and dial module.
5. a kind of application function based on the primary operating system of terminal realizes device, it is characterised in that the primary operating system Including multiple first interfaces, described device includes:
Receiver module, for receiving application installation package, the application installation package includes the installation file of appointing system framework, described Appointing system framework includes multiple second interfaces and multiple application modules, and each second interface is used to call the primary operation First interface in system;
Module is installed, in the primary operating system, the application installation package being run, by the appointing system framework In being installed on the primary operating system;
Calling module, for when specified application module is activated, calling specified second interface, the specified second interface and institute State specified application module correspondence;When called with the specified second interface, specified first interface is called, answered with realizing specifying With the function of module.
6. device according to claim 5, it is characterised in that described device also includes:
Handover module, for when system switching command is received, the desktop that the primary operating system is provided being switched to into institute The desktop of appointing system framework offer is provided, the appointing system framework is provided on the desktop that the appointing system framework is provided current Included multiple application icons;
Active module, for when any one in the plurality of application icon is clicked, activating corresponding with the application icon Application module.
7. device according to claim 5, it is characterised in that described device also includes:
PROCESS CONTROL MODULE, it is every in the plurality of application module in the running of the plurality of application module, monitoring The size of memory source shared by individual application module;Memory source occupancy is run on into one more than the application module of predetermined threshold value to enter Journey;Memory source is taken and runs a process less than multiple application modules of the predetermined threshold value.
8. device according to claim 5, it is characterised in that the plurality of application module includes address list module, note One or more in module and dial module.
CN201310626745.4A 2013-11-28 2013-11-28 Native terminal operating system based application function realization method and device Active CN103713943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310626745.4A CN103713943B (en) 2013-11-28 2013-11-28 Native terminal operating system based application function realization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310626745.4A CN103713943B (en) 2013-11-28 2013-11-28 Native terminal operating system based application function realization method and device

Publications (2)

Publication Number Publication Date
CN103713943A CN103713943A (en) 2014-04-09
CN103713943B true CN103713943B (en) 2017-05-03

Family

ID=50406946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310626745.4A Active CN103713943B (en) 2013-11-28 2013-11-28 Native terminal operating system based application function realization method and device

Country Status (1)

Country Link
CN (1) CN103713943B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506732B (en) * 2014-12-29 2017-10-17 宇龙计算机通信科技(深圳)有限公司 System switching method and device based on contact person
CN106293645A (en) * 2015-05-13 2017-01-04 Tcl集团股份有限公司 A kind of method and system improving Web application interface rendering efficiency
CN105653264A (en) * 2015-12-24 2016-06-08 北京奇虎科技有限公司 System processing method and apparatus on terminal device
CN106815021A (en) * 2016-12-30 2017-06-09 北京星辰美豆文化传播有限公司 A kind of operation processing method of application, apparatus and system
CN107390981B (en) * 2017-07-21 2020-04-21 广州视源电子科技股份有限公司 Global menu control method, device, equipment and storage medium
CN111722894B (en) * 2019-03-21 2023-04-18 成都鼎桥通信技术有限公司 Application processing method and device and electronic equipment
CN111913735B (en) * 2019-05-07 2022-06-14 成都鼎桥通信技术有限公司 Attribute synchronization method and device
CN112540798B (en) * 2019-09-23 2024-08-30 北京车和家信息技术有限公司 Method, device and system for waking up vehicle operating system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894042A (en) * 2010-06-24 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Realization method for sharing application among a plurality of operating systems, system and mobile terminal
CN103377079A (en) * 2012-04-16 2013-10-30 展讯通信(上海)有限公司 Terminal, device and method for terminal application running and application program running method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8726294B2 (en) * 2010-10-01 2014-05-13 Z124 Cross-environment communication using application space API

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894042A (en) * 2010-06-24 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Realization method for sharing application among a plurality of operating systems, system and mobile terminal
CN103377079A (en) * 2012-04-16 2013-10-30 展讯通信(上海)有限公司 Terminal, device and method for terminal application running and application program running method

Also Published As

Publication number Publication date
CN103713943A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
CN103713943B (en) Native terminal operating system based application function realization method and device
CN103501333B (en) Method, device and terminal equipment for downloading files
CN104915241B (en) A kind of virtual machine (vm) migration control method and device
CN103677899B (en) The method and apparatus of application program is installed
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN103763112B (en) A kind of user identity protection method and apparatus
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN105005909A (en) Method and device for predicting lost users
CN103631580B (en) Method and device for generating theme icon
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN103678502B (en) Information collection method and device
CN103543913A (en) Terminal device operation method and device, and terminal device
CN104965722B (en) A kind of method and device of display information
CN103747130B (en) A kind of control method of terminal equipment and device
CN104519404A (en) Graphics interchange format file playing method and device
CN103607431B (en) Mobile terminal resource processing method, device and equipment
CN104751092B (en) Method and device for processing graphic code
CN104699501A (en) Method and device for running application program
CN103532802A (en) Method and device for network sharing, and terminal equipment
CN106713608A (en) Application function state modifying method and apparatus, and terminal
CN103823851B (en) Webpage display process and device
CN103533139B (en) Data management method and device of multi-card user and mobile terminal
CN104253870A (en) Method and device for controlling data access period
CN106254924A (en) The player method of a kind of multi-medium data, system and relevant device
CN103631592B (en) A kind of configuration, call method, device and equipment that shows resource

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant