CN106503157A - One kind opens application system and its data shared access method, system - Google Patents

One kind opens application system and its data shared access method, system Download PDF

Info

Publication number
CN106503157A
CN106503157A CN201610926400.4A CN201610926400A CN106503157A CN 106503157 A CN106503157 A CN 106503157A CN 201610926400 A CN201610926400 A CN 201610926400A CN 106503157 A CN106503157 A CN 106503157A
Authority
CN
China
Prior art keywords
path
database
path file
file
application system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610926400.4A
Other languages
Chinese (zh)
Other versions
CN106503157B (en
Inventor
申泽奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610926400.4A priority Critical patent/CN106503157B/en
Publication of CN106503157A publication Critical patent/CN106503157A/en
Application granted granted Critical
Publication of CN106503157B publication Critical patent/CN106503157B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Abstract

This application discloses a kind of data shared access method, including:When the first application system needs to access the application resource data in the second application system, then the path file in the path file in first path database and the second routing database is merged, obtain merging rear path file;Rear path file will be merged and be supplied to the first applications client, so that the first applications client is according to the respective paths file merged in rear path file, the application resource database in the second application system is correspondingly accessed.The application is in the case where the first application system needs to access the application resource data in the second application system, the path file of both sides will be merged, then rear path file will be merged and is supplied to the first applications client, thus achieve between application system data shared access opening more.In addition, the application further correspondingly discloses data shared access system and opens application system more.

Description

One kind opens application system and its data shared access method, system
Technical field
The present invention relates to application opens technical field, more particularly to one kind opens application system and its data shared access side Method, system.
Background technology
Currently, with the development of intelligent terminal application technology, terminal use can get more and more terminal applies institutes The convenient service for providing.In some cases, different users needs, on same intelligent terminal, to answer by respective Logged in account with a application, or same user is needed on same intelligent terminal, by different applications Account is logged in a application, and in order to adapt to these user's requests, present application developer develops open application system more, For example double open application system.
Open application system includes two or more application systems more, includes each corresponding in each application system Applications client, entrained applications client in routing database and application resource database, and each application system It is with a applications client, user can be accessed and the application by logging in the applications client in different application systems The application resource data being stored in respective application resource database corresponding to system.
In the current actual applications for opening application system, user occasionally wants to only log in a certain application system more In the case of system, share and access is carried out to the application resource data in Another Application system.However, existing open application system more And this user's request cannot be met, thus reduce Consumer's Experience.
In sum as can be seen that how open more realize between application system data shared access be have at present to be solved Problem.
Content of the invention
In view of this, it is an object of the invention to provide more a kind of open application system and its data shared access method, be System, realize data shared access can open between application system more.Its concrete scheme is as follows:
A kind of data shared access method, is applied to open application system, the arbitrary applications that opens in application system more more System includes applications client, routing database and the application resource database being sequentially connected;Wherein, methods described includes:
When the first application system needs to access the application resource data in the second application system, then by first path database In path file and the second routing database in path file merge, obtain merge rear path file;Wherein, described First application system and second application system are any application system that opens in application system, the first via more Footpath database is the routing database in first application system, and second routing database is second application system In routing database;
The merging rear path file is supplied to the first applications client, so that first applications client is according to institute The respective paths file merged in rear path file is stated, the application resource database in second application system is carried out accordingly Ground is accessed;Wherein, first applications client is the applications client in first application system.
Preferably, the path file in the path file and the second routing database in the database by first path enters The process that row merges, including:
Path file in second routing database is sent to the first path database and is preserved, obtained Including the merging rear path file first updates the data storehouse.
Preferably, the path file in the path file and the second routing database in the database by first path enters The process that row merges, including:
Path file in the first path database is sent to second routing database and is preserved, obtained Including the merging rear path file second updates the data storehouse.
Preferably, the process that the merging rear path file is supplied to the first applications client, including:
Cut off the interface channel between first applications client and the first path database;
First applications client and second interface channel updated the data between storehouse is set up, and utilizes the connection Passage, the merging rear path file described second updated the data in storehouse are supplied to first applications client.
Preferably, the path file in the path file and the second routing database in the database by first path enters The process that row merges, including:
New routing database is created, the 3rd routing database is obtained;
Path file in path file in the first path database and second routing database is sent out Deliver to the 3rd routing database to be preserved, obtain including described merge rear path file the depth of the night new database.
Preferably, the process that the merging rear path file is supplied to the first applications client, including:
Cut off the interface channel between first applications client and the first path database, and cut-out second Interface channel between applications client and second routing database;Wherein, second applications client is described the Applications client in two application systems;
Interface channel between the depth of the night of setting up first applications client and described the new database, and utilize the connection The merging rear path file in new database the depth of the night described is supplied to first applications client by passage.
Preferably, the path file in the path file and the second routing database in the database by first path Before the process for merging, also include:
Generate information input interface to be verified;
By the information input interface to be verified, the information to be verified of user input is obtained;
Safety verification is carried out to the information to be verified, if being verified, is allowed in the first path database Path file and second routing database in path file merge, if checking do not pass through, forbidding will be described The path file in path file and second routing database in first path database is merged.
Preferably, the path file in the path file and the second routing database in the database by first path Before the process for merging, also include:
The all path files in second routing database are carried out safety status classification in advance, is obtained with difference The path file of safe class;
If by the safety verification to the information to be verified, utilizing user corresponding with the information to be verified etc. Level, determines safe class corresponding with the user gradation, and filter out from second routing database with the safety etc. The corresponding path file of level, obtains destination path file.
Preferably, the path file in the path file and the second routing database in the database by first path enters The process that row merges, including:
Path file in the first path database is merged with the destination path file, the conjunction is obtained And rear path file.
The present invention further correspondingly discloses a kind of data shared access system, is applied to open application system more, and open should more Applications client, routing database and the application resource database included being sequentially connected with the arbitrary application system in system; Wherein, the data shared access system includes:
Path file merging module, for needing to access the application resource number in the second application system when the first application system According to then the path file in the path file in first path database and the second routing database being merged, is closed And rear path file;Wherein, first application system and second application system are described opening in application system more Any application system, the first path database is the routing database in first application system, second path Database is the routing database in second application system;
Path file provides module, for the merging rear path file is supplied to the first applications client, with toilet State the first applications client according to described merge rear path file in respective paths file, to second application system in Application resource database is correspondingly accessed;Wherein, first applications client is answering in first application system Use client.
Preferably, the path file merging module includes:
First lock unit, for sending the path file in second routing database to the first path number Preserved according to storehouse, obtain including that the first of the merging rear path file updates the data storehouse.
Preferably, the path file merging module includes:
Second lock unit, for sending the path file in the first path database to second number of path Preserved according to storehouse, obtain including that the second of the merging rear path file updates the data storehouse.
Preferably, the path file provides module and includes:
First passage cutting unit, for cutting off between first applications client and the first path database Interface channel;
First passage creating unit, updates the data between storehouse for setting up first applications client and described second Interface channel;
First path file provides unit, for the interface channel created using the first passage creating unit, by institute State the second merging rear path file updated the data in storehouse and be supplied to first applications client.
Preferably, the path file merging module includes:
Database creation unit, for creating new routing database, obtains the 3rd routing database;
3rd lock unit, for by the path file in the first path database and second routing database In path file send to the 3rd routing database and preserved, obtain including described merging the of rear path file The depth of the night new database.
Preferably, the path file provides module and includes:
Second channel cutting unit, for cutting off between first applications client and the first path database Interface channel between interface channel, and the second applications client of cut-out and second routing database;Wherein, described Two applications clients are the applications client in second application system;
Second channel creating unit, the depth of the night for setting up first applications client and described between new database Interface channel;
Second path file provides unit, for the interface channel created using the second channel creating unit, by institute The merging rear path file in the depth of the night of stating new database is supplied to first applications client.
Preferably, the data shared access system, also includes:
Interface generation module, for, before path file is merged by the path file merging module, generation is treated Checking information input interface;
Data obtaining module, for by the information input interface to be verified, obtaining the information to be verified of user input;
Information authentication module, for carrying out safety verification to the information to be verified, if being verified, allows the road Path file is merged by footpath file combination module, if checking does not pass through, forbids the path file merging module by road Footpath file is merged.
Preferably, the data shared access system, also includes:
Safety status classification module, for before path file is merged by the path file merging module, in advance The all path files in second routing database are carried out safety status classification first, is obtained with different safety class Path file;
Path file screening module, for when described information authentication module is by testing to the safety of the information to be verified Card, then utilize user gradation corresponding with the information to be verified, determines safe class corresponding with the user gradation, and from Path file corresponding with the safe class is filtered out in second routing database, obtains destination path file.
Preferably, the path file merging module, specifically for by the path file in the first path database Merge with the destination path file, obtain the merging rear path file.
The present invention to be further disclosed and open application system one kind more, including aforementioned disclosed data shared access system.
In the present invention, data shared access method, including:When the first application system needs to access in the second application system Application resource data, then closed the path file in the path file in first path database and the second routing database And, obtain merging rear path file;Wherein, the first application system and the second application system be open any in application system Application system, first path database is the routing database in the first application system, and the second routing database is the second application Routing database in system;Then, rear path file will be merged and is supplied to the first applications client, so as to the first application client Hold according to the respective paths file merged in rear path file, the application resource database in the second application system is carried out accordingly Ground is accessed;Wherein, the first applications client is the applications client in the first application system.It can be seen that, the present invention is in the first application In the case that system needs to access the application resource data in the second application system, it will to the path text in the first application system Path file in part and the second application system is merged, and then will be merged rear path file and is supplied in the first application system Applications client, so, applications client in the first application system just can should with second according to merge rear path file With the access path recorded in the corresponding path file of system, the respective application resource data in the second application system is carried out Access, thus the present invention achieve between application system data shared access opening more.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of data shared access method flow diagram disclosed in the embodiment of the present invention;
Fig. 2 is a kind of sub-process figure of data shared access method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of practical application structural representation of specific data shared access method disclosed in the embodiment of the present invention Figure;
Fig. 4 is a kind of data shared access system structure diagram disclosed in the embodiment of the present invention;
Fig. 5 is a kind of specific data shared access system structure diagram disclosed in the embodiment of the present invention.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of data shared access method, is applied to open application system more, open application system more Arbitrary application system in system includes applications client, routing database and the application resource database being sequentially connected;Referring to Shown in Fig. 1, above-mentioned data shared access method includes:
Step S11:When the first application system needs to access the application resource data in the second application system, then by the first via The path file in path file and the second routing database in the database of footpath is merged, and obtains merging rear path file; Wherein, the first application system and the second application system are any application systems that opens in application system, first path data more Storehouse is the routing database in the first application system, and the second routing database is the routing database in the second application system.
It should be noted that in different terminal operating systems, routing database and application resource database concrete Title can be different.In Android operation system, it is positioned at Framework to open the routing database under application system more Layer MediaProvider, and application resource database be then under data subregions /data/media/0 ,/data/ Media/10 etc..
In the present embodiment, above-mentioned first application system may refer to above-mentioned any one application system opened in application system more System, it is also possible to refer to the above-mentioned any several application systems that opens in application system, in the same manner, above-mentioned second application system can be more Refer to above-mentioned any one application system that opens in application system more, it is also possible to refer to above-mentioned open any several in application system Application system.It is understood that not including identical application between above-mentioned first application system and above-mentioned second application system System.
It should be noted that the road in path file and the second routing database in the above-mentioned database by first path During footpath file is merged, the path file in so-called first path database can both be to first path database In All Paths file, it is also possible to refer to the part path file in first path database;In the same manner, above-mentioned by the first via During the path file in path file and the second routing database in the database of footpath is merged, so-called second path Path file in database can both be to the second routing database in All Paths file, it is also possible to refer to the second path Part path file in database.
It is understood that the path file in the present embodiment is referred to have recorded access road corresponding with application resource data The file in footpath.According to the access path recorded in path file, applications client is able to access that corresponding with the access path Application resource data.
Step S12:Rear path file will be merged and be supplied to the first applications client, so that the first applications client is according to conjunction And the respective paths file in rear path file, the application resource database in the second application system is correspondingly accessed; Wherein, the first applications client is the applications client in the first application system.
That is, after obtaining merging rear path file, the merging rear path file is supplied to the first application client just End, due to comprising the path file in the second routing database, merging rear path file in above-mentioned merging rear path file After being supplied to the first applications client, the first applications client just gets the path file in the second routing database, then According to the access path recorded in the path file, just corresponding application resource data in the second application system can be visited Ask, to thus achieve and application system between carry out the purpose of data shared access opening more.
It can be seen that, the embodiment of the present invention needs to access the application resource data in the second application system in the first application system In the case of, it will the path file in the path file in the first application system and the second application system is merged, then Rear path file will be merged and be supplied to the applications client in the first application system, so, the application in the first application system will be objective Family end just can be right according to the access path recorded in the path file corresponding with the second application system of merging rear path file Respective application resource data in second application system conducts interviews, and thus the embodiment of the present invention is being opened between application system in fact more Data shared access is showed.
The embodiment of the invention discloses a kind of specific data shared access method, relative to a upper embodiment, this enforcement Example has made further instruction and optimization to technical scheme.Specifically:
In upper embodiment step S11, when the first application system needs to access the application resource number in the second application system According to then the path file in the path file in first path database and the second routing database being merged, is obtained Merge rear path file.
The present embodiment, the path text in the path file and the second routing database in above-mentioned first path database When part is merged, three kinds of differences can be specifically disclosed in the present embodiment to merge mode using multiple different path files Path file merge mode, be respectively the first path file and merge mode, second path file and merge mode and the 3rd Plant path file and merge mode.
Wherein, the first path file above-mentioned merges mode and is specially:Path file in second routing database is sent out Deliver to first path database to be preserved, obtain including that the first of above-mentioned merging rear path file updates the data storehouse.
That is, in the first path file merging mode above-mentioned, being will be same for the path file in the second routing database Walk to first path database, so renewal process has been carried out equivalent to original first path database, above-mentioned so as to obtain First updates the data storehouse, in the present embodiment, above-mentioned first update the data both included in storehouse in original first path database protect The path file that deposits, also includes the path file preserved in the second routing database sended over by the method for synchronization, namely Above-mentioned first updates the data storehouse includes above-mentioned merging rear path file.
Further, preserved sending the path file in the second routing database to first path database During, if this transmission process is not the file synchronization first between the second routing database and first path database Process, then, before this transmission process, there may be the road of repetition between first path database and the second routing database Footpath file, in order to reduce sent data volume, the embodiment of the present invention can further include:By the second routing database In path file send to first path database before, find out between first path database and the second routing database Duplicate paths file, then other path files in the second routing database in addition to the duplicate paths file are sent Preserved to first path database.
It is understood that existing due to having passed through between original first path database and the first applications client Interface channel is attached, first path database is updated obtain above-mentioned first update the data storehouse after, first should The interface channel between storehouse is updated the data with client and above-mentioned first still to exist, so just can be by the interface channel, will Above-mentioned first updates the data the above-mentioned merging rear path file preserved in storehouse is supplied to above-mentioned first applications client.
In addition, in the present embodiment, above-mentioned second path file merges mode and is specially:By in first path database Path file sends to the second routing database and is preserved, and obtains including that merging the second of rear path file updates the data storehouse.
That is, in above-mentioned second path file merging mode, being will be same for the path file in first path database Walk to the second routing database, so renewal process has been carried out equivalent to original second routing database, above-mentioned so as to obtain Second updates the data storehouse, in the present embodiment, above-mentioned second update the data both included in storehouse in original second routing database protect The path file that deposits, also includes the path file preserved in the first path database sended over by the method for synchronization, namely Above-mentioned second updates the data storehouse includes above-mentioned merging rear path file.
Further, the path file in first path database sends the mistake preserved to the second routing database Cheng Zhong, if this transmission process is not the file synchronization mistake first between first path database and the second routing database Journey, then, before this transmission process, there may be the path of repetition between first path database and the second routing database File, in order to reduce sent data volume, the embodiment of the present invention can further include:By in first path database Path file send to the second routing database before, find out between first path database and the second routing database Duplicate paths file, then by other path files in first path database in addition to the duplicate paths file send to Second routing database is preserved.
Corresponding with above-mentioned second path file merging mode, in the present embodiment, rear path file will be merged and be supplied to The process of the first applications client, specifically includes:
Cut off the interface channel between the first applications client and first path database, set up the first applications client with Second updates the data the interface channel between storehouse, and using the interface channel, second is updated the data the merging rear path in storehouse File is supplied to the first applications client.
That is, merging mode come to the path text in above-mentioned first path database using above-mentioned second path file After path file in part and the second routing database is merged, the first application is supplied in order to rear path file will be merged Client, needs to cut off the original interface channel between the first applications client and first path database, and sets up first Applications client and second updates the data interface channel between storehouse, updates the data due to above-mentioned second And rear path file, so just the merging rear path in storehouse can be updated the data by the interface channel of above-mentioned foundation, just second File is supplied to the first applications client.
Secondly, in the present embodiment, the third path file above-mentioned merges mode and is specially:New routing database is created, The 3rd routing database is obtained, then by the path text in the path file in first path database and the second routing database Part sends to the 3rd routing database and is preserved, obtain including merging rear path file the depth of the night new database.
That is, in the third path file merging mode above-mentioned, be first to create a blank routing database, Above-mentioned threeth routing database is created, then by the path file in first path database and the second routing database In path file be synchronized to above-mentioned 3rd routing database, the new database depth of the night so as to obtain above-mentioned the is so just caused The path file and original second routing database in original first path database is included in above-mentioned depth of the night new database In path file, that is, including above-mentioned merging rear path file in new database the depth of the night above-mentioned.
Further, will be equal for the path file in the path file in first path database and the second routing database Send during being preserved to the 3rd routing database, if before this transmission process, first path database and Once carried out file synchronization process between second routing database, then before this transmission process, first path data The path file of repetition is there may be between storehouse and the second routing database, and in order to reduce sent data volume, the present invention is real Apply example can further include:Before the path file in first path database is sent to the second routing database, The duplicate paths file between first path database and the second routing database is found out, then by first path database The path file in other path files and the second routing database in addition to the duplicate paths file is sent to above-mentioned 3rd routing database, or by other path files in the second routing database in addition to the duplicate paths file and Path file in first path database is sent to above-mentioned 3rd routing database.
Corresponding with the third path file merging mode above-mentioned, in the present embodiment, rear path file will be merged and be supplied to The process of the first applications client, specifically includes:
Cut off the interface channel between the first applications client and first path database, and the second application client of cut-out Interface channel between end and the second routing database;Wherein, the second applications client is the application visitor in the second application system Family end, the interface channel depth of the night then setting up the first applications client and the between new database, and using the interface channel, will Merging rear path file in depth of the night new database is supplied to the first applications client.
Further, the present embodiment can also include:Set up the second applications client and new database the depth of the night above-mentioned it Between interface channel, and utilize the interface channel, the merging rear path file in new database the depth of the night the is supplied to second should Use client.
Shown in Figure 2, in order to ensure the security of application resource data, it is to avoid malicious access application resource data occur Situation, in the present embodiment, by the path file in the path file in first path database and the second routing database Before the process for merging, can further include:
Step S21:Generate information input interface to be verified;
Step S22:By information input interface to be verified, the information to be verified of user input is obtained;
Step S23:Treating checking information carries out safety verification;If being verified, step S24 is entered, if checking is obstructed Cross, then enter step S25;
Step S24:Allow the path file in the path file in first path database and the second routing database Merge;
Step S25:Forbid the path file in the path file in first path database and the second routing database Merge.
It is understood that in above-mentioned steps S21, can intelligent terminal recognize current user operation case with pre- If trigger event is consistent, then triggering generates above-mentioned information input interface to be verified.In the present embodiment, above-mentioned default triggering thing Part can be specifically set according to actual conditions, for example, user can be pressed the predetermined physical button or pre- on intelligent terminal If virtual push button this event setup is above-mentioned default trigger event.In the present embodiment, when user makes and above-mentioned default triggering During the corresponding Action Events of event, then mean that the first application system needs to access the application resource number in the second application system According to.
In the present embodiment, above-mentioned information to be verified can be specifically the information related to user itself, for example, include user Name and encrypted message.In the present embodiment, can further include:Record in default mapped file in advance and treat with legal The corresponding user gradation of checking information.The present embodiment is in information to be verified after checking, it is possible to use above-mentioned default mapping text Part, determines user gradation corresponding with information to be verified.
Consider significance level between the different application resource data in same application resource database generally phase not to the utmost With in order to improve the security of the higher data of importance in application resource database, in the present embodiment, by first path number Before the process that the path file in path file and the second routing database according to storehouse is merged, further can also wrap Include:
The all path files in the second routing database are carried out safety status classification in advance, is obtained with different safety The path file of grade, if by the safety verification for treating checking information, utilizing user gradation corresponding with information to be verified, Safe class corresponding with the user gradation is determined, and is filtered out from the second routing database corresponding with the safe class Path file, obtains destination path file.
It is understood that the present embodiment specifically can with application resource database different application resource data important Degree is partitioning standards, to above-mentioned second routing database in carry out with the corresponding path file of application resource data corresponding Safety status classification.In the present embodiment, background system can be utilized both, the significance level of different application resource data be carried out certainly Dynamic identification, then carries out different safety status classifications to corresponding path file;It is of course also possible to provide the user safety etc. Level divides interface, so that user is by the safety status classification interface, carries out corresponding safe class to different path files Divide.
After above-mentioned destination path file is obtained, accordingly, in the present embodiment, by the path text in first path database The process that path file in part and the second routing database is merged, can specifically include:By in first path database Path file merge with destination path file, obtain merge rear path file, obtained merging in this way In rear path file, the path file related to above-mentioned second routing database only has above-mentioned destination path file, and is not All Paths file in second routing database, so that the first application system is conducting interviews to the second application system When, application resource data corresponding with above-mentioned destination path file can only be had access to, and is not complete in the second application system Portion's application resource data, view the higher application resource data of significance level in the second application system so as to avoid user, Which thereby enhance the security of the higher data of importance in application resource database.
In the present embodiment, by the path file in the path file in first path database and the second routing database After merging, it is contemplated that the application resource number in application resource database and the second application system in the first application system Application resource data according to storehouse may occur more new change in real time, in order to allow the first application system to be able to access that second The application resource data of the real-time change in application system, can further include in the present embodiment:
Real time scan is carried out to the application resource database in the second application system, when scanning is in the second application system Application resource database changes, then update corresponding Resource TOC in the application resource database in the second application system File is sent to the second routing database, so that road of second routing database according to above-mentioned Resource TOC more new file to itself Footpath file carries out correspondingly renewal process, and then the path file after updating is added to by the path file after being updated In above-mentioned merging rear path file, so, the user of the first application system just may have access to the real-time change in the second application system The application resource data of change.
For example, with reference to shown in Fig. 3, when the first application system needs to access the application resource data positioned at the second application system During application resource data in storehouse/data/media/10, the present embodiment can be by first path database MediaProvider A In path file send to the second routing database MediaProvider B in preserved, and cut-out first application visitor Interface channel between family end and MediaProvider A, and set up between the first applications client and MediaProvider B Interface channel, such first applications client just may have access to/data/media/10 in application resource data, in addition, figure MediaProvider B in 3 can be in real time scan/data/media/10 application resource data whether change, when sweeping Retouch/data/media/10 in application resource data change, then corresponding Resource TOC in general/data/media/10 More new file is sent to MediaProvider B so that MediaProvider B according to above-mentioned Resource TOC more new file to from The path file of body carries out correspondingly renewal process, and the path file after being updated, then by the path file after updating It is added in above-mentioned merging rear path file.In the same manner, the MediaProvider A in Fig. 3 also can real time scan/data/ Whether the application resource data in media/0 change, when the application resource data in scanning to/data/media/0 occur Change, then in general/data/media/0, corresponding Resource TOC more new file is sent to MediaProvider A, so that MediaProvider A carry out correspondingly renewal process according to above-mentioned Resource TOC more new file to the path file of itself, obtain Then the path file after updating is synchronized to MediaProvider B, to realize this more by the path file to after updating Path file after new is added to the purpose of above-mentioned merging rear path file, and so, the first applications client and the second application are objective Family end is able to access that/data/media/0 and/data/media/10 in real-time change application resource data.
Accordingly, the embodiment of the invention also discloses a kind of data shared access system, is applied to open application system more, many Open applications client, routing database and application resource data that the arbitrary application system in application system includes being sequentially connected Storehouse;Shown in Figure 4, above-mentioned data shared access system includes:
Path file merging module 41, for needing to access the application resource in the second application system when the first application system Data, then merge the path file in the path file in first path database and the second routing database, obtain Merge rear path file;Wherein, the first application system and the second application system are any application systems opened in application system more System, first path database are the routing database in the first application system, and the second routing database is in the second application system Routing database;
Path file provides module 42, is supplied to the first applications client for will merge rear path file, so as to first Applications client according to merge rear path file in respective paths file, to the application resource database in the second application system Correspondingly accessed;Wherein, the first applications client is the applications client in the first application system.
It can be seen that, the embodiment of the present invention needs to access the application resource data in the second application system in the first application system In the case of, it will the path file in the path file in the first application system and the second application system is merged, then Rear path file will be merged and be supplied to the applications client in the first application system, so, the application in the first application system will be objective Family end just can be right according to the access path recorded in the path file corresponding with the second application system of merging rear path file Respective application resource data in second application system conducts interviews, and thus the embodiment of the present invention is being opened between application system in fact more Data shared access is showed.
The present embodiment, path file and second of the above-mentioned path file merging module in above-mentioned first path database When path file in routing database is merged, can be with using multiple different path files merging modes, the present embodiment In specifically disclose three kinds of different path files and merge modes, be respectively the first path file and merge mode, second tunnel Footpath Piece file mergence mode and the third path file merge mode.
Wherein, above-mentioned path file merging module is being entered to path file using the first path file merging mode above-mentioned When row merges, above-mentioned path file merging module is specifically included:
First lock unit, is carried out for sending the path file in the second routing database to first path database Preserve, obtain including that merging the first of rear path file updates the data storehouse.
In addition, above-mentioned path file merging module is being entered to path file using above-mentioned second path file merging mode When row merges, above-mentioned path file merging module is specifically included:
Second lock unit, is carried out for sending the path file in first path database to the second routing database Preserve, obtain including that merging the second of rear path file updates the data storehouse.
Corresponding with above-mentioned second path file merging mode, in the present embodiment, above-mentioned path file provides module bag Include first passage cutting unit, first passage creating unit and first path file and unit is provided;Wherein,
First passage cutting unit, the connection for cutting off between the first applications client and first path database lead to Road;
First passage creating unit, updates the data connection between storehouse and leads to for setting up the first applications client and second Road;
First path file provides unit, for utilizing the interface channel of first passage creating unit establishment, by second more Merging rear path file in new database is supplied to the first applications client.
Secondly, above-mentioned path file merging module is being entered to path file using the third path file merging mode above-mentioned When row merges, above-mentioned path file merging module specifically includes database creation unit and the 3rd lock unit;Wherein,
Database creation unit, for creating new routing database, obtains the 3rd routing database;
3rd lock unit, for by the path in the path file in first path database and the second routing database File sends to the 3rd routing database and is preserved, obtain including merging rear path file the depth of the night new database.
Corresponding with the third path file merging mode above-mentioned, in the present embodiment, above-mentioned path file provides module bag Include second channel cutting unit, second channel creating unit and the second path file and unit is provided;Wherein,
Second channel cutting unit, the connection for cutting off between the first applications client and first path database lead to Interface channel between road, and the second applications client of cut-out and the second routing database;Wherein, the second applications client is Applications client in second application system;
Second channel creating unit, the connection depth of the night for setting up the first applications client and the between new database are led to Road;
Second path file provides unit, for the interface channel created using second channel creating unit, the depth of the night by the Merging rear path file in new database is supplied to the first applications client.
Shown in Figure 5, in order to ensure the security of application resource data, it is to avoid malicious access application resource data occur Situation, the data shared access system in the present embodiment can also include:
Interface generation module 51, for, before path file is merged by path file merging module 41, generation is treated Checking information input interface;
Data obtaining module 52, for by information input interface to be verified, obtaining the information to be verified of user input;
Information authentication module 53, carries out safety verification for treating checking information, if being verified, allows path file Path file is merged by merging module 41, if checking does not pass through, forbids path file combination module 41 by path file Merge.
Consider significance level between the different application resource data in same application resource database generally phase not to the utmost With in order to improve the security of the higher data of importance in application resource database, the data shared access in the present embodiment System, can further include safety status classification module and path file screening module;Wherein,
Safety status classification module, for, before path file is merged by path file merging module, in advance will All path files in second routing database carry out safety status classification, obtain the path text with different safety class Part;
Path file screening module, for working as information authentication module by treating the safety verification of checking information, then utilizes User gradation corresponding with information to be verified, determines safe class corresponding with the user gradation, and from the second path data Path file corresponding with the safe class is filtered out in storehouse, obtains destination path file.
After above-mentioned destination path file is obtained, accordingly, in the present embodiment, above-mentioned path file merging module, specifically Can be used for the path file in first path database is merged with destination path file, obtain merging rear path text Part, in merging rear path file obtained in this way, the path file related to above-mentioned second routing database is only There is above-mentioned destination path file, and be not the All Paths file in the second routing database, so that the first application system System can only have access to application resource data corresponding with above-mentioned destination path file when conducting interviews to the second application system, And it is not the whole application resource data in the second application system, weight in the second application system is viewed so as to avoid user The application resource data for wanting degree higher, which thereby enhance the security of the higher data of importance in application resource database.
The embodiment of the present invention to be further disclosed and open application system one kind more, including the data disclosed in previous embodiment Share and access system, may be referred to regard to the specific configuration in the data shared access system corresponding disclosed in previous embodiment Content, here are no longer repeated.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and are not necessarily required or implied these entities or operation Between exist any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that a series of process, method, article or equipment including key elements not only includes that A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element for being limited by sentence "including a ...", does not arrange Remove and also there is other identical element in process, method, article or the equipment for including the key element.
Carry out in detail to one kind provided by the present invention opens application system and its data shared access method, system more above Thin introduce, specific case used herein is set forth to the principle of the present invention and embodiment, and above example is said Bright it is only intended to help and understands the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, foundation The thought of the present invention, will change in specific embodiments and applications, and in sum, this specification content is not It is interpreted as limitation of the present invention.

Claims (19)

1. a kind of data shared access method, it is characterised in that be applied to open application system, described open in application system more Arbitrary application system includes applications client, routing database and the application resource database being sequentially connected;Wherein, the side Method includes:
When the first application system needs to access the application resource data in the second application system, then by first path database Path file in path file and the second routing database is merged, and obtains merging rear path file;Wherein, described first Application system and second application system are any application system that opens in application system, the first path number more It is the routing database in first application system according to storehouse, second routing database is in second application system Routing database;
The merging rear path file is supplied to the first applications client, so that first applications client is according to the conjunction And the respective paths file in rear path file, the application resource database in second application system is correspondingly visited Ask;Wherein, first applications client is the applications client in first application system.
2. data shared access method according to claim 1, it is characterised in that in the database by first path The process that path file in path file and the second routing database is merged, including:
Path file in second routing database is sent to the first path database and is preserved, including The first of the merging rear path file updates the data storehouse.
3. data shared access method according to claim 1, it is characterised in that in the database by first path The process that path file in path file and the second routing database is merged, including:
Path file in the first path database is sent to second routing database and is preserved, including The second of the merging rear path file updates the data storehouse.
4. data shared access method according to claim 3, it is characterised in that described by the merging rear path file The process of the first applications client is supplied to, including:
Cut off the interface channel between first applications client and the first path database;
First applications client and second interface channel updated the data between storehouse is set up, and logical using the connection Road, the merging rear path file described second updated the data in storehouse are supplied to first applications client.
5. data shared access method according to claim 1, it is characterised in that in the database by first path The process that path file in path file and the second routing database is merged, including:
New routing database is created, the 3rd routing database is obtained;
By the path file in the path file in the first path database and second routing database send to 3rd routing database is preserved, obtain including described merge rear path file the depth of the night new database.
6. data shared access method according to claim 5, it is characterised in that described by the merging rear path file The process of the first applications client is supplied to, including:
The interface channel between first applications client and the first path database is cut off, and cut-out second is applied Interface channel between client and second routing database;Wherein, second applications client should for described second With the applications client in system;
Interface channel between the depth of the night of setting up first applications client and described the new database, and logical using the connection The merging rear path file in new database the depth of the night described is supplied to first applications client by road.
7. the data shared access method according to any one of claim 1 to 6, it is characterised in that described by the first via Before the process that the path file in path file and the second routing database in the database of footpath is merged, also include:
Generate information input interface to be verified;
By the information input interface to be verified, the information to be verified of user input is obtained;
Safety verification is carried out to the information to be verified, if being verified, is allowed the road in the first path database Path file in footpath file and second routing database is merged, if checking does not pass through, is forbidden described first The path file in path file and second routing database in routing database is merged.
8. data shared access method according to claim 7, it is characterised in that in the database by first path Path file and the second routing database in the process that merges of path file before, also include:
The all path files in second routing database are carried out safety status classification in advance, is obtained with different safety The path file of grade;
If by the safety verification to the information to be verified, utilizing user gradation corresponding with the information to be verified, really Safe class corresponding with the user gradation is made, and is filtered out from second routing database corresponding with the safe class Path file, obtain destination path file.
9. data shared access method according to claim 8, it is characterised in that in the database by first path The process that path file in path file and the second routing database is merged, including:
Path file in the first path database is merged with the destination path file, after obtaining the merging Path file.
10. a kind of data shared access system, it is characterised in that be applied to open application system, described open in application system more Arbitrary application system include applications client, routing database and the application resource database being sequentially connected;Wherein, described Data shared access system includes:
Path file merging module, for needing to access the application resource data in the second application system when the first application system, Then the path file in the path file in first path database and the second routing database is merged, after being merged Path file;Wherein, first application system and second application system be described open any in application system Application system, the first path database is the routing database in first application system, second path data Storehouse is the routing database in second application system;
Path file provides module, for the merging rear path file is supplied to the first applications client, so as to described the One applications client according to described merge rear path file in respective paths file, to the application in second application system Resource database is correspondingly accessed;Wherein, first applications client is the application visitor in first application system Family end.
11. data shared access systems according to claim 10, it is characterised in that the path file merging module bag Include:
First lock unit, for sending the path file in second routing database to the first path database Preserved, obtain including that the first of the merging rear path file updates the data storehouse.
12. data shared access systems according to claim 10, it is characterised in that the path file merging module bag Include:
Second lock unit, for sending the path file in the first path database to second routing database Preserved, obtain including that the second of the merging rear path file updates the data storehouse.
13. data shared access systems according to claim 12, it is characterised in that the path file provides module bag Include:
First passage cutting unit, for cutting off the connection between first applications client and the first path database Passage;
First passage creating unit, updates the data the connection between storehouse for setting up first applications client and described second Passage;
First path file provides unit, for the interface channel created using the first passage creating unit, by described the The two merging rear path files updated the data in storehouse are supplied to first applications client.
14. data shared access systems according to claim 10, it is characterised in that the path file merging module bag Include:
Database creation unit, for creating new routing database, obtains the 3rd routing database;
3rd lock unit, for by the path file in the first path database and second routing database Path file sends to the 3rd routing database and is preserved, obtain including described merge rear path file the depth of the night New database.
15. data shared access systems according to claim 14, it is characterised in that the path file provides module bag Include:
Second channel cutting unit, for cutting off the connection between first applications client and the first path database Interface channel between passage, and the second applications client of cut-out and second routing database;Wherein, described second answer It is the applications client in second application system with client;
Second channel creating unit, the connection depth of the night for setting up first applications client and described between new database Passage;
Second path file provides unit, for the interface channel created using the second channel creating unit, by described the The depth of the night new database in the merging rear path file be supplied to first applications client.
The 16. data shared access systems according to any one of claim 10 to 15, it is characterised in that also include:
Interface generation module, for, before path file is merged by the path file merging module, generating to be verified Information input interface;
Data obtaining module, for by the information input interface to be verified, obtaining the information to be verified of user input;
Information authentication module, for carrying out safety verification to the information to be verified, if being verified, allows the path text Path file is merged by part merging module, if checking does not pass through, forbids the path file merging module by path text Part is merged.
17. data shared access systems according to claim 16, it is characterised in that also include:
Safety status classification module, for, before path file is merged by the path file merging module, in advance will All path files in second routing database carry out safety status classification, obtain the path with different safety class File;
Path file screening module, for when described information authentication module is by the safety verification to the information to be verified, then Using user gradation corresponding with the information to be verified, safe class corresponding with the user gradation is determined, and from described Path file corresponding with the safe class is filtered out in second routing database, obtains destination path file.
18. data shared access systems according to claim 17, it is characterised in that
The path file merging module, specifically for by the path file in the first path database and the target road Footpath file is merged, and obtains the merging rear path file.
19. one kind opens application system, it is characterised in that include that the data sharing as described in any one of claim 10 to 18 is visited Ask system.
CN201610926400.4A 2016-10-24 2016-10-24 Multi-open application system and data sharing access method and system thereof Expired - Fee Related CN106503157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610926400.4A CN106503157B (en) 2016-10-24 2016-10-24 Multi-open application system and data sharing access method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610926400.4A CN106503157B (en) 2016-10-24 2016-10-24 Multi-open application system and data sharing access method and system thereof

Publications (2)

Publication Number Publication Date
CN106503157A true CN106503157A (en) 2017-03-15
CN106503157B CN106503157B (en) 2020-05-19

Family

ID=58318599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610926400.4A Expired - Fee Related CN106503157B (en) 2016-10-24 2016-10-24 Multi-open application system and data sharing access method and system thereof

Country Status (1)

Country Link
CN (1) CN106503157B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970978A (en) * 2017-03-28 2017-07-21 联想(北京)有限公司 Data sharing method and device
CN108469977A (en) * 2018-03-26 2018-08-31 张�林 A kind of interface data management method
CN110851823A (en) * 2019-11-12 2020-02-28 腾讯科技(深圳)有限公司 Data access method, device, terminal and storage medium
CN112214518A (en) * 2020-11-09 2021-01-12 广东新禾道信息科技有限公司 Block chain-based geospatial basic data sharing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1591339A (en) * 2003-08-28 2005-03-09 国际商业机器公司 System and method for providing shared web modules
CN101110750A (en) * 2007-08-20 2008-01-23 阳术国 Processing method for implementing resource sharing of built-in equipment based on p2p technology
US7464070B2 (en) * 2003-07-29 2008-12-09 Hitachi, Ltd. Database query operations using storage networks
CN105933546A (en) * 2016-06-29 2016-09-07 宇龙计算机通信科技(深圳)有限公司 Message notification method and apparatus, and terminal
CN106020943A (en) * 2016-05-04 2016-10-12 北京小米移动软件有限公司 Application program dual-opening method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7464070B2 (en) * 2003-07-29 2008-12-09 Hitachi, Ltd. Database query operations using storage networks
CN1591339A (en) * 2003-08-28 2005-03-09 国际商业机器公司 System and method for providing shared web modules
CN101110750A (en) * 2007-08-20 2008-01-23 阳术国 Processing method for implementing resource sharing of built-in equipment based on p2p technology
CN106020943A (en) * 2016-05-04 2016-10-12 北京小米移动软件有限公司 Application program dual-opening method and device
CN105933546A (en) * 2016-06-29 2016-09-07 宇龙计算机通信科技(深圳)有限公司 Message notification method and apparatus, and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970978A (en) * 2017-03-28 2017-07-21 联想(北京)有限公司 Data sharing method and device
CN108469977A (en) * 2018-03-26 2018-08-31 张�林 A kind of interface data management method
CN108469977B (en) * 2018-03-26 2021-05-25 张�林 Interface data management method
CN110851823A (en) * 2019-11-12 2020-02-28 腾讯科技(深圳)有限公司 Data access method, device, terminal and storage medium
CN110851823B (en) * 2019-11-12 2023-03-10 腾讯科技(深圳)有限公司 Data access method, device, terminal and storage medium
CN112214518A (en) * 2020-11-09 2021-01-12 广东新禾道信息科技有限公司 Block chain-based geospatial basic data sharing method and system

Also Published As

Publication number Publication date
CN106503157B (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN106559382B (en) Protection system of security gateway access control method based on OPC agreement
CN106503157A (en) One kind opens application system and its data shared access method, system
EP3108610B1 (en) Method and system for creating and checking the validity of device certificates
CN104246698B (en) Elastic operation is system computerized
EP3447667A1 (en) Cryptographic security for a distributed data storage
CN103561034B (en) A kind of secure file shared system
CN110012015A (en) A kind of internet of things data sharing method and system based on block chain
WO2001052496A3 (en) A declarative language for specifying a security policy
WO2010105915A2 (en) Method for providing a cryptic pair of keys
CN107833317A (en) Control of bluetooth access control system and method
DE102017223898A1 (en) Safely store and access files with a web application
WO2003013167A1 (en) Device for digitally signing an electronic document
EP3699791B1 (en) Access control with a mobile radio device
DE102017221889A1 (en) Data processing device, overall device and method for operating a data processing device or overall device
DE10146361B4 (en) Distributed system
CN107426223A (en) Cloud file encryption and decryption method, encryption and decryption device and processing system
DE102012208290B4 (en) NETWORKING COMPONENT WITH INQUIRY / RESPONSE ALLOCATION AND MONITORING
CN106130968A (en) A kind of identity identifying method and system
CN110309673A (en) A kind of adaptively customized encryption cloud Database Systems and encryption method
CN106682490B (en) CFL artificial immunity computer model building method
EP3618348B1 (en) Distributed database system, industry automation system and method for operating a distributed database system
CN105915547A (en) Method for realizing control and leakage prevention of data out of service system
CN106339635A (en) Method and device for data service protection
CN106130969A (en) The method of controlling security of a kind of system for cloud computing and system
CN110447034A (en) The method for being securely accessed by data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200519

Termination date: 20211024

CF01 Termination of patent right due to non-payment of annual fee