CN104468303B - Gateway device, terminal, data management system and method - Google Patents

Gateway device, terminal, data management system and method Download PDF

Info

Publication number
CN104468303B
CN104468303B CN201310418122.8A CN201310418122A CN104468303B CN 104468303 B CN104468303 B CN 104468303B CN 201310418122 A CN201310418122 A CN 201310418122A CN 104468303 B CN104468303 B CN 104468303B
Authority
CN
China
Prior art keywords
data
storage
terminal
server
gateway device
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.)
Expired - Fee Related
Application number
CN201310418122.8A
Other languages
Chinese (zh)
Other versions
CN104468303A (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.)
FOUNDER BROADBAND NETWORK SERVICE CO LTD
Original Assignee
FOUNDER BROADBAND NETWORK SERVICE 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 FOUNDER BROADBAND NETWORK SERVICE Co Ltd filed Critical FOUNDER BROADBAND NETWORK SERVICE Co Ltd
Priority to CN201310418122.8A priority Critical patent/CN104468303B/en
Publication of CN104468303A publication Critical patent/CN104468303A/en
Application granted granted Critical
Publication of CN104468303B publication Critical patent/CN104468303B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of gateway devices, including:Storage unit, when receiving storage request, data are split according to default storage cell, by the data storage after segmentation, record storage information, and the change data after operation are obtained, according to default storage cell to change data segmentation, data storage will be changed after segmentation, and record change storage information;Operation execution unit, when receiving operation requests, the objective time interval of operation is determined according to operation requests, and corresponding storage information is inquired according to objective time interval, the target data that operation is determined according to storage information executes operation and management according to operation requests to target data.The invention also provides server, terminal, data management system and data managing methods.The present invention can ensure data and/or the consistency and trackability of file when storing data and/or file by present apparatus gateway.

Description

