CN105812178B - A kind of terminal staging method and terminal - Google Patents
A kind of terminal staging method and terminal Download PDFInfo
- Publication number
- CN105812178B CN105812178B CN201610131261.6A CN201610131261A CN105812178B CN 105812178 B CN105812178 B CN 105812178B CN 201610131261 A CN201610131261 A CN 201610131261A CN 105812178 B CN105812178 B CN 105812178B
- Authority
- CN
- China
- Prior art keywords
- database
- terminal
- information
- module
- new function
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004891 communication Methods 0.000 claims description 166
- 230000005540 biological transmission Effects 0.000 claims description 5
- 230000011664 signaling Effects 0.000 claims description 5
- 230000003247 decreasing effect Effects 0.000 abstract description 4
- 230000009466 transformation Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 76
- 238000010586 diagram Methods 0.000 description 11
- 230000004048 modification Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000004927 fusion Effects 0.000 description 4
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of terminal staging method and terminal, it is existing in the prior art to terminal upgrade to solve, when the content for involving the need for updating is more, upgrade low efficiency and easily scalable the problem of failing, comprising: terminal receives the over the air OTA difference packet that server is sent;The OTA difference packet includes native system module and new function module;The terminal upgrades the original module in the terminal according to the native system module;And increase the new function module newly in the terminal and according to the new function module creation new function database.This method terminal is in upgrading, on the one hand the original module in terminal is upgraded to according to native system module, on the other hand for newly-increased function, it then directly increases new function module newly and establishes new function database, without carrying out a large amount of transformation and upgrade to original module, both a possibility that can guaranteeing expeditiously to complete to upgrade, while decreasing upgrading failure.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of terminal staging method and terminals.
Background technique
Currently, with 4G (the 4th Generation mobile communication, forth generation mobile communication skill
Art) epoch arrival, the technology development of mobile Internet is swift and violent, results in the need for often carrying out system upgrade to terminal.
In the prior art, mainly by being transformed upgrading to the original module in terminal, i.e., in the base of original module
It modifies on plinth, for example the operations such as newly-built table, modification table, deletion table is carried out to the database in original module, so that transformation
The module in terminal afterwards can support new function.
Above-mentioned technology the problem is that: when needing the content that updates more when the original module of terminal is in upgrading, make
It is more at the operation that is related to when upgrading, for example, to the database in original module need to carry out largely newly-built table, modification table and
The operation for deleting table causes upgrading efficiency lower, and then increases a possibility that upgrading fails.
In conclusion the prior art is to terminal upgrade, when the content for involving the need for updating is more, upgrade low efficiency and
Easily scalable failure.
Summary of the invention
The present invention provides a kind of terminal staging method and terminal, existing in the prior art to terminal upgrade to solve,
When the content for involving the need for updating is more, upgrade low efficiency and easily scalable the problem of failing.
On the one hand, the embodiment of the present invention provides a kind of terminal staging method, comprising:
Terminal receives the over the air OTA difference packet that server is sent;The OTA difference packet includes native system mould
Block and new function module;
The terminal upgrades the original module in the terminal according to the native system module;And institute
It states and increases the new function module in terminal newly and according to the new function module creation new function database.
On the other hand, the embodiment of the present invention provides a kind of terminal, comprising:
Receiving unit, for receiving the over the air OTA difference packet of server transmission;The OTA difference packet includes
Native system module and new function module;
Upgrade unit, for upgrading to the original module in terminal according to the native system module;And institute
It states and increases the new function module in terminal newly and according to the new function module creation new function database.
Method provided in an embodiment of the present invention, terminal receive the over the air OTA difference packet that server is sent;It is described
OTA difference packet includes native system module and new function module;The terminal is according to the native system module, to the terminal
In original module upgraded;And it increases the new function module newly in the terminal and is created according to the new function module
Build new function database.This method terminal upgrading when, on the one hand to according to native system module to the original module in terminal
Upgraded, on the other hand for newly-increased function, then directly increases new function module newly and establish new function database, thus nothing
A large amount of transformation and upgrade need to be carried out to original module, can both guarantee expeditiously to complete to upgrade, while decreased upgrading and losing
A possibility that losing.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of terminal staging method flow chart provided in an embodiment of the present invention;
Fig. 2 is the modular structure schematic diagram in converged communication OTA upgrade package provided in an embodiment of the present invention;
Fig. 3 is that terminal upgrade provided in an embodiment of the present invention has the database access schematic diagram after converged communication ability;
Fig. 4 is a kind of terminal staging method detail flowchart provided in an embodiment of the present invention;
Fig. 5 is a kind of terminal schematic diagram provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
As shown in Figure 1, terminal staging method method provided in an embodiment of the present invention, comprising:
Step 101, terminal receive the over the air OTA difference packet that server is sent;OTA difference packet includes primary system
Module of uniting and new function module;
Step 102, terminal upgrade the original module in terminal according to native system module;And in the terminal
Increase new function module newly and according to new function module creation new function database.
In above-mentioned steps 101, terminal can be mobile phone, tablet computer, wearable device, PC etc., and server is
The background system (such as client service center, charge system, application server etc.) of operator.When needing to the system information in terminal
It, can be by server by OTA (Over-the-Air Technology, over the air) difference packet when being updated
It is pushed to terminal.
It wherein, include native system module and new function module in the OTA difference packet that terminal receives server is sent,
Wherein native system module is to be updated operation for the original module to terminal, is related to more in native system module
Newly operate fewer, usually some less changes;New function module is the increase for carrying out new function in the terminal, one
As be related to newdata library, increase module of some correlations etc. operation.
In above-mentioned steps 102, terminal upgrades the original module in terminal according to native system module, this part
The change that is related to of upgrading it is smaller;And new function module is increased newly in the terminal according to new function module creation new function number
According to library, the change that the upgrading of this part is related to is bigger, increases many new functions primarily directed to terminal upgrade, all in this portion
Divide operation during upgrading, and terminal is mainly the change of some adaptability to the upgrading of original module, i.e., due to increasing in the terminal
Need to carry out original module the update of some relevances caused by new function module.
The contents of the present invention are understood for aspect, are illustrated by taking the upgrade method of the terminal with Android system as an example below,
And the new function mentioned in above-mentioned steps 101 refers to converged communication service module.
Before the present invention is illustrated, lower converged communication relevant knowledge is introduced first below.
Converged communication is, mainly comprising new information and new connection, to provide using network communication contact book as core for user abundant
Calling and message communicating mode support the fusion application of various terminal equipment and various networks.It will be next that industry, which generally believes,
It is a kind of based on mobile phone contact, collection voice, instant message, file transmission, content are shared, are in for the standard of converged communication
The communications such as existing, location-based service are towards LTE (Long Term in the converged communication service of one
Evolution, long term evolution), the wireless access side such as WLAN (Wireless Local Area Networks, WLAN)
The upgrading of the basic telecom service of formula.
The converged communication business of China Mobile is currently without commercialization, and mobile phones all at present is all without access to fusion on the market
The business of communication, if the converged communication business commercialization that Science in Future in China is mobile, existing terminal is if it is desired to upgrading is melted at band
The terminal of hop communication ability, the more new content being related to will be very more.
When terminal is Android system, then the original module for including in terminal has generally comprised: information module Mms.apk,
Information database TelephonyProvider.apk, address list module Contact.apk, address book data library
ContactProvider.apk and Android frame packet FrameWork.jar etc., wherein TelephonyProvider.apk is used
In storage information, such as short message, multimedia message etc., Mms.apk is used to obtain data by access TelephonyProvider.apk
Information, ContactProvider.apk are recorded for memory communicating, such as contact person, contact method, contact person's grouping etc.,
Contact.apk is used to obtain data information by access ContactProvider.apk, and FrameWork.jar is for providing
The interface of system.
Terminal upgrades the original module in terminal according to native system module, refers to wrapping in OTA difference packet
It include the information module Mms.apk of above-mentioned latest edition, information database containing native system module, in native system module
TelephonyProvider.apk, address list module Contact.apk, address book data library ContactProvider.apk with
And Android frame packet FrameWork.jar etc., the module of these latest editions is sent to terminal, so that terminal can root
Upgrading is updated to the original module in terminal according to these native system modules.
It also include new function module in OTA difference packet, by taking new function module is converged communication service module as an example, then
Terminal directly increases converged communication service module newly in the terminal, and creates converged communication data according to converged communication service module
Library wherein stores the data information for having differentiation with the original module in terminal in converged communication database.Wherein, fusion is logical
Telecommunications services module can indicate that converged communication database can be indicated with Rcs.db with Rcs_service.apk.
For the data in converged communication database are carried out with more careful management, therefore in implementation, new function module is
Converged communication service module;New function database is converged communication database;Terminal is according to new function module creation new function number
After library, further includes:
Terminal creates converged communication database table according to converged communication database;
Wherein, converged communication database table includes some or all of of following content:
Converged communication capability database table, collection message database table, group chat group content database table, group chat member letter
Cease database table, public account information database table, public account history message database table.
In the above method, terminal is after creating converged communication database, further, also creates converged communication database
Table can be comprising some or all of in the table of following data library: converged communication capability database table, collection message database
Table, group chat group content database table, group chat member information DB table, public account information database table, public account are gone through
History message database table.
Wherein, converged communication capability database table can be indicated with rcs_capability, be mainly used for recording converged communication
Ability possessed by user, for example whether having converged communication ability, if there is burn-after-reading ability etc., collect message data
Library table can be indicated with rcs_fav_message, be mainly used for recording the message content of user's collection, group chat group content database
Table can be indicated with rcs_groupchat, be mainly used for recording the group content of group chat, group chat member information DB's table is available
Rcs_groupchat_member is indicated, is mainly used for recording the information of member in group chat, public account information database table can
It is indicated with rcs_public_account, is mainly used for recording public account information, public account history message database table can
It is indicated with rcs_public_account_his, is mainly used for recording public account history message.
In the method, after creating converged communication database, multiple database tables is also specifically created, are used respectively
In recording different information, so that data information storage is more reasonable, information is searched convenient for terminal.
It include native system module and new function module in OTA difference packet, further, it is also possible to include other moulds
Block is mainly used for the operation of some other correlations.For example, in implementation, new function module is converged communication service module;
New function database is converged communication database;It also include converged communication protocol stack in OTA difference packet;Then terminal receives server
After the OTA difference packet of transmission, further includes:
Terminal increases converged communication protocol stack newly in the terminal;
Wherein, converged communication protocol stack is for assembling and decoupling converged communication signaling and message.
Increase converged communication protocol stack in the terminal, is mainly used for assembling and decoupling same and signaling and message, so as to
Converged communication service module goes to handle the affairs of the logic level of some converged communications more absorbedly.Wherein, converged communication is assisted
View stack can be indicated with Librcs_jni.so.
By above method, may be implemented through the native system module and new function module in OTA difference packet, it is right respectively
Original module in terminal is upgraded, and in the terminal increase new function module, so as to without to original module into
The rapidly and efficiently upgrading of terminal can be completed in a large amount of transformations of row, and when new function module is converged communication service module, eventually
Converged communication database is also created when the upgrading of end, and multiple database tables can also be created, stores different information respectively, with
And creation converged communication protocol stack, for assembling and decoupling converged communication signaling and message.
As shown in Fig. 2, for the modular structure schematic diagram in converged communication OTA upgrade package provided in an embodiment of the present invention,
In application layer include information module Mms.apk, address list module Contact.apk, address book data library
ContactProvider.apk and information database TelephonyProvider.apk includes Android frame packet in service layer
FrameWork.jar and converged communication service module Rcs_service.apk includes converged communication protocol stack in protocol stack layers
Librcs_jni.so.Wherein, in the native system module in OTA upgrade package comprising Mms.apk, Contact.apk,
ContactProvider.apk, TelephonyProvider.apk and FrameWork.jar, new function module are to melt
Hop communication service module Rcs_service.apk has comprised in addition converged communication protocol stack Librcs_jni.so.Work as terminal
It similarly include all modules shown in Fig. 2 after being completed according to OTA upgrade package upgrading.
In implementation, after terminal is according to new function module creation new function database, further includes:
Terminal judges the database whether communication information can be stored in original module after receiving communication information;
If it is determined that communication information can be stored in the database in original module, then communication information is stored in original by terminal
Database in module;
If it is determined that communication information can not be stored in the database in original module, then communication information is stored in newly by terminal
Functional database.
It is illustrated so that new function module is converged communication service module as an example.It, can after terminal receives communication information
To judge database that whether communication information can be stored in original module, such as original mould by converged communication service module
There are two databases in block, and one is information database TelephonyProvider.apk, and there are one be address book data library
ContactProvider.apk then specifically can judge currently to connect by converged communication service module Rcs_service.apk
Whether the communication information received can store in information database TelephonyProvider.apk or is stored in address list
In database ContactProvider.apk, if information database TelephonyProvider.apk can be stored in either
It is stored in address book data library ContactProvider.apk, then information data communication information being stored in original module
In library TelephonyProvider.apk either address book data library ContactProvider.apk;If communication information is not
The database that can be stored in original module can neither be stored in information database TelephonyProvider.apk, also not
It can be stored in the ContactProvider.apk of address book data library, then the communication information is stored in converged communication database
In.
Thus, the above method can should be stored in for the communication information received according to the communication information of judgement
Which database, so that communication information is stored in corresponding database according to the result of judgement.
In implementation, terminal judges the database whether communication information can be stored in original module according to following manner:
Terminal determines the corresponding field of communication information according to the type of communication information;
Terminal judges whether the database in original module includes the corresponding field of communication information;
If the database in original module includes the corresponding field of communication information, it is determined that communication information can be stored in original
Database in beginning module;
If the database in original module does not include the corresponding field of communication information, it is determined that communication information can not store
Database in original module.
In the above method, terminal is illustrated according to the type of communication information, or by taking converged communication message as an example, such as
The type of communication information is group chat information, and then determines the corresponding field of the communication information, and such as corresponding field is group chat member
Title judges whether the database in original module includes the field, if the database packet in original module then according to the field
Contain the field, it is determined that the communication information can be stored in the database in original module, otherwise determine the communication information not
It can be stored in the database in original module.
In implementation, communication information is stored in after new function database by terminal, further includes:
After terminal receives acquisition of information instruction, the information for determining and needing to obtain is instructed according to acquisition of information;
The information that terminal obtains as needed judges to need whether the information obtained is stored in the data in original module
Library;
The information obtained is needed to be stored in the database in original module if terminal determines, from the data in original module
Library obtains the information for needing to obtain;
The information obtained is needed to be not stored in the database in original module if terminal determines, from new function database
It is middle to obtain the information for needing to obtain.
In the above method, after terminal receives acquisition of information instruction, specified according to the acquisition of information, determination needs to obtain
Information, then judge whether the information that the needs obtain is stored in database in original module, by taking converged communication as an example, eventually
End is then to judge to need whether the information obtained is stored in information database TelephonyProvider.apk or is stored in
Address book data library ContactProvider.apk, if so, the information for needing to obtain is obtained from corresponding database, it is no
The information for needing to obtain then is obtained from converged communication database.To which this method may be implemented to obtain from correct database
The information obtained to needs.
In implementation, terminal judges to need whether the information obtained is stored in the data in original module according to following manner
Library:
The type for the information that terminal obtains as needed determines the corresponding field of information for needing to obtain;
Terminal judges whether the database in original module includes the corresponding field of information for needing to obtain;
If the database in original module includes the corresponding field of information for needing to obtain, it is determined that the information for needing to obtain
The database being stored in original module;
If the database in original module does not include the corresponding field of information for needing to obtain, it is determined that the letter for needing to obtain
Cease the database being not stored in original module.
In the above-mentioned methods, the type for the information that terminal obtains as needed determines the corresponding word of information for needing to obtain
Section, such as by taking converged communication as an example, when the type for the information for needing to obtain is group chat information, and then determine the communication information pair
Then the field answered, such as corresponding field judge that the database in original module is then according to the field for group chat member Name
No includes the field, if the database in original module includes the field, it is determined that the information for needing to obtain is stored in original
Database in module is stored in information database TelephonyProvider.apk or is stored in address book data
In the ContactProvider.apk of library, otherwise determines and the information obtained is needed to be not stored in the database in original module.
As shown in figure 3, having the database access after converged communication ability for terminal upgrade provided in an embodiment of the present invention
Schematic diagram, wherein Rcs_service.apk can be accessed from TelephonyProvider.apk by Mms.apk data or
Person stores data into TelephonyProvider.apk or Rcs_service.apk can pass through
Contact.apk accesses data from ContactProvider.apk or stores data into ContactProvider.apk
In or Rcs_service.apk directly store data into converged communication database Rcs.db, or from Rcs.db
Middle acquisition data.It is stored in original module so as to use newly-built converged communication database Rcs.db
There is no respective stored field in ContactProvider.apk or TelephonyProvider.apk to store
Information about firms in information data, such as converged communication group chat, group chat title etc. realize the correct storage and acquisition of data.
Method provided in an embodiment of the present invention, terminal receive the over the air OTA difference packet that server is sent;OTA
Difference packet includes native system module and new function module;Terminal according to native system module, to the original module in terminal into
Row upgrading;And increase new function module and according to new function module creation new function database newly in the terminal.This method terminal
In upgrading, on the one hand the original module in terminal is upgraded to according to native system module, on the other hand for newly-increased
Function, then directly newly-increased new function module and new function database is established, without largely being changed to original module
A possibility that making upgrading, can both guarantee expeditiously to complete to upgrade, while decreasing upgrading failure.
Below using new function module as converged communication service module, new function database be converged communication database for,
Terminal staging method provided in an embodiment of the present invention is described in detail, as shown in figure 4, being one kind provided in an embodiment of the present invention
Terminal staging method detail flowchart, comprising:
Step 401, terminal receive the OTA difference packet that server is sent;OTA difference packet includes native system module and fusion
Communication service module;
Step 402, terminal upgrade the original module in terminal according to native system module, and in the terminal
Newly-increased converged communication service module simultaneously creates new converged communication database according to converged communication service module;
Step 403, terminal create converged communication database table according to converged communication database;
Step 404, terminal increase converged communication protocol stack newly in the terminal;
Step 405, terminal are after receiving communication information, however, it is determined that the communication information can be stored in original module
Otherwise database, the then database being stored in original module are stored in converged communication database;
Step 406, terminal determine the information for needing to obtain after receiving acquisition of information instruction, however, it is determined that need to obtain
Information is stored in the database in original module, then the information for needing to obtain is obtained from the database in original module, otherwise
The information for needing to obtain is obtained from converged communication database.
It should be noted that step 404 is completed before can be step 403 after step 402 in above method step,
Step 406 is completed before can be step 405 after step 404.
Method provided in an embodiment of the present invention, terminal receive the over the air OTA difference packet that server is sent;OTA
Difference packet includes native system module and new function module;Terminal according to native system module, to the original module in terminal into
Row upgrading;And increase new function module and according to new function module creation new function database newly in the terminal.This method terminal
In upgrading, on the one hand the original module in terminal is upgraded to according to native system module, on the other hand for newly-increased
Function, then directly newly-increased new function module and new function database is established, without largely being changed to original module
A possibility that making upgrading, can both guarantee expeditiously to complete to upgrade, while decreasing upgrading failure.
Based on the same technical idea, the embodiment of the present invention also provides a kind of terminal.Terminal provided in an embodiment of the present invention
As shown in Figure 5, comprising:
Receiving unit 501, for receiving the over the air OTA difference packet of server transmission;OTA difference packet includes original
Raw system module and new function module;
Upgrade unit 502, for upgrading to the original module in terminal according to native system module;And at end
Increase new function module in end newly and according to new function module creation new function database.
In implementation, new function module is converged communication service module;New function database is converged communication database;Upgrading
Unit 502, is also used to:
Converged communication database table is created according to converged communication database;
Wherein, converged communication database table includes some or all of of following content:
Converged communication capability database table, collection message database table, group chat group content database table, group chat member letter
Cease database table, public account information database table, public account history message database table.
In implementation, new function module is converged communication service module;New function database is converged communication database;OTA
It also include converged communication protocol stack in difference packet;Upgrade unit 502 is also used to:
Increase converged communication protocol stack newly in the terminal;
Wherein, converged communication protocol stack is for assembling and decoupling converged communication signaling and message.
In implementation, terminal further includes storage unit 503, is used for:
After receiving communication information, the database whether communication information can be stored in original module is judged;
If it is determined that communication information can be stored in the database in original module, then communication information is stored in original module
In database;
If it is determined that communication information can not be stored in the database in original module, then communication information is stored in new function
Database.
In implementation, storage unit 503 is original specifically for judging whether communication information can be stored according to following manner
Database in module:
According to the type of communication information, the corresponding field of communication information is determined;
Judge whether the database in original module includes the corresponding field of communication information;
If the database in original module includes the corresponding field of communication information, it is determined that communication information can be stored in original
Database in beginning module;
If the database in original module does not include the corresponding field of communication information, it is determined that communication information can not store
Database in original module.
In implementation, terminal further includes acquiring unit 504, is used for:
After terminal receives acquisition of information instruction, the information for determining and needing to obtain is instructed according to acquisition of information;
The information obtained as needed judges to need whether the information obtained is stored in the database in original module;
If it is determined that the information obtained is needed to be stored in the database in original module, then obtained from the database in original module
Take the information that needs obtain;
If it is determined that the information obtained is needed to be not stored in the database in original module, then obtained from new function database
Take the information that needs obtain.
In implementation, acquiring unit 504 is specifically used for:
The type of the information obtained as needed determines the corresponding field of information for needing to obtain;
Judge whether the database in original module includes the corresponding field of information for needing to obtain;
If the database in original module includes the corresponding field of information for needing to obtain, it is determined that the information for needing to obtain
The database being stored in original module;
If the database in original module does not include the corresponding field of information for needing to obtain, it is determined that the letter for needing to obtain
Cease the database being not stored in original module.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of terminal staging method characterized by comprising
Terminal receives the over the air OTA difference packet that server is sent;The OTA difference packet include native system module and
New function module;
The terminal upgrades the original module in the terminal according to the native system module;And at the end
Increase the new function module in end newly and according to the new function module creation new function database;
Wherein, after the terminal is according to the new function module creation new function database, further includes:
The terminal judges whether the communication information can be stored in the original module after receiving communication information
Database;
If it is determined that the communication information can be stored in the database in the original module, then the terminal disappears the communication
Cease the database being stored in the original module;
If it is determined that the communication information can not be stored in the database in the original module, then the terminal is by the communication
Message is stored in the new function database.
2. the method as described in claim 1, which is characterized in that the new function module is converged communication service module;It is described
New function database is converged communication database;After the terminal is according to the new function module creation new function database,
Further include:
The terminal creates converged communication database table according to the converged communication database;
Wherein, the converged communication database table includes some or all of of following content:
Converged communication capability database table, collection message database table, group chat group content database table, group chat information about firms number
According to library table, public account information database table, public account history message database table.
3. the method as described in claim 1, which is characterized in that the new function module is converged communication service module;It is described
New function database is converged communication database;It also include converged communication protocol stack in the OTA difference packet;
The terminal receives after the OTA difference packet that server is sent, further includes:
The terminal increases the converged communication protocol stack newly in the terminal;
Wherein, the converged communication protocol stack is for assembling and decoupling converged communication signaling and message.
4. the method as described in claim 1, which is characterized in that the terminal judges that the communication information is according to following manner
The no database that can be stored in the original module:
The terminal determines the corresponding field of the communication information according to the type of the communication information;
The terminal judges whether the database in the original module includes the corresponding field of the communication information;
If the database in the original module includes the corresponding field of the communication information, the terminal determines the communication
Message can be stored in the database in the original module;
If the database in the original module does not include the corresponding field of the communication information, the terminal determines described logical
Letter message can not be stored in the database in the original module.
5. the method as described in claim 1, which is characterized in that the communication information is stored in the new function by the terminal
After database, further includes:
After the terminal receives acquisition of information instruction, the information for determining and needing to obtain is instructed according to the acquisition of information;
For the terminal according to the information for needing to obtain, whether the information for judging that the needs obtain is stored in the original mould
Database in block;
If the terminal determines the database for needing the information that obtains to be stored in the original module, from described original
Database in module obtains the information for needing to obtain;
If the terminal determines the database for needing the information that obtains to be not stored in the original module, from described
The information for needing to obtain is obtained in new function database.
6. method as claimed in claim 5, which is characterized in that the terminal judges what the needs obtained according to following manner
Whether information is stored in the database in the original module:
The terminal determines the corresponding field of information for needing to obtain according to the type of the information for needing to obtain;
The terminal judges whether the database in the original module includes the corresponding field of information for needing to obtain;
If the database in the original module includes the corresponding field of information for needing to obtain, the terminal determines institute
It states and the information obtained is needed to be stored in the database in the original module;
If the database in the original module does not include the corresponding field of information for needing to obtain, the terminal is determined
The database for needing the information obtained to be not stored in the original module.
7. a kind of terminal upgraded characterized by comprising
Receiving unit, for receiving the over the air OTA difference packet of server transmission;The OTA difference packet includes primary
System module and new function module;
Upgrade unit, for upgrading to the original module in terminal according to the native system module;And at the end
Increase the new function module in end newly and according to the new function module creation new function database;
Storage unit, for after receiving communication information, judging whether the communication information can be stored in the original mould
Database in block;If it is determined that the communication information can be stored in the database in the original module, then by the communication
Message is stored in the database in the original module;If it is determined that the communication information can not be stored in the original module
Database, then the communication information is stored in the new function database.
8. terminal as claimed in claim 7, which is characterized in that the terminal further includes acquiring unit, is specifically used for:
After receiving acquisition of information instruction, the information for determining and needing to obtain is instructed according to the acquisition of information;
According to the information for needing to obtain, the number for needing the information obtained whether to be stored in the original module is judged
According to library;
If it is determined that the database for needing the information obtained to be stored in the original module, then from the original module
Database obtains the information for needing to obtain;
If it is determined that the database for needing the information obtained to be not stored in the original module, then from the new function number
The information obtained according to the needs are obtained in library.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610131261.6A CN105812178B (en) | 2016-03-08 | 2016-03-08 | A kind of terminal staging method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610131261.6A CN105812178B (en) | 2016-03-08 | 2016-03-08 | A kind of terminal staging method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105812178A CN105812178A (en) | 2016-07-27 |
CN105812178B true CN105812178B (en) | 2019-02-26 |
Family
ID=56467855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610131261.6A Active CN105812178B (en) | 2016-03-08 | 2016-03-08 | A kind of terminal staging method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105812178B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111459534A (en) * | 2019-01-18 | 2020-07-28 | 杭州明特科技有限公司 | Application system architecture of energy information gateway |
CN110275728B (en) * | 2019-06-28 | 2023-11-07 | 瓴盛科技有限公司 | System and method for updating firmware |
CN112817630A (en) * | 2021-01-28 | 2021-05-18 | 深圳市华卓智能科技有限公司 | FOTA upgrading method based on small space |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094229A (en) * | 2007-07-24 | 2007-12-26 | 深圳市融合视讯科技有限公司 | Increment upgrading system and method for networked application programs |
CN102571722A (en) * | 2010-12-31 | 2012-07-11 | 北京大唐高鸿数据网络技术有限公司 | Converged communication system and multi-protocol adaptation method suitable for same |
CN103188505A (en) * | 2011-12-28 | 2013-07-03 | 三星电子株式会社 | Image processing device, upgrading device, display system and control method thereof |
CN104731607A (en) * | 2013-12-18 | 2015-06-24 | 华为技术有限公司 | Terminal lifelong learning handling method, device and system |
CN104954394A (en) * | 2014-03-24 | 2015-09-30 | 中兴通讯股份有限公司 | Software differential packet production and update method, server, terminal and update system |
-
2016
- 2016-03-08 CN CN201610131261.6A patent/CN105812178B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094229A (en) * | 2007-07-24 | 2007-12-26 | 深圳市融合视讯科技有限公司 | Increment upgrading system and method for networked application programs |
CN102571722A (en) * | 2010-12-31 | 2012-07-11 | 北京大唐高鸿数据网络技术有限公司 | Converged communication system and multi-protocol adaptation method suitable for same |
CN103188505A (en) * | 2011-12-28 | 2013-07-03 | 三星电子株式会社 | Image processing device, upgrading device, display system and control method thereof |
CN104731607A (en) * | 2013-12-18 | 2015-06-24 | 华为技术有限公司 | Terminal lifelong learning handling method, device and system |
CN104954394A (en) * | 2014-03-24 | 2015-09-30 | 中兴通讯股份有限公司 | Software differential packet production and update method, server, terminal and update system |
Also Published As
Publication number | Publication date |
---|---|
CN105812178A (en) | 2016-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108510389B (en) | Intelligent contract calling method and device based on block chain and readable storage medium | |
CN109600246B (en) | Network slice management method and device | |
CN1729468B (en) | Data synchronization | |
RU2608190C2 (en) | Contact information synchronization system and method | |
CN100586211C (en) | Method and system for implementing real name calling service based on mobile terminal client terminal module | |
CN102026124B (en) | Intelligent SMS (short message service) platform system and SMS (short message service) implementation method based on system | |
CN103516576A (en) | Method for processing instant message and device thereof | |
CN104618472A (en) | Mobile communication device contact information maintenance method and system | |
CN103491653A (en) | WiFi and 3G coexisting method based on Android intelligent terminal | |
CN105812178B (en) | A kind of terminal staging method and terminal | |
CN106171019B (en) | Determine the method, apparatus, terminal and server of terminal roaming status | |
CN104954394A (en) | Software differential packet production and update method, server, terminal and update system | |
CN104936282A (en) | Method and device for registering converged communication service | |
CN103491522B (en) | terminal adapting method and device | |
CN103701653B (en) | The processing method of a kind of interface hot plug configuration data and network configuration server | |
CN111356182A (en) | Resource scheduling and processing method and device | |
CN102368849A (en) | System and method for carrying out state updating on intelligent mobile phone address list through network | |
CN110324317A (en) | Method for processing business, device, equipment and storage medium | |
CN107172109A (en) | Conversed based on IMS and show method, storage device and the mobile terminal of head portrait | |
CN105511851B (en) | A method of extension Android system resource load | |
CN113543047A (en) | Method, system and device for making 5G message | |
CN116136731A (en) | Interactive information transmission method and device, storage medium and electronic device | |
CN108958759A (en) | A kind of method and device storing software package | |
CN113434190A (en) | Data processing method and device, storage medium and electronic equipment | |
US9077612B2 (en) | Method for managing configuration information of an outsourced part, and method and system for managing an alarm of an outsourced part |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Country or region after: China Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region before: China |