{"id":883,"date":"2018-09-13T14:35:26","date_gmt":"2018-09-13T14:35:26","guid":{"rendered":""},"modified":"2018-09-13T22:35:58","modified_gmt":"2018-09-13T14:35:58","slug":"%e7%94%b5%e8%83%bd%e8%a1%a8rtc%e6%a8%a1%e5%9d%97%e7%9a%84%e8%a1%a5%e5%81%bf%e6%a0%a1%e5%87%86%e8%a3%85%e7%bd%ae%e7%9a%84%e5%8e%9f%e7%90%86%e5%8f%8a%e8%ae%be%e8%ae%a1","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=883","title":{"rendered":"\u7535\u80fd\u8868RTC\u6a21\u5757\u7684\u8865\u507f\u6821\u51c6\u88c5\u7f6e\u7684\u539f\u7406\u53ca\u8bbe\u8ba1"},"content":{"rendered":"

\n\t\u4eca\u5929\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u4e00\u9879\u56fd\u5bb6\u53d1\u660e\u6388\u6743\u4e13\u5229——\u4e00\u79cd\u5e94\u7528\u5728\u7535\u80fd\u8868\u4e2dRTC\u6a21\u5757\u7684\u8865\u507f\u6821\u51c6\u65b9\u6cd5\u53ca\u88c5\u7f6e\u3002\u8be5\u4e13\u5229\u7531\u56fd\u5bb6\u7535\u7f51\u516c\u53f8\u7533\u8bf7\uff0c\u5e76\u4e8e2018\u5e748\u670831\u65e5\u83b7\u5f97\u6388\u6743\u516c\u544a\u3002<\/p>\n

\n\t\u5185\u5bb9\u8bf4\u660e<\/h2>\n

\n\t\u672c\u53d1\u660e\u6d89\u53ca\u7535\u529b\u4eea\u5668\u4eea\u8868\u6280\u672f\u9886\u57df\uff0c\u7279\u522b\u6d89\u53ca\u4e00\u79cd\u5e94\u7528\u5728\u7535\u80fd\u8868\u4e2dRTC \uff08Real-Ti<\/u>me Clock\uff0c\u5b9e\u65f6\u65f6\u949f<\/u>\uff09\u6a21\u5757\u7684\u8865\u507f\u6821\u51c6\u65b9\u6cd5\u53ca\u88c5\u7f6e\u3002<\/p>\n

\n\t <\/div>\n

\n\t\u53d1\u660e\u80cc\u666f<\/h2>\n

\n\t\u5bf9\u4e8e\u5927\u591a\u6570\u5bf9\u65f6\u95f4\u7cbe\u786e\u5ea6\u8981\u6c42\u8f83\u9ad8\u7684\u7cfb\u7edf\u6765\u8bf4\uff0cRTC\u6a21\u5757\u5f0f\u5fc5\u4e0d\u53ef\u5c11\u7684\u5b9e\u65f6\u65f6\u949f<\/u>\u751f\u6210\u6a21\u5757\uff0c\u5b83\u53ef\u4ee5\u4e3a\u82af\u7247\u63d0\u4f9b\u7cbe\u786e\u5730\u5b9e\u65f6\u65f6\u949f\u3002RTC\u6a21\u5757\u4e00\u822c\u4f1a\u5916\u6302\u6676\u4f53\uff0c\u6839\u636e\u6676\u4f53\u7684\u56fa\u6709\u632f\u8361\u9891\u7387\u8f93\u51fa\u65f6\u949f\u4fe1\u53f7\uff0c\u5176\u7ed3\u6784\u6bd4\u8f83\u7b80\u5355\uff0c\u6210\u672c\u8f83\u4f4e\u3002\u4f46\u662f\u6676\u4f53\u7684\u632f\u8361\u9891\u7387\u53d7\u5230\u6e29\u5ea6\u5f71\u54cd\uff0c\u5176\u632f\u8361\u9891\u7387\u4f1a\u6709\u4e00\u5b9a\u7684\u504f\u79fb\uff0c\u9020\u6210\u5206\u9891\u540e\u7684\u65f6\u949f\u5931\u51c6\uff0c\u56e0\u6b64\uff0c\u5728\u5e94\u7528\u4e2d\u9700\u8981\u6839\u636e\u6676\u4f53\u7684\u6e29\u5ea6\u6f02\u79fb\u7279\u6027\u5bf9RTC\u6a21\u5757\u8f93\u51fa\u65f6\u949f\u4fe1\u53f7\u8fdb\u884c\u6821\u51c6\u3002<\/p>\n

\n\t\u4e3a\u4e86\u4f7fRTC\u6a21\u5757\u7684\u8f93\u51fa\u65f6\u949f\u8fbe\u5230\u5b9e\u65f6\u65f6\u949f\u7684\u8981\u6c42\uff0c\u73b0\u6709\u6280\u672f\u7684\u5f88\u591a\u65b9\u6cd5\u90fd\u91c7\u7528\u5bf9\u5206\u9891\u65f6\u949f\u9891\u7387\u8865\u507f\u7684\u65b9\u5f0f\u63d0\u9ad8RTC\u6a21\u5757\u8f93\u51fa\u65f6\u949f\u7684\u7cbe\u786e\u5ea6\u3002\u5176\u4e2d\uff0c\u6700\u4e3a\u5e7f\u6cdb\u91c7\u7528\u7684\u662f\uff0c\u5728\u6bcf\u6b21\u8865\u507f\u5468\u671f\u90fd\u6d4b\u91cf\u6676\u4f53\u7684\u6e29\u5ea6\uff0c\u7136\u540e\u6839\u636e\u6676\u4f53\u632f\u8361\u7684\u6e29\u5ea6\u6f02\u79fb\u7279\u6027\u5c06\u632f\u8361\u7684\u504f\u79fb\u91cf\uff0c\u5373\u8865\u507f\u53c2\u6570\u8865\u507f\u5230RTC\u6a21\u5757\u8f93\u51fa\u65f6\u949f\u91cc\u3002<\/p>\n

\n\t\u4f46\u7531\u4e8e\u53d7\u5230\u8865\u507f\u6a21\u5757\u4e2d\u6700\u5c0f\u8865\u507f\u5355\u4f4d\u7684\u9650\u5236\uff0c\u4e0d\u80fd\u7cbe\u786e\u7684\u5c06\u6bcf\u4e2a\u5468\u671f\u7684\u504f\u79fb\u91cf\u5b8c\u5168\u8865\u507f\u5230\u5b9e\u65f6\u65f6\u949f\u91cc\u53bb\uff0c\u4f1a\u7559\u4e0b\u8865\u507f\u4f59\u6570\uff0c\u9020\u6210\u5fae\u5c0f\u7684\u8865\u507f\u504f\u5dee\u3002\u5728\u5355\u4e2a\u65f6\u949f\u6821\u51c6\u5468\u671f\u4e2d\uff0c\u8fd9\u79cd\u5fae\u5c0f\u7684\u8865\u507f\u4f59\u6570\u5bf9\u65f6\u949f\u7cbe\u786e\u5ea6\u5f71\u54cd\u4e0d\u5927\uff0c\u4f46\u591a\u4e2a\u5468\u671f\u7d2f\u79ef\u8d77\u6765\u7684\u504f\u5dee\u4f1a\u5bf9\u65f6\u949f\u7684\u7cbe\u786e\u6027\u9020\u6210\u4e0d\u80fd\u5ffd\u89c6\u7684\u5f71\u54cd\u3002<\/p>\n

\n\t\u53d1\u660e\u5185\u5bb9<\/h2>\n

\n\t\u4e3a\u4e86\u89e3\u51b3\u73b0\u6709\u6280\u672f\u4e2d\u5bf9RTC\u6a21\u5757\u7684\u8865\u507f\u65b9\u6cd5\u5bb9\u6613\u4ea7\u751f\u7684\u8865\u507f\u4f59\u6570\u7d2f\u79ef\u8bef\u5dee\u3001\u65e0\u6cd5\u6ee1\u8db3\u9ad8\u7cbe\u5ea6\u7684\u8981\u6c42\u7b49\u6280\u672f\u95ee\u9898\uff0c\u672c\u53d1\u660e\u63d0\u51fa\u4e00\u79cd\u5e94\u7528\u5728\u7535\u80fd\u8868\u4e2dRTC\u6a21\u5757\u7684\u8865\u507f\u6821\u51c6\u65b9\u6cd5\u53ca\u88c5\u7f6e\u3002<\/p>\n

\n\t\"\u7535\u80fd\u8868RTC\u6a21\u5757\u7684\u8865\u507f\u6821\u51c6\u88c5\u7f6e\u7684\u539f\u7406\u53ca\u8bbe\u8ba1\"<\/p>\n

\n\t\u4e00\u79cd\u5e94\u7528\u5728\u7535\u80fd\u8868\u4e2dRTC\u6a21\u5757\u7684\u8865\u507f\u6821\u51c6\u65b9\u6cd5\uff0c\u5305\u62ec\uff1a\u6839\u636e\u6d4b\u91cf\u7684RTC\u6a21\u5757\u7684\u6676\u4f53\u6e29\u5ea6\u83b7\u53d6\u65f6\u949f\u6821\u51c6\u6240\u9700\u7684\u8865\u507f\u53c2\u6570\uff1b\u6839\u636e\u6240\u8ff0\u8865\u507f\u53c2\u6570\u548cRTC\u6a21\u5757\u7684\u6700\u5c0f\u8865\u507f\u5355\u4f4d\u8ba1\u7b97\u8865\u507f\u6821\u51c6\u503c\u548c\u8865\u507f\u4f59\u6570\uff1b\u6839\u636e\u6240\u8ff0\u8865\u507f\u6821\u51c6\u503c\u548c\u6240\u8ff0\u8865\u507f\u4f59\u6570\u5bf9RTC\u6a21\u5757\u7684\u65f6\u949f\u9891\u7387\u8fdb\u884c\u6821\u51c6\u3002<\/p>\n

\n\t\u4f18\u9009\u5730\uff0c\u5728\u7b2c\u4e00\u4e2a\u8865\u507f\u5468\u671f\u4e2d\uff0c\u6240\u8ff0\u6839\u636e\u6240\u8ff0\u8865\u507f\u6821\u51c6\u503c\u548c\u6240\u8ff0\u8865\u507f\u4f59\u6570\u5bf9RTC\u6a21\u5757\u7684\u65f6\u949f\u9891\u7387\u8fdb\u884c\u6821\u51c6\uff0c\u5177\u4f53\u5305\u62ec\uff1a\u6309\u7167\u6240\u8ff0\u8865\u507f\u6821\u51c6\u503c\u5bf9\u6240\u8ff0RTC\u6a21\u5757\u7684\u65f6\u949f\u9891\u7387\u8fdb\u884c\u6821\u51c6\uff0c\u5e76\u5b58\u50a8\u6240\u8ff0\u8865\u507f\u4f59\u6570\u3002<\/p>\n

\n\t\u5728\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u4e2d\uff0c\u6839\u636e\u6240\u8ff0\u8865\u507f\u53c2\u6570\u548cRTC\u6a21\u5757\u7684\u6700\u5c0f\u8865\u507f\u5355\u4f4d\u8ba1\u7b97\u8865\u507f\u6821\u51c6\u503c\u548c\u8865\u507f\u4f59\u6570\uff0c\u5177\u4f53\u5305\u62ec\uff1a\u6839\u636e\u7b2cn-1\u4e2a\u8865\u507f\u5468\u671f\u5b58\u50a8\u7684\u8865\u507f\u4f59\u6570\u3001\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u83b7\u53d6\u7684\u8865\u507f\u53c2\u6570\u548cRTC\u6a21\u5757\u7684\u6700\u5c0f\u8865\u507f\u5355\u4f4d\u8ba1\u7b97\u7b2cn\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u6821\u51c6\u503c\u548c\u8865\u507f\u4f59\u6570\u3002<\/p>\n

\n\t\u6240\u8ff0\u6839\u636e\u7b2cn-1\u4e2a\u8865\u507f\u5468\u671f\u5b58\u50a8\u7684\u8865\u507f\u4f59\u6570\u3001\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u83b7\u53d6\u7684\u8865\u507f\u53c2\u6570\u548cRTC\u6a21\u5757\u7684\u6700\u5c0f\u8865\u507f\u5355\u4f4d\u8ba1\u7b97\u7b2cn\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u6821\u51c6\u503c\u548c\u8865\u507f\u4f59\u6570\uff0c\u5177\u4f53\u5305\u62ec\uff1aan+mn-1=nn*b+mn\u3002\u5176\u4e2d\uff0cn\u4e3a\u5927\u4e8e1\u7684\u81ea\u7136\u6570\uff0can\u4ee3\u8868\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u83b7\u53d6\u7684\u8865\u507f\u53c2\u6570\uff0cmn-1\u4ee3\u8868\u7b2cn-1\u4e2a\u8865\u507f\u5468\u671f\u5b58\u50a8\u7684\u8865\u507f\u4f59\u6570\uff0cnn\u4ee3\u8868RTC\u6a21\u5757\u7684\u6700\u5c0f\u8865\u507f\u5355\u4f4d\uff0cb\u4ee3\u8868RTC\u6a21\u5757\u7684\u6700\u5c0f\u8865\u507f\u5355\u4f4d\u7684\u6574\u6570\u500d\uff0cmn\u4ee3\u8868\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u4f59\u6570\u3002<\/p>\n

\n\t\u5728\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u4e2d\uff0c\u6240\u8ff0\u6839\u636e\u6240\u8ff0\u8865\u507f\u6821\u51c6\u503c\u548c\u6240\u8ff0\u8865\u507f\u4f59\u6570\u5bf9RTC\u6a21\u5757\u7684\u65f6\u949f\u9891\u7387\u8fdb\u884c\u6821\u51c6\uff0c\u5177\u4f53\u5305\u62ec\uff1a\u6309\u7167\u6240\u8ff0\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u6821\u51c6\u503c\u5bf9\u6240\u8ff0RTC\u6a21\u5757\u7684\u65f6\u949f\u9891\u7387\u8fdb\u884c\u6821\u51c6\uff0c\u5e76\u5b58\u50a8\u6240\u8ff0\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u4f59\u6570\u3002<\/p>\n

\n\t\u6240\u8ff0\u5b58\u50a8\u6240\u8ff0\u7b2cn\u4e2a\u8865\u507f\u4f59\u6570\u5177\u4f53\u5305\u62ec\uff1a\u7528\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u4f59\u6570\u8986\u76d6\u7b2cn-1\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u4f59\u6570\u3002<\/p>\n

\n\t\u4e00\u79cd\u5e94\u7528\u5728\u7535\u80fd\u8868\u4e2dRTC\u6a21\u5757\u7684\u8865\u507f\u6821\u51c6\u88c5\u7f6e\uff0c\u5305\u62ec\uff1a\u6e29\u5ea6\u6d4b\u91cf\u6a21\u5757\uff0c\u7528\u4e8e\u6839\u636e\u6d4b\u91cf\u7684RTC\u6a21\u5757\u7684\u6676\u4f53\u6e29\u5ea6\u83b7\u53d6\u65f6\u949f\u6821\u51c6\u6240\u9700\u7684\u8865\u507f\u53c2\u6570\uff1b\u63a7\u5236\u6a21\u5757\uff0c\u7528\u4e8e\u6839\u636e\u6240\u8ff0\u8865\u507f\u53c2\u6570\u548cRTC\u6a21\u5757\u7684\u6700\u5c0f\u8865\u507f\u5355\u4f4d\u8ba1\u7b97\u8865\u507f\u6821\u51c6\u503c\u548c\u8865\u507f\u4f59\u6570\uff0c\u5e76\u6839\u636e\u6240\u8ff0\u8865\u507f\u6821\u51c6\u503c\u548c\u6240\u8ff0\u8865\u507f\u4f59\u6570\u5bf9RTC\u6a21\u5757\u7684\u65f6\u949f\u9891\u7387\u8fdb\u884c\u6821\u51c6\u3002<\/p>\n

\n\t\u6240\u8ff0\u63a7\u5236\u6a21\u5757\uff0c\u5177\u4f53\u7528\u4e8e\u5728\u7b2c\u4e00\u4e2a\u8865\u507f\u5468\u671f\u4e2d\uff0c\u6309\u7167\u6240\u8ff0\u8865\u507f\u6821\u51c6\u503c\u5bf9\u6240\u8ff0RTC\u6a21\u5757\u7684\u65f6\u949f\u9891\u7387\u8fdb\u884c\u6821\u51c6\uff0c\u5e76\u5c06\u6240\u8ff0\u8865\u507f\u4f59\u6570\u5b58\u5165\u5b58\u50a8\u6a21\u5757\uff1b\u6240\u8ff0\u5b58\u50a8\u6a21\u5757\uff0c\u7528\u4e8e\u5b58\u50a8\u6240\u8ff0\u8865\u507f\u4f59\u6570\u3002\u6240\u8ff0\u63a7\u5236\u6a21\u5757\uff0c\u8fd8\u5177\u4f53\u7528\u4e8e\u5728\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u4e2d\uff0c\u6839\u636e\u7b2cn-1\u4e2a\u8865\u507f\u5468\u671f\u5b58\u50a8\u7684\u8865\u507f\u4f59\u6570\u3001\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u83b7\u53d6\u7684\u8865\u507f\u53c2\u6570\u548cRTC\u6a21\u5757\u7684\u6700\u5c0f\u8865\u507f\u5355\u4f4d\u8ba1\u7b97\u7b2cn\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u6821\u51c6\u503c\u548c\u8865\u507f\u4f59\u6570\u3002<\/p>\n

\n\t\u4f18\u9009\u5730\uff0c\u6240\u8ff0\u63a7\u5236\u6a21\u5757\uff0c\u8fd8\u5177\u4f53\u7528\u4e8e\u5728\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u4e2d\uff0c\u6309\u7167\u6240\u8ff0\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u6821\u51c6\u503c\u5bf9\u6240\u8ff0RTC\u6a21\u5757\u7684\u65f6\u949f\u9891\u7387\u8fdb\u884c\u6821\u51c6\uff0c\u5e76\u5b58\u50a8\u6240\u8ff0\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u4f59\u6570\u3002\u6240\u8ff0\u63a7\u5236\u6a21\u5757\uff0c\u5177\u4f53\u7528\u4e8e\u7528\u7b2cn\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u4f59\u6570\u8986\u76d6\u5b58\u50a8\u6a21\u5757\u4e2d\u5b58\u50a8\u7684\u7b2cn-1\u4e2a\u8865\u507f\u5468\u671f\u7684\u8865\u507f\u4f59\u6570\u3002<\/p>\n

\n\t\u672c\u5b9e\u65bd\u4f8b\u63d0\u4f9b\u7684\u65b9\u6848\u4e2d\uff0c\u901a\u8fc7\u91c7\u7528\u5728\u6bcf\u6b21\u7684\u8865\u507f\u5468\u671f\u5c06\u4e4b\u524d\u591a\u4e2a\u8865\u507f\u5468\u671f\u7684\u7d2f\u79ef\u4f59\u6570\u8bef\u5dee\u8003\u8651\u8fdb\u53bb\uff0c\u518d\u8fdb\u884c\u5f53\u6b21\u7684\u8865\u507f\u6821\u51c6\u7684\u6280\u672f\u624b\u6bb5\uff0c\u89e3\u51b3\u4e86\u73b0\u6709\u6280\u672f\u4e2d\uff0c\u666e\u901a\u7684RTC\u8865\u507f\u65b9\u6cd5\u65e0\u6cd5\u6ee1\u8db3\u5bf9\u5b9e\u65f6\u65f6\u949f\u7cbe\u5ea6\u8981\u6c42\u8f83\u9ad8\u7684\u7cfb\u7edf\u9700\u6c42\u7684\u6280\u672f\u95ee\u9898\uff0c\u5e76\u53d6\u5f97\u53ef\u51cf\u5c0f\u7d2f\u79ef\u8bef\u5dee\u5bf9\u5b9e\u65f6\u65f6\u949f\u7cbe\u5ea6\u7684\u5f71\u54cd\uff0c\u63d0\u4f9bRTC\u6a21\u5757\u65f6\u949f\u7cbe\u786e\u5ea6\u7684\u6280\u672f\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4eca\u5929\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u4e00\u9879\u56fd\u5bb6\u53d1\u660e\u6388\u6743\u4e13\u5229\u4e00\u79cd\u5e94\u7528\u5728\u7535\u80fd\u8868\u4e2dRTC\u6a21\u5757\u7684\u8865\u507f\u6821\u51c6\u65b9\u6cd5\u53ca\u88c5\u7f6e\u3002\u8be5\u4e13\u5229\u7531\u56fd\u5bb6\u7535\u7f51\u516c\u53f8\u7533\u8bf7\uff0c\u5e76\u4e8e2018\u5e748\u670831\u65e5\u83b7\u5f97\u6388\u6743\u516c\u544a\u3002 \u5185\u5bb9\u8bf4\u660e \u672c\u53d1\u660e\u6d89\u53ca\u7535\u529b\u4eea\u5668<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/883"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=883"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/883\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=883"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}