Gateway device, terminal, data management system and method
Technical field
The present invention relates to data processing fields, in particular to gateway device, server, terminal, data management System and data managing method.
Background technology
With with the diversification of a variety of computing devices such as PC, laptop, tablet computer and smart mobile phone, and interconnection Net access and broadband network are universal in domestic consumer, intelligent family of the people to home gateway, including router, various forms The demand of front yard gateway device is also more and more.And the memory capacity of these equipment is also increasing, not only supports external big Capacity movable hard disk has the memory of the also included large capacity of quite a few equipment.A variety of meters that these gateways and people use It is relevant at the aspect that interconnects to calculate equipment, but shared storage is carried out to file and data by the memory of home gateway When with lasting backup with preserving, some problems are still had, it is difficult to ensure the data of storage and the consistency of file and can trace Property.
Therefore, it is necessary to a kind of new data management techniques, can ensure when storing data and/or file by gateway The consistency and trackability of data and/or file.
Invention content
The present invention is based on the above problem, it is proposed that a kind of data management technique can store data by gateway And/or when file, ensure data and/or the consistency and trackability of file.
In view of this, the present invention proposes a kind of gateway device, including:Storage unit, for receiving terminal When storing the request of data, the data received are split according to default storage cell, the data after segmentation are deposited Storage, and corresponding storage information is recorded, and for obtaining the target data after operating relative to preoperative target data Data are changed, the change data are split according to the default storage cell, are stored data are changed after segmentation, And record corresponding change storage information;Operation execution unit, for receive terminal-pair store data operation requests when, The objective time interval of operation is determined according to the operation requests, and corresponding storage information is inquired according to the objective time interval, according to It is described it is corresponding storage information determine operation target data, according to the operation requests to the target data execute operation and Management.
In the technical scheme, gateway device can be gateway, can by storing data according to default storage cell So as to reach second grade per the time accuracy of part storage data, and change data are stored by pinpoint accuracy(I.e. Increment stores), it is ensured that the data of gateway device storage all obtain continuing backup all the time, so that terminal can To read the data of any time in gateway device, the trackability of data in gateway device ensure that.
In the above-mentioned technical solutions, it is preferable that further include:Permission judging unit, for according to the operation requests from clothes Business device obtains the permissions data of the terminal, and judges the permissions data;The operation execution unit judges in the permission When unit judges the permissions data to allow operation, the objective time interval of operation is determined according to the operation requests, and described Permission judging unit judge the permissions data for quiescing when, or fail from the clothes in the permission judging unit When the device acquisition permissions data of being engaged in, prompt message is sent out to the terminal.
In the technical scheme, the permissions data of terminal is pre-stored in server, when terminal is initiated to connect between net Data in device are operated(For example change, it preserves, delete etc.)When, gateway device can obtain the end from server The permissions data at end, to determine whether the operation of terminal initiation, so as to avoid to data in gateway device Illegal operation ensure that the safety of data in gateway device.
In the above-mentioned technical solutions, it is preferable that further include:Time management unit, for storing depositing in information by described Time tranfer is stored up to the server, so that the server judges the storage time and the fiducial time of the server is It is no identical, and when differing, set the storage time to the fiducial time, and believe for storing the change Change storage time in breath is transmitted to the server, so that the server judges the change storage time and the base It is whether identical between punctual, and when differing, set the change storage time to the fiducial time.
In the technical scheme, when gateway device stores data, using the time of gateway device as storage Time, and storage time is calibrated with fiducial time of server, to ensure that time and the server of gateway device Time synchronization, and ensure that the consistency of the data of gateway device storage in time.
In any of the above-described technical solution, it is preferable that further include:Storage cell setting unit is received for basis Storage cell setting instruction, adjusts the default storage cell.
In the technical scheme, user can adjust storage cell as needed, for example, by storage cell be adjusted to by point Clock stores, or is stored by the second, so as to easily adjust the accuracy of storage data.
The invention also provides a kind of servers, including:Priority assignation unit, for being referred to according to the priority assignation received It enables, the permissions data of terminal is set, and stores the permissions data;Data transmission unit, for connecting dress between receiving net When the authority acquiring request set, the permissions data is transmitted to the gateway device, for the gateway device Judge to send out the operating right of the terminal of operation requests to the gateway device.
In the technical scheme, user can be arranged as required to the permission of terminal, and setting allows connection between accessing net to fill The terminal set, wherein priority assignation can be refined further, for example it is that can be filled to being connected between net that the permission of certain terminals, which is arranged, Storage data are set, but cannot be modified to the data in gateway device, and certain terminals can both be connected between net Device stores data, can also modify to the data in gateway device.
In the above-mentioned technical solutions, it is preferable that further include:Time proofreads unit, is connected between the net for receiving The storage time of device, and judge whether the storage time is identical as fiducial time, if differing, the storage time is set It is set to the fiducial time.
In the technical scheme, server can calibrate the storage time of gateway device with fiducial time, to protect The time synchronization of gateway device and server is demonstrate,proved, and ensures the consistency of gateway device storage data in time.
The invention also provides a kind of terminals, including:Data transmission unit is stored, for according to the store instruction received Send data to gateway device so that the gateway device according to default storage cell to the data that receive into Row segmentation, the data after segmentation are stored, and record corresponding storage information;Operation requests transmission unit is used for basis The operational order received sends operation requests to the gateway device, so that the gateway device is according to the behaviour Make the objective time interval that request determines operation, and corresponding storage information is inquired according to the objective time interval, according to described corresponding The target data that information determines operation is stored, operation and management are executed to the target data according to the operation requests.
In the technical scheme, user can be stored data to gateway device by terminal, and pass through terminal-pair The data being stored in gateway device are operated.
In the above-mentioned technical solutions, it is preferable that further include:Authority information transmission unit, for according to the permission received Setting instruction, to server sending permission setting information, so that the server is arranged accordingly according to the priority assignation information Permissions data, and the power that makes the gateway device obtain the terminal from the server according to the operation requests Data are limited, and judge the permissions data, if the permissions data is to allow to operate, is determined and is operated according to the operation requests Objective time interval, if the permissions data, which is quiescing or the server, is not present the permissions data, to the end End sends out prompt message.
In the technical scheme, user can adjust the permissions data corresponding to the terminal in server by terminal, So as to adjust the permission of the terminal access gateway device.
The invention also provides a kind of data management system, including gateway device described in any one of the above embodiments and above-mentioned Any one of them server and at least one terminal described in any one of the above embodiments.
In the technical scheme, gateway device can be gateway, and server can be privately owned Cloud Server, and terminal can To be the equipment such as PC, laptop, tablet computer and smart mobile phone, user, which can be stored data between net by terminal, to be connected Connection device, and the data in gateway device are operated, gateway device can be deposited according to default storage cell Data are stored up, second grade can be reached per the time accuracy of part storage data, and change data are carried out by pinpoint accuracy Storage(I.e. increment stores), it is ensured that the data of gateway device storage all obtain continuing backup all the time, to make Net can be ensure that by the data after the initial data of any time in terminal reading gateway device and operation by obtaining user Between attachment device store data trackability.
The invention also provides a kind of data managing methods, including:Step 502, when receiving asking for terminal storage data When asking, the data received are split according to default storage cell, the data after segmentation are stored, and recorded corresponding Storage information;Step 504, it when receiving the operation requests of terminal-pair storage data, is determined and is grasped according to the operation requests The objective time interval of work, and corresponding storage information is inquired according to the objective time interval, it is determined according to the corresponding storage information The target data of operation executes operation and management according to the operation requests to the target data;Step 506, operation is obtained Change data of the target data afterwards relative to preoperative target data, according to the default storage cell to the change number It according to being split, is stored data are changed after segmentation, and records corresponding change storage information.
In the technical scheme, gateway device can be gateway, can by storing data according to default storage cell So as to reach second grade per the time accuracy of part storage data, and change data are stored by pinpoint accuracy(I.e. Increment stores), it is ensured that the data of gateway device storage all obtain continuing backup all the time, so that terminal can To read the data of any time in gateway device, the trackability of data in gateway device ensure that.
In the above-mentioned technical solutions, it is preferable that the step 504 further includes:It is obtained from server according to the operation requests The permissions data of the terminal is taken, and judges the permissions data, if the permissions data is to allow to operate, according to the behaviour Make the objective time interval that request determines operation, if the permissions data, which is quiescing or the server, is not present the permission number According to then sending out prompt message to the terminal.
In the technical scheme, the permissions data of terminal is pre-stored in server, when terminal is initiated to connect between net Data in device are operated(For example change, it preserves, delete etc.)When, gateway device can obtain the end from server The permissions data at end, to determine whether the operation of terminal initiation, so as to avoid to data in gateway device Illegal operation ensure that the safety of data in gateway device.
In the above-mentioned technical solutions, it is preferable that the step 502 further includes:By the storage time in the storage information Be transmitted to the server so that the server judge the storage time and the server fiducial time whether phase Together, and when differing, the storage time is set to the fiducial time;The step 504 further includes:By the change Storage information in change storage time be transmitted to the server so that the server judge the change storage time and Whether the fiducial time is identical, and when differing, and sets the change storage time to the fiducial time.
In the technical scheme, when gateway device stores data, using the time of gateway device as storage Time, and storage time is calibrated with fiducial time of server, to ensure that time and the server of gateway device Time synchronization, and ensure that the consistency of the data of gateway device storage in time.
In any of the above-described technical solution, it is preferable that further include:According to the storage cell received, instruction, adjustment are set The default storage cell.
In the technical scheme, user can adjust storage cell as needed, for example, by storage cell be adjusted to by point Clock stores, or is stored by the second, so as to easily adjust the accuracy of storage data.
The invention also provides a kind of data managing methods, including:Step 602, it is instructed according to the priority assignation received, The permissions data of terminal is set, and stores the permissions data;Step 604, when the authority acquiring for receiving gateway device When request, the permissions data is transmitted to the gateway device, so that the gateway device judges to the net Between attachment device send out operation requests terminal operating right.
In the technical scheme, user can be arranged as required to the permission of terminal, and setting allows connection between accessing net to fill The terminal set, wherein priority assignation can be refined further, for example it is that can be filled to being connected between net that the permission of certain terminals, which is arranged, Storage data are set, but cannot be modified to the data in gateway device, and certain terminals can both be connected between net Device stores data, can also modify to the data in gateway device.
In the above-mentioned technical solutions, it is preferable that further include:The storage time from the gateway device is received, and Judge whether the storage time is identical as fiducial time, if differing, sets the storage time to the fiducial time.
In the technical scheme, server can calibrate the storage time of gateway device with fiducial time, to protect The time synchronization of gateway device and server is demonstrate,proved, and ensures the consistency of gateway device storage data in time.
The invention also provides a kind of data managing methods, including:Step 702, terminal is according to the store instruction received Send data to gateway device so that the gateway device according to default storage cell to the data that receive into Row segmentation, the data after segmentation are stored, and record corresponding storage information;Step 704, the terminal is according to receiving Operational order to the gateway device send operation requests so that the gateway device is according to the operation requests It determines the objective time interval of operation, and corresponding storage information is inquired according to the objective time interval, believed according to the corresponding storage Breath determines the target data of operation, and operation and management are executed to the target data according to the operation requests.
In the technical scheme, user can be stored data to gateway device by terminal, and pass through terminal-pair The data being stored in gateway device are operated.
In the above-mentioned technical solutions, it is preferable that further include before the step 702:The terminal is according to receiving Priority assignation instructs, to server sending permission setting information, so that the server is arranged according to the priority assignation information Corresponding permissions data;The step 704 further includes:The gateway device is according to the operation requests from the server The permissions data of the terminal is obtained, and judges the permissions data, if the permissions data is to allow to operate, according to Operation requests determine the objective time interval of operation, if the permissions data, which is quiescing or the server, is not present the permission Data then send out prompt message to the terminal.
In the technical scheme, user can adjust the permissions data corresponding to the terminal in server by terminal, So as to adjust the permission of the terminal access gateway device.
By above technical scheme, it can ensure data and/or file when storing data and/or file by gateway Consistency and trackability.
Description of the drawings
Fig. 1 shows the block diagram of gateway device according to an embodiment of the invention;
Fig. 2 shows the block diagrams of server according to an embodiment of the invention;
Fig. 3 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 4 shows the block diagram of data management system according to an embodiment of the invention;
Fig. 5 shows a kind of flow chart of data managing method according to an embodiment of the invention;
Fig. 6 shows the flow chart of another data managing method according to an embodiment of the invention;
Fig. 7 shows the flow chart of another data managing method according to an embodiment of the invention;
Fig. 8 shows the structure chart of data management system according to an embodiment of the invention;
Fig. 9 shows data managing method particular flow sheet according to an embodiment of the invention.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the block diagram of gateway device according to an embodiment of the invention.
As shown in Figure 1, gateway device 100 according to an embodiment of the invention includes:Storage unit 102 is used for When receiving the request of terminal storage data, the data received are split according to default storage cell, after segmentation Data are stored, and record corresponding storage information, and for obtaining the target data after operating relative to preoperative The change data of target data are split change data according to default storage cell, are deposited data are changed after segmentation Storage, and record corresponding change storage information;Operation execution unit 104, in the operation for receiving terminal-pair storage data When request, the objective time interval of operation is determined according to operation requests, and corresponding storage information is inquired according to objective time interval, according to right The storage information answered determines the target data of operation, and operation and management are executed to target data according to operation requests.
Gateway device 100 can be gateway, by storing data according to default storage cell, every part can be made to deposit The time accuracy for storing up data reaches second grade, and is stored to change data by pinpoint accuracy(I.e. increment stores), can To ensure that the data that gateway device 100 stores all obtain continuing backup all the time, so that terminal can read net Between in attachment device 100 any time data, ensure that the trackability of data in gateway device 100.
Assuming that storage cell is 1 minute, then be then split to data by minute, such as to behaviour that data are modified Make from 8:13 have continueed to 8:16, totally three minutes it is whole, then by minute storage data when, then from 8:13 start reading one per minute Secondary modified data relative to the data before modification change data to be stored, until 8:Until 16, to generate 8: 13-8:14、8: 14-8:15、8:15-8:16 totally three block incremental data(If storage cell is 1 second, 180 block incremental numbers are generated According to), when user need to check certain block number according to when, then can input corresponding data block information and be inquired and/or operated, between net Attachment device 100 can also further preserve new increment data of the user in incremental data after further operating.
Preferably, further include:Permission judging unit 106, the permission for obtaining terminal from server according to operation requests Data, and judge permissions data;Operation execution unit 104 judges permissions data to allow to operate in permission judging unit 106 When, the objective time interval of operation is determined according to operation requests, and judge that permissions data is quiescing in permission judging unit 106 When, or when permission judging unit 106 fails and obtains permissions data from server, prompt message is sent out to terminal.
The permissions data of terminal is pre-stored in server, when terminal is initiated to the data in gateway device 100 It is operated(For example change, it preserves, delete etc.)When, gateway device 100 can obtain the permission of the terminal from server Data, to determine whether the operation of terminal initiation, so as to avoid the illegal behaviour to data in gateway device 100 Make, ensure that the safety of data in gateway device 100.
Preferably, further include:Time management unit 108, for the storage time stored in information to be transmitted to server, So that server judges whether the fiducial time of storage time and server is identical, and when differing, storage time is arranged On the basis of the time, and for will change storage information in change storage time be transmitted to server so that server judge It changes storage time and whether fiducial time is identical, and when differing, set change storage time to fiducial time.
When gateway device 100 stores data, using the time of gateway device 100 as storage time, and with Fiducial time of server calibrates storage time, to ensure that gateway device 100 time and server time it is same Step, and ensure that the consistency of the data of the storage of gateway device 100 in time.
Preferably, further include:Storage cell setting unit 110 is adjusted for instruction to be arranged according to the storage cell received Whole default storage cell.
User can adjust storage cell as needed, for example storage cell is adjusted to store by minute, or be deposited by the second Storage, so as to easily adjust the accuracy of storage data.
Fig. 2 shows the block diagrams of server according to an embodiment of the invention.
As shown in Fig. 2, server 200 according to an embodiment of the invention includes:Priority assignation unit 202 is used for basis The priority assignation instruction received, is arranged the permissions data of terminal, and store permissions data;Data transmission unit 204 is used for When receiving the authority acquiring request of gateway device, permissions data is transmitted to gateway device, for being connected between net Device judges to send out the operating right of the terminal of operation requests to gateway device.
User can be arranged as required to the permission of terminal, and setting allows the terminal for accessing gateway device, wherein power Limit setting can be refined further, for example it is that can store data to gateway device that the permission of certain terminals, which is arranged, still It cannot modify to the data in gateway device, and certain terminals can both store data to gateway device, It can modify to the data in gateway device.
Preferably, further include:Time proofreads unit 206, for receiving the storage time from gateway device, and sentences Whether disconnected storage time and fiducial time are identical, if differing, set storage time to fiducial time.
Server 200 can calibrate the storage time of gateway device with fiducial time, to ensure to connect dress between net The time synchronization with server 200 is set, and ensures the consistency of gateway device storage data in time.
Fig. 3 shows the block diagram of terminal according to an embodiment of the invention.
As shown in figure 3, terminal 300 according to an embodiment of the invention includes:Data transmission unit 302 is stored, root is used for Gateway device is sent data to according to the store instruction received, so that gateway device is according to default storage cell pair The data received are split, and the data after segmentation are stored, and record corresponding storage information;Operation requests are sent Unit 304, for sending operation requests to gateway device according to the operational order received, so that gateway device root The objective time interval of operation is determined according to operation requests, and corresponding storage information is inquired according to objective time interval, according to corresponding storage Information determines the target data of operation, and operation and management are executed to target data according to operation requests.
User can be stored data to gateway device by terminal 300, and by terminal 300 to being stored in net Between data in attachment device operated.
Preferably, further include:Authority information transmission unit 306, for being instructed according to the priority assignation received, to service Device sending permission setting information so that corresponding permissions data is arranged according to priority assignation information in server, and makes to connect between net Connection device obtains the permissions data of terminal 300 according to operation requests from server, and judges permissions data, if permissions data is Allow to operate, then determine the objective time interval of operation according to operation requests, is not present if permissions data is quiescing or server Permissions data then sends out prompt message to terminal 300.
User can adjust the permissions data corresponding to the terminal 300 in server by terminal 300, so as to adjust this Terminal 300 accesses the permission of gateway device.
Fig. 4 shows the block diagram of data management system according to an embodiment of the invention.
As shown in figure 4, data management system according to an embodiment of the invention includes:Dress is connected between net as shown in Figure 1 Set 100 and server 200 as shown in Figure 2 and at least one terminal 300 as shown in Figure 3.
Gateway device 100 can be gateway, and server 200 can be privately owned Cloud Server, and terminal 300 can be The equipment such as PC, laptop, tablet computer and smart mobile phone, user, which can be stored data between net by terminal 300, to be connected Connection device 100, and the data in gateway device 100 are operated, gateway device 100 can be according to default Storage cell stores data, and second grade can be reached per the time accuracy of part storage data, and by pinpoint accuracy to becoming More data are stored(I.e. increment stores), it is ensured that the data that gateway device 100 stores all are held all the time Continuous backup so that user can be read by terminal 300 in gateway device 100 initial data of any time and Data after operation ensure that the trackability for the data that gateway device 100 stores.
Fig. 5 shows a kind of flow chart of data managing method according to an embodiment of the invention.
As shown in figure 5, data managing method according to an embodiment of the invention includes:Step 502, it deposits when receiving terminal When storing up the request of data, the data received are split according to default storage cell, the data after segmentation are stored, And record corresponding storage information;Step 504, when receiving the operation requests of terminal-pair storage data, according to operation requests It determines the objective time interval of operation, and corresponding storage information is inquired according to objective time interval, determined and grasped according to corresponding storage information The target data of work executes operation and management according to operation requests to target data;Step 506, the number of targets after operation is obtained According to the change data relative to preoperative target data, change data are split according to default storage cell, will be divided Change data are stored afterwards, and record corresponding change storage information.
Gateway device can be gateway, by storing data according to default storage cell, every part can be made to store The time accuracy of data reaches second grade, and is stored to change data by pinpoint accuracy(I.e. increment stores), can be with Ensure that the data of gateway device storage all obtain continuing backup all the time, so that terminal connects between can reading net The data of any time in device, ensure that the trackability of data in gateway device.
Assuming that storage cell is 1 minute, then be then split to data by minute, such as to behaviour that data are modified Make from 8:13 have continueed to 8:16, totally three minutes it is whole, then by minute storage data when, then from 8:13 start reading one per minute Secondary modified data relative to the data before modification change data to be stored, until 8:Until 16, to generate 8: 13-8:14、8: 14-8:15、8:15-8:16 totally three block incremental data(If storage cell is 1 second, 180 block incremental numbers are generated According to), when user need to check certain block number according to when, then can input corresponding data block information and be inquired and/or operated, between net Attachment device can also further preserve new increment data of the user in incremental data after further operating.
Preferably, step 504 further includes:The permissions data of terminal is obtained from server according to operation requests, and judges to weigh Data are limited, if permissions data is to allow to operate, the objective time interval of operation is determined according to operation requests, if permissions data is to forbid Permissions data is not present in operation or server, then sends out prompt message to terminal.
The permissions data of terminal is pre-stored in server, when terminal is initiated to carry out the data in gateway device Operation(For example change, it preserves, delete etc.)When, gateway device can obtain the permissions data of the terminal from server, with Determine whether that the operation that the terminal is initiated ensure that so as to avoid the illegal operation to data in gateway device The safety of data in gateway device.
Preferably, step 502 further includes:The storage time stored in information is transmitted to server, so that server is sentenced Whether the fiducial time of disconnected storage time and server is identical, and when differing, sets storage time to fiducial time;Step Rapid 504 further include:Change is stored into the change storage time in information and is transmitted to server, so that server judges change storage Whether the time is identical as fiducial time, and when differing, and sets change storage time to fiducial time.
When gateway device stores data, using the time of gateway device as storage time, and with server Fiducial time calibrate storage time, to ensure that the time of gateway device and the time synchronization of server, and ensure The consistency of the data of gateway device storage in time.
Preferably, further include:Instruction is set according to the storage cell received, adjusts and presets storage cell.
User can adjust storage cell as needed, for example storage cell is adjusted to store by minute, or be deposited by the second Storage, so as to easily adjust the accuracy of storage data.
Fig. 6 shows the flow chart of another data managing method according to an embodiment of the invention.
As shown in fig. 6, data managing method according to an embodiment of the invention includes:Step 602, according to the power received Limit setting instruction, is arranged the permissions data of terminal, and store permissions data;Step 604, when the power for receiving gateway device When limit obtains request, permissions data is transmitted to gateway device, so that gateway device judges to gateway device Send out the operating right of the terminal of operation requests.
User can be arranged as required to the permission of terminal, and setting allows the terminal for accessing gateway device, wherein power Limit setting can be refined further, for example it is that can store data to gateway device that the permission of certain terminals, which is arranged, still It cannot modify to the data in gateway device, and certain terminals can both store data to gateway device, It can modify to the data in gateway device.
Preferably, further include:The storage time from gateway device is received, and judges storage time and fiducial time It is whether identical, if differing, set storage time to fiducial time.
Server can with fiducial time calibrate gateway device storage time, to ensure gateway device and The time synchronization of server, and ensure the consistency of gateway device storage data in time.
Fig. 7 shows the flow chart of another data managing method according to an embodiment of the invention.
As shown in fig. 7, data managing method according to an embodiment of the invention, including:Step 702, terminal is according to reception To store instruction send data to gateway device so that gateway device according to default storage cell to receiving Data be split, the data after segmentation are stored, and record corresponding storage information;Step 704, terminal is according to connecing The operational order received sends operation requests to gateway device, is operated so that gateway device is determined according to operation requests Objective time interval, and corresponding storage information is inquired according to objective time interval, the target of operation is determined according to corresponding storage information Data execute operation and management according to operation requests to target data.
User can be stored data to gateway device by terminal, and is stored in connect between net by terminal-pair and be filled Data in setting are operated.
Preferably, further include before step 702:Terminal is instructed according to the priority assignation received, is sent to server Priority assignation information, so that corresponding permissions data is arranged according to priority assignation information in server;Step 704 further includes:Between net Attachment device obtains the permissions data of terminal according to operation requests from server, and judges permissions data, if permissions data is fair Perhaps it operates, then determines the objective time interval of operation according to operation requests, if permissions data is that there is no power for quiescing or server Data are limited, then send out prompt message to terminal.
User can adjust the permissions data corresponding to the terminal in server by terminal, be visited so as to adjust the terminal Ask the permission of gateway device.
Fig. 8 shows the structure chart of data management system according to an embodiment of the invention.
As shown in figure 8, data management system 400 according to an embodiment of the invention can specifically include:Management server 810(It is equivalent to server 200), gateway 808(It is equivalent to gateway device 100)And terminal 802, terminal 804 and terminal 806(It is respectively equivalent to terminal 300).Terminal can be established by Internet and gateway 808 and be connected, can also directly and net It closes 808 and establishes connection.
Particular flow sheet is as shown in Figure 9:
Terminal 804 first by file or data f1 storage to gateway 808, press by time of the gateway 808 according to f1, size Divided and stored according to default storage cell, is then established with the relevant storage information of f1.Long-range management server 810 is awarded Power terminal 802 and terminal 806 data in gateway 808 are read out and are changed, can also be arranged as required to limitation read or The operation that person writes.When gateway 808 judges that terminal 802 and terminal 806 have reading and change the permission of data in gateway 808, permit Perhaps terminal 802 calls f1 to be operated, meanwhile, gateway 808 is automatically divided the parts changed f1 according to default storage cell Increment preservation is cut and carries out, every piece of storage data can be accurate to second grade by this.Possess equal to the terminal of 808 operating right of gateway Can open special time period or particular moment according to f1(Including the incremental data after f1 after original f1 and modification), and still The f1 at a certain moment can be directed to be operated, to ensure that gateway 808 stores the trackability of data.
Divide n part, i.e. f1 in seconds(T1, t2 ... tn), then when terminal 806 is right Tn in f1 is operated, and continues m seconds, then the incremental portion that gateway preserved a tn by each second, i.e. f1 [t(n+1), t(n +2)…t(n+m)], to be preserved the data at each moment, further, user can also be preserved to incremental number According to the new increment data after being operated accurate nothing is provided to be preserved at each moment to every partial data That misses can trace back data.
Gateway 808 stores time for being subject in gateway 808 time of data, and the time of gateway 808 is always and pipe The time for managing server 810 keeps synchronizing, and to ensure that data are stored in temporal consistency, management server 810 is also DNS management can be carried out to gateway 808.
Technical scheme of the present invention is described in detail above in association with attached drawing, it is contemplated that in the related technology, pass through home gateway Memory when carrying out shared storage and lasting backup with preserving to file and data, it is difficult to ensure the data and file of storage Consistency and trackability.Technical solution through the invention can be protected when storing data and/or file by gateway Demonstrate,prove data and/or the consistency and trackability of file.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (13)

