CN104301343A - Database updating method and relevant equipment and system - Google Patents
Database updating method and relevant equipment and system Download PDFInfo
- Publication number
- CN104301343A CN104301343A CN201310300190.4A CN201310300190A CN104301343A CN 104301343 A CN104301343 A CN 104301343A CN 201310300190 A CN201310300190 A CN 201310300190A CN 104301343 A CN104301343 A CN 104301343A
- Authority
- CN
- China
- Prior art keywords
- database
- terminal equipment
- network access
- access mode
- identification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the technical field of Internet, and discloses a database updating method and relevant equipment and a system. The method comprises the following steps: receiving a database updating request sent by terminal equipment, wherein the database updating request comprises the database identification of a third-party application and the access way type identification of the terminal equipment; identifying the access way type of the terminal equipment according to the access way type identification of the terminal equipment, and if the access way type of the terminal equipment is a free access way, identifying whether a database updating data packet matched with the database identification of the third-party application is stored or not; and if the database updating data packet is stored, transmitting the database updating data packet matched with the database identification of the third-party application to the terminal equipment in order that the terminal updates a database of the third-party application according to the database updating data packet. Through implementation of the database updating method and the relevant equipment and the system, the traffic cost can be effectively saved.
Description
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of database update method and relevant device, system.
Background technology
At present, third-party application a lot of on terminal equipment all can use database, and for mobile phone house keeper, mobile phone house keeper has just used virus database, information of home location database, short message intelligent data interception storehouse etc.And in order to the validity of the database that ensures third-party application, inevitably need regularly to upgrade the database of third-party application.But find in practice, the database upgrading third-party application can expend the flow of terminal equipment, and user is more responsive for flow rate, particularly when the database of third-party application needing to upgrade is larger, more flow rate will be caused.
Summary of the invention
The embodiment of the invention discloses a kind of database update method and relevant device, system, can effectively save flow rate.
Embodiment of the present invention first aspect discloses a kind of database update method, comprising:
The database update request that receiving terminal apparatus sends, described database update request comprises the Database Identification of third-party application and the network access mode type identification of described terminal equipment;
The network access mode type of terminal equipment according to the network access mode type identification identification of described terminal equipment, if the network access mode type of described terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing described third-party application;
If stored, the update data of database bag sending the Database Identification coupling of described third-party application, to described terminal equipment, upgrades the database of described third-party application to make described terminal according to described update data of database bag.
Embodiment of the present invention second aspect discloses a kind of database update method, comprising:
Send database update request to cloud server, described database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment;
Receive the update data of database bag of the Database Identification coupling of the described third-party application that described cloud server sends, wherein, described update data of database bag is the network access mode type that described cloud server identifies described terminal equipment according to the network access mode type identification of described terminal equipment is free network access mode, and send over after identifying the update data of database bag of the Database Identification coupling storing described third-party application;
The database of described third-party application is upgraded according to described update data of database bag.
The embodiment of the present invention third aspect discloses a kind of Cloud Server, comprising:
Receiving element, for the database update request that receiving terminal apparatus sends, described database update request comprises the Database Identification of third-party application and the network access mode type identification of described terminal equipment;
Recognition unit, for the network access mode type of terminal equipment according to the network access mode type identification identification of described terminal equipment, if the network access mode type of described terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing described third-party application;
Transmitting element, for identify at described recognition unit store described third-party application Database Identification coupling update data of database bag time, the update data of database bag sending the Database Identification coupling of described third-party application, to described terminal equipment, upgrades the database of described third-party application to make described terminal equipment according to described update data of database bag.
Embodiment of the present invention fourth aspect discloses a kind of terminal equipment, comprising:
Transmit-Receive Unit, for sending database update request to cloud server, described database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment; And, receive the update data of database bag of the Database Identification coupling of the described third-party application that described cloud server sends, wherein, described update data of database bag is the network access mode type that described cloud server identifies described terminal equipment according to the network access mode type identification of described terminal equipment is free network access mode, and send over after identifying the update data of database bag of the Database Identification coupling storing described third-party application;
Updating block, for upgrading the database of described third-party application according to described update data of database bag.
The embodiment of the present invention the 5th aspect discloses a kind of database update system, comprises terminal equipment and cloud server, and wherein, described terminal equipment comprises:
Transmit-Receive Unit, for sending database update request to described cloud server, described database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment; And, receive the update data of database bag of the Database Identification coupling of the described third-party application that described cloud server sends;
Updating block, for upgrading the Database Requirements of described third-party application according to described update data of database bag;
Described cloud server comprises:
Receiving element, for the described database update request that receiving terminal apparatus sends;
Recognition unit, for the network access mode type of terminal equipment described in the network access mode type identification identification of described terminal equipment that comprises according to described database update request, if the network access mode type of described terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing described third-party application;
Transmitting element, for identify at described recognition unit store described third-party application Database Identification coupling update data of database bag time, send described third-party application Database Identification coupling update data of database bag to described terminal equipment.
In the embodiment of the present invention, after cloud server receives the database update request of terminal equipment transmission, the network access mode type of this terminal equipment of network access mode type identification identification of the terminal equipment that can comprise according to this database update request, if the network access mode type of this terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing the third-party application that this database update request comprises further, if stored, then send the update data of database bag of the Database Identification coupling of this third-party application to terminal equipment, upgraded the database of this third-party application according to this update data of database bag by terminal.Visible, by implementing the embodiment of the present invention, cloud server can when identifying the free network access mode of terminal equipment, and the update data of database bag just sending the Database Identification coupling of third-party application carries out database update to terminal equipment, thus can effectively save flow rate.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of database update method disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of another kind of database update method disclosed in the embodiment of the present invention;
Fig. 3 is the flow chart of another kind of database update method disclosed in the embodiment of the present invention;
Fig. 4 is the structure chart of a kind of cloud server disclosed in the embodiment of the present invention;
Fig. 5 is the structure chart of a kind of terminal equipment disclosed in the embodiment of the present invention;
Fig. 6 is the structure chart of a kind of database update system disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of database update method and relevant device, system, can effectively save flow rate.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the flow chart of a kind of database update method disclosed in the embodiment of the present invention.As shown in Figure 1, this database update method can comprise the following steps.
The database update request that S101, receiving terminal apparatus send, this database update request comprises the Database Identification of third-party application and the network access mode type identification of this terminal equipment.
In the embodiment of the present invention, can be carried out the database update request of receiving terminal apparatus transmission by cloud server, this database update request comprises the Database Identification of third-party application and the network access mode type identification of this terminal equipment.
In the embodiment of the present invention, terminal equipment can comprise smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, applause computer and the terminal equipment such as mobile internet device (Mobile Internet Devices, MID), PAD, PC.
In the embodiment of the present invention, third-party application refers to the application program needing usage data storehouse, such as, and mobile phone house keeper, antivirus software, input method, GPS navigation, game and music etc.
In the embodiment of the present invention, the network access mode type of this terminal equipment can comprise charging network access mode and free network access mode.Wherein, charging network access mode can comprise GPRS network access mode, ADSL network access mode, ISDN network access mode etc., and free network access mode can WIFI network access mode, infrared network access mode even bluetooth network access mode etc., and the embodiment of the present invention is not construed as limiting.Wherein, charging network access mode mark identifies different from free network access mode.
In the embodiment of the present invention, terminal equipment can when starting shooting or when using third-party application user, and transmission comprises the database update request of the Database Identification of third-party application and the network access mode type identification of this terminal equipment to cloud server.
S102, network access mode type according to this terminal equipment of network access mode type identification identification of this terminal equipment, if the network access mode type of this terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing this third-party application.
In the embodiment of the present invention, cloud server can according to the network access mode type of this terminal equipment of network access mode type identification identification of this terminal equipment, if the network access mode type of this terminal equipment is WIFI network access mode or infrared network access mode, identify whether to store the matching relationship that the Database Identification of this third-party application and update data of database bag identify, if stored, then identify the update data of database bag of the Database Identification coupling storing this third-party application; Otherwise, then the update data of database bag of the Database Identification coupling not storing this third-party application is identified.
In the embodiment of the present invention, the update data of database bag of the Database Identification coupling of this third-party application may be used for the whole database upgrading this third-party application, also may be used for the partial database upgrading this third-party application.When the update data of database bag that the Database Identification of this third-party application mates may be used for the whole database upgrading this third-party application, even if the database of this third-party application meets accident occur irreversible mistake, the update data of database bag that the Database Identification of this third-party application also can be adopted to mate to upgrade the whole database of this third-party application, thus can ensure the normal operation of third-party application.When the update data of database bag that the Database Identification of this third-party application mates may be used for the partial database upgrading this third-party application, the database upgrading this third-party application fast can be realized.
S103, when identify store this third-party application Database Identification coupling update data of database bag time, the update data of database bag sending the Database Identification coupling of this third-party application, to this terminal equipment, upgrades the database of this third-party application to make this terminal according to this update data of database bag.
In the embodiment of the present invention, when the update data of database bag that the Database Identification of this third-party application mates may be used for the whole database upgrading this third-party application, terminal equipment can upgrade the whole database of this third-party application according to this update data of database bag; When the update data of database bag that the Database Identification of this third-party application mates may be used for the partial database upgrading this third-party application, terminal equipment can upgrade the partial database of this third-party application according to this update data of database bag.
In the embodiment of the present invention, in method shown in Fig. 1, this database update request can also comprise the identity information of this terminal equipment, wherein, the identity information of terminal equipment can be network identity mark (IMSI as smart mobile phone), and so cloud server is before execution step S102, can the identity information of leading authentication terminal equipment whether legal, if legal, then trigger execution step S102; Otherwise, if illegal, then cloud server can notification terminal equipment identities illegal, database update failure; Or if illegal, cloud server also can not do any operation.
In the embodiment of the present invention, when cloud server identifies the update data of database bag of the Database Identification coupling storing this third-party application, whether more cloud server also can first prompt terminal equipment new database, if receive the confirmation lastest imformation that terminal equipment sends, cloud server performs step S103 again.Under this mode, just require that terminal equipment provides interactive interface for user, after needing user to confirm root, terminal equipment just sends and confirms that lastest imformation is to cloud server, to carry out database update.
In the embodiment of the present invention, when cloud server identifies the update data of database bag of the Database Identification coupling storing this third-party application, whether more cloud server also can not prompt terminal equipment new database, but mourns in silence and send update data of database bag and carry out database update to terminal equipment.Under this mode, user is not needed to participate in alternately.
In the embodiment of the present invention, above-mentioned database update request can also comprise the zone position information residing for terminal equipment, correspondingly, the data in the update data of database bag of the Database Identification coupling of this third-party application are the frequently-used datas of the zone position information residing for this terminal equipment.For example, when third-party application is input method, the data in the update data of database bag of the Database Identification coupling of input method can be the conventional word terms of the zone position information residing for this terminal equipment.Wherein, zone position information can be a city or a province.
Wherein, by implementing the method shown in Fig. 1, cloud server can when identifying the free network access mode of terminal equipment, and the update data of database bag just sending the Database Identification coupling of third-party application carries out database update to terminal equipment, thus can effectively save flow rate.
Refer to Fig. 2, Fig. 2 is the flow chart of another kind of database update method disclosed in the embodiment of the present invention.As shown in Figure 2, this database update method can comprise the following steps.
S201, send database update request to cloud server, this database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment.
In the embodiment of the present invention, terminal equipment can when starting shooting or when using third-party application user, and transmission comprises the database update request of the Database Identification of third-party application and the network access mode type identification of this terminal equipment to cloud server.
The update data of database bag that S202, the Database Identification receiving this third-party application that cloud server sends mate, wherein, this update data of database bag is the network access mode type that cloud server identifies this terminal equipment according to the network access mode type identification of this terminal equipment is free network access mode, and send over after identifying the update data of database bag of the Database Identification coupling storing this third-party application.
In the embodiment of the present invention, the network access mode type of this terminal equipment can comprise charging network access mode and free network access mode.Wherein, charging network access mode can comprise GPRS network access mode, ADSL network access mode, ISDN network access mode etc., and free network access mode can WIFI network access mode, infrared network access mode even bluetooth network access mode etc., and the embodiment of the present invention is not construed as limiting.Wherein, charging network access mode mark identifies different from free network access mode.
S203, upgrade the database of this third-party application according to update data of database bag.
In the embodiment of the present invention, when the update data of database bag that the Database Identification of this third-party application mates may be used for the whole database upgrading this third-party application, terminal equipment can upgrade the whole database of this third-party application according to this update data of database bag; When the update data of database bag that the Database Identification of this third-party application mates may be used for the partial database upgrading this third-party application, terminal equipment can upgrade the partial database of this third-party application according to this update data of database bag.
In the embodiment of the present invention, above-mentioned database update request can also comprise the zone position information residing for terminal equipment, correspondingly, the data in the update data of database bag of the Database Identification coupling of this third-party application are the frequently-used datas of the zone position information residing for this terminal equipment.For example, when third-party application is input method, the data in the update data of database bag of the Database Identification coupling of input method can be the conventional word terms of the zone position information residing for this terminal equipment.Wherein, zone position information can be a city or a province.
In the embodiment of the present invention, in method shown in Fig. 2, this database update request can also comprise the identity information of this terminal equipment, wherein, the identity information of terminal equipment can be network identity mark (IMSI as smart mobile phone), so cloud server is before the network access mode type identifying this terminal equipment according to the network access mode type identification of this terminal equipment, can the identity information of leading authentication terminal equipment whether legal, if legal, trigger the step performing the network access mode type identifying this terminal equipment according to the network access mode type identification of this terminal equipment again.
Wherein, by implementing the method shown in Fig. 2, terminal equipment in free networking, can just receive the update data of database bag that cloud server sends the Database Identification coupling of third-party application, and carry out database update, thus can effectively save flow rate.
Refer to Fig. 3, Fig. 3 is the flow chart of another kind of database update method disclosed in the embodiment of the present invention.As shown in Figure 3, this database update method can comprise the following steps.
S301, terminal equipment send database update request to cloud server, and this database update request comprises Database Identification and the network access mode type identification of terminal equipment, the identity information of terminal equipment of third-party application.
In the embodiment of the present invention, terminal equipment can when starting shooting or when using third-party application user, and transmission comprises the database update request of the Database Identification of third-party application and the network access mode type identification of this terminal equipment to cloud server.
This database update request that S302, cloud server receiving terminal apparatus send, whether the identity information of the identity information authentication terminal equipment of the terminal equipment comprised according to this database update request is legal, if legal, then performs step S303; If illegal, process ends.
The network access mode type of the network access mode type identification identification terminal equipment of this terminal equipment that S303, cloud server comprise according to this database update request, if the network access mode type of this terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing this third-party application; If stored, perform step S304; If do not stored, process ends.
In the embodiment of the present invention, the network access mode type of this terminal equipment can comprise charging network access mode and free network access mode.Wherein, charging network access mode can comprise GPRS network access mode, ADSL network access mode, ISDN network access mode etc., and free network access mode can WIFI network access mode, infrared network access mode even bluetooth network access mode etc., and the embodiment of the present invention is not construed as limiting.Wherein, charging network access mode mark identifies different from free network access mode.
In the embodiment of the present invention, the network access mode type of this terminal equipment of network access mode type identification identification of this terminal equipment that cloud server can comprise according to this database update request, if the network access mode type of this terminal equipment is WIFI network access mode or infrared network access mode, identify whether to store the matching relationship that the Database Identification of this third-party application and update data of database bag identify, if stored, then identify the update data of database bag of the Database Identification coupling storing this third-party application; Otherwise, then the update data of database bag of the Database Identification coupling not storing this third-party application is identified.
S304, cloud server send the update data of database bag of the Database Identification coupling of this third-party application to terminal equipment.
S305, terminal equipment receive the update data of database bag of the Database Identification coupling of this third-party application that cloud server sends, and upgrade the database of this third-party application according to this update data of database bag.
In the embodiment of the present invention, when the update data of database bag that the Database Identification of this third-party application mates may be used for the whole database upgrading this third-party application, terminal equipment can upgrade the whole database of this third-party application according to this update data of database bag; When the update data of database bag that the Database Identification of this third-party application mates may be used for the partial database upgrading this third-party application, terminal equipment can upgrade the partial database of this third-party application according to this update data of database bag.
In the embodiment of the present invention, above-mentioned database update request can also comprise the zone position information residing for terminal equipment, correspondingly, the data in the update data of database bag of the Database Identification coupling of this third-party application are the frequently-used datas of the zone position information residing for this terminal equipment.For example, when third-party application is input method, the data in the update data of database bag of the Database Identification coupling of input method can be the conventional word terms of the zone position information residing for this terminal equipment.Wherein, zone position information can be a city or a province.
Wherein, by implementing the method shown in Fig. 3, terminal equipment in free networking, can just receive the update data of database bag that cloud server sends the Database Identification coupling of third-party application, and carry out database update, thus can effectively save flow rate.
Refer to Fig. 4, Fig. 4 is the structure chart of a kind of cloud server disclosed in the embodiment of the present invention, for performing database update method disclosed in the embodiment of the present invention.As shown in Figure 4, cloud server 400 comprises:
Receiving element 401, for the database update request that receiving terminal apparatus sends, this database update request comprises the Database Identification of third-party application and the network access mode type identification of this terminal equipment.
Recognition unit 402, for the network access mode type of the network access mode type identification identification terminal equipment according to terminal equipment, if the network access mode type of terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing third-party application.
Transmitting element 403, for identify at recognition unit 402 store this third-party application Database Identification coupling update data of database bag time, the update data of database bag sending the Database Identification coupling of this third-party application, to terminal equipment, upgrades the database of this third-party application to make terminal equipment according to this update data of database bag.
In the embodiment of the present invention, this database update request also comprises the identity information of terminal equipment, and Cloud Server 400 also comprises:
Authenticating unit 404, whether the identity information for this terminal equipment of authentication is legal, if legal, triggers the step that recognition unit 405 performs the network access mode type of the network access mode type identification identification terminal equipment according to terminal equipment.
In the embodiment of the present invention, recognition unit 402 is specifically for the network access mode type of this terminal equipment of network access mode type identification identification according to this terminal equipment, if the network access mode type of this terminal equipment is WIFI network access mode or infrared network access mode, identify whether to store the matching relationship that the Database Identification of this third-party application and update data of database bag identify, if stored, then identify the update data of database bag of the Database Identification coupling storing this third-party application; Otherwise, then the update data of database bag of the Database Identification coupling not storing this third-party application is identified.
In the embodiment of the present invention, above-mentioned database update request can also comprise the zone position information residing for terminal equipment, correspondingly, the data in the update data of database bag of the Database Identification coupling of this third-party application are the frequently-used datas of the zone position information residing for this terminal equipment.For example, when third-party application is input method, the data in the update data of database bag of the Database Identification coupling of input method can be the conventional word terms of the zone position information residing for this terminal equipment.Wherein, zone position information can be a city or a province.
In the embodiment of the present invention, cloud server can when identifying the free network access mode of terminal equipment, the update data of database bag just sending the Database Identification coupling of third-party application carries out database update to terminal equipment, thus can effectively save flow rate.
Refer to Fig. 5, Fig. 5 is the structure chart of a kind of terminal equipment disclosed in the embodiment of the present invention, for performing database update method disclosed in the embodiment of the present invention.As shown in Figure 5, terminal equipment 500 comprises:
Transmit-Receive Unit 501, for sending database update request to cloud server, this database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment; And, receive the update data of database bag of the Database Identification coupling of this third-party application that cloud server sends, wherein, this update data of database bag is the network access mode type that cloud server identifies this terminal equipment according to the network access mode type identification of this terminal equipment is free network access mode, and send over after identifying the update data of database bag of the Database Identification coupling storing this third-party application;
Updating block 502, for upgrading the database of this third-party application according to this update data of database bag.
In the embodiment of the present invention, the network access mode type of this terminal equipment can comprise charging network access mode and free network access mode.Wherein, charging network access mode can comprise GPRS network access mode, ADSL network access mode, ISDN network access mode etc., and free network access mode can WIFI network access mode, infrared network access mode even bluetooth network access mode etc., and the embodiment of the present invention is not construed as limiting.Wherein, charging network access mode mark identifies different from free network access mode.
In the embodiment of the present invention, when the update data of database bag that the Database Identification of this third-party application mates may be used for the whole database upgrading this third-party application, updating block 502 can upgrade the whole database of this third-party application according to this update data of database bag; When the update data of database bag that the Database Identification of this third-party application mates may be used for the partial database upgrading this third-party application, updating block 502 can upgrade the partial database of this third-party application according to this update data of database bag.
In the embodiment of the present invention, this database update request can also comprise the identity information of this terminal equipment, wherein, the identity information of terminal equipment can be network identity mark (IMSI as smart mobile phone), so cloud server is before the network access mode type identifying this terminal equipment according to the network access mode type identification of this terminal equipment, can the identity information of leading authentication terminal equipment whether legal, if legal, then trigger the step performing the network access mode type identifying this terminal equipment according to the network access mode type identification of this terminal equipment.
In the embodiment of the present invention, above-mentioned database update request can also comprise the zone position information residing for terminal equipment, correspondingly, the data in the update data of database bag of the Database Identification coupling of this third-party application are the frequently-used datas of the zone position information residing for this terminal equipment.For example, when third-party application is input method, the data in the update data of database bag of the Database Identification coupling of input method can be the conventional word terms of the zone position information residing for this terminal equipment.Wherein, zone position information can be a city or a province.
Wherein, the terminal equipment shown in Fig. 5 in free networking, just can receive the update data of database bag that cloud server sends the Database Identification coupling of third-party application, and carries out database update, thus can effectively save flow rate.
Refer to Fig. 6, Fig. 6 is the structure chart of a kind of database update system disclosed in the embodiment of the present invention.As shown in Figure 6, this system can comprise terminal equipment 601 and cloud server 602, and wherein, terminal equipment 601 is connected by network with cloud server 602, wherein:
Terminal equipment 601 comprises:
Transmit-Receive Unit 6011, for sending database update request to cloud server 602, this database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment; And, receive the update data of database bag of the Database Identification coupling of this third-party application that cloud server 602 sends;
Updating block 6012, for upgrading the Database Requirements of this third-party application according to this update data of database bag;
Cloud server 602 comprises:
Receiving element 6021, for the database update request that receiving terminal apparatus sends;
Recognition unit 6022, for the network access mode type of this terminal equipment of network access mode type identification identification of this terminal equipment comprised according to this database update request, if the network access mode type of this terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing this third-party application;
Transmitting element 6023, for identify at recognition unit 6022 store this third-party application Database Identification coupling update data of database bag time, send this third-party application Database Identification coupling update data of database bag to terminal equipment 601.
In the embodiment of the present invention, above-mentioned database update request can also comprise the identity information of terminal equipment 601, and correspondingly cloud server 602 can also comprise:
Authenticating unit 6024, whether the identity information for authentication terminal equipment 601 is legal, if legal, triggers the step that recognition unit 6022 performs the network access mode type of this terminal equipment of network access mode type identification identification according to this terminal equipment.
In the embodiment of the present invention, recognition unit 6022 is specifically for the network access mode type of this terminal equipment of network access mode type identification identification according to this terminal equipment, if the network access mode type of this terminal equipment is WIFI network access mode or infrared network access mode, identify whether to store the matching relationship that the Database Identification of this third-party application and update data of database bag identify, if stored, then identify the update data of database bag of the Database Identification coupling storing this third-party application; Otherwise, then the update data of database bag of the Database Identification coupling not storing this third-party application is identified.
In the embodiment of the present invention, above-mentioned database update request can also comprise the zone position information residing for terminal equipment, correspondingly, the data in the update data of database bag of the Database Identification coupling of this third-party application are the frequently-used datas of the zone position information residing for this terminal equipment.For example, when third-party application is input method, the data in the update data of database bag of the Database Identification coupling of input method can be the conventional word terms of the zone position information residing for this terminal equipment.Wherein, zone position information can be a city or a province.
Wherein, in the system shown in Fig. 6, terminal equipment in free networking, just can receive the update data of database bag that cloud server sends the Database Identification coupling of third-party application, and carries out database update, thus can effectively save flow rate.
The all or part of step that one of ordinary skill in the art will appreciate that in the various methods of above-described embodiment be can carry out the relevant hardware of instruction by program and come+, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above database update method disclosed in the embodiment of the present invention and relevant device, system are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (18)
1. a database update method, is characterized in that, comprising:
The database update request that receiving terminal apparatus sends, described database update request comprises the Database Identification of third-party application and the network access mode type identification of described terminal equipment;
The network access mode type of terminal equipment according to the network access mode type identification identification of described terminal equipment, if the network access mode type of described terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing described third-party application;
If stored, the update data of database bag sending the Database Identification coupling of described third-party application, to described terminal equipment, upgrades the database of described third-party application to make described terminal according to described update data of database bag.
2. method according to claim 1, it is characterized in that, described database update request also comprises the identity information of described terminal equipment, and before the network access mode type of described terminal equipment according to the network access mode type identification identification of described terminal equipment, described method also comprises:
Whether the identity information of terminal equipment described in authentication is legal, if legal, triggers the step of the network access mode type of terminal equipment according to the network access mode type identification identification of described terminal equipment described in performing.
3. method according to claim 1 and 2, it is characterized in that, the network access mode type of described terminal equipment according to the network access mode type identification identification of described terminal equipment, if the network access mode type of described terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing described third-party application, comprising:
The network access mode type of described terminal equipment according to the network access mode type identification identification of described terminal equipment, if the network access mode type of described terminal equipment is WIFI network access mode or infrared network access mode, identify whether to store the matching relationship that the Database Identification of described third-party application and update data of database bag identify, if stored, then identify the update data of database bag of the Database Identification coupling storing described third-party application; Otherwise, then the update data of database bag of the Database Identification coupling not storing described third-party application is identified.
4. method according to claim 1 and 2, it is characterized in that, described database update request also comprises the zone position information residing for described terminal equipment, and the data in the update data of database bag of the Database Identification coupling of described third-party application are frequently-used datas of the zone position information residing for this terminal equipment.
5. a database update method, is characterized in that, comprising:
Send database update request to cloud server, described database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment;
Receive the update data of database bag of the Database Identification coupling of the described third-party application that described cloud server sends, wherein, described update data of database bag is the network access mode type that described cloud server identifies described terminal equipment according to the network access mode type identification of described terminal equipment is free network access mode, and send over after identifying the update data of database bag of the Database Identification coupling storing described third-party application;
The database of described third-party application is upgraded according to described update data of database bag.
6. method according to claim 5, is characterized in that, described database update request also comprises the identity information of described terminal equipment.
7. the method according to claim 5 or 6, it is characterized in that, described database update request also comprises the zone position information residing for described terminal equipment, and the data in the update data of database bag of the Database Identification coupling of described third-party application are frequently-used datas of the zone position information residing for this terminal equipment.
8. a Cloud Server, is characterized in that, comprising:
Receiving element, for the database update request that receiving terminal apparatus sends, described database update request comprises the Database Identification of third-party application and the network access mode type identification of described terminal equipment;
Recognition unit, for the network access mode type of terminal equipment according to the network access mode type identification identification of described terminal equipment, if the network access mode type of described terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing described third-party application;
Transmitting element, for identify at described recognition unit store described third-party application Database Identification coupling update data of database bag time, the update data of database bag sending the Database Identification coupling of described third-party application, to described terminal equipment, upgrades the database of described third-party application to make described terminal equipment according to described update data of database bag.
9. Cloud Server according to claim 8, is characterized in that, described database update request also comprises the identity information of described terminal equipment, and described Cloud Server also comprises:
Authenticating unit, whether the identity information for terminal equipment described in authentication legal, if legal, trigger described recognition unit perform described in the step of the network access mode type of terminal equipment according to the network access mode type identification identification of described terminal equipment.
10. Cloud Server according to claim 8 or claim 9, is characterized in that,
Described recognition unit, specifically for the network access mode type of described terminal equipment according to the network access mode type identification identification of described terminal equipment, if the network access mode type of described terminal equipment is WIFI network access mode or infrared network access mode, identify whether to store the matching relationship that the Database Identification of described third-party application and update data of database bag identify, if stored, then identify the update data of database bag of the Database Identification coupling storing described third-party application; Otherwise, then the update data of database bag of the Database Identification coupling not storing described third-party application is identified.
11. Cloud Servers according to claim 8 or claim 9, it is characterized in that, described database update request also comprises the zone position information residing for described terminal equipment, and the data in the update data of database bag of the Database Identification coupling of described third-party application are frequently-used datas of the zone position information residing for this terminal equipment.
12. 1 kinds of terminal equipments, is characterized in that, comprising:
Transmit-Receive Unit, for sending database update request to cloud server, described database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment; And, receive the update data of database bag of the Database Identification coupling of the described third-party application that described cloud server sends, wherein, described update data of database bag is the network access mode type that described cloud server identifies described terminal equipment according to the network access mode type identification of described terminal equipment is free network access mode, and send over after identifying the update data of database bag of the Database Identification coupling storing described third-party application;
Updating block, for upgrading the database of described third-party application according to described update data of database bag.
13. terminal equipments according to claim 12, is characterized in that, described database update request also comprises the identity information of described terminal equipment.
14. terminal equipments according to claim 12 or 13, it is characterized in that, described database update request also comprises the zone position information residing for described terminal equipment, and the data in the update data of database bag of the Database Identification coupling of described third-party application are frequently-used datas of the zone position information residing for this terminal equipment.
15. 1 kinds of database update systems, is characterized in that, comprise terminal equipment and cloud server, and wherein, described terminal equipment comprises:
Transmit-Receive Unit, for sending database update request to described cloud server, described database update request comprises the Database Identification of third-party application and the network access mode type identification of terminal equipment; And, receive the update data of database bag of the Database Identification coupling of the described third-party application that described cloud server sends;
Updating block, for upgrading the Database Requirements of described third-party application according to described update data of database bag;
Described cloud server comprises:
Receiving element, for the described database update request that receiving terminal apparatus sends;
Recognition unit, for the network access mode type of terminal equipment described in the network access mode type identification identification of described terminal equipment that comprises according to described database update request, if the network access mode type of described terminal equipment is free network access mode, identify whether the update data of database bag of the Database Identification coupling storing described third-party application;
Transmitting element, for identify at described recognition unit store described third-party application Database Identification coupling update data of database bag time, send described third-party application Database Identification coupling update data of database bag to described terminal equipment.
16. systems according to claim 15, it is characterized in that, described database update request also comprises the identity information of described terminal equipment, described cloud server also comprises:
Authenticating unit, whether the identity information for terminal equipment described in authentication legal, if legal, trigger described recognition unit perform described in the step of the network access mode type of terminal equipment according to the network access mode type identification identification of described terminal equipment.
17. systems according to claim 15 or 16, is characterized in that,
Described recognition unit, specifically for the network access mode type of described terminal equipment according to the network access mode type identification identification of described terminal equipment, if the network access mode type of described terminal equipment is WIFI network access mode or infrared network access mode, identify whether to store the matching relationship that the Database Identification of described third-party application and update data of database bag identify, if stored, then identify the update data of database bag of the Database Identification coupling storing described third-party application; Otherwise, then the update data of database bag of the Database Identification coupling not storing described third-party application is identified.
18. systems according to claim 15 or 16, it is characterized in that, described database update request also comprises the zone position information residing for described terminal equipment, and the data in the update data of database bag of the Database Identification coupling of described third-party application are frequently-used datas of the zone position information residing for this terminal equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310300190.4A CN104301343A (en) | 2013-07-17 | 2013-07-17 | Database updating method and relevant equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310300190.4A CN104301343A (en) | 2013-07-17 | 2013-07-17 | Database updating method and relevant equipment and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104301343A true CN104301343A (en) | 2015-01-21 |
Family
ID=52320911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310300190.4A Pending CN104301343A (en) | 2013-07-17 | 2013-07-17 | Database updating method and relevant equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104301343A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657145A (en) * | 2017-01-23 | 2017-05-10 | 北京安华金和科技有限公司 | Method for automatically finding database based on communication protocol and SQL grammar |
CN107666498A (en) * | 2016-07-27 | 2018-02-06 | 比亚迪股份有限公司 | Update method, device, cloud server, system and the vehicle of vehicle module |
CN108874845A (en) * | 2017-11-28 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of data processing method and device of view networking |
CN109462831A (en) * | 2015-06-30 | 2019-03-12 | 北京奇虎科技有限公司 | A kind of method, the distribution server and system for application program access network in mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624756A (en) * | 2011-01-28 | 2012-08-01 | 联想(北京)有限公司 | Data download terminal and data download method |
CN102799447A (en) * | 2012-06-19 | 2012-11-28 | 优视科技有限公司 | Method and system for updating internal software of mobile terminal |
CN103200219A (en) * | 2013-02-05 | 2013-07-10 | 北京小米科技有限责任公司 | Data package updating method, device, terminal equipment and server |
-
2013
- 2013-07-17 CN CN201310300190.4A patent/CN104301343A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624756A (en) * | 2011-01-28 | 2012-08-01 | 联想(北京)有限公司 | Data download terminal and data download method |
CN102799447A (en) * | 2012-06-19 | 2012-11-28 | 优视科技有限公司 | Method and system for updating internal software of mobile terminal |
CN103200219A (en) * | 2013-02-05 | 2013-07-10 | 北京小米科技有限责任公司 | Data package updating method, device, terminal equipment and server |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109462831A (en) * | 2015-06-30 | 2019-03-12 | 北京奇虎科技有限公司 | A kind of method, the distribution server and system for application program access network in mobile terminal |
CN109462831B (en) * | 2015-06-30 | 2021-02-23 | 北京奇虎科技有限公司 | Method, distribution server and system for accessing network by application program in mobile terminal |
CN107666498A (en) * | 2016-07-27 | 2018-02-06 | 比亚迪股份有限公司 | Update method, device, cloud server, system and the vehicle of vehicle module |
CN107666498B (en) * | 2016-07-27 | 2021-05-14 | 比亚迪股份有限公司 | Updating method and device of vehicle-mounted module, cloud server, system and vehicle |
CN106657145A (en) * | 2017-01-23 | 2017-05-10 | 北京安华金和科技有限公司 | Method for automatically finding database based on communication protocol and SQL grammar |
CN106657145B (en) * | 2017-01-23 | 2019-07-05 | 北京安华金和科技有限公司 | A kind of database automatic discovering method based on communication protocol and SQL syntax |
CN108874845A (en) * | 2017-11-28 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of data processing method and device of view networking |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107464117B (en) | Block chain based data management method and block chain system | |
US20140282467A1 (en) | Method and Apparatus for Multiple Vehicle Software Module Reflash | |
CN110048879B (en) | Microservice registration method, microservice registration device, electronic equipment and computer-readable storage medium | |
US20150026330A1 (en) | Generating unique identifiers for mobile devices | |
WO2017071207A1 (en) | Application installation method, corresponding apparatus, and application installation system | |
CN105308907B (en) | Installation package authorization method and device | |
CN102761856B (en) | Terminal room shares the methods, devices and systems of software | |
WO2015157937A1 (en) | Software upgrade method and terminal | |
CN106055968B (en) | Permission setting method and device and electronic equipment | |
CN103716390A (en) | Method and terminal for data sharing | |
CN107820702B (en) | Management and control method, device and electronic equipment | |
CN106850241A (en) | A kind of vehicle-mounted OBD terminals and its remote upgrade method | |
CN114124917B (en) | Remote upgrading method, equipment, system and medium for ground locking piece | |
CN113766487B (en) | Cloud mobile phone information acquisition method, device, equipment and medium | |
CN103810010A (en) | Information processing method and first electronic device terminal | |
CN104301343A (en) | Database updating method and relevant equipment and system | |
CN109471654A (en) | A kind of version upgrading method and device | |
CN104965730A (en) | Version upgrading method and system | |
CN110418344A (en) | A kind of method and device that equipment identities mark generates | |
CN104298521A (en) | Window updating method and device | |
CN110543319A (en) | Charger firmware upgrading method and related device | |
KR20180050001A (en) | Firmware upgrade system and method for IoT | |
CN109740306B (en) | Method and device for authorizing application software based on mixed scheme | |
CN110401934B (en) | Method for managing equipment, management equipment and computer readable storage medium | |
CN110166575A (en) | A kind of http Proxy Method, system, device and computer media |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150121 |
|
RJ01 | Rejection of invention patent application after publication |