1. A network device comprising:
a terminating device to:
receive a plurality of data streams via multiple connections to a plurality of communication lines, and
identify a particular operating state of each of the connections;
a counting device to determine an accumulated amount of data for each of the connections;
a first controller to determine a target value for the accumulated data associated with each of the connections;
a clock unit to generate a read clock for the accumulated data; and
a second controller to determine a frequency of the read clock based on at least one of the determined accumulated amounts of data, the determined target values, or the determined operating states.
2. The network device of claim 1, wherein the second controller is to determine the frequency of the read clock based on at least two of the determined accumulated amounts of data, the determined target values, or the determined operating states.
3. The network device of claim 1, wherein the second controller is to determine the frequency of the read clock based on the determined accumulated amounts of data, the determined target values, and the determined operating states.
4. The network device of claim 1, wherein the first controller calculates the target values based on a line rate associated with each of the plurality of communication lines.
5. The network device of claim 1, wherein the second controller to determines a frequency of the read clock based on the determined accumulated amounts of data associated with only those connections, of the multiple connections, determined to have operating states that are normal.
6. The network device of claim 1, further comprising:
a read unit to send, from the network device, at least some of the accumulated data based on the determined frequency of the read clock.
7. The network device of claim 1, wherein the plurality of communication lines comprises at least one incoming line associated with a source network and at least one outgoing line associated with a destination network, and wherein a type of the source network and a type of the destination network differ.
8. The network device of claim 1, further comprising:
a segmentation device to segment the data streams to form payload data, and
a buffer to accumulate the payload data corresponding to the accumulated amount of data.
9. A network device comprising:
a segmentation device to convert a plurality of data streams, received via multiple connections to a plurality of communication lines, from a first data format to a second data format; and
a reassembly device including:
a buffer to:
accumulate data, in the second data format, from the data streams for each of the multiple connections,
an operating state identifying unit to:
detect a fault condition in a first connection, of the multiple connections,
a clock restoring unit to:
calculate, responsive to the fault condition, a frequency for a read clock, using a sum of the accumulated data for each of the connections but the first connection, and
a clock calculating unit to:
generate, using the calculated frequency, the read clock to be used in reading the accumulated data from the buffer.
10. The network device of claim 9, the reassembly device further comprising:
a data reading unit to:
read out, based on the generated read clock, data from the buffer.
11. The network device of claim 9, wherein the operating state identifying unit is to detect the fault condition by at least one of:
receiving an alarm OAM (operations, administration, and maintenance) cell via the first connection,
detecting generation of an ATM (asynchronous transfer mode) header error control (HEC) error, or
detecting an AAL1 (ATM adaptation layer 1) sequence error.
12. The network device of claim 9, wherein the operating state identifying unit is to generate, upon the detection of the fault condition, a fault notification to be sent to the clock restoring unit.
13. The network device of claim 9, wherein the clock restoring unit is further configured to confirm the fault notification before calculating the frequency.
14. The network device of claim 9, wherein the clock restoring unit comprises a phase locked oscillator.
15. The network device of claim 9, wherein:
the operating state identifying unit is further configured to detect that the fault condition has been remedied and the first connection has resumed a normal operating state,
the clock restoring unit is further configured to recalculate the frequency of the read clock upon the first connection resuming the normal operating state, and
the clock calculating unit is further configured to generate, using the recalculated frequency, the read clock to be used in reading the accumulated data from the buffer.
16. The network device of claim 9, further comprising:
a target value managing unit to calculate, based on a line rate for each of the connections, but the first connection, a target value for an amount of the accumulated data for each of the connections, but the first connection, wherein the clock restoring is further configured to calculate the frequency for the read clock based on the target value.
17. A method performed in a network device, comprising:
receiving, at a terminating device of the network device, a plurality of data streams via multiple connections to a plurality of communication lines;
identifying, at the terminating device, a particular operating state of each of the connections;
determining, at a counting device of the network device, an accumulated amount of data for each of the connections;
determining, at a first controller of the network device, a target value for the accumulated data associated with each of the connections;
generating, at a clock unit of the network device, a read clock for the accumulated data; and
calculating, at a second controller, a frequency of the read clock based on at least one of the determined accumulated amounts of data, the determined target values, or the determined operating states.
18. The method of claim 17, further comprising:
calculating the frequency of the read clock based on at least two of the determined accumulated amounts of data, the determined target values, or the determined operating states.
19. The method of claim 17, further comprising:
calculating the frequency of the read clock based on the determined accumulated amounts of data, the determined target values, and the determined operating states.
20. The method of claim 17, further comprising:
transmitting, from the network device, at least some of the accumulated data based on the determined frequency of the read clock.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A touch display device comprising:
a display panel;
a touch panel;
a storage unit for storing an operating system and an application; and
a processor electrically connected to the display panel, the touch panel and the storage unit and used for executing the operating system and the application in the display panel;
wherein when the processor detects that a first touch object presses a predetermined corner of the touch panel and detects that a second touch object performs a predetermined gesture within a predetermined region of the touch panel, the processor executes a predetermined function in the application according to signals generated by the touch panel and controls the display panel to display an executed result corresponding to the predetermined function.
2. The touch display device of claim 1, wherein the predetermined corner is one of an upper left corner, a lower left corner, an upper right corner and a lower right corner of the touch panel, the predetermined region is a corner diagonal to the predetermined corner, the predetermined gesture is a press gesture, and the predetermined function is executed to close the application.
3. The touch display device of claim 1, wherein the predetermined corner is one of a lower left corner and a lower right corner of the touch panel, the predetermined region is an operable region of the touch panel, the predetermined gesture is a slide gesture, and the predetermined function is executed to change page in the application.
4. The touch display device of claim 3, wherein when the second touch object slides on the operable region of the touch panel leftward, the predetermined function is executed to page up; when the second touch object slides on the operable region of the touch panel rightward, the predetermined function is executed to page down.
5. The touch display device of claim 1, wherein the predetermined corner is one of a lower left corner and a lower right corner of the touch panel, the predetermined region is the other one of the lower left corner and the lower right corner of the touch panel, the predetermined gesture is a press gesture, and the predetermined function is executed to change a current page displayed in the application to bottom or change a current page displayed in the application from bottom to top.
6. The touch display device of claim 5, wherein the predetermined corner is one of an upper left corner and an upper right corner of the touch panel, the predetermined region is the other one of the upper left corner and the upper right corner of the touch panel, the predetermined gesture is a press gesture, and the predetermined function is executed to change a current page displayed in the application to top.
7. The touch display device of claim 1, wherein the predetermined corner is one of an upper left corner and a lower left corner of the touch panel, the predetermined region is the other one of the upper left corner and the lower left corner of the touch panel, the predetermined gesture is a press gesture, and the predetermined function is executed to open a new page in the application or close a current page displayed in the application.
8. The touch display device of claim 1, wherein the predetermined corner is one of an upper right corner and a lower right corner of the touch panel, the predetermined region is the other one of the upper right corner and the lower right corner of the touch panel, the predetermined gesture is a press gesture, and the predetermined function is executed to open a new page in the application or close a current page displayed in the application.
9. The touch display device of claim 1, wherein after the first touch object presses the predetermined corner of the touch panel, the processor determines whether the first touch object presses the predetermined corner over a predetermined time period continuously; once the first touch object presses the predetermined corner of the touch panel over the predetermined time period continuously, the processor determines whether the second touch object performs the predetermined gesture within the predetermined region of the touch panel; and once the second touch object performs the predetermined gesture within the predetermined region of the touch panel, the processor executes the predetermined function in the application according to signals generated by the touch panel.
10. A touch method adapted for a touch display device, the touch display device comprising a touch panel, an operating system and at least one application, the touch method comprising:
executing the operating system and the at least one application;
detecting whether a first touch object presses a predetermined corner of the touch panel;
detecting whether a second touch object performs a predetermined gesture within a predetermined region of the touch panel; and
executing a predetermined function in the application according to detection result correspondingly.
11. The touch method of claim 10, wherein the predetermined corner is one of an upper left corner, a lower left corner, an upper right corner and a lower right corner of the touch panel, the predetermined region is a corner diagonal to the predetermined corner, the predetermined gesture is a press gesture, and the predetermined function is executed to close the application.
12. The touch method of claim 10, wherein the predetermined corner is one of a lower left corner and a lower right corner of the touch panel, the predetermined region is an operable region of the touch panel, the predetermined gesture is a slide gesture, and the predetermined function is executed to change page in the application.
13. The touch method of claim 12, wherein when the second touch object slides on the operable region of the touch panel leftward, the predetermined function is executed to page up; when the second touch object slides on the operable region of the touch panel rightward, the predetermined function is executed to page down.
14. The touch method of claim 10, wherein the predetermined corner is one of a lower left corner and a lower right corner of the touch panel, the predetermined region is the other one of the lower left corner and the lower right corner of the touch panel, the predetermined gesture is a press gesture, and the predetermined function is executed to change a current page displayed in the application to bottom or change a current page displayed in the application from bottom to top.
15. The touch method of claim 14, wherein the predetermined corner is one of an upper left corner and an upper right corner of the touch panel, the predetermined region is the other one of the upper left corner and the upper right corner of the touch panel, the predetermined gesture is a press gesture, and the predetermined function is executed to change a current page displayed in the application to top.
16. The touch method of claim 10, wherein the predetermined corner is one of an upper left corner and a lower left corner of the touch panel, the predetermined region is the other one of the upper left corner and the lower left corner of the touch panel, the predetermined gesture is a press gesture, and the predetermined function is executed to open a new page in the application or close a current page displayed in the application.
17. The touch method of claim 10, wherein the predetermined corner is one of an upper right corner and a lower right corner of the touch panel, the predetermined region is the other one of the upper right corner and the lower right corner of the touch panel, the predetermined gesture is a press gesture, and the predetermined function is executed to open a new page in the application or close a current page displayed in the application.
18. The touch method of claim 10, further comprising:
after detecting that the first touch object presses the predetermined corner of the touch panel, determining whether the first touch object presses the predetermined corner over a predetermined time period continuously;
once the first touch object presses the predetermined corner of the touch panel over the predetermined time period continuously, determining whether the second touch object performs the predetermined gesture within the predetermined region of the touch panel; and
once the second touch object performs the predetermined gesture within the predetermined region of the touch panel, executing the predetermined function in the application according to signals generated by the touch panel.