1. a kind of gateway device, which is characterized in that including:
Storage unit, for when receiving the request of terminal storage data, according to default storage cell to the data that receive It is split, the data after segmentation is stored, and record corresponding storage information, and for obtaining the target after operating Change data of the data relative to preoperative target data divide the change data according to the default storage cell It cuts, is stored data are changed after segmentation, and record corresponding change storage information;
Operation execution unit, for when receiving the operation requests of terminal-pair storage data, being determined according to the operation requests The objective time interval of operation, and corresponding storage information is inquired according to the objective time interval, it is true according to the corresponding storage information Surely the target data operated executes operation and management according to the operation requests to the target data.
2. gateway device according to claim 1, which is characterized in that further include:
Permission judging unit, the permissions data for obtaining the terminal from server according to the operation requests, and judge institute State permissions data;The operation execution unit is when the permission judging unit judges the permissions data to allow operation, root The objective time interval of operation is determined according to the operation requests, and judges that the permissions data is to forbid grasping in the permission judging unit When making, or when the permission judging unit fails and obtains the permissions data from the server, sent out to the terminal Go out prompt message.
3. gateway device according to claim 1, which is characterized in that further include:
Time management unit, for the storage time in the storage information to be transmitted to server, so that the server is sentenced Whether the storage time of breaking is identical as the fiducial time of the server, and when differing, the storage time is arranged For the fiducial time, and for the change to be stored the change storage time in information it is transmitted to the server, with The server is set to judge whether the change storage time and the fiducial time are identical, and when differing, by the change More storage time is set as the fiducial time.
4. gateway device according to any one of claim 1 to 3, which is characterized in that further include:
Storage cell setting unit adjusts the default storage cell for instruction to be arranged according to the storage cell received.
5. a kind of terminal, which is characterized in that including:
Data transmission unit is stored, for sending data to gateway device according to the store instruction received, so that institute It states gateway device to be split the data received according to default storage cell, the data after segmentation is stored, And record corresponding storage information;
Operation requests transmission unit, for sending operation requests to the gateway device according to the operational order received, So that the gateway device determines the objective time interval of operation according to the operation requests, and inquired according to the objective time interval Corresponding storage information determines the target data of operation according to the corresponding storage information, according to the operation requests to institute It states target data and executes operation and management.
6. terminal according to claim 5, which is characterized in that further include:
Authority information transmission unit, for according to the priority assignation instruction received, to server sending permission setting information, with Make the server that corresponding permissions data is set according to the priority assignation information, and make the gateway device according to The operation requests obtain the permissions data of the terminal from the server, and judge the permissions data, if the permission Data are to allow to operate, then the objective time interval of operation is determined according to the operation requests, if the permissions data is quiescing Or the permissions data is not present in the server, then sends out prompt message to the terminal.
7. a kind of data management system, which is characterized in that including such as Claims 1-4 any one of them gateway device With at least one terminal as described in any one of claim 5 or 6.
8. a kind of data managing method, which is characterized in that including:
Step 502, when receiving the request of terminal storage data, the data received are divided according to default storage cell It cuts, the data after segmentation is stored, and record corresponding storage information;
Step 504, when receiving the operation requests of terminal-pair storage data, the target of operation is determined according to the operation requests Period, and corresponding storage information is inquired according to the objective time interval, the mesh of operation is determined according to the corresponding storage information Data are marked, operation and management are executed to the target data according to the operation requests;
Step 506, change data of the target data after operation relative to preoperative target data are obtained, according to described default Storage cell is split the change data, is stored data are changed after segmentation, and records corresponding change storage Information.
9. data managing method according to claim 8, which is characterized in that the step 504 further includes:According to the behaviour It asks to obtain the permissions data of the terminal from server, and judges the permissions data, if the permissions data is to allow Operation then determines the objective time interval of operation according to the operation requests, if the permissions data is quiescing or the service The permissions data is not present in device, then sends out prompt message to the terminal.
10. data managing method according to claim 8, which is characterized in that the step 502 further includes:It is deposited described Storage time in storage information is transmitted to server, so that the server judges the base of the storage time and the server It is whether identical between punctual, and when differing, set the storage time to the fiducial time;The step 506 is also wrapped It includes:The change is stored into the change storage time in information and is transmitted to the server, so that described in server judgement It changes storage time and whether the fiducial time is identical, and when differing, the change storage time is set as described Fiducial time.
11. the data managing method according to any one of claim 8 to 10, which is characterized in that further include:According to reception The storage cell setting instruction arrived, adjusts the default storage cell.
12. a kind of data managing method, which is characterized in that including:
Step 702, terminal sends data to gateway device according to the store instruction received, so as to be connected between the net Device is split the data received according to default storage cell, and the data after segmentation are stored, and records corresponding Storage information;
Step 704, the terminal sends operation requests according to the operational order received to the gateway device, so that institute The objective time interval that gateway device determines operation according to the operation requests is stated, and corresponding according to objective time interval inquiry Information is stored, the target data of operation is determined according to the corresponding storage information, according to the operation requests to the target Data execute operation and management.
13. data managing method according to claim 12, which is characterized in that further include before the step 702:Institute It states terminal to be instructed according to the priority assignation received, to server sending permission setting information, so that the server is according to institute It states priority assignation information and corresponding permissions data is set;The step 704 further includes:The gateway device is according to the behaviour It asks to obtain the permissions data of the terminal from the server, and judges the permissions data, if the permissions data is Allow to operate, then determine the objective time interval of operation according to the operation requests, if the permissions data is quiescing or described The permissions data is not present in server, then sends out prompt message to the terminal.
CN201310418122.8A 2013-09-13 2013-09-13 Gateway device, terminal, data management system and method Expired - Fee Related CN104468303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310418122.8A CN104468303B (en) 2013-09-13 2013-09-13 Gateway device, terminal, data management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310418122.8A CN104468303B (en) 2013-09-13 2013-09-13 Gateway device, terminal, data management system and method

Publications (2)

Publication Number Publication Date
CN104468303A CN104468303A (en) 2015-03-25
CN104468303B true CN104468303B (en) 2018-09-18

Family

ID=52913710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310418122.8A Expired - Fee Related CN104468303B (en) 2013-09-13 2013-09-13 Gateway device, terminal, data management system and method

Country Status (1)

Country Link
CN (1) CN104468303B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021369A (en) * 2016-05-11 2016-10-12 上海佳依佳信息科技有限公司 Method and equipment for data change management
CN106776120A (en) * 2016-11-24 2017-05-31 珠海市魅族科技有限公司 The method and device of data recovery

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079730A (en) * 2006-05-25 2007-11-28 中国移动通信集团公司 Remote control system and control method of information appliance
CN101119266A (en) * 2007-08-31 2008-02-06 烽火通信科技股份有限公司 Method and system for controlling multimedia broadcast of mobile terminal combined family gateway
CN101409823A (en) * 2007-10-10 2009-04-15 华为技术有限公司 Method, apparatus and system for implementing network personal video recorder
CN101645927A (en) * 2009-09-02 2010-02-10 中兴通讯股份有限公司 System, method and server for slicing media files
CN102789477A (en) * 2011-05-19 2012-11-21 巴比禄股份有限公司 File managing apparatus for processing an online storage service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079730A (en) * 2006-05-25 2007-11-28 中国移动通信集团公司 Remote control system and control method of information appliance
CN101119266A (en) * 2007-08-31 2008-02-06 烽火通信科技股份有限公司 Method and system for controlling multimedia broadcast of mobile terminal combined family gateway
CN101409823A (en) * 2007-10-10 2009-04-15 华为技术有限公司 Method, apparatus and system for implementing network personal video recorder
CN101645927A (en) * 2009-09-02 2010-02-10 中兴通讯股份有限公司 System, method and server for slicing media files
CN102789477A (en) * 2011-05-19 2012-11-21 巴比禄股份有限公司 File managing apparatus for processing an online storage service

Also Published As

Publication number Publication date
CN104468303A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN108965007B (en) API gateway interface configuration updating method and device
CN104410546B (en) The method of testing and device of real time processing system
CN107169025B (en) Sharing intelligent tracking method, device and system
CN103944944B (en) Method, electronic equipment and the system of sharing web page link
CN102428446B (en) Data backup system
CN109673037A (en) A kind of network function discovery method and apparatus
CN109756915A (en) A kind of wireless network management method and system
CN103995674B (en) Access request processing method, device and equipment
CN108337210A (en) Equipment configuration method and device, system
CN202287095U (en) Wine cabinet
CN102007751B (en) For sharing equipment and the method for file
CA2797764A1 (en) Content management apparatus
CN108737582A (en) The method and device of domain name mapping
CN105138927B (en) Private data guard method and device
CN104219330A (en) Method and system for auditing screen record based on WEB proxy
WO2009102309A1 (en) Systems methods and user state files for enabling interactions between virtual and real world identities
CN102263799A (en) Friend recommendation system and method for social network service (SNS) network
CN104809369B (en) Packet sets method, client, server and the system of equipment access rights
CN105593871A (en) Attribute information providing method, and attribute information providing system
CN103905514B (en) Server, terminal device and network data access authority management method
CN105681294B (en) A kind of game services management method and game business management system
CN106157190A (en) Menu method for pushing, menu method of reseptance, server and cooking equipment
CN110445873A (en) A kind of cloud platform service cut-in method and Redirect Server
CN110197075A (en) Resource access method, calculates equipment and storage medium at device
CN109547524A (en) User behavior storage method, device, equipment and storage medium based on Physical Network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100088 Beijing City, Haidian District Institute of Road No. 15, North Building B block 5 layer

Patentee after: FOUNDER BROADBAND NETWORK SERVICE Co.,Ltd.

Address before: 100088 Beijing City, Haidian District Institute of Road No. 15, North Building B block 5 layer

Patentee before: FOUNDER BROADBAND NETWORK SERVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180918

Termination date: 20210913